Quellcode durchsuchen

qcacmn: Wma to target_if migration for roam sync

Roam sync event wma to target_if migration.

Change-Id: I6992675f4260120134563292e0b189132a955d48
CRs-Fixed: 3001497
Amruta Kulkarni vor 4 Jahren
Ursprung
Commit
693dbbdf2f
2 geänderte Dateien mit 17 neuen und 1 gelöschten Zeilen
  1. 3 0
      umac/cmn_services/cmn_defs/inc/wlan_cmn_ieee80211.h
  2. 14 1
      wmi/inc/wmi_unified_priv.h

+ 3 - 0
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

+ 14 - 1
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,