qcacmn: retry with same num links incase of assoc failure due to pmkid

Currently for any assoc failure the number of links part of the
association is reduced and retried with less number of partner links.

If the failure is due to PMKID retry to the same with the same number
of partner links instead of downgrading the links.

Change-Id: I65320d92b4b77d2ccfb20a05fbab2aa8377bb6fa
CRs-Fixed: 3653834
这个提交包含在:
Arun Kumar Khandavalli
2023-11-01 18:44:30 +05:30
提交者 Ravindra Konda
父节点 1bfe0bb643
当前提交 ec02ba84e2

查看文件

@@ -1100,12 +1100,8 @@ static bool cm_is_retry_with_same_candidate(struct cnx_mgr *cm_ctx,
max_retry_count = mlo_link_num - 1;
/* Try once again for the invalid PMKID case without PMKID */
if (resp->status_code == STATUS_INVALID_PMKID) {
if (score_config->vendor_roam_score_algorithm)
cm_update_mlo_links_for_retry_with_same_candidate(psoc,
req);
if (resp->status_code == STATUS_INVALID_PMKID)
goto use_same_candidate;
}
sae_connection = key_mgmt & (1 << WLAN_CRYPTO_KEY_MGMT_SAE |
1 << WLAN_CRYPTO_KEY_MGMT_FT_SAE |