From 693dbbdf2ffc211dc7dd1c05f55e9c4b5daad2ee Mon Sep 17 00:00:00 2001 From: Amruta Kulkarni Date: Tue, 13 Jul 2021 20:38:12 -0700 Subject: [PATCH] qcacmn: Wma to target_if migration for roam sync Roam sync event wma to target_if migration. Change-Id: I6992675f4260120134563292e0b189132a955d48 CRs-Fixed: 3001497 --- .../cmn_defs/inc/wlan_cmn_ieee80211.h | 3 +++ wmi/inc/wmi_unified_priv.h | 15 ++++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h b/umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h index be0f6a6725..d50d88f1c1 100644 --- a/umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h +++ b/umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h @@ -886,6 +886,9 @@ enum wlan_status_code { #define MAX_KCK_LEN 32 #define REPLAY_CTR_LEN 8 #define KCK_KEY_LEN 16 +#define KEK_KEY_LEN 16 +#define KCK_192BIT_KEY_LEN 24 +#define KEK_256BIT_KEY_LEN 32 #define WLAN_WPA_OUI 0xf25000 #define WLAN_WPA_OUI_TYPE 0x01 diff --git a/wmi/inc/wmi_unified_priv.h b/wmi/inc/wmi_unified_priv.h index 658f663b5d..159fc25290 100644 --- a/wmi/inc/wmi_unified_priv.h +++ b/wmi/inc/wmi_unified_priv.h @@ -384,10 +384,23 @@ QDF_STATUS (*extract_roam_msg_info)(wmi_unified_t wmi_handle, void *evt_buf, struct roam_msg_info *dst, uint8_t idx); #ifdef ROAM_TARGET_IF_CONVERGENCE +/** + * extract_roam_sync_event - Extract roam sync event func ptr + * @wmi_handle: WMI handle + * @evt_buf: Event buffer + * @len: evt buffer data len + * @synd_ind: roam sync ptr + * + * This api will allocate memory for roam sync info, extract + * the information sent by FW and pass to CM.The memory will be + * freed by target_if_cm_roam_sync_event. + * + * Return: QDF_STATUS + */ QDF_STATUS (*extract_roam_sync_event)(wmi_unified_t wmi_handle, void *evt_buf, uint32_t len, - uint8_t *vdev_id); + struct roam_offload_synch_ind **sync_ind); QDF_STATUS (*extract_roam_sync_frame_event)(wmi_unified_t wmi_handle, void *event,