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 21b8c8c2a08e345976468ddcfd7b338fec9f884a..88b51225a52af9c2eefa3dc06e9a5cc9d7ebeac8 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 1852e0ee3fa190b668a4b731e46854c901ece763..4462c3f81c05364c1f1f2b226ef07d6ca80cd5b7 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,
 };