Add a QCA vendor command to configure AP parameters
authorSunil Dutt <usdutt@qti.qualcomm.com>
Mon, 23 May 2016 13:39:48 +0000 (19:09 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 16 Jun 2016 15:38:16 +0000 (18:38 +0300)
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>
src/common/qca-vendor.h

index 7759023..a0fa1c7 100644 (file)
@@ -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 */