aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/qca-vendor.h
diff options
context:
space:
mode:
authorRajeev Kumar Sirasanagandla <rsirasan@codeaurora.org>2019-07-25 15:37:02 (GMT)
committerJouni Malinen <j@w1.fi>2019-08-09 16:52:23 (GMT)
commitaa23ece3def0c98820df99999a9d645edcf0ed75 (patch)
treee6c8a444780028d7861817014b06a0c66a43a9d6 /src/common/qca-vendor.h
parent85508ecf67f97a1ebcffbf6514d7f3f9703a474e (diff)
downloadhostap-aa23ece3def0c98820df99999a9d645edcf0ed75.zip
hostap-aa23ece3def0c98820df99999a9d645edcf0ed75.tar.gz
hostap-aa23ece3def0c98820df99999a9d645edcf0ed75.tar.bz2
Add QCA vendor channel attribute to restart AP
Add QCA_WLAN_VENDOR_ATTR_SAP_CONFIG_CHANNEL attribute in enum qca_wlan_vendor_attr_sap_config to use with vendor command QCA_NL80211_VENDOR_SUBCMD_SET_SAP_CONFIG. This new attribute is used to restart AP on given channel. Signed-off-by: Rajeev Kumar Sirasanagandla <rsirasan@codeaurora.org>
Diffstat (limited to 'src/common/qca-vendor.h')
-rw-r--r--src/common/qca-vendor.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h
index 335a1b1..43475e5 100644
--- a/src/common/qca-vendor.h
+++ b/src/common/qca-vendor.h
@@ -1893,10 +1893,14 @@ enum qca_wlan_vendor_attr_config {
/**
* enum qca_wlan_vendor_attr_sap_config - Parameters for AP configuration
+ *
+ * @QCA_WLAN_VENDOR_ATTR_SAP_CONFIG_CHANNEL: Optional (u8)
+ * Channel number on which Access Point should restart.
*/
enum qca_wlan_vendor_attr_sap_config {
QCA_WLAN_VENDOR_ATTR_SAP_CONFIG_INVALID = 0,
- /* 1 - reserved for QCA */
+ QCA_WLAN_VENDOR_ATTR_SAP_CONFIG_CHANNEL = 1,
+
/* 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