summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath11k/hal_tx.h
diff options
context:
space:
mode:
authorAnilkumar Kolli <akolli@codeaurora.org>2019-11-27 19:29:53 +0300
committerKalle Valo <kvalo@codeaurora.org>2019-11-29 10:35:15 +0300
commit0f37fbf43c3fc39a6c49c5a27846df937d217356 (patch)
tree028892cf0fe2113e8ac885568e021f477ede74a7 /drivers/net/wireless/ath/ath11k/hal_tx.h
parent5b90fc760db5a969ed26d70f8e62c91915f012bd (diff)
downloadlinux-0f37fbf43c3fc39a6c49c5a27846df937d217356.tar.xz
ath11k: update tcl cmd descriptor parameters for STA mode
It is observed that ath11k STA mode UL throughput is low. This is due to packets delivered to FW from TCL instead of TQM. TCL AST search fail causes packet delivered to FW, fix this by properly configuring the TCL address search type and ast_hash. STA UL throughput is improved 10times with 11AC AP. Signed-off-by: Anilkumar Kolli <akolli@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/ath11k/hal_tx.h')
-rw-r--r--drivers/net/wireless/ath/ath11k/hal_tx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath11k/hal_tx.h b/drivers/net/wireless/ath/ath11k/hal_tx.h
index f955070bcf1e..5217eaf9da50 100644
--- a/drivers/net/wireless/ath/ath11k/hal_tx.h
+++ b/drivers/net/wireless/ath/ath11k/hal_tx.h
@@ -11,8 +11,8 @@
#define HAL_TX_ADDRX_EN 1
#define HAL_TX_ADDRY_EN 2
-#define HAL_TX_ADDR_SEARCH_INDEX 0
-#define HAL_TX_ADDR_SEARCH_DEFAULT 1
+#define HAL_TX_ADDR_SEARCH_DEFAULT 0
+#define HAL_TX_ADDR_SEARCH_INDEX 1
struct hal_tx_info {
u16 meta_data_flags; /* %HAL_TCL_DATA_CMD_INFO0_META_ */