From c1aaad585aa6c53313f56402a02e7473d2fc3b44 Mon Sep 17 00:00:00 2001 From: spuligil Date: Fri, 2 Aug 2019 06:00:42 -0700 Subject: [PATCH] fw-api: CL 7770818 - update fw common interface files Change-Id: I963eeab65c73b07557a06405ea71e740edd0f7d9 WMI: add pmk[] to ROAM_PREAUTH_STATUS_CMD msg, add SAE_PREAUTH as WoW wake CRs-Fixed: 2262693 --- fw/wmi_tlv_defs.h | 3 ++- fw/wmi_unified.h | 7 +++++++ fw/wmi_version.h | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/fw/wmi_tlv_defs.h b/fw/wmi_tlv_defs.h index e7e7681f129d..c3d3cf6fa43e 100644 --- a/fw/wmi_tlv_defs.h +++ b/fw/wmi_tlv_defs.h @@ -3094,7 +3094,8 @@ WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_IDLE_CONFIG_CMDID); /* Roam Pre-Authentication completion status */ #define WMITLV_TABLE_WMI_ROAM_PREAUTH_STATUS_CMDID(id,op,buf,len) \ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_preauth_status_cmd_fixed_param, wmi_roam_preauth_status_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \ - WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, pmkid, WMITLV_SIZE_VAR) + WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, pmkid, WMITLV_SIZE_VAR) \ + WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, pmk, WMITLV_SIZE_VAR) WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_PREAUTH_STATUS_CMDID); /** Roam PMKID request event */ diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 55173bf26d5b..86d4ba3e2e90 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -13744,6 +13744,7 @@ typedef enum event_type_e { WOW_SAP_OBSS_DETECTION_EVENT, WOW_BSS_COLOR_COLLISION_DETECT_EVENT, WOW_TKIP_MIC_ERR_FRAME_RECVD_EVENT, + WOW_ROAM_PREAUTH_START_EVENT, } WOW_WAKE_EVENT_TYPE; typedef enum wake_reason_e { @@ -13808,6 +13809,7 @@ typedef enum wake_reason_e { WOW_REASON_NTH_BCN_OFLD, /* nth beacon forward to host */ WOW_REASON_PKT_CAPTURE_MODE_WAKE, WOW_REASON_PAGE_FAULT, /* Host wake up due to page fault */ + WOW_REASON_ROAM_PREAUTH_START, /* add new WOW_REASON_ defs before this line */ WOW_REASON_MAX, @@ -25819,8 +25821,13 @@ typedef struct { /* AP BSSID for which pre-authentication is completed */ wmi_mac_addr candidate_ap_bssid; /** + * This fixed_param TLV is followed by the below TLVs: + * * PMKID computed after successful pre-authentication. This is valid only if preauth_status is success * A_UINT8 pmkid[]; + * + * PMK computed after successful pre-authentication. This is valid only if preauth_status is success + * A_UINT8 pmk[]; */ } wmi_roam_preauth_status_cmd_fixed_param; diff --git a/fw/wmi_version.h b/fw/wmi_version.h index acbecd7b8e53..3ff8cd76d359 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_ 705 +#define __WMI_REVISION_ 706 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work