diff options
author | Sean Wang <[email protected]> | 2021-05-10 23:14:55 +0800 |
---|---|---|
committer | Felix Fietkau <[email protected]> | 2021-06-19 09:22:44 +0200 |
commit | edb5aebc1c3db312e74e1dcf75b8626ee5300596 (patch) | |
tree | 56b2a82c34159f7807aaf7d3d97d05243113318c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 193e5f22eeb2a9661bff8bc0d8519e6ded48c807 (diff) |
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]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions