projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d624571
)
mt76: mt7921: fix max aggregation subframes setting
author
Felix Fietkau
<nbd@nbd.name>
Fri, 7 May 2021 10:02:11 +0000
(12:02 +0200)
committer
Kalle Valo
<kvalo@codeaurora.org>
Sat, 15 May 2021 11:43:59 +0000
(14:43 +0300)
The hardware can only handle 64 subframes in rx direction and 128 for tx.
Improves throughput with APs that can handle more than that
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link:
https://lore.kernel.org/r/20210507100211.15709-2-nbd@nbd.name
drivers/net/wireless/mediatek/mt76/mt7921/init.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/mt7921/init.c
b/drivers/net/wireless/mediatek/mt76/mt7921/init.c
index fe28bf4050c41e60bb1ce7b88bd8e03ebbea04db..1763ea0614ce25f4817bfebc82ea5edfe74f008e 100644
(file)
--- a/
drivers/net/wireless/mediatek/mt76/mt7921/init.c
+++ b/
drivers/net/wireless/mediatek/mt76/mt7921/init.c
@@
-76,8
+76,8
@@
mt7921_init_wiphy(struct ieee80211_hw *hw)
struct wiphy *wiphy = hw->wiphy;
hw->queues = 4;
- hw->max_rx_aggregation_subframes =
IEEE80211_MAX_AMPDU_BUF
;
- hw->max_tx_aggregation_subframes =
IEEE80211_MAX_AMPDU_BUF
;
+ hw->max_rx_aggregation_subframes =
64
;
+ hw->max_tx_aggregation_subframes =
128
;
hw->radiotap_timestamp.units_pos =
IEEE80211_RADIOTAP_TIMESTAMP_UNIT_US;