diff options
author | Sunil Dutt <usdutt@qti.qualcomm.com> | 2016-05-23 19:09:48 +0530 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2016-08-24 08:07:43 -0600 |
commit | 9e66a420eefb02740d5342b27e1c47e263e351dc (patch) | |
tree | 44851c6767132749f37974df366f2e589480a418 | |
parent | 638533af824953a6afca936858c5e1e9198bd0d7 (diff) | |
download | android_external_wpa_supplicant_8-9e66a420eefb02740d5342b27e1c47e263e351dc.tar.gz android_external_wpa_supplicant_8-9e66a420eefb02740d5342b27e1c47e263e351dc.tar.bz2 android_external_wpa_supplicant_8-9e66a420eefb02740d5342b27e1c47e263e351dc.zip |
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>
Git-commit: 52a6c9c9e81f0fa7c3d9f3cb8a970d5b63690ffc
Git-repo: git://w1.fi/srv/git/hostap.git
Change-Id: Ifd17eff1908572f7441d81617d77293dba8ea8b4
CRs-Fixed: 1030819
-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 87bbc053..3e273286 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -162,7 +162,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, }; @@ -507,4 +508,23 @@ enum qca_vendor_attr_txpower_decr_db { QCA_WLAN_VENDOR_ATTR_TXPOWER_DECR_DB_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 */ |