[PATCH 0/4] Implement supported channel BW checking

Dmitrii Lebed dlebed at quantenna.com
Thu Mar 1 03:49:25 PST 2018

From: Dmitry Lebed <dlebed at quantenna.com>

Hi all,

Here is a patch set with nl80211 FREQ_ATTR_NO_* usage added.
Currently linux kernel is verifying that channel settings
are allowed in terms of supported channel BW attributes.
Sometimes HW or driver may limit some channel configurations,
but hostapd is not taking it into account and it leads to
unsupported channel can be selected manually, by ACS and by DFS,
leading to hostapd shutdown e.g. in case of wrong channel
is being selected in a response to radar event.
This patch set do not introduce support of any new channel modes,
it just adds new checks to make hostapd avaliable channel set view
consistent with linux kernel view.

Dmitry Lebed (4):
  nl80211: add supported BW parsing
  hostapd: add supported channel BW checking infrastructure
  ACS: add supported channel BW checking
  DFS: add supported channel BW checking

 src/ap/acs.c                      | 28 +++++++++--
 src/ap/dfs.c                      | 19 ++++++--
 src/ap/hw_features.c              | 45 ++++++++++--------
 src/common/hw_features_common.c   | 99 +++++++++++++++++++++++++++++++--------
 src/common/hw_features_common.h   | 11 ++++-
 src/drivers/driver.h              | 20 ++++++++
 src/drivers/driver_nl80211_capa.c | 20 ++++++++
 7 files changed, 192 insertions(+), 50 deletions(-)


This email, including its contents and any attachment(s), may contain confidential information of Quantenna Communications, Inc. and is solely for the intended recipient(s). If you may have received this in error, please contact the sender and permanently delete this email, its contents and any attachment(s).

More information about the Hostap mailing list