ath10k: add new ATH10K_FW_FEATURE_BTCOEX_PARAM
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Fri, 27 May 2016 14:45:58 +0000 (20:15 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 2 Jun 2016 14:55:18 +0000 (17:55 +0300)
This feature flag will be used for firmware to support BT-Coex feature
without reloading firmware via WMI pdev param. To support Bluetooth
coexistence pdev param, WMI_COEX_GPIO_SUPPORT of extended resource
config should be enabled always. This firmware IE is used to configure
WMI_COEX_GPIO_SUPPORT.

Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/core.h

index 21b8c8c..88b5122 100644 (file)
@@ -258,6 +258,7 @@ static const char *const ath10k_core_fw_feature_str[] = {
        [ATH10K_FW_FEATURE_SUPPORTS_ADAPTIVE_CCA] = "adaptive-cca",
        [ATH10K_FW_FEATURE_MFP_SUPPORT] = "mfp",
        [ATH10K_FW_FEATURE_PEER_FLOW_CONTROL] = "peer-flow-ctrl",
+       [ATH10K_FW_FEATURE_BTCOEX_PARAM] = "btcoex-param",
 };
 
 static unsigned int ath10k_core_get_fw_feature_str(char *buf,
index 1852e0e..4462c3f 100644 (file)
@@ -535,6 +535,13 @@ enum ath10k_fw_features {
         */
        ATH10K_FW_FEATURE_PEER_FLOW_CONTROL = 13,
 
+       /* Firmware supports BT-Coex without reloading firmware via pdev param.
+        * To support Bluetooth coexistence pdev param, WMI_COEX_GPIO_SUPPORT of
+        * extended resource config should be enabled always. This firmware IE
+        * is used to configure WMI_COEX_GPIO_SUPPORT.
+        */
+       ATH10K_FW_FEATURE_BTCOEX_PARAM = 14,
+
        /* keep last */
        ATH10K_FW_FEATURE_COUNT,
 };