]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add a vendor specific roam status of background scan abort
authorChunquan Luo <quic_chunquan@quicinc.com>
Wed, 19 Apr 2023 11:28:06 +0000 (04:28 -0700)
committerJouni Malinen <j@w1.fi>
Thu, 20 Apr 2023 07:37:52 +0000 (10:37 +0300)
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".

Signed-off-by: Chunquan Luo <quic_chunquan@quicinc.com>
src/common/qca-vendor.h

index 6eabc0102202784e0869663a54d437142519b03f..90d94e4c732ec583503133eff7b1a799b682ff0a 100644 (file)
@@ -4966,6 +4966,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,
@@ -4998,6 +5000,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,
 };
 
 /*