summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath11k/hal_tx.h
diff options
context:
space:
mode:
authorKarthikeyan Periyasamy <periyasa@codeaurora.org>2021-02-08 13:32:11 +0200
committerKalle Valo <kvalo@codeaurora.org>2021-02-09 09:22:52 +0200
commit4b965be536eefdd16ca0a88120fee23f5b92cd16 (patch)
treeb9ff8781a33d9324935f882c2fe7599b1beb91ae /drivers/net/wireless/ath/ath11k/hal_tx.h
parent7df28718928d08034b36168200d67b558ce36f3d (diff)
ath11k: Update tx descriptor search index properly
Tx descriptor search index field should be updated with hw peer id and not by AST Hash as per the HW/FW recommendation. Incorrect search index causes throughput degradation in all scenario for all the platforms. so updated the search index field with hw peer id, which is a common change applicable for all the platforms. Also no need of these configuration for non station type. seen 10% throughput increase in WDS traffic with this change. Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.4.0.1-01492-QCAHKSWPL_SILICONZ-1 Signed-off-by: Karthikeyan Periyasamy <periyasa@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/1612410960-9120-1-git-send-email-periyasa@codeaurora.org
Diffstat (limited to 'drivers/net/wireless/ath/ath11k/hal_tx.h')
-rw-r--r--drivers/net/wireless/ath/ath11k/hal_tx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath11k/hal_tx.h b/drivers/net/wireless/ath/ath11k/hal_tx.h
index d4760a20fdac..c291e59c3ca6 100644
--- a/drivers/net/wireless/ath/ath11k/hal_tx.h
+++ b/drivers/net/wireless/ath/ath11k/hal_tx.h
@@ -29,6 +29,7 @@ struct hal_tx_info {
u32 flags1; /* %HAL_TCL_DATA_CMD_INFO2_ */
u16 addr_search_flags; /* %HAL_TCL_DATA_CMD_INFO0_ADDR(X/Y)_ */
u16 bss_ast_hash;
+ u16 bss_ast_idx;
u8 tid;
u8 search_type; /* %HAL_TX_ADDR_SEARCH_ */
u8 lmac_id;