]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add QCA vendor channel attribute to restart AP
authorRajeev Kumar Sirasanagandla <rsirasan@codeaurora.org>
Thu, 25 Jul 2019 15:37:02 +0000 (21:07 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 9 Aug 2019 16:52:23 +0000 (19:52 +0300)
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>
src/common/qca-vendor.h

index 335a1b1caaa13a1ddd9323d82d8a6fc8334b0774..43475e507c9125010b41272d96873f8cab56b3b8 100644 (file)
@@ -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