Page MenuHomeFreeBSD

net80211: provide a set of ieee80211_add_channel*() functions
ClosedPublic

Authored by avos on Apr 27 2016, 2:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 11, 7:06 AM
Unknown Object (File)
Sun, Dec 8, 5:50 PM
Unknown Object (File)
Tue, Dec 3, 8:39 AM
Unknown Object (File)
Oct 21 2024, 7:16 AM
Unknown Object (File)
Oct 21 2024, 7:16 AM
Unknown Object (File)
Oct 21 2024, 7:15 AM
Unknown Object (File)
Oct 21 2024, 6:47 AM
Unknown Object (File)
Oct 9 2024, 5:54 PM
Subscribers

Details

Summary

This diff adds few methods for net80211 channel table setup:

  • ieee80211_add_channel()
  • ieee80211_add_channel_ht40()

(primarily for drivers, that parse EEPROM to get channel list)

  • ieee80211_add_channel_list_2ghz()
  • ieee80211_add_channel_list_5ghz()

(mostly as a replacement for ieee80211_init_channels(); may be used in ic_getradiocaps())

TODO: reduce number of parameters (6 - 8 at this time).

Test Plan

Tested with wpi(4) (add_channel) and rum(4) (add_channel_list_2ghz).

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

avos retitled this revision from to net80211: provide a set of ieee80211_add_channel*() functions.
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.

ok, get some more testing of this (including ath(4), which does bad things to channel setup, iirc) and then i'll okay it. It looks fine as a first pass though, so thanks!

And this refactor also makes it easier to add VHT20/40/80 channel support when it comes time to do that.

adrian edited edge metadata.
This revision is now accepted and ready to land.Apr 29 2016, 2:14 AM
This revision was automatically updated to reflect the committed changes.