qcacmn: Introduce HAL API to get phy ppdu id size

Introduce HAL API to get phy ppdu id size.

Change-Id: I125eb344787060336919fb361af032fddeb34526
CRs-Fixed: 3454206
This commit is contained in:
Srinivas Girigowda
2023-04-03 16:27:01 -07:00
committed by Madan Koyyalamudi
parent 9c855c06e2
commit 980d883f07
6 changed files with 33 additions and 1 deletions

View File

@@ -924,6 +924,11 @@ hal_reset_rx_reo_tid_q_be(struct hal_soc *hal_soc, void *hw_qdesc_vaddr,
}
#endif
static inline uint8_t hal_rx_get_phy_ppdu_id_size_be(void)
{
return sizeof(uint64_t);
}
void hal_hw_txrx_default_ops_attach_be(struct hal_soc *hal_soc)
{
hal_soc->ops->hal_get_reo_qdesc_size = hal_get_reo_qdesc_size_be;
@@ -986,4 +991,6 @@ void hal_hw_txrx_default_ops_attach_be(struct hal_soc *hal_soc)
hal_get_reo_ent_desc_qdesc_addr_be;
hal_soc->ops->hal_rx_en_mcast_fp_data_filter =
hal_rx_en_mcast_fp_data_filter_generic_be;
hal_soc->ops->hal_rx_get_phy_ppdu_id_size =
hal_rx_get_phy_ppdu_id_size_be;
}