From 82fff4d47477be97da7b1dfe61eb4cb237abd07a Mon Sep 17 00:00:00 2001 From: spuligil Date: Wed, 30 Mar 2022 06:01:36 -0700 Subject: [PATCH] fw-api: CL 17660651 - update fw common interface files Change-Id: I4bf5c5362d714059e85f7dbf01c703bb03c90dfb WMI: add bssid and sae_preauth_indicator fields in roam_frame_info CRs-Fixed: 2262693 --- fw/wmi_services.h | 1 + fw/wmi_unified.h | 17 ++++++++++++++--- fw/wmi_version.h | 2 +- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/fw/wmi_services.h b/fw/wmi_services.h index aa2389aa13..053022bee2 100644 --- a/fw/wmi_services.h +++ b/fw/wmi_services.h @@ -583,6 +583,7 @@ typedef enum { WMI_SERVICE_COMBINED_SET_PARAM_SUPPORT = 330, /* FW Supporting set param cmd combined for multiple params */ WMI_SERVICE_PDEV_RSSI_DBM_CONV_EVENT_SUPPORT = 331, /* FW supports advertising RSSI dB to dBm conversion params to host via WMI_PDEV_RSSI_DBM_CONVERSION_PARAMS_INFO_EVENTID */ WMI_SERVICE_PDEV_TELEMETRY_STATS_SUPPORT = 332, + WMI_SERVICE_ROAM_STAT_PER_CANDIDATE_FRAME_INFO_SUPPORT = 333, /* FW supports to send frame info for each candidate in roam stat */ WMI_MAX_EXT2_SERVICE diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 44cf89d83a..b876c5868f 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -33768,12 +33768,17 @@ typedef struct { /* timestamp is the absolute time w.r.t host timer which is synchronized between the host and target */ A_UINT32 timestamp; /* Timestamp when frame is sent or received */ /* - * frame_info = frame_type | (frame_subtype << 2) | (request_or_response << 6)| (seq_num << 16) + * frame_info = frame_type | (frame_subtype << 2) | (request_or_response << 6) | (auth_algo_num << 7) | (seq_num << 16) * frame_type(2 bits), frame_subtype(4 bits) are from 802.11 spec. - * If frame_type is WMI_ROAM_FRAME_INFO_FRAME_TYPE_EXT, frame_subtype - * should be one of value in WMI_ROAM_FRAME_INFO_FRAME_TYPE_EXT_SUBTYPE. + * If frame_type is WMI_ROAM_FRAME_INFO_FRAME_TYPE_EXT, frame_subtype + * should be one of value in WMI_ROAM_FRAME_INFO_FRAME_TYPE_EXT_SUBTYPE. * request_or_response(1 bit) - Valid if frame_subtype is authentication. * 0 - Authentication request 1 - Authentication response + * auth_algo_num(4bits) : Lower 4 bits of 9.4.1.1 Authentication Algorithm + * Number field + * The auth_algo_num bits shall be ignored unless + * WMI_SERVICE_ROAM_STAT_PER_CANDIDATE_FRAME_INFO_SUPPORT is set and + * frame_subtype is auth frame. * seq_num(16 bits) - frame sequence number */ A_UINT32 frame_info; @@ -33800,6 +33805,12 @@ typedef struct { * sequence number) is retransmitted, in protocol level. */ A_UINT32 retry_count; + wmi_mac_addr bssid; /* AP MAC address */ + /* sae_preauth_indicator + * 1 -> SAE auth happened in host, so auth frame history saved in host + * 0 -> SAE auth not happened, so firmware will send auth frame info + */ + A_UINT32 sae_preauth_indicator; } wmi_roam_frame_info; typedef enum { diff --git a/fw/wmi_version.h b/fw/wmi_version.h index ec5f68db02..e97fba8bf1 100644 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -37,7 +37,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_ 1136 +#define __WMI_REVISION_ 1137 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work