Page MenuHomeFreeBSD

net80211: fix VHT160/80P80/80 chanwidth selection in the "40-" case
ClosedPublic

Authored by bz on Mar 8 2026, 1:03 AM.
Tags
None
Referenced Files
F160355749: D55717.id173371.diff
Tue, Jun 23, 3:29 PM
F160355271: D55717.id173323.diff
Tue, Jun 23, 3:21 PM
F160324062: D55717.diff
Tue, Jun 23, 7:09 AM
Unknown Object (File)
Fri, Jun 19, 3:53 PM
Unknown Object (File)
Sat, Jun 6, 12:34 PM
Unknown Object (File)
May 20 2026, 4:57 AM
Unknown Object (File)
May 18 2026, 4:20 PM
Unknown Object (File)
May 18 2026, 4:20 PM

Details

Summary

Depending on the base channel ni_vht_chan2 - ni_vht_chan1 can be
negative. Apply abs() as indicated in the comments right above

| CCFS1 - CCFS0 | = 8  or > 16

in order to fix the channel width selection.

Sponsored by: The FreeBSD Foundation
PR: 293645
Fixes: 4bf049bfeefd9
MFC after: 3 days

Diff Detail

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