Page MenuHomeFreeBSD

net80211/drivers: improve ieee80211_rx_stats for band
ClosedPublic

Authored by bz on Jun 6 2021, 9:31 PM.
Tags
None
Referenced Files
F113939592: D30662.id97279.diff
Sat, Apr 5, 10:26 PM
Unknown Object (File)
Sat, Mar 15, 6:56 PM
Unknown Object (File)
Mar 1 2025, 3:53 PM
Unknown Object (File)
Feb 22 2025, 1:03 AM
Unknown Object (File)
Feb 21 2025, 10:32 AM
Unknown Object (File)
Feb 20 2025, 3:17 AM
Unknown Object (File)
Feb 16 2025, 11:14 AM
Unknown Object (File)
Feb 7 2025, 1:30 AM
Subscribers

Details

Summary

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
MFC after: 2 weeks

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bz requested review of this revision.Jun 6 2021, 9:31 PM

This is just another gap-filling change I found buried in a dev-tree.
I've adjusted the remaining drivers (not all tested).

Historical remark:
In general I'd love to have seen "ieee80211_rx_stats" kept the same as seen in drivers rather than mostly remodeling it after what is there and changing names for no good and missing bits.
Just makes any porting effort harder having to map or sed-replace things.

Anyone? Otherwise this will go in soon-ish.

This revision is now accepted and ready to land.Oct 8 2021, 2:13 PM