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)
Tue, Jul 14, 12:39 AM
Unknown Object (File)
Fri, Jul 10, 5:27 PM
Unknown Object (File)
Tue, Jul 7, 5:18 AM
Unknown Object (File)
Mon, Jul 6, 5:43 AM
Unknown Object (File)
Jun 7 2026, 11:54 AM
Unknown Object (File)
May 20 2026, 5:44 PM
Unknown Object (File)
Apr 27 2026, 7:46 PM
Unknown Object (File)
Apr 19 2026, 10: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 Not Applicable
Unit
Tests Not Applicable