]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ath10k: add new service defines for 10.4
authorVasanthakumar Thiagarajan <vthiagar@qti.qualcomm.com>
Thu, 29 Oct 2015 13:41:32 +0000 (19:11 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 4 Nov 2015 17:35:26 +0000 (19:35 +0200)
No functional changes, adds new wmi service bits for
10.4 firmware to be sync with 10.4 firmware.

Signed-off-by: Vasanthakumar Thiagarajan <vthiagar@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/wmi.h

index 96dd98c6fcefd0df05d48249d64315f3c5bb55f9..6fb4961c1a04c2834a0f7e1169d71b48bdb7ef5f 100644 (file)
@@ -175,6 +175,8 @@ enum wmi_service {
        WMI_SERVICE_AUX_SPECTRAL_INTF,
        WMI_SERVICE_AUX_CHAN_LOAD_INTF,
        WMI_SERVICE_BSS_CHANNEL_INFO_64,
+       WMI_SERVICE_EXT_RES_CFG_SUPPORT,
+       WMI_SERVICE_MESH,
 
        /* keep last */
        WMI_SERVICE_MAX,
@@ -286,6 +288,8 @@ enum wmi_10_4_service {
        WMI_10_4_SERVICE_AUX_SPECTRAL_INTF,
        WMI_10_4_SERVICE_AUX_CHAN_LOAD_INTF,
        WMI_10_4_SERVICE_BSS_CHANNEL_INFO_64,
+       WMI_10_4_SERVICE_EXT_RES_CFG_SUPPORT,
+       WMI_10_4_SERVICE_MESH,
 };
 
 static inline char *wmi_service_name(int service_id)
@@ -375,6 +379,8 @@ static inline char *wmi_service_name(int service_id)
        SVCSTR(WMI_SERVICE_AUX_SPECTRAL_INTF);
        SVCSTR(WMI_SERVICE_AUX_CHAN_LOAD_INTF);
        SVCSTR(WMI_SERVICE_BSS_CHANNEL_INFO_64);
+       SVCSTR(WMI_SERVICE_EXT_RES_CFG_SUPPORT);
+       SVCSTR(WMI_SERVICE_MESH);
        default:
                return NULL;
        }
@@ -600,6 +606,10 @@ static inline void wmi_10_4_svc_map(const __le32 *in, unsigned long *out,
               WMI_SERVICE_AUX_CHAN_LOAD_INTF, len);
        SVCMAP(WMI_10_4_SERVICE_BSS_CHANNEL_INFO_64,
               WMI_SERVICE_BSS_CHANNEL_INFO_64, len);
+       SVCMAP(WMI_10_4_SERVICE_EXT_RES_CFG_SUPPORT,
+              WMI_SERVICE_EXT_RES_CFG_SUPPORT, len);
+       SVCMAP(WMI_10_4_SERVICE_MESH,
+              WMI_SERVICE_MESH, len);
 }
 
 #undef SVCMAP