| 871bfac8 | 01-Apr-2022 |
Bjoern A. Zeeb <[email protected]> |
LinuxKPI: 802.11: fix RSSI (and NF)
As in 4a22cd6c4e5f4fc4a38aa7400742d4005c5ae3de nf and rss should be signed and not unsigned. Change the types in the header and while here change a magic number
LinuxKPI: 802.11: fix RSSI (and NF)
As in 4a22cd6c4e5f4fc4a38aa7400742d4005c5ae3de 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 Approved by: re (gjb)
(cherry picked from commit 60970a328e280b25b05f1d9a9de1ef91af573c4a) (cherry picked from commit 7b9d8e33bc4ee0b8cc22ab28a1f09a062e103bd5)
show more ...
|
| bb53dafe | 16-Jan-2022 |
Bjoern A. Zeeb <[email protected]> |
LinuxKPI: 802.11 correct enum ieee80211_channel_flags
enum ieee80211_channel_flags are used as bit fields and not as 1..n. Correct the values using BIT(n).
This is also hoped to fix problems with 7
LinuxKPI: 802.11 correct enum ieee80211_channel_flags
enum ieee80211_channel_flags are used as bit fields and not as 1..n. Correct the values using BIT(n).
This is also hoped to fix problems with 7260 cards which come up and panic due to an empty channel list as all channels are set disabled [1][2]. It will hopefully also fix the one or other oddity.
Reported by: ambrisko, Mike Tancsa (mike sentex.net) [1] Confirmed to fix by: ambrisko, Mike Tancsa (mike sentex.net) [2] Sponsored by: The FreeBSD Foundation
(cherry picked from commit d7ce88aafc870944d5eda477b125478f56844f81)
show more ...
|
| d12ea01e | 09-Jan-2022 |
Bjoern A. Zeeb <[email protected]> |
LinuxKPI: 802.11 update compat code for driver updates
Add more (dummy in case of HE) defines, structs, functions and another mac80211 function pointer needed to update and support recent drivers.
LinuxKPI: 802.11 update compat code for driver updates
Add more (dummy in case of HE) defines, structs, functions and another mac80211 function pointer needed to update and support recent drivers.
(cherry picked from commit 51b461b3db33b7cd7cbc62c9206568321f7298ad)
show more ...
|