MBO: Add QCA vendor option to configure driver to ignore assoc disallow
authorvamsi krishna <vamsin@qti.qualcomm.com>
Fri, 23 Sep 2016 13:33:42 +0000 (19:03 +0530)
committerJouni Malinen <j@w1.fi>
Sun, 25 Sep 2016 14:31:26 +0000 (17:31 +0300)
MBO capable APs can set association disallowed in the Beacon/Probe
Response frames. For testing purposes, the STA needs to be configured to
not ignore the association disallowed set by APs and continue to connect
to such AP like non-MBO enabled STA. Add a QCA vendor attribute for
QCA_NL80211_VENDOR_SUBCMD_SET_WIFI_CONFIGURATION vendor sub command to
configure the driver to ignore association disallowed functionality.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/common/qca-vendor.h

index a38b657..0fff3aa 100644 (file)
@@ -878,6 +878,10 @@ enum qca_wlan_vendor_attr_config {
        QCA_WLAN_VENDOR_ATTR_CONFIG_IFINDEX,
        /* 8-bit unsigned value to trigger QPower: 1-Enable, 0-Disable */
        QCA_WLAN_VENDOR_ATTR_CONFIG_QPOWER,
        QCA_WLAN_VENDOR_ATTR_CONFIG_IFINDEX,
        /* 8-bit unsigned value to trigger QPower: 1-Enable, 0-Disable */
        QCA_WLAN_VENDOR_ATTR_CONFIG_QPOWER,
+       /* 8-bit unsigned value to configure the driver and below layers to
+        * ignore the assoc disallowed set by APs while connecting
+        * 1-Ignore, 0-Don't ignore */
+       QCA_WLAN_VENDOR_ATTR_CONFIG_IGNORE_ASSOC_DISALLOWED,
 
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
 
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,