Felix Fietkau f450659334 mt76x2: 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 <[email protected]>
2018-06-18 12:27:02 +02:00
2015-12-13 17:54:16 +01:00
2018-04-09 11:34:04 +02:00
2016-09-04 17:33:28 +02:00
2016-09-25 18:13:12 +02:00
2016-09-04 17:33:28 +02:00
2016-09-04 17:33:28 +02:00
2016-09-04 17:33:28 +02:00
2018-05-18 17:46:01 +02:00
2016-09-04 17:33:28 +02:00
2016-09-04 17:33:28 +02:00
2016-09-04 17:33:28 +02:00
2016-09-04 17:33:28 +02:00
2016-09-04 17:33:28 +02:00
2017-12-02 11:11:58 +01:00
2016-09-04 17:33:28 +02:00
2018-04-18 11:53:24 +02:00
2016-09-04 17:33:28 +02:00
2016-09-04 18:06:48 +02:00
S
Description
mac80211 driver for MediaTek MT76x0e, MT76x2e, MT7603, MT7615, MT7628 and MT7688
BSD-3-Clause
105 MiB
Languages
C 99.7%
Perl 0.2%
Makefile 0.1%