Selaa lähdekoodia

qcacld-3.0: WPA3 roam make preauth start command as wakable

In WPA3 roam hybrid model, the SAE exchange/4-way handshake is
offloaded to the wpa_supplicant. After roam candidate selection,
firmware will send WMI_ROAM_PREAUTH_START_EVENTID to send SAE
authentication frame with the selected candidate. If the host
is in suspended state, then SAE preauthentication could fail.

So wakeup the host when WMI_ROAM_PREAUTH_START_EVENTID event is
received to carry out the SAE authentication with the provided
candidate

Change-Id: I7a89234e90e7fccef58ec3822dc0cda3740bad20
CRs-Fixed: 2512871
Pragaspathi Thilagaraj 6 vuotta sitten
vanhempi
sitoutus
f7e185e38c
1 muutettua tiedostoa jossa 7 lisäystä ja 0 poistoa
  1. 7 0
      pmo/core/src/wlan_pmo_wow.c

+ 7 - 0
pmo/core/src/wlan_pmo_wow.c

@@ -425,6 +425,13 @@ void pmo_set_sta_wow_bitmask(uint32_t *bitmask, uint32_t wow_bitmap_size)
 	pmo_set_wow_event_bitmap(WOW_NLO_SCAN_COMPLETE_EVENT,
 				 wow_bitmap_size,
 				 bitmask);
+	/*
+	 * WPA3 roaming offloads SAE authentication to wpa_supplicant
+	 * Firmware will send WMI_ROAM_PREAUTH_STATUS_CMDID
+	 */
+	pmo_set_wow_event_bitmap(WOW_ROAM_PREAUTH_START_EVENT,
+				 wow_bitmap_size,
+				 bitmask);
 }
 
 void pmo_set_sap_wow_bitmask(uint32_t *bitmask, uint32_t wow_bitmap_size)