qcacld-3.0: Delete pmk entry from crypto table on assoc reject

Currently when association reject with reason code 53(invalid
pmkid) is received from the AP, then we delete the pmksa entry
for that AP from csr_session, but with converged crypto component,
the entry needs to be deleted from the crypto pmk table.
Else when associating to the same AP again, driver will use the
stale pmk for the AP again.

Delete the pmk entry from crypto pmk table when association
reject is received from AP with reason code 53.

Change-Id: I54f4a7ee7e02d35e0560bfad9fe2e3466aaa361d
CRs-Fixed: 2636570
This commit is contained in:
Pragaspathi Thilagaraj
2020-03-06 15:13:38 +05:30
gecommit door nshrivas
bovenliggende db1f08d4a2
commit 1229e319b0
3 gewijzigde bestanden met toevoegingen van 27 en 21 verwijderingen

Bestand weergeven

@@ -1183,9 +1183,10 @@ QDF_STATUS sme_del_periodic_tx_ptrn(mac_handle_t mac_handle,
QDF_STATUS sme_send_rate_update_ind(mac_handle_t mac_handle,
tSirRateUpdateInd *rateUpdateParams);
QDF_STATUS sme_roam_del_pmkid_from_cache(mac_handle_t mac_handle,
uint8_t sessionId,
tPmkidCacheInfo *pmksa,
bool flush_cache);
uint8_t vdev_id,
struct wlan_crypto_pmksa *pmksa,
bool set_pmk);
void sme_get_command_q_status(mac_handle_t mac_handle);
#ifdef FEATURE_WLAN_RMC