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
Unknown Object (File)
Wed, May 20, 4:57 AM
Unknown Object (File)
Mon, May 18, 4:20 PM
Unknown Object (File)
Mon, May 18, 4:20 PM
Unknown Object (File)
Mon, May 18, 12:44 AM
Unknown Object (File)
Sun, May 17, 9:56 PM
Unknown Object (File)
Thu, May 14, 4:39 PM
Unknown Object (File)
Tue, May 5, 3:18 PM
Unknown Object (File)
Sat, Apr 25, 12:07 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