Sean WangandFelix Fietkau 56518f4a12 mt76: mt7921: consider the invalid value for to_rssi
It is possible the RCPI from the certain antenna is an invalid value,
especially packets are receiving while the system is frequently entering
deep sleep mode, so consider calculating RSSI with the reasonable upper
bound to avoid report the wrong value to the mac80211 layer.

Fixes: 163f4d22c118 ("mt76: mt7921: add MAC support")
Reviewed-by: Lorenzo Bianconi <[email protected]>
Signed-off-by: Sean Wang <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
2021-05-13 10:18:25 +02:00
2021-04-14 09:12:11 +02:00
2021-04-11 12:49:17 +02:00
2021-05-13 09:00:04 +02:00
2021-05-07 17:15:27 +02:00
2021-04-17 11:19:58 +02:00
2021-01-14 11:14:59 +01:00
2021-01-14 11:14:59 +01:00
2020-06-16 22:05:14 +02:00
2019-08-22 09:26:30 +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%