ath10k: add new FW_FEATURE_PEER_FLOW_CONTROL
authorMichal Kazior <michal.kazior@tieto.com>
Thu, 21 Jan 2016 13:13:25 +0000 (14:13 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 28 Jan 2016 08:45:27 +0000 (10:45 +0200)
This feature flag will be used for firmware which
supports pull-push model where host shares it's
software queue state with firmware and firmware
generates fetch requests telling host which queues
to dequeue tx from.

Primary function of this is improved MU-MIMO
performance with multiple clients.

Signed-off-by: Michal Kazior <michal.kazior@tieto.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 b41eb3f..48a2620 100644 (file)
@@ -217,6 +217,7 @@ static const char *const ath10k_core_fw_feature_str[] = {
        [ATH10K_FW_FEATURE_RAW_MODE_SUPPORT] = "raw-mode",
        [ATH10K_FW_FEATURE_SUPPORTS_ADAPTIVE_CCA] = "adaptive-cca",
        [ATH10K_FW_FEATURE_MFP_SUPPORT] = "mfp",
+       [ATH10K_FW_FEATURE_PEER_FLOW_CONTROL] = "peer-flow-ctrl",
 };
 
 static unsigned int ath10k_core_get_fw_feature_str(char *buf,
index 921b86a..5067a0f 100644 (file)
@@ -512,6 +512,15 @@ enum ath10k_fw_features {
        /* Firmware supports management frame protection */
        ATH10K_FW_FEATURE_MFP_SUPPORT = 12,
 
+       /* Firmware supports pull-push model where host shares it's software
+        * queue state with firmware and firmware generates fetch requests
+        * telling host which queues to dequeue tx from.
+        *
+        * Primary function of this is improved MU-MIMO performance with
+        * multiple clients.
+        */
+       ATH10K_FW_FEATURE_PEER_FLOW_CONTROL = 13,
+
        /* keep last */
        ATH10K_FW_FEATURE_COUNT,
 };