opnsense-src/sys/compat/linuxkpi/common/include
Bjoern A. Zeeb 7b9d8e33bc 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

(cherry picked from commit 60970a328e)
2022-04-05 14:47:13 +00:00
..
acpi LinuxKPI: Constantly use _LINUXKPI_ prefix in include guards 2022-01-22 22:34:38 +03:00
asm linuxkpi: Add atomic64_fetch_add 2022-03-05 12:12:44 +01:00
linux linuxkpi: move io_mapping_create_wc to .c 2022-04-05 08:40:11 -06:00
net LinuxKPI: 802.11: fix RSSI (and NF) 2022-04-05 14:47:13 +00:00
stdarg.h LinuxKPI: Add stdarg.h proxy header 2022-01-22 22:34:36 +03:00