Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a4c2a161 authored by Srikanth Marepalli's avatar Srikanth Marepalli
Browse files

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
parent 6b334c3b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5313,6 +5313,7 @@ typedef enum {
	wmi_sar_get_limits_event_id,
	wmi_roam_scan_stats_event_id,
	wmi_wlan_sar2_result_event_id,
	wmi_roam_pmkid_request_event_id,
	wmi_events_max,
} wmi_conv_event_id;

+2 −0
Original line number Diff line number Diff line
@@ -15836,6 +15836,8 @@ static void populate_tlv_events_id(uint32_t *event_ids)
	event_ids[wmi_sar_get_limits_event_id] = WMI_SAR_GET_LIMITS_EVENTID;
	event_ids[wmi_roam_scan_stats_event_id] = WMI_ROAM_SCAN_STATS_EVENTID;
	event_ids[wmi_wlan_sar2_result_event_id] = WMI_SAR2_RESULT_EVENTID;
	event_ids[wmi_roam_pmkid_request_event_id] =
				WMI_ROAM_PMKID_REQUEST_EVENTID;
}

/**