]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Extend the roam reason codes in QCA vendor attribute
authorAleti Nageshwar Reddy <anageshw@codeaurora.org>
Sun, 5 Sep 2021 07:23:45 +0000 (12:53 +0530)
committerJouni Malinen <j@w1.fi>
Thu, 9 Sep 2021 15:43:53 +0000 (18:43 +0300)
Add new reason codes to the existing enum qca_roam_reason.

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

index d4a38e76b191aee7a4704cfe166cb894591039fc..1c9e57ccec69654c1ef8024f2057b55050686d22 100644 (file)
@@ -1160,6 +1160,26 @@ enum qca_roaming_policy {
  *
  * @QCA_ROAM_REASON_BSS_LOAD: Roam triggered due to the channel utilization
  * breaching out the configured threshold.
+ *
+ * @QCA_ROAM_REASON_WTC: Roam triggered due to Wireless to Cellular BSS
+ * transition request.
+ *
+ * @QCA_ROAM_REASON_IDLE: Roam triggered when device is suspended, there is no
+ * data activity with the AP and the current RSSI falls below a certain
+ * threshold.
+ *
+ * @QCA_ROAM_REASON_DISCONNECTION: Roam triggered due to Deauthentication or
+ * Disassociation frames received from the connected AP.
+ *
+ * @QCA_ROAM_REASON_PERIODIC_TIMER: Roam triggered as part of the periodic scan
+ * that happens when there is no candidate AP found during the poor RSSI scan
+ * trigger.
+ *
+ * @QCA_ROAM_REASON_BACKGROUND_SCAN: Roam triggered based on the scan results
+ * obtained from an external scan (not aimed at roaming).
+ *
+ * @QCA_ROAM_REASON_BT_ACTIVITY: Roam triggered due to Bluetooth connection is
+ * established when the station is connected in the 2.4 GHz band.
  */
 enum qca_roam_reason {
        QCA_ROAM_REASON_UNKNOWN,
@@ -1171,6 +1191,12 @@ enum qca_roam_reason {
        QCA_ROAM_REASON_USER_TRIGGER,
        QCA_ROAM_REASON_BTM,
        QCA_ROAM_REASON_BSS_LOAD,
+       QCA_ROAM_REASON_WTC,
+       QCA_ROAM_REASON_IDLE,
+       QCA_ROAM_REASON_DISCONNECTION,
+       QCA_ROAM_REASON_PERIODIC_TIMER,
+       QCA_ROAM_REASON_BACKGROUND_SCAN,
+       QCA_ROAM_REASON_BT_ACTIVITY,
 };
 
 enum qca_wlan_vendor_attr_roam_auth {