From aa23ece3def0c98820df99999a9d645edcf0ed75 Mon Sep 17 00:00:00 2001 From: Rajeev Kumar Sirasanagandla Date: Thu, 25 Jul 2019 21:07:02 +0530 Subject: [PATCH] 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 --- src/common/qca-vendor.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 335a1b1ca..43475e507 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 -- 2.39.2