ath10k: rename some HTT events
authorMichal Kazior <michal.kazior@tieto.com>
Thu, 21 Jan 2016 13:13:23 +0000 (14:13 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 28 Jan 2016 08:45:25 +0000 (10:45 +0200)
New names make a bit more sense.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/htt.c
drivers/net/wireless/ath/ath10k/htt.h
drivers/net/wireless/ath/ath10k/htt_rx.c

index 3e6ba63dfdffe118b8d6e62a4fb086c376f1e3a5..7561f22f10f9c92266e4e73d6826f465acd0f361 100644 (file)
@@ -131,12 +131,12 @@ static const enum htt_t2h_msg_type htt_10_4_t2h_msg_types[] = {
        [HTT_10_4_T2H_MSG_TYPE_AGGR_CONF] = HTT_T2H_MSG_TYPE_AGGR_CONF,
        [HTT_10_4_T2H_MSG_TYPE_TX_FETCH_IND] =
                                HTT_T2H_MSG_TYPE_TX_FETCH_IND,
-       [HTT_10_4_T2H_MSG_TYPE_TX_FETCH_CONF] =
-                               HTT_T2H_MSG_TYPE_TX_FETCH_CONF,
+       [HTT_10_4_T2H_MSG_TYPE_TX_FETCH_CONFIRM] =
+                               HTT_T2H_MSG_TYPE_TX_FETCH_CONFIRM,
        [HTT_10_4_T2H_MSG_TYPE_STATS_NOUPLOAD] =
                                HTT_T2H_MSG_TYPE_STATS_NOUPLOAD,
-       [HTT_10_4_T2H_MSG_TYPE_TX_LOW_LATENCY_IND] =
-                               HTT_T2H_MSG_TYPE_TX_LOW_LATENCY_IND,
+       [HTT_10_4_T2H_MSG_TYPE_TX_MODE_SWITCH_IND] =
+                               HTT_T2H_MSG_TYPE_TX_MODE_SWITCH_IND,
 };
 
 int ath10k_htt_connect(struct ath10k_htt *htt)
index 47ca048feaf02e097199c4affcd28081c24b879d..edd3b9070de92ed9bbffdb9be0506851deca85ee 100644 (file)
@@ -413,10 +413,10 @@ enum htt_10_4_t2h_msg_type {
        HTT_10_4_T2H_MSG_TYPE_EN_STATS               = 0x14,
        HTT_10_4_T2H_MSG_TYPE_AGGR_CONF              = 0x15,
        HTT_10_4_T2H_MSG_TYPE_TX_FETCH_IND           = 0x16,
-       HTT_10_4_T2H_MSG_TYPE_TX_FETCH_CONF          = 0x17,
+       HTT_10_4_T2H_MSG_TYPE_TX_FETCH_CONFIRM       = 0x17,
        HTT_10_4_T2H_MSG_TYPE_STATS_NOUPLOAD         = 0x18,
        /* 0x19 to 0x2f are reserved */
-       HTT_10_4_T2H_MSG_TYPE_TX_LOW_LATENCY_IND     = 0x30,
+       HTT_10_4_T2H_MSG_TYPE_TX_MODE_SWITCH_IND     = 0x30,
        /* keep this last */
        HTT_10_4_T2H_NUM_MSGS
 };
@@ -449,8 +449,8 @@ enum htt_t2h_msg_type {
        HTT_T2H_MSG_TYPE_TEST,
        HTT_T2H_MSG_TYPE_EN_STATS,
        HTT_T2H_MSG_TYPE_TX_FETCH_IND,
-       HTT_T2H_MSG_TYPE_TX_FETCH_CONF,
-       HTT_T2H_MSG_TYPE_TX_LOW_LATENCY_IND,
+       HTT_T2H_MSG_TYPE_TX_FETCH_CONFIRM,
+       HTT_T2H_MSG_TYPE_TX_MODE_SWITCH_IND,
        /* keep this last */
        HTT_T2H_NUM_MSGS
 };
index 3079434b5d9bc5bbcd78cc9962bb23a1da0205a3..84abe4f25c73ab5b48f9fda45d930b3a643af81c 100644 (file)
@@ -2125,8 +2125,8 @@ void ath10k_htt_t2h_msg_handler(struct ath10k *ar, struct sk_buff *skb)
                break;
        case HTT_T2H_MSG_TYPE_EN_STATS:
        case HTT_T2H_MSG_TYPE_TX_FETCH_IND:
-       case HTT_T2H_MSG_TYPE_TX_FETCH_CONF:
-       case HTT_T2H_MSG_TYPE_TX_LOW_LATENCY_IND:
+       case HTT_T2H_MSG_TYPE_TX_FETCH_CONFIRM:
+       case HTT_T2H_MSG_TYPE_TX_MODE_SWITCH_IND:
        default:
                ath10k_warn(ar, "htt event (%d) not handled\n",
                            resp->hdr.msg_type);