android_kernel_xiaomi_sm8350/core
Abhinav Kumar 5a5ab2c344 qcacld-3.0: Sae single pmk entry gets updated while roaming
While initial connection with SPMK AP1 supplicant generates
PMK1, and DUT updates global mlme single pmk entry and
csr session pmk.

Now DUT roam to non-SPMK AP2 and generates PMK2, Global mlme
single pmk has SPMK AP1 PMK1 and csr_roam_session has non-SPMK
AP2 since FULL SAE happen.

Now Roam back to SPMK AP1, since the Full SAE does not happen
and due to check roam_synch_data->authStatus ==
CSR_ROAM_AUTH_STATUS_AUTHENTICATED in
csr_process_roam_synch_callback(). The lookup and update
csr_roam_session code is not hit and driver don’t update
csr session pmk after roaming to SPMK AP. So after roam sync complete,
csr_check_and_set_sae_single_pmk_cap() updates the global mlme
single pmk with session->psk_pmk. This results DUT uses PMK generated
from a Non-Single PMK supported AP in the ReAssoc Request frame
while Roaming to Single PMK supported AP.

Fix is to allow driver to update session->psk_pmk even in case
Full SAE does not happen.

Change-Id: Ie4f06cfcb066ae245de024b62da586aade783aec
CRs-Fixed: 2761771
2020-09-21 22:01:48 -07:00
..
bmi qcacld-3.0: Add code to support modularizing ICNSS ICNSS2 and CNSS2 2020-06-29 07:38:04 -07:00
cds qcacld-3.0: check for IPCI target before triggering recovery 2020-09-21 19:30:18 -07:00
dp qcacld-3.0: Add P2P UDP/TCP checksum offload DP cfg entry 2020-09-18 10:37:58 -07:00
hdd qcacld-3.0: Replace tSirMacReasonCodes with enum wlan_reason_code 2020-09-21 16:55:34 -07:00
mac qcacld-3.0: Enable beaconing for non-dfs 160 MHz BW 2020-09-21 22:01:43 -07:00
pld qcacld-3.0: Send HOST wake up to FW over QMI 2020-09-21 16:55:38 -07:00
sap qcacld-3.0: Replace tSirMacReasonCodes with enum wlan_reason_code 2020-09-21 16:55:34 -07:00
sme qcacld-3.0: Sae single pmk entry gets updated while roaming 2020-09-21 22:01:48 -07:00
wma qcacld-3.0: Replace WMI_LOGE() with wmi_err() 2020-09-18 04:59:02 -07:00