qcacmn: Disable partner link which has same mac or id with assoc link
In RNR of bad AP beacon, partner link has same link id and bssid as assoc link of same MLD. To fix it, disable partner link which has same mac or id as assoc link of same MLD. Change-Id: Ieda1807b5ed13559c847f2d39035a9acb2e4232f CRs-Fixed: 3772848
This commit is contained in:

committed by
Ravindra Konda

parent
d47fccbfde
commit
864dae22f3
@@ -3121,6 +3121,21 @@ static void cm_validate_partner_links(struct wlan_objmgr_psoc *psoc,
|
||||
continue;
|
||||
}
|
||||
|
||||
if (partner_info->link_id == entry->ml_info.self_link_id) {
|
||||
mlme_err(QDF_MAC_ADDR_FMT " dup link id %d",
|
||||
QDF_MAC_ADDR_REF(partner_info->link_addr.bytes),
|
||||
partner_info->link_id);
|
||||
partner_info->is_valid_link = false;
|
||||
}
|
||||
|
||||
if (qdf_is_macaddr_equal(&partner_info->link_addr,
|
||||
&entry->bssid)) {
|
||||
mlme_err(QDF_MAC_ADDR_FMT " link id %d dup mac",
|
||||
QDF_MAC_ADDR_REF(partner_info->link_addr.bytes),
|
||||
partner_info->link_id);
|
||||
partner_info->is_valid_link = false;
|
||||
}
|
||||
|
||||
/*
|
||||
* If partner link is not found in the current candidate list
|
||||
* don't treat it as failure, it can be removed post ML
|
||||
|
Reference in New Issue
Block a user