From 5aade4e9da8fba26263308529377bbddbb5d9ad4 Mon Sep 17 00:00:00 2001 From: spuligil Date: Fri, 8 Jan 2021 18:01:17 -0800 Subject: [PATCH] fw-api: CL 12516660 - update fw common interface files add WMI_VDEV_PARAM_SKIP_SAE_ROAM_4WAY_HANDSHAKE def Change-Id: Ib14f2dc7199c664b9ba144d1fe8a66c49ebf9501 CRs-Fixed: 2262693 --- fw/wmi_unified.h | 19 ++++++++++++++++++- fw/wmi_version.h | 2 +- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index acebbf0dd4..2d5c706647 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -3806,7 +3806,13 @@ typedef struct { * Refer to the below definitions of the * WMI_RSRC_CFG_HOST_SERVICE_FLAG_SPLIT_AST_FEATURE_HOST_SUPPORT_GET * and _SET macros. - * Bits 31:3 - Reserved + * Bit 3 + * This bit will be set when host is able to enable EAPOL offload to + * FW for SAE roaming feature. + * Refer to the below definitions of the + * WMI_RSRC_CFG_HOST_SERVICE_FLAG_SAE_EAPOL_OFFLOAD_SUPPORT_GET + * and _SET macros. + * Bits 31:4 - Reserved */ A_UINT32 host_service_flags; @@ -4080,6 +4086,11 @@ typedef struct { #define WMI_RSRC_CFG_HOST_SERVICE_FLAG_SPLIT_AST_FEATURE_HOST_SUPPORT_SET(host_service_flags, val) \ WMI_SET_BITS(host_service_flags, 2, 1, val) +#define WMI_RSRC_CFG_HOST_SERVICE_FLAG_SAE_EAPOL_OFFLOAD_SUPPORT_GET(host_service_flags) \ + WMI_GET_BITS(host_service_flags, 3, 1) +#define WMI_RSRC_CFG_HOST_SERVICE_FLAG_SAE_EAPOL_OFFLOAD_SUPPORT_SET(host_service_flags, val) \ + WMI_SET_BITS(host_service_flags, 3, 1, val) + typedef struct { A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_init_cmd_fixed_param */ @@ -12321,6 +12332,12 @@ WMI_VDEV_PARAM_ROAM_FW_OFFLOAD WMI_VDEV_PARAM **/ * value = 1 --> Chanmap scan only */ #define WMI_ROAM_BMISS_FINAL_SCAN_TYPE_FLAG 0x8 +/* Bit 4: + * To enable/disable feature: EAPOL offload to FW while SAE roaming. + * param value = 0 --> Enable EAPOL offload to FW for SAE roaming + * param value = 1 --> Disable EAPOL offload to FW for SAE roaming + */ +#define WMI_VDEV_PARAM_SKIP_SAE_ROAM_4WAY_HANDSHAKE 0x10 /** slot time long */ #define WMI_VDEV_SLOT_TIME_LONG 0x1 diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 03e184e363..9e852fd7ec 100644 --- 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_ 946 +#define __WMI_REVISION_ 947 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work