|
@@ -3605,7 +3605,7 @@ lim_get_rsn_akm(uint32_t akm)
|
|
|
return ANI_AKM_TYPE_NONE;
|
|
|
}
|
|
|
|
|
|
-static enum ani_akm_type
|
|
|
+enum ani_akm_type
|
|
|
lim_get_connected_akm(struct pe_session *session, int32_t ucast_cipher,
|
|
|
int32_t auth_mode, int32_t akm)
|
|
|
{
|
|
@@ -4122,6 +4122,15 @@ lim_fill_session_params(struct mac_context *mac_ctx,
|
|
|
assoc_ie_len = req->assoc_ie.len;
|
|
|
lim_fill_crypto_params(mac_ctx, session, req);
|
|
|
|
|
|
+ /* Reset the SPMK global cache for non-SAE connection */
|
|
|
+ if (session->connected_akm != ANI_AKM_TYPE_SAE) {
|
|
|
+ wlan_mlme_set_sae_single_pmk_bss_cap(mac_ctx->psoc,
|
|
|
+ session->vdev_id,
|
|
|
+ false);
|
|
|
+ wlan_mlme_clear_sae_single_pmk_info(session->vdev,
|
|
|
+ NULL);
|
|
|
+ }
|
|
|
+
|
|
|
if (assoc_ie_len != req->assoc_ie.len) {
|
|
|
pe_debug("After stripping Assoc IE len: %d", req->assoc_ie.len);
|
|
|
if (req->assoc_ie.len)
|
|
@@ -4231,7 +4240,7 @@ lim_cm_handle_join_req(struct cm_vdev_join_req *req)
|
|
|
if (QDF_IS_STATUS_ERROR(status))
|
|
|
goto fail;
|
|
|
|
|
|
- pe_debug("Freq %d width %d freq0 %d freq1 %d, Smps %d: mode %d action %d, nss 1x1 %d vdev_nss %d nss %d cbMode %d dot11mode %d subfer %d subfee %d csn %d is_cisco %d WPS %d OSEN %d fils %d",
|
|
|
+ pe_debug("Freq %d width %d freq0 %d freq1 %d, Smps %d: mode %d action %d, nss 1x1 %d vdev_nss %d nss %d cbMode %d dot11mode %d subfer %d subfee %d csn %d is_cisco %d WPS %d OSEN %d fils %d akm %d",
|
|
|
pe_session->curr_op_freq, pe_session->ch_width,
|
|
|
pe_session->ch_center_freq_seg0,
|
|
|
pe_session->ch_center_freq_seg1,
|
|
@@ -4246,7 +4255,8 @@ lim_cm_handle_join_req(struct cm_vdev_join_req *req)
|
|
|
pe_session->isCiscoVendorAP,
|
|
|
pe_session->wps_registration,
|
|
|
pe_session->isOSENConnection,
|
|
|
- lim_is_fils_connection(pe_session));
|
|
|
+ lim_is_fils_connection(pe_session),
|
|
|
+ pe_session->connected_akm);
|
|
|
|
|
|
lim_set_emlsr_caps(mac_ctx, pe_session);
|
|
|
|