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)
Thu, Aug 20, 6:52 PM
Unknown Object (File)
Sun, Aug 16, 5:31 PM
Unknown Object (File)
Fri, Aug 14, 11:58 PM
Unknown Object (File)
Fri, Aug 14, 5:26 PM
Unknown Object (File)
Thu, Aug 13, 12:49 PM
Unknown Object (File)
Thu, Aug 13, 3:30 AM
Unknown Object (File)
Thu, Aug 13, 1:53 AM
Unknown Object (File)
Wed, Aug 12, 7:12 PM

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