Commit 107560d8 authored by John Crispin's avatar John Crispin Committed by Kalle Valo

ath11k: set queue_len to 4096

The driver currently does not use wake_txq_queue. This leads to the
tx_queue_len being defaulted to 1000. Setting this parameter will
change the queue_len to 4096 which is more fitting for HE.
Signed-off-by: default avatarJohn Crispin <john@phrozen.org>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 1441b2f2
...@@ -62,6 +62,7 @@ ...@@ -62,6 +62,7 @@
#define TARGET_RX_BATCHMODE 1 #define TARGET_RX_BATCHMODE 1
#define ATH11K_HW_MAX_QUEUES 4 #define ATH11K_HW_MAX_QUEUES 4
#define ATH11K_QUEUE_LEN 4096
#define ATH11k_HW_RATECODE_CCK_SHORT_PREAM_MASK 0x4 #define ATH11k_HW_RATECODE_CCK_SHORT_PREAM_MASK 0x4
......
...@@ -5797,6 +5797,7 @@ static int __ath11k_mac_register(struct ath11k *ar) ...@@ -5797,6 +5797,7 @@ static int __ath11k_mac_register(struct ath11k *ar)
ar->hw->wiphy->max_ap_assoc_sta = ar->max_num_stations; ar->hw->wiphy->max_ap_assoc_sta = ar->max_num_stations;
ar->hw->queues = ATH11K_HW_MAX_QUEUES; ar->hw->queues = ATH11K_HW_MAX_QUEUES;
ar->hw->wiphy->tx_queue_len = ATH11K_QUEUE_LEN;
ar->hw->offchannel_tx_hw_queue = ATH11K_HW_MAX_QUEUES - 1; ar->hw->offchannel_tx_hw_queue = ATH11K_HW_MAX_QUEUES - 1;
ar->hw->max_rx_aggregation_subframes = IEEE80211_MAX_AMPDU_BUF; ar->hw->max_rx_aggregation_subframes = IEEE80211_MAX_AMPDU_BUF;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment