qcacmn: Reject partner link based on security check
For multi link connection there might be the case where rsnxe of the AP is not present on the link vdev. This causes the link vdev alone to downgrade to 11ax mode and assoc vdev is in 11be dot11 mode. So for vdev with ML peer, the dot11mode is 11ax, which causes abnormal firmware behavior. 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. Change-Id: I080557027180c0566a1c284a93fcc4b69c61a9c8 CRs-Fixed: 3581189
This commit is contained in:

committed by
Rahul Choudhary

parent
15b56b62e4
commit
78d988e666
@@ -47,16 +47,13 @@ void wlan_scan_get_feature_info(struct wlan_objmgr_psoc *psoc,
|
||||
* @pdev: pointer to pdev object
|
||||
* @bssid: pointer to mac addr
|
||||
* @freq: frequency for scan filter
|
||||
* @cache_entry: pointer to scan cache_entry
|
||||
*
|
||||
* Return: success if scan entry is found in scan db
|
||||
* Return: scan entry if found, else NULL
|
||||
*/
|
||||
QDF_STATUS
|
||||
struct scan_cache_entry *
|
||||
wlan_scan_get_scan_entry_by_mac_freq(struct wlan_objmgr_pdev *pdev,
|
||||
struct qdf_mac_addr *bssid,
|
||||
uint16_t freq,
|
||||
struct scan_cache_entry
|
||||
*cache_entry);
|
||||
uint16_t freq);
|
||||
|
||||
/**
|
||||
* wlan_scan_cfg_set_active_2g_dwelltime() - API to set scan active 2g dwelltime
|
||||
|
@@ -879,13 +879,10 @@ wlan_scan_get_mld_addr_by_link_addr(struct wlan_objmgr_pdev *pdev,
|
||||
return scm_get_mld_addr_by_link_addr(pdev, link_addr, mld_mac_addr);
|
||||
}
|
||||
|
||||
QDF_STATUS
|
||||
struct scan_cache_entry *
|
||||
wlan_scan_get_scan_entry_by_mac_freq(struct wlan_objmgr_pdev *pdev,
|
||||
struct qdf_mac_addr *bssid,
|
||||
uint16_t freq,
|
||||
struct scan_cache_entry
|
||||
*cache_entry)
|
||||
uint16_t freq)
|
||||
{
|
||||
return scm_scan_get_scan_entry_by_mac_freq(pdev, bssid, freq,
|
||||
cache_entry);
|
||||
return scm_scan_get_scan_entry_by_mac_freq(pdev, bssid, freq);
|
||||
}
|
||||
|
Reference in New Issue
Block a user