diff options
author | Alvin Šipraga <[email protected]> | 2021-05-06 13:20:12 +0000 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2021-06-15 13:36:45 +0300 |
commit | 9a1590934d9a02e570636432b93052c0c035f31f (patch) | |
tree | 6a8b35e2463bf4f87b9b67ca4818a297582a7df0 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | feb45643762172110cb3a44f99dd54304f33b711 (diff) |
brcmfmac: correctly report average RSSI in station info
The rx_lastpkt_rssi field provided by the firmware is suitable for
NL80211_STA_INFO_{SIGNAL,CHAIN_SIGNAL}, while the rssi field is an
average. Fix up the assignments and set the correct STA_INFO bits. This
lets userspace know that the average RSSI is part of the station info.
Fixes: cae355dc90db ("brcmfmac: Add RSSI information to get_station.")
Signed-off-by: Alvin Šipraga <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions