Extend the roam reason codes in QCA vendor attribute

Add new reason codes to the existing enum qca_roam_reason.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
Aleti Nageshwar Reddy 2021-09-05 12:53:45 +05:30 committed by Jouni Malinen
parent 9ff0c8af5c
commit a75fdcdcd1

View file

@ -1160,6 +1160,26 @@ enum qca_roaming_policy {
* *
* @QCA_ROAM_REASON_BSS_LOAD: Roam triggered due to the channel utilization * @QCA_ROAM_REASON_BSS_LOAD: Roam triggered due to the channel utilization
* breaching out the configured threshold. * 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 { enum qca_roam_reason {
QCA_ROAM_REASON_UNKNOWN, QCA_ROAM_REASON_UNKNOWN,
@ -1171,6 +1191,12 @@ enum qca_roam_reason {
QCA_ROAM_REASON_USER_TRIGGER, QCA_ROAM_REASON_USER_TRIGGER,
QCA_ROAM_REASON_BTM, QCA_ROAM_REASON_BTM,
QCA_ROAM_REASON_BSS_LOAD, 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 { enum qca_wlan_vendor_attr_roam_auth {