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
F173304245: D55717.id173323.diff
Fri, Sep 25, 3:32 AM
Unknown Object (File)
Thu, Sep 24, 5:58 AM
Unknown Object (File)
Tue, Sep 22, 1:25 PM
Unknown Object (File)
Sat, Sep 12, 9:04 AM
Unknown Object (File)
Thu, Sep 10, 8:33 PM
Unknown Object (File)
Thu, Sep 10, 7:46 AM
Unknown Object (File)
Mon, Sep 7, 7:22 PM
Unknown Object (File)
Sun, Sep 6, 1:59 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 Not Applicable
Unit
Tests Not Applicable