Skip to content

Use the regulatory bandwidth and export HT40 stuff

Luis R. Rodriguez linux-wireless 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest6 patches 7 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6cfg80211: Process regulatory max bandwidth checks for HT40drivers/net/wireless/ath9k/regd.c include/net/wireless.h net/wireless/reg.c+169 -500 replies
2/6wireless: rename IEEE80211_CHAN_NO_FAT_* to HT40-/+drivers/net/wireless/iwlwifi/iwl-core.c drivers/net/wireless/iwlwifi/iwl-eeprom.c include/net/wireless.h +2 more+22 -220 replies
3/6mac80211: check if HT40+/- is allowed before sending assocnet/mac80211/ht.c+9 -20 replies
4/6cfg80211: check allowed channel type upon userspace requestsnet/wireless/nl80211.c+18 -01 reply
5/6cfg80211: send channel max bandwidth to userspaceinclude/linux/nl80211.h net/wireless/nl80211.c+5 -10 replies
6/6cfg80211: send to userspace if HT40-/+ is allowed on each channelinclude/linux/nl80211.h net/wireless/nl80211.c+21 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/6] Use the regulatory bandwidth and export HT40 stuff

This took a little more consideration than I thought. This is a redesign of the bandwidth regulatory stuff, it also keeps in mind preferences in the future to use alternative bandwidths like 10 MHz and 5 MHz for things like 802.11p.

Ultimately you'll now get proper interpretation of the regulatory bandwidth supported, we'll export the bandwidth allowed per channel, and we'll also export the channel HT40-/+ capabilities -- if they are allowed or not.

This should also help considerably with testing regulatory settings. And for users planning to use HT40 it'll give you a direct guide which channels to pick on your AP.

This second series completely abandons our old strategy to use the channel bandwidth to determine whether or not we support HT40, instead we use it for to determine the supported actual bandwidth _per_channel_, not per channel set (the pair of channels on an HT40 configuration).

Luis R. Rodriguez (6):
cfg80211: Process regulatory max bandwidth checks for HT40
wireless: rename IEEE80211_CHAN_NO_FAT_* to HT40-/+
mac80211: check if HT40+/- is allowed before sending assoc
cfg80211: check allowed channel type upon userspace requests
cfg80211: send channel max bandwidth to userspace
cfg80211: send to userspace if HT40-/+ is allowed on each channel

 drivers/net/wireless/ath9k/regd.c         |   10 +-
 drivers/net/wireless/iwlwifi/iwl-core.c   |    4 +-
 drivers/net/wireless/iwlwifi/iwl-eeprom.c |    8 +-
 include/linux/nl80211.h                   |   18 +++
 include/net/wireless.h                    |   23 +++--
 net/mac80211/ht.c                         |   11 ++-
 net/mac80211/mlme.c                       |    4 +-
 net/wireless/nl80211.c                    |   27 ++++-
 net/wireless/reg.c                        |  194 ++++++++++++++++++++++------
 9 files changed, 234 insertions(+), 65 deletions(-)