summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek/mt76/trace.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2018-06-21 11:18:01 +0200
committerKalle Valo <kvalo@codeaurora.org>2018-06-27 19:15:14 +0300
commitc3ae2103e06953b1521a96c3e6934136b835e027 (patch)
tree0f8da724bba3bfbb87d7035c75f9fe77200439b5 /drivers/net/wireless/mediatek/mt76/trace.h
parent32e49efe0f15706021fda62e341fa6308e8d7c1e (diff)
downloadtalos-op-linux-c3ae2103e06953b1521a96c3e6934136b835e027.tar.gz
talos-op-linux-c3ae2103e06953b1521a96c3e6934136b835e027.zip
mt76: improve gain adjustment in noisy environments
When switching between low gain (high RSSI) and high gain settings, it can take a few seconds to adjust to the current environment. This can lead to short periods of time with extreme packet loss. When switching from low_gain=1 to low_gain=2, start with the same gain adjustment value instead of the lowest to avoid spikes of huge numbers of false CCA events Also avoid resetting adjustment values on switching between low_gain values 0 and 1, since it affects only the upper limit of vga adjustment Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/trace.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud