Page MenuHomeFreeBSD

net80211: init by default to FCC (was: DEBUG) regdomain
AbandonedPublic

Authored by avos on May 4 2016, 4:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 10:45 PM
Unknown Object (File)
Dec 23 2023, 1:34 AM
Unknown Object (File)
Nov 14 2023, 7:05 AM
Unknown Object (File)
Oct 26 2023, 5:31 PM
Unknown Object (File)
Aug 27 2023, 11:13 AM
Unknown Object (File)
Jul 23 2023, 8:18 PM
Unknown Object (File)
Jul 2 2023, 11:34 PM
Unknown Object (File)
May 10 2023, 12:45 PM
Subscribers

Details

Reviewers
adrian
Summary

Change default regulatory domain from DEBUG (no limitations; exposes all device channels) to FCC (in case if it was not set by the driver previously).

Relnotes: yes

Test Plan

Tested with:

  • Intel 3945BG (wpi)
  • WUSB54GC (rum)

(todo: test with dual-band/ht devices).

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

avos retitled this revision from to net80211: init by default to FCC (was: DEBUG) regdomain.
avos updated this object.
avos edited the test plan for this revision. (Show Details)
avos added a reviewer: adrian.
avos set the repository for this revision to rS FreeBSD src repository - subversion.

Before this can be committed, bsdinstall(8) should be capable to select another regdomain/country.

why's this needed? I thought ifconfig would invoke regdomain code for us when we create a vap.

by default - no (vap creation and regdomain/country setup are independent).

right, but the channel list being "all channels" isn't a problem; it should just get overridden when we first create a vap and that looks at the current regdomain/cc.

Hm, I'll have to go read the regdomain code again.. I don't really want to hard-code /more/ channel stuff.