]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI: 80211: implement (*get_antenna) and set ic_[rt]xstream
authorBjoern A. Zeeb <bz@FreeBSD.org>
Sat, 3 Sep 2022 23:11:05 +0000 (23:11 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Wed, 21 Sep 2022 11:46:46 +0000 (11:46 +0000)
commit8823ef8117e0a21d0d0f6368b554939541fb7a86
tree82ad33b24db1d1f36634726332d3932e80567ec5
parent13c39a6015e188e4095c619a7d2e7df3ae3863c0
LinuxKPI: 80211: implement (*get_antenna) and set ic_[rt]xstream

Implement the mac80211 (*get_antenna) call and after checking any
antenna information present query the current configuration on startup
(both informations should be identical at this point in theory).
Both the wiphy variables and function call report a bitmask not a count.
Count the bits for net80211 for as long as we get away with just a
number in ic_[rt]xstream.

Sponsored by: The FreeBSD Foundation

(cherry picked from commit 527687a9e30aef2e5e0c0c5b5e64e6059f1a37a4)
sys/compat/linuxkpi/common/src/linux_80211.c
sys/compat/linuxkpi/common/src/linux_80211.h
sys/compat/linuxkpi/common/src/linux_80211_macops.c