]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r366800:
authorBjoern A. Zeeb <bz@FreeBSD.org>
Thu, 5 Nov 2020 12:16:22 +0000 (12:16 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Thu, 5 Nov 2020 12:16:22 +0000 (12:16 +0000)
commit32ee71d93e366c5f6ef8ed52217a88d3d33e8829
tree06ced52958c3c7b750ea6ca8e6fde7bfda8a582e
parent747472f14f29e2e2c6f0de304b78438e1d26e21d
MFC r366800:

  net80211: update for (more) VHT160 support

  Implement two macros IEEE80211_VHTCAP_SUPP_CHAN_WIDTH_IS_160MHZ()
  and its 80+80 counter part to check in vhtcaps for appropriate
  levels of support and use the macros throughout the code.

  Add vht160_chan_ranges/is_vht160_valid_freq and handle analogue
  to vht80 in various parts of the code.

  Add ieee80211_add_channel_cbw() which also takes the CBW flag
  fields and make the former ieee80211_add_channel() a wrapper to it.
  With the CBW flags we can add HT/VHT channels passing them to
  getflags() for the 2/5ghz functions.

  In ifconfig(8) add the regdomain_addchans() support for VHT160
  and VHT80P80.

  With this (+ regdoain.xml updates) VHT160 channels can be
  configured, listed, and pass regdomain where appropriate.
sbin/ifconfig/ifieee80211.c
sys/net80211/ieee80211.c
sys/net80211/ieee80211.h
sys/net80211/ieee80211_regdomain.c
sys/net80211/ieee80211_var.h
sys/net80211/ieee80211_vht.c