freebsd-dev/sys/compat
Bjoern A. Zeeb 60970a328e LinuxKPI: 802.11: fix RSSI (and NF)
As in 4a22cd6c4e nf and rss should be
signed and not unsigned.  Change the types in the header and while
here change a magic number to a define as done elsewhere (value does
not change).

When calculating c_rssi we need to make it relative so subtract nf.
And while here improve the debug output.

This will hopefully fix ifconfig wlanN list scan S:N output which
tools use to chose a BSSID and help net80211 internal calculations.

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
2022-04-01 22:31:23 +00:00
..
freebsd32 compat32: add size CTASSERTs for non-amd64 cases 2022-03-30 13:25:25 -04:00
ia32 Add PT_GETREGSET 2022-01-27 11:40:34 +00:00
lindebugfs lindebugfs: The Linux file operations use negative return values in the kernel. 2022-03-11 17:41:33 +01:00
linprocfs linprocfs: Add /proc/self/oom_score_adj. 2022-03-31 21:04:44 +03:00
linsysfs linsysfs: plug set-but-not-used vars. 2022-03-31 23:49:26 +03:00
linux linux(4): Cleanup empty lines. 2022-03-31 21:23:12 +03:00
linuxkpi/common LinuxKPI: 802.11: fix RSSI (and NF) 2022-04-01 22:31:23 +00:00
x86bios