qcacmn: Intra-BSS changes for MLO
Use chip ID and destination peer to determine the target soc and partner vdev for Intra-BSS in MLO case. Change-Id: I709c52e74426c5e81b50c8063cad7669c0e7002d
This commit is contained in:

committed by
Madan Koyyalamudi

parent
28ed233c3c
commit
80e882aa2a
@@ -69,4 +69,28 @@ static inline void cdp_soc_mlo_soc_teardown(ol_txrx_soc_handle soc,
|
||||
|
||||
soc->ops->mlo_ops->mlo_soc_teardown(soc, mlo_ctx);
|
||||
}
|
||||
|
||||
/*
|
||||
* cdp_update_mlo_ptnr_list - Add vdev to MLO partner list
|
||||
* @soc: soc handle
|
||||
* @vdev_ids: list of partner vdevs
|
||||
* @num_vdevs: number of items in list
|
||||
* @vdev_id: caller's vdev id
|
||||
*
|
||||
* return: QDF_STATUS
|
||||
*/
|
||||
static inline QDF_STATUS
|
||||
cdp_update_mlo_ptnr_list(ol_txrx_soc_handle soc, int8_t vdev_ids[],
|
||||
uint8_t num_vdevs, uint8_t vdev_id)
|
||||
{
|
||||
if (!soc || !soc->ops || !soc->ops->mlo_ops)
|
||||
return QDF_STATUS_E_INVAL;
|
||||
|
||||
if (soc->ops->mlo_ops->update_mlo_ptnr_list)
|
||||
return soc->ops->mlo_ops->update_mlo_ptnr_list(soc, vdev_ids,
|
||||
num_vdevs, vdev_id);
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
#endif /*_CDP_TXRX_MLO_H_*/
|
||||
|
Reference in New Issue
Block a user