Page MenuHomeFreeBSD

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

Authored by bz on Sun, Mar 8, 1:03 AM.
Tags
None
Referenced Files
F150421336: D55717.id.diff
Wed, Apr 1, 2:29 AM
Unknown Object (File)
Sun, Mar 29, 7:55 PM
Unknown Object (File)
Thu, Mar 26, 12:08 PM
Unknown Object (File)
Wed, Mar 25, 3:14 PM
Unknown Object (File)
Wed, Mar 25, 4:22 AM
Unknown Object (File)
Fri, Mar 20, 2:08 PM
Unknown Object (File)
Wed, Mar 18, 9:53 PM
Unknown Object (File)
Wed, Mar 18, 7:08 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