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)
Fri, Jan 16, 10:00 PM
Unknown Object (File)
Fri, Jan 16, 11:32 AM
Unknown Object (File)
Fri, Jan 16, 10:39 AM
Unknown Object (File)
Fri, Jan 16, 8:20 AM
Unknown Object (File)
Dec 18 2025, 10:40 AM
Unknown Object (File)
Dec 8 2025, 3:22 AM
Unknown Object (File)
Nov 28 2025, 11:58 AM
Unknown Object (File)
Nov 26 2025, 10:35 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