projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c6a3fe
)
mt76: mt7603: enable hardware rate up/down selection
author
Felix Fietkau
<nbd@nbd.name>
Wed, 3 Jul 2019 19:44:23 +0000
(21:44 +0200)
committer
Felix Fietkau
<nbd@nbd.name>
Thu, 5 Sep 2019 15:42:28 +0000
(17:42 +0200)
Improves performance by switching away from bad rates faster
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7603/init.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/mediatek/mt76/mt7603/init.c
b/drivers/net/wireless/mediatek/mt76/mt7603/init.c
index 38834c7d08918a4bd6c425e0a2f7c8a02bb9d9be..568e57e1d69c727cb7da75fa5324f51d66d886d0 100644
(file)
--- a/
drivers/net/wireless/mediatek/mt76/mt7603/init.c
+++ b/
drivers/net/wireless/mediatek/mt76/mt7603/init.c
@@
-248,8
+248,7
@@
mt7603_mac_init(struct mt7603_dev *dev)
FIELD_PREP(MT_AGG_ARxCR_LIMIT(7), MT7603_RATE_RETRY - 1));
mt76_wr(dev, MT_AGG_ARCR,
- (MT_AGG_ARCR_INIT_RATE1 |
- FIELD_PREP(MT_AGG_ARCR_RTS_RATE_THR, 2) |
+ (FIELD_PREP(MT_AGG_ARCR_RTS_RATE_THR, 2) |
MT_AGG_ARCR_RATE_DOWN_RATIO_EN |
FIELD_PREP(MT_AGG_ARCR_RATE_DOWN_RATIO, 1) |
FIELD_PREP(MT_AGG_ARCR_RATE_UP_EXTRA_TH, 4)));