Page MenuHomeFreeBSD

net80211/ifconfig: swap IEEE80211_FVHT_USEVHT160 and 80P80
ClosedPublic

Authored by bz on Feb 12 2025, 11:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Sep 14, 6:43 AM
Unknown Object (File)
Fri, Aug 28, 12:53 PM
Unknown Object (File)
Thu, Aug 20, 6:52 PM
Unknown Object (File)
Sun, Aug 16, 5:31 PM
Unknown Object (File)
Aug 14 2026, 11:58 PM
Unknown Object (File)
Aug 14 2026, 5:26 PM
Unknown Object (File)
Aug 13 2026, 12:49 PM
Unknown Object (File)
Aug 13 2026, 3:30 AM

Details

Summary

ieee80211_setupcurchan() compares the flags in a greater than manner.
In this case VHT160 should be > VHT80P80 as it is preferable.
Swap the two flags and add a comment to note this.

Sponsored by: The FreeBSD Foundation
MFC after: 3 days

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 62407
Build 59291: arc lint + arc unit