qcacmn: Changes needed for MLO soc attach

Changes needed for MLO soc attach to pass chip_id,
dp_ml_context from upper layer.

This change also takes care of assigning appropriate
RBM id for IDLE link descriptors based on chip_id.

Change-Id: I8f5f08c524d91942e6e458f048700b7bdd900107
このコミットが含まれているのは:
Chaithanya Garrepalli
2021-11-19 14:40:36 +05:30
committed by Madan Koyyalamudi
コミット 70398a0ccd
17個のファイルの変更182行の追加57行の削除

ファイルの表示

@@ -1537,6 +1537,17 @@ static uint8_t hal_tx_get_num_tcl_banks_9224(void)
return HAL_NUM_TCL_BANKS_9224;
}
/**
* hal_get_idle_link_bm_id_9224() - Get idle link BM id from chid_id
* @chip_id: mlo chip_id
*
* Returns: RBM ID
*/
static uint8_t hal_get_idle_link_bm_id_9224(uint8_t chip_id)
{
return (WBM_IDLE_DESC_LIST + chip_id);
}
static void hal_hw_txrx_ops_attach_qcn9224(struct hal_soc *hal_soc)
{
/* init and setup */
@@ -1731,6 +1742,7 @@ static void hal_hw_txrx_ops_attach_qcn9224(struct hal_soc *hal_soc)
hal_soc->ops->hal_rx_priv_info_get_from_tlv =
hal_rx_priv_info_get_from_tlv_be;
hal_soc->ops->hal_rx_pkt_hdr_get = hal_rx_pkt_hdr_get_be;
hal_soc->ops->hal_get_idle_link_bm_id = hal_get_idle_link_bm_id_9224;
};
struct hal_hw_srng_config hw_srng_table_9224[] = {