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)
Mon, Aug 10, 4:29 AM
Unknown Object (File)
Mon, Aug 10, 12:34 AM
Unknown Object (File)
Sun, Aug 9, 3:37 AM
Unknown Object (File)
Sun, Aug 9, 12:10 AM
Unknown Object (File)
Sat, Aug 8, 11:18 PM
Unknown Object (File)
Sat, Aug 8, 7:16 PM
Unknown Object (File)
Sat, Aug 8, 1:12 PM
Unknown Object (File)
Sat, Aug 8, 9:23 AM

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