diff options
author | Maxime Bizon <[email protected]> | 2022-05-16 17:23:43 +0200 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2022-05-22 15:28:33 +0300 |
commit | 75a7062e533e309a9ca0812c69f3ac3cefadb8b1 (patch) | |
tree | ea28d02c17e0fd69eb19ca9645a524a62b97d822 | |
parent | af6d8265c47e46881b80c6b073f53c8c4af52d28 (diff) |
ath10k: fix misreported tx bandwidth for 160Mhz
Because of this missing switch case, 160Mhz transmit was reported as
20Mhz, leading to wrong airtime calculation and AQL limiting max
throughput.
Tested-on: QCA9984 hw2.0 PCI 10.4-3.10-00047
Signed-off-by: Maxime Bizon <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
-rw-r--r-- | drivers/net/wireless/ath/ath10k/htt_rx.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/htt_rx.c b/drivers/net/wireless/ath/ath10k/htt_rx.c index 771252dd6d4e..e8727c0b0171 100644 --- a/drivers/net/wireless/ath/ath10k/htt_rx.c +++ b/drivers/net/wireless/ath/ath10k/htt_rx.c @@ -3884,6 +3884,10 @@ ath10k_update_per_peer_tx_stats(struct ath10k *ar, arsta->tx_info.status.rates[0].flags |= IEEE80211_TX_RC_80_MHZ_WIDTH; break; + case RATE_INFO_BW_160: + arsta->tx_info.status.rates[0].flags |= + IEEE80211_TX_RC_160_MHZ_WIDTH; + break; } if (peer_stats->succ_pkts) { |