diff options
author | Sunil Dutt <usdutt@qti.qualcomm.com> | 2016-05-23 13:39:48 (GMT) |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2016-06-16 15:38:16 (GMT) |
commit | 52a6c9c9e81f0fa7c3d9f3cb8a970d5b63690ffc (patch) | |
tree | cb5bfac60ef93aa9eec1e509a2e5fa716872b6e3 | |
parent | 31d3692fe5d56c05753ed4a70c7943979e1d29e7 (diff) | |
download | hostap-52a6c9c9e81f0fa7c3d9f3cb8a970d5b63690ffc.zip hostap-52a6c9c9e81f0fa7c3d9f3cb8a970d5b63690ffc.tar.gz hostap-52a6c9c9e81f0fa7c3d9f3cb8a970d5b63690ffc.tar.bz2 |
Add a QCA vendor command to configure AP parameters
This commit also introduces a new attribute MANDATORY_FREQUENCY_LIST
which aims for AP operation in a channel that ensures best concurrency
sessions.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
-rw-r--r-- | src/common/qca-vendor.h | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 7759023..a0fa1c7 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -166,7 +166,8 @@ enum qca_nl80211_vendor_subcmds { QCA_NL80211_VENDOR_SUBCMD_SET_TXPOWER_SCALE = 109, /* 110..114 - reserved for QCA */ QCA_NL80211_VENDOR_SUBCMD_SET_TXPOWER_DECR_DB = 115, - /* 116..118 - reserved for QCA */ + /* 116..117 - reserved for QCA */ + QCA_NL80211_VENDOR_SUBCMD_SET_SAP_CONFIG = 118, QCA_NL80211_VENDOR_SUBCMD_TSF = 119, QCA_NL80211_VENDOR_SUBCMD_WISA = 120, }; @@ -565,4 +566,23 @@ enum qca_wlan_vendor_attr_config { QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST - 1, }; +/** + * enum qca_wlan_vendor_attr_sap_config - Parameters for AP configuration + */ +enum qca_wlan_vendor_attr_sap_config { + QCA_WLAN_VENDOR_ATTR_SAP_CONFIG_INVALID = 0, + /* 1 - reserved for QCA */ + /* List of frequencies on which AP is expected to operate. + * This is irrespective of ACS configuration. This list is a priority + * based one and is looked for before the AP is created to ensure the + * best concurrency sessions (avoid MCC and use DBS/SCC) co-exist in + * the system. + */ + QCA_WLAN_VENDOR_ATTR_SAP_MANDATORY_FREQUENCY_LIST = 2, + + QCA_WLAN_VENDOR_ATTR_SAP_CONFIG_AFTER_LAST, + QCA_WLAN_VENDOR_ATTR_SAP_CONFIG_MAX = + QCA_WLAN_VENDOR_ATTR_SAP_CONFIG_AFTER_LAST - 1, +}; + #endif /* QCA_VENDOR_H */ |