qcacld-3.0: Add support to use MLD addr for one link

If INI is enabled don't derive first link's MAC address
and directly use MLD address in that place and derive
next link addresses.

Change-Id: I3c2b9f64df3f75799adf8718ee83d157f6dd9097
CRs-Fixed: 3584062
This commit is contained in:
Arun Kumar Khandavalli
2022-05-10 19:01:06 -07:00
committed by Rahul Choudhary
parent a20b139e1b
commit ad3cf51017
9 changed files with 84 additions and 15 deletions

View File

@@ -1500,6 +1500,17 @@ wlan_mlme_get_mlo_prefer_percentage(struct wlan_objmgr_psoc *psoc,
*mlo_prefer_percentage = mlme_obj->cfg.sta.mlo_prefer_percentage;
mlme_legacy_debug("mlo_prefer_percentage %d", *mlo_prefer_percentage);
}
bool wlan_mlme_get_sta_same_link_mld_addr(struct wlan_objmgr_psoc *psoc)
{
struct wlan_mlme_psoc_ext_obj *mlme_obj;
mlme_obj = mlme_get_psoc_ext_obj(psoc);
if (!mlme_obj)
return false;
return mlme_obj->cfg.sta.mlo_same_link_mld_address;
}
#endif
QDF_STATUS wlan_mlme_get_num_11b_tx_chains(struct wlan_objmgr_psoc *psoc,