projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11b2a25
)
mt76: add missing VHT maximum A-MPDU length capability
author
Felix Fietkau
<nbd@nbd.name>
Tue, 3 Apr 2018 19:52:49 +0000
(21:52 +0200)
committer
Kalle Valo
<kvalo@codeaurora.org>
Tue, 24 Apr 2018 17:29:56 +0000
(20:29 +0300)
Signficantly improves throughput with some clients
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/mediatek/mt76/mac80211.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/mac80211.c
b/drivers/net/wireless/mediatek/mt76/mac80211.c
index 962ed82340651af922f874adf0ca07a7d07c7aa1..ec531ce50d01beccddc7e9adc4ef49c277017583 100644
(file)
--- a/
drivers/net/wireless/mediatek/mt76/mac80211.c
+++ b/
drivers/net/wireless/mediatek/mt76/mac80211.c
@@
-213,7
+213,8
@@
mt76_init_sband(struct mt76_dev *dev, struct mt76_sband *msband,
vht_cap->vht_supported = true;
vht_cap->cap |= IEEE80211_VHT_CAP_RXLDPC |
IEEE80211_VHT_CAP_RXSTBC_1 |
- IEEE80211_VHT_CAP_SHORT_GI_80;
+ IEEE80211_VHT_CAP_SHORT_GI_80 |
+ (3 << IEEE80211_VHT_CAP_MAX_A_MPDU_LENGTH_EXPONENT_SHIFT);
return 0;
}