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
这个提交包含在:
Manoj Ekbote
2021-11-12 17:35:20 -08:00
提交者 Madan Koyyalamudi
父节点 28ed233c3c
当前提交 80e882aa2a
修改 13 个文件,包含 445 行新增61 行删除

查看文件

@@ -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_*/

查看文件

@@ -116,6 +116,9 @@ struct cdp_mlo_ops {
struct cdp_mlo_ctxt *mlo_ctxt);
void (*mlo_soc_teardown)(struct cdp_soc_t *cdp_soc,
struct cdp_mlo_ctxt *mlo_ctxt);
QDF_STATUS (*update_mlo_ptnr_list)(struct cdp_soc_t *soc_hdl,
int8_t *vdev_ids, uint8_t num_vdevs,
uint8_t vdev_id);
};
#endif