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)
Wed, May 20, 5:44 PM
Unknown Object (File)
Mon, Apr 27, 7:46 PM
Unknown Object (File)
Apr 19 2026, 10:12 PM
Unknown Object (File)
Apr 19 2026, 10:09 PM
Unknown Object (File)
Apr 18 2026, 10:49 AM
Unknown Object (File)
Apr 11 2026, 3:13 PM
Unknown Object (File)
Apr 9 2026, 9:39 PM
Unknown Object (File)
Apr 6 2026, 9:56 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 Not Applicable
Unit
Tests Not Applicable