From dae04a66120658e70a90dc9d3f280476ca2ceeee Mon Sep 17 00:00:00 2001 From: spuligil Date: Sat, 28 Mar 2020 06:00:49 -0700 Subject: [PATCH] fw-api: CL 10030044 - update fw common interface files Change-Id: I1aef844bbe9082053c47c8fbf2d7154cabf7e6e7 WMI: add optional roam_pmk_cache_sync_info TLV in ROAM_SYNCH_EVENT msg CRs-Fixed: 2262693 --- fw/wmi_tlv_defs.h | 4 +++- fw/wmi_unified.h | 16 +++++++++++++--- fw/wmi_version.h | 2 +- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/fw/wmi_tlv_defs.h b/fw/wmi_tlv_defs.h index d919898987e8..6b706c4480b4 100644 --- a/fw/wmi_tlv_defs.h +++ b/fw/wmi_tlv_defs.h @@ -1055,6 +1055,7 @@ typedef enum { WMITLV_TAG_STRUC_wmi_pdev_rnr_bss_tbtt_info, WMITLV_TAG_STRUC_WMI_MAC_PHY_CAPABILITIES_EXT, WMITLV_TAG_STRUC_WMI_HAL_REG_CAPABILITIES_EXT2, + WMITLV_TAG_STRUC_wmi_roam_pmk_cache_synch_tlv_param, } WMITLV_TAG_ID; /* @@ -4602,7 +4603,8 @@ WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_EVENTID); WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_hw_mode_transition_event_fixed_param, hw_mode_transition_fixed_param, WMITLV_SIZE_VAR) \ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_pdev_set_hw_mode_response_vdev_mac_entry, wmi_pdev_set_hw_mode_response_vdev_mac_mapping, WMITLV_SIZE_VAR) \ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_fils_synch_tlv_param, roam_fils_synch_info, WMITLV_SIZE_VAR) \ - WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_key_material_ext, key_ext, WMITLV_SIZE_VAR) + WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_key_material_ext, key_ext, WMITLV_SIZE_VAR) \ + WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_roam_pmk_cache_synch_tlv_param, roam_pmk_cache_synch_info, WMITLV_SIZE_VAR) WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_SYNCH_EVENTID); /* Roam Synch frame Event */ diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index bb556885c244..045fe77f9030 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -4573,9 +4573,19 @@ typedef struct { } wmi_roam_fils_synch_tlv_param; /* -* If FW has multiple active channels due to MCC(multi channel concurrency), -* then these stats are combined stats for all the active channels. -*/ + * FW sends PMK cache of roamed candidate to host to sync pmk cache with host + */ +typedef struct { + A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_roam_pmk_cache_synch_tlv_param */ + A_UINT32 pmk_len; + A_UINT8 pmk[WMI_MAX_PMK_LEN]; + A_UINT8 pmkid[WMI_MAX_PMKID_LEN]; +} wmi_roam_pmk_cache_synch_tlv_param; + +/* + * If FW has multiple active channels due to MCC(multi channel concurrency), + * then these stats are combined stats for all the active channels. + */ typedef struct { A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_update_whal_mib_stats_event_fixed_param */ /** ack count, it is an incremental number, not accumulated number */ diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 788146232f63..126b1cbecb18 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_ 802 +#define __WMI_REVISION_ 803 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work