HomeFreeBSD

net80211/drivers: improve ieee80211_rx_stats for band

Description

net80211/drivers: improve ieee80211_rx_stats for band

While IEEE80211_R_BAND was defined, there was no place to store the
band. Add a field for that, adjust ieee80211_lookup_channel_rxstatus()
to require it, and update drivers passing "R_{FREQ|IEEE}" in already to
provide the band as well. For the moment keep the fall-back code
requiring all three fields.

Sponsored by: The FreeBSD Foundation

(cherry picked from commit 9a6695532b3997e4e2bc3fe57481cc49be5e9e93)

Details

Provenance
bzAuthored on Jun 6 2021, 9:14 PM
Parents
rG8a5ff0163853: net80211: correct input_sta length checks and control frame handling
Branches
Unknown
Tags
Unknown