qcacmn: Add HAL macros in dp_rx_defrag.c
Add the following HAL macros: 1. HAL_RX_MSDU0_BUFFER_ADDR_LSB 2. HAL_RX_MSDU_DESC_INFO_PTR_GET 3. HAL_ENT_MPDU_DESC_INFO 4. HAL_DST_MPDU_DESC_INFO Add relevant function pointers to retrieve descriptor info from the macros based on chipsets. Change-Id: I99ce7566a668180c7849eedea915b6f23a8dbf35 CRs-Fixed: 2522133
Esse commit está contido em:

commit de
nshrivas

pai
38e84d2722
commit
8227240793
@@ -755,6 +755,30 @@ void hal_tx_desc_set_mesh_en_8074v1(void *desc, uint8_t en)
|
||||
HAL_TX_SM(TCL_DATA_CMD_4, MESH_ENABLE, en);
|
||||
}
|
||||
|
||||
static
|
||||
void *hal_rx_msdu0_buffer_addr_lsb_8074v1(void *link_desc_va)
|
||||
{
|
||||
return (void *)HAL_RX_MSDU0_BUFFER_ADDR_LSB(link_desc_va);
|
||||
}
|
||||
|
||||
static
|
||||
void *hal_rx_msdu_desc_info_ptr_get_8074v1(void *msdu0)
|
||||
{
|
||||
return (void *)HAL_RX_MSDU_DESC_INFO_PTR_GET(msdu0);
|
||||
}
|
||||
|
||||
static
|
||||
void *hal_ent_mpdu_desc_info_8074v1(void *ent_ring_desc)
|
||||
{
|
||||
return (void *)HAL_ENT_MPDU_DESC_INFO(ent_ring_desc);
|
||||
}
|
||||
|
||||
static
|
||||
void *hal_dst_mpdu_desc_info_8074v1(void *dst_ring_desc)
|
||||
{
|
||||
return (void *)HAL_DST_MPDU_DESC_INFO(dst_ring_desc);
|
||||
}
|
||||
|
||||
struct hal_hw_txrx_ops qca8074_hal_hw_txrx_ops = {
|
||||
|
||||
/* init and setup */
|
||||
@@ -823,6 +847,10 @@ struct hal_hw_txrx_ops qca8074_hal_hw_txrx_ops = {
|
||||
hal_rx_hw_desc_get_ppduid_get_8074v1,
|
||||
hal_rx_mpdu_start_mpdu_qos_control_valid_get_8074v1,
|
||||
hal_rx_msdu_end_sa_sw_peer_id_get_8074v1,
|
||||
hal_rx_msdu0_buffer_addr_lsb_8074v1,
|
||||
hal_rx_msdu_desc_info_ptr_get_8074v1,
|
||||
hal_ent_mpdu_desc_info_8074v1,
|
||||
hal_dst_mpdu_desc_info_8074v1,
|
||||
};
|
||||
|
||||
struct hal_hw_srng_config hw_srng_table_8074[] = {
|
||||
|
Referência em uma nova issue
Block a user