From ddf72f1453ad7b15087b5e40637fe18a738c351c Mon Sep 17 00:00:00 2001 From: Chunquan Luo Date: Thu, 27 Apr 2023 06:07:44 -0700 Subject: [PATCH] qcacmn: Add a vendor specific roam status of background scan abort When user space triggers a scan, the firmware aborts background scan, and uses the roam status QCA_ROAM_FAIL_REASON_CURR_AP_STILL_OK instead of "Invalid roam failures reason". Change-Id: I8a6ed222342398d21d87e7d31956426f3c99cba0 CRs-Fixed: 3481633 --- os_if/linux/qca_vendor.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/os_if/linux/qca_vendor.h b/os_if/linux/qca_vendor.h index 5e0eae433a..82fdbd21ac 100644 --- a/os_if/linux/qca_vendor.h +++ b/os_if/linux/qca_vendor.h @@ -3311,6 +3311,8 @@ enum qca_vendor_roam_triggers { * @QCA_ROAM_FAIL_REASON_SAE_PREAUTH_TIMEOUT: WPA3-SAE pre-authentication times * out. * @QCA_ROAM_FAIL_REASON_SAE_PREAUTH_FAIL: WPA3-SAE pre-authentication fails. + * @QCA_ROAM_FAIL_REASON_CURR_AP_STILL_OK: Roam scan did not happen since the + * current network conditions are fine. */ enum qca_vendor_roam_fail_reasons { QCA_ROAM_FAIL_REASON_NONE = 0, @@ -3343,6 +3345,7 @@ enum qca_vendor_roam_fail_reasons { QCA_ROAM_FAIL_REASON_SAE_INVALID_PMKID = 27, QCA_ROAM_FAIL_REASON_SAE_PREAUTH_TIMEOUT = 28, QCA_ROAM_FAIL_REASON_SAE_PREAUTH_FAIL = 29, + QCA_ROAM_FAIL_REASON_CURR_AP_STILL_OK = 30, }; /*