]> git.ipfire.org Git - thirdparty/hostap.git/commit
Move CHANWIDTH_* definitions from ieee80211_defs.h to defs.h
authorAleti Nageshwar Reddy <quic_anageshw@quicinc.com>
Fri, 13 May 2022 16:17:40 +0000 (21:47 +0530)
committerJouni Malinen <j@w1.fi>
Mon, 20 Jun 2022 11:39:18 +0000 (14:39 +0300)
commitbafe35df0351cd42323cf0b9d24d90db87cadd60
tree7988682841610ebb10b5f8a6faf746f9fd9c3cd7
parent92f5499010b7fc9a0d7aa419ad253d3c29d897a8
Move CHANWIDTH_* definitions from ieee80211_defs.h to defs.h

Move most of CHANWIDTH_* definitions from ieee80211_defs.h to defs.h as
the definitions are getting used mostly for internal purpose only. Also
change prefix of the definitions to CONF_OPER_CHWIDTH_* and update in
all the files accordingly.

Leave the couple of VHT-specific exceptions to use the old defines (the
reason why they were originally added as VHT values), to avoid use of
clearly marked configuration values in information elements. In
addition, use the defines instead of magic values where appropriate.

Signed-off-by: Aleti Nageshwar Reddy <quic_anageshw@quicinc.com>
31 files changed:
hostapd/hostapd.conf
src/ap/acs.c
src/ap/ap_config.h
src/ap/ap_drv_ops.c
src/ap/beacon.c
src/ap/dfs.c
src/ap/drv_callbacks.c
src/ap/hostapd.c
src/ap/hw_features.c
src/ap/ieee802_11.c
src/ap/ieee802_11_eht.c
src/ap/ieee802_11_he.c
src/ap/ieee802_11_shared.c
src/ap/ieee802_11_vht.c
src/ap/neighbor_db.c
src/common/defs.h
src/common/hw_features_common.c
src/common/hw_features_common.h
src/common/ieee802_11_common.c
src/common/ieee802_11_common.h
src/common/ieee802_11_defs.h
wpa_supplicant/ap.c
wpa_supplicant/config.c
wpa_supplicant/config_ssid.h
wpa_supplicant/ctrl_iface.c
wpa_supplicant/mesh.c
wpa_supplicant/op_classes.c
wpa_supplicant/p2p_supplicant.c
wpa_supplicant/rrm.c
wpa_supplicant/wnm_sta.c
wpa_supplicant/wpa_supplicant.c