qcacld-3.0: Add comments for the change fixed
Add comments for the fix added to validate security for 11be connection and Reject partner link based on security check. Change-Id: I1b8d5e91e0e07c6c311b8c6ca6427c3fabd6b219 CRs-Fixed: 3605255
Bu işleme şunda yer alıyor:

işlemeyi yapan:
Rahul Choudhary

ebeveyn
1db86797f4
işleme
0d61022ac6
@@ -1183,6 +1183,13 @@ cm_get_ml_partner_info(struct wlan_objmgr_pdev *pdev,
|
||||
continue;
|
||||
}
|
||||
|
||||
/*
|
||||
* Reject the partner link that doesn’t pass the
|
||||
* security check and validate the next available
|
||||
* partner link. If none of the partner link passes
|
||||
* the security check, proceed connection with
|
||||
* single link.
|
||||
*/
|
||||
is_security_allowed =
|
||||
wlan_cm_is_eht_allowed_for_current_security(
|
||||
part_scan_entry);
|
||||
|
@@ -2111,12 +2111,18 @@ lim_get_bss_11be_mode_allowed(struct mac_context *mac_ctx,
|
||||
(struct qdf_mac_addr *)
|
||||
bss_desc->bssId);
|
||||
|
||||
/*
|
||||
* If AP advertises multiple AKMs(WPA2 PSK + WPA3), allow connection
|
||||
* in 11BE mode as our connection is going to be WPA3
|
||||
*/
|
||||
if (scan_entry) {
|
||||
is_eht_allowed =
|
||||
wlan_cm_is_eht_allowed_for_current_security(scan_entry);
|
||||
util_scan_free_cache_entry(scan_entry);
|
||||
if (!is_eht_allowed)
|
||||
if (!is_eht_allowed) {
|
||||
pe_debug("Downgrade to 11ax mode due to AP security validation failure");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return mlme_get_bss_11be_allowed(
|
||||
mac_ctx->psoc,
|
||||
|
Yeni konuda referans
Bir kullanıcı engelle