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
F109584453: D30662.diff
Fri, Feb 7, 1:30 AM
Unknown Object (File)
Sat, Jan 25, 7:55 PM
Unknown Object (File)
Fri, Jan 24, 7:06 PM
Unknown Object (File)
Nov 26 2024, 3:39 AM
Unknown Object (File)
Nov 22 2024, 3:16 AM
Unknown Object (File)
Nov 22 2024, 2:55 AM
Unknown Object (File)
Nov 19 2024, 3:35 PM
Unknown Object (File)
Nov 19 2024, 1:43 PM
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