HomeFreeBSD

LinuxKPI: 80211: implement (*get_antenna) and set ic_[rt]xstream

Description

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)

Details

Provenance
bzAuthored on Sep 3 2022, 11:11 PM
Parents
rG13c39a6015e1: LinuxKPI: 80211: make HW_CRYPTO compileable again
Branches
Unknown
Tags
Unknown