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:

committed by
Madan Koyyalamudi

parent
188e55a759
commit
10ddbd5a8c
@@ -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
|
||||
|
@@ -2522,6 +2522,26 @@ ucfg_mlme_get_vht_tx_mcs_2x2(struct wlan_objmgr_psoc *psoc, uint8_t *value)
|
||||
return wlan_mlme_get_vht_tx_mcs_2x2(psoc, value);
|
||||
}
|
||||
|
||||
/**
|
||||
* ucfg_mlme_peer_get_assoc_rsp_ies() - Get assoc response sent to peer
|
||||
* @peer: WLAN peer objmgr
|
||||
* @ie_buf: Pointer to IE buffer
|
||||
* @ie_len: Length of the IE buffer
|
||||
*
|
||||
* This API is used to get the assoc response sent to peer
|
||||
* as part of association.
|
||||
* Caller to hold reference for peer.
|
||||
*
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
static inline QDF_STATUS
|
||||
ucfg_mlme_peer_get_assoc_rsp_ies(struct wlan_objmgr_peer *peer,
|
||||
const uint8_t **ie_buf,
|
||||
size_t *ie_len)
|
||||
{
|
||||
return wlan_mlme_peer_get_assoc_rsp_ies(peer, ie_buf, ie_len);
|
||||
}
|
||||
|
||||
/**
|
||||
* ucfg_mlme_get_ini_vdev_config() - get the ini capability of vdev
|
||||
* @vdev: pointer to the vdev obj
|
||||
|
Reference in New Issue
Block a user