Page MenuHomeFreeBSD

net80211: (v)ht: use macros at hand
ClosedPublic

Authored by bz on Jan 7 2025, 3:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 18 2025, 6:08 PM
Unknown Object (File)
Mar 8 2025, 2:27 AM
Unknown Object (File)
Mar 1 2025, 5:26 PM
Unknown Object (File)
Feb 27 2025, 6:25 PM
Unknown Object (File)
Feb 21 2025, 7:44 PM
Unknown Object (File)
Feb 14 2025, 8:26 AM
Unknown Object (File)
Feb 10 2025, 5:35 PM
Unknown Object (File)
Jan 19 2025, 7:21 PM

Details

Summary

Rather than duplicating the manual logic here and leaving a comment,
use the self-explanatory macros we already have.

No functional changes intended.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

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

Event Timeline

bz requested review of this revision.Jan 7 2025, 3:05 PM

Note: I believe the logic here needs to be reversed and we need to check for 80P80 first. (otherwise we'll never hit the else if case). If anyone agrees with me I'll open another review for that once this is in.
But maybe that's my LinuxKPI way of thinking currently as 80P80 also is considered 160Mhz width there?

yeah, I think so too. Let's do that once we land this.

This revision is now accepted and ready to land.Jan 7 2025, 3:27 PM
This revision was automatically updated to reflect the committed changes.