Эх сурвалжийг харах

qcacmn: Add support for pmkid generation fallback in FIPS mode

Add support to fallback the PMKID generation from firmware to
wpa_supplicant.
Firmware fallbacks PMKID generation to host when FIPS enabled
due to the crypto library availability limitation.
Once the roam candidate selection is done in the firmware, it
sends the WMI_ROAM_PMKID_REQUEST_EVENTID. Once this event is
received, the host driver triggers an event to wpa_supplicant
for PMKID generation.

Change-Id: Ica00d27ce3f9f4a8f966261b38e238c389fcf05c
CRs-Fixed: 2507617
Srikanth Marepalli 5 жил өмнө
parent
commit
7debbac825

+ 1 - 0
wmi/inc/wmi_unified_param.h

@@ -4539,6 +4539,7 @@ typedef enum {
 	wmi_oem_data_event_id,
 	wmi_mgmt_offload_data_event_id,
 	wmi_pdev_multi_vdev_restart_response_event_id,
+	wmi_roam_pmkid_request_event_id,
 	wmi_events_max,
 } wmi_conv_event_id;
 

+ 2 - 0
wmi/src/wmi_unified_tlv.c

@@ -13604,6 +13604,8 @@ static void populate_tlv_events_id(uint32_t *event_ids)
 				WMI_VDEV_MGMT_OFFLOAD_EVENTID;
 	event_ids[wmi_pdev_multi_vdev_restart_response_event_id] =
 				WMI_PDEV_MULTIPLE_VDEV_RESTART_RESP_EVENTID;
+	event_ids[wmi_roam_pmkid_request_event_id] =
+				WMI_ROAM_PMKID_REQUEST_EVENTID;
 }
 
 /**