]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Vendor attributes to retain connection on a roam request failure
authorVidyullatha Kanchanapally <vkanchan@qti.qualcomm.com>
Fri, 5 May 2017 15:11:08 +0000 (20:41 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 11 May 2017 21:39:00 +0000 (00:39 +0300)
This commit introduces the following two attributes to
QCA_NL80211_VENDOR_SUBCMD_KEY_MGMT_ROAM_AUTH events:

QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_STATUS - Indicates the status of
re-association requested by user space
QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_RETAIN_CONNECTION - Indicates whether
the old association was maintained when a re-association
is requested by user space and that re-association attempt
fails (i.e., cannot connect to the requested BSS, but can
remain associated with the BSS with which the association was
in place when being requested to roam).

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

index deffca27c6569f179762d8a5141f8575e157a10d..24d25ce5c1558a1296113e13a249320728f5d100 100644 (file)
@@ -649,6 +649,24 @@ enum qca_wlan_vendor_attr_roam_auth {
        QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_PTK_KCK,
        QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_PTK_KEK,
        QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_SUBNET_STATUS,
+       /* Indicates the status of re-association requested by user space for
+        * the BSSID specified by QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_BSSID.
+        * Type u16.
+        * Represents the status code from AP. Use
+        * %WLAN_STATUS_UNSPECIFIED_FAILURE if the device cannot give you the
+        * real status code for failures.
+        */
+       QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_STATUS,
+       /* This attribute indicates that the old association was maintained when
+        * a re-association is requested by user space and that re-association
+        * attempt fails (i.e., cannot connect to the requested BSS, but can
+        * remain associated with the BSS with which the association was in
+        * place when being requested to roam). Used along with
+        * WLAN_VENDOR_ATTR_ROAM_AUTH_STATUS to indicate the current
+        * re-association status. Type flag.
+        * This attribute is applicable only for re-association failure cases.
+        */
+       QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_RETAIN_CONNECTION,
        /* keep last */
        QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_AFTER_LAST,
        QCA_WLAN_VENDOR_ATTR_ROAM_AUTH_MAX =