]> git.ipfire.org Git - thirdparty/hostap.git/commit
nl80211: Add support for EDMG channels
authorAlexei Avshalom Lazar <ailizaro@codeaurora.org>
Tue, 10 Sep 2019 07:26:01 +0000 (10:26 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 7 Oct 2019 13:06:04 +0000 (16:06 +0300)
commitdda5d9e315afb925b18cf0084b9fb205d0c10773
treea8b7b8f4694a63c7e95dd808a5624bce04b2bc5e
parenta19913c17006d53a98b569b4e2a7d0ec88cbc372
nl80211: Add support for EDMG channels

IEEE P802.11ay defines Enhanced Directional Multi-Gigabit (EDMG) STA and
AP which allow channel bonding of 2 channels and more.

nl80211 provides the driver's EDMG capabilities from the kernel
using two new attributes:
NL80211_BAND_ATTR_EDMG_CHANNELS - bitmap field that indicates the 2.16
GHz channel(s) that are supported by the driver.
NL80211_BAND_ATTR_EDMG_BW_CONFIG - represents the channel bandwidth
configurations supported by the driver.
The driver's EDMG capabilities are stored inside struct hostapd_hw_modes.

As part of the connect request and starting AP, EDMG parameters are
passed as part of struct hostapd_freq_params.

The EDMG parameters are sent to the kernel by using two new attributes:
NL80211_ATTR_WIPHY_EDMG_CHANNEL and NL80211_ATTR_WIPHY_EDMG_BW_CONFIG
which specify channel and bandwidth configuration for the driver to use.

This implementation is limited to CB2 (channel bonding of 2 channels)
and the bonded channels must be adjacent.

Signed-off-by: Alexei Avshalom Lazar <ailizaro@codeaurora.org>
src/drivers/driver.h
src/drivers/driver_nl80211.c
src/drivers/driver_nl80211_capa.c