ath10k: Add WMI_SERVICE_PERIODIC_CHAN_STAT_SUPPORT wmi service
authorTamizh chelvam <c_traja@qti.qualcomm.com>
Tue, 2 Aug 2016 10:43:14 +0000 (16:13 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 2 Sep 2016 15:18:15 +0000 (18:18 +0300)
WMI_SERVICE_PERIODIC_CHAN_STAT_SUPPORT service has missed in
the commit 7e247a9e88dc ("ath10k: add dynamic tx mode switch
config support for qca4019"). This patch adds the service to
avoid mismatch between host and target.

Fixes: 7e247a9e88dc ("ath10k: add dynamic tx mode switch config support for qca4019")
Signed-off-by: Tamizh chelvam <c_traja@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/wmi.h

index 89adfa90ee8dfc8cd021b5a7689511a6735fcc76..2f89c4b2d4f210e4cd0efdaee590ee036b27eb71 100644 (file)
@@ -180,6 +180,7 @@ enum wmi_service {
        WMI_SERVICE_MESH_NON_11S,
        WMI_SERVICE_PEER_STATS,
        WMI_SERVICE_RESTRT_CHNL_SUPPORT,
+       WMI_SERVICE_PERIODIC_CHAN_STAT_SUPPORT,
        WMI_SERVICE_TX_MODE_PUSH_ONLY,
        WMI_SERVICE_TX_MODE_PUSH_PULL,
        WMI_SERVICE_TX_MODE_DYNAMIC,
@@ -305,6 +306,7 @@ enum wmi_10_4_service {
        WMI_10_4_SERVICE_RESTRT_CHNL_SUPPORT,
        WMI_10_4_SERVICE_PEER_STATS,
        WMI_10_4_SERVICE_MESH_11S,
+       WMI_10_4_SERVICE_PERIODIC_CHAN_STAT_SUPPORT,
        WMI_10_4_SERVICE_TX_MODE_PUSH_ONLY,
        WMI_10_4_SERVICE_TX_MODE_PUSH_PULL,
        WMI_10_4_SERVICE_TX_MODE_DYNAMIC,
@@ -402,6 +404,7 @@ static inline char *wmi_service_name(int service_id)
        SVCSTR(WMI_SERVICE_MESH_NON_11S);
        SVCSTR(WMI_SERVICE_PEER_STATS);
        SVCSTR(WMI_SERVICE_RESTRT_CHNL_SUPPORT);
+       SVCSTR(WMI_SERVICE_PERIODIC_CHAN_STAT_SUPPORT);
        SVCSTR(WMI_SERVICE_TX_MODE_PUSH_ONLY);
        SVCSTR(WMI_SERVICE_TX_MODE_PUSH_PULL);
        SVCSTR(WMI_SERVICE_TX_MODE_DYNAMIC);
@@ -652,6 +655,8 @@ static inline void wmi_10_4_svc_map(const __le32 *in, unsigned long *out,
               WMI_SERVICE_PEER_STATS, len);
        SVCMAP(WMI_10_4_SERVICE_MESH_11S,
               WMI_SERVICE_MESH_11S, len);
+       SVCMAP(WMI_10_4_SERVICE_PERIODIC_CHAN_STAT_SUPPORT,
+              WMI_SERVICE_PERIODIC_CHAN_STAT_SUPPORT, len);
        SVCMAP(WMI_10_4_SERVICE_TX_MODE_PUSH_ONLY,
               WMI_SERVICE_TX_MODE_PUSH_ONLY, len);
        SVCMAP(WMI_10_4_SERVICE_TX_MODE_PUSH_PULL,