summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspuligil <spuligil@codeaurora.org>2019-11-26 06:02:05 -0800
committerspuligil <spuligil@codeaurora.org>2019-11-26 06:02:05 -0800
commitcb7494f113a32678ba800b7da9ca0dbd010b94b5 (patch)
tree87ab0031ed0bc57ee9429a04e5c8fd6d4b6c1e0e
parenta75ec80dc4223f9f64b24092f52f6fbfc145f8c4 (diff)
fw-api: CL 8893572 - update fw common interface files
Change-Id: If52b9f035497a285692337276d7ac78d052038c2 WMI: add counter fields in roam msgs, change ROAM_FAIL_REASON enum CRs-Fixed: 2262693
-rwxr-xr-xfw/wmi_unified.h33
-rwxr-xr-xfw/wmi_version.h2
2 files changed, 24 insertions, 11 deletions
diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h
index 33788a610e74..a45ee8c2c244 100755
--- a/fw/wmi_unified.h
+++ b/fw/wmi_unified.h
@@ -26524,6 +26524,8 @@ typedef struct {
* Updated RSSI threshold value in dBm for next roam trigger.
*/
A_UINT32 next_rssi_trigger_threshold;
+ A_UINT32 roam_scan_channel_count; /* Number of channels scanned during roam scan */
+ A_UINT32 roam_ap_count; /* Number of roamable APs */
} wmi_roam_scan_info;
typedef struct {
@@ -26557,16 +26559,25 @@ typedef struct {
} wmi_roam_ap_info;
typedef enum {
- /* Failures for not triggering roam scan */
- WMI_ROAM_FAIL_REASON_NO_SCAN_START = 1,
- WMI_ROAM_FAIL_REASON_NO_AP_FOUND,
- WMI_ROAM_FAIL_REASON_NO_CAND_AP_FOUND,
-
- /* Roam scan is triggered but roaming failed reasons */
- WMI_ROAM_FAIL_REASON_AP_REJECT,
- WMI_ROAM_FAIL_REASON_HANDSHAKE_TIMEOUT,
-
- WMI_ROAM_FAIL_REASON_UNKNOWN,
+ /* Failures reasons for not triggering roaming */
+ WMI_ROAM_FAIL_REASON_NO_SCAN_START = 1, /* Roam scan not started */
+ WMI_ROAM_FAIL_REASON_NO_AP_FOUND, /* No roamable APs found during roam scan */
+ WMI_ROAM_FAIL_REASON_NO_CAND_AP_FOUND, /* No candidate APs found during roam scan */
+
+ /* Failure reasons after roaming is triggered */
+ WMI_ROAM_FAIL_REASON_HOST, /* Roam fail due to VDEV STOP issued from Host */
+ WMI_ROAM_FAIL_REASON_AUTH_SEND, /* Unable to send auth request frame */
+ WMI_ROAM_FAIL_REASON_AUTH_RECV, /* Received auth response with error status code */
+ WMI_ROAM_FAIL_REASON_NO_AUTH_RESP, /* Not receiving auth response frame */
+ WMI_ROAM_FAIL_REASON_REASSOC_SEND, /* Unable to send reassoc request frame */
+ WMI_ROAM_FAIL_REASON_REASSOC_RECV, /* Received reassoc response with error status code */
+ WMI_ROAM_FAIL_REASON_NO_REASSOC_RESP, /* Not receiving reassoc response frame */
+ WMI_ROAM_FAIL_REASON_EAPOL_TIMEOUT, /* EAPOL TIMEOUT */
+ WMI_ROAM_FAIL_REASON_MLME, /* MLME internal error */
+ WMI_ROAM_FAIL_REASON_INTERNAL_ABORT, /* Internal abort */
+
+
+ WMI_ROAM_FAIL_REASON_UNKNOWN = 255,
} WMI_ROAM_FAIL_REASON_ID;
typedef struct {
@@ -26599,6 +26610,7 @@ typedef struct {
* This timestamp indicates the time when neighbor report response is sent.
*/
A_UINT32 neighbor_report_response_timestamp; /* in milli seconds */
+ A_UINT32 neighbor_report_channel_count; /* Number of channels received in neighbor report response */
} wmi_roam_neighbor_report_info;
typedef struct {
@@ -26609,6 +26621,7 @@ typedef struct {
typedef struct {
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_roam_stats_event_fixed_param */
A_UINT32 vdev_id;
+ A_UINT32 roam_scan_trigger_count; /* Number of roam scans triggered */
} wmi_roam_stats_event_fixed_param;
typedef struct {
diff --git a/fw/wmi_version.h b/fw/wmi_version.h
index 1b3c1f1b9367..4822797b8c34 100755
--- a/fw/wmi_version.h
+++ b/fw/wmi_version.h
@@ -36,7 +36,7 @@
#define __WMI_VER_MINOR_ 0
/** WMI revision number has to be incremented when there is a
* change that may or may not break compatibility. */
-#define __WMI_REVISION_ 748
+#define __WMI_REVISION_ 749
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work