qcacld-3.0: Send peer ML info on BSS join/leave to cfg80211

On client connection, send the client's MLD address, assoc response IEs
and the link_id of SAP on which the new client is added.
For non-MLO capable clients the MLD is sent as NULL address

On ML client disconnection, use MLD address of the client as argument
to cfg80211_del_sta().
For non-MLO client disconnection, use the legacy address of the client
as argument to cfg80211_del_sta().

Change-Id: I43cb8e688251b6118932e1ae88f7abdf53dd54a0
CRs-Fixed: 3324216
This commit is contained in:
Vinod Kumar Pirla
2022-10-27 03:55:25 -07:00
committed by Madan Koyyalamudi
parent 188e55a759
commit 10ddbd5a8c
4 changed files with 132 additions and 4 deletions

View File

@@ -1228,6 +1228,21 @@ QDF_STATUS wlan_mlme_set_default_primary_iface(struct wlan_objmgr_psoc *psoc);
*/
bool wlan_mlme_is_primary_interface_configured(struct wlan_objmgr_psoc *psoc);
/**
* wlan_mlme_peer_get_assoc_rsp_ies() - Get the assoc response IEs of peer
* @peer: WLAN peer objmgr
* @ie_buf: Pointer to IE buffer
* @ie_len: Length of the IE buffer
*
* Get the pointer to assoc response IEs of the peer from MLME
* and length of the IE buffer.
*
* Return: QDF_STATUS
*/
QDF_STATUS wlan_mlme_peer_get_assoc_rsp_ies(struct wlan_objmgr_peer *peer,
const uint8_t **ie_buf,
size_t *ie_len);
/**
* wlan_mlme_get_mcc_duty_cycle_percentage() - Get primary STA iface duty
* cycle percentage