0ec902c0747eca7ef690a4e822facb0f998a9cf1

During FT-EAP roaming after session timeout if the FTIE received in the EAPOL of full EAP is improper, the supplicant would disconnect the AP with the reason FTIE mismatch. During this disconnection supplicant flushes all the existing PMK cache entries and eventually the framework would add these cache entries again (apparently, the current entry would be with the older PMK). On this addition to the driver, there is no connected profile and thus no MDID is associated to this PMKSA entry(AP1-PMK1). Further, on the fresh (Full EAP) connection to the AP2 with the same MDID, a new cache entry gets added and thus MDID from the connected profile gets associated with the PMKSA cache entry. At this point of time, there are two PMKSA cache entries (AP1-PMK1 without MDID and AP2-PMK2 with MDID). Adding further, if the incorrect PMK (without MDID / stale entry) i.e. PMK1 is given to the firmware on the RSO command for the specific BSSID (here AP1) during roam, further roams shall be calculated with this PMK1 and result in to the invalid pmkid issue. Thus, avoid this situation by removing that stale PMKSA entry in the driver and this entry can be deleted only when it is associated with the MDID. Driver on the new pmksa addition shall check for the matching pmksa cache entry with the MDID and delete the earlier ones. To associate the MDID, this commit checks for the same from the scan entry of the BSSID, if there is no connected profile for the same (this happened when the framework has added the cache entry when in the disconnected state). Change-Id: If81d66059173dda8d7a2940ca10dc96ef16e125c CRs-Fixed: 2972115
This is CNSS WLAN Host Driver for products starting from iHelium
Omschrijving
Languages
C
98.7%
C++
0.9%
Makefile
0.3%
Starlark
0.1%