qcacmn: Add more HAL APIs in hal_api_mon.h
Add the following macros: 1. HAL_REO_CONFIG 2. HAL_RX_MSDU_DESC_INFO_GET 3. HAL_RX_LINK_DESC_MSDU0_PTR Add the relevant function pointers to retrieve the descriptor info from the above mentioned macros based on a given chipset. Change-Id: If44ae3d91397f1b1b0c36a49ce56a2c5e719434e CRs-Fixed: 2522133
此提交包含在:

提交者
nshrivas

父節點
b7d2df16b5
當前提交
222b2539cb
@@ -806,6 +806,46 @@ hal_rx_get_ppdu_id_8074v1(uint8_t *buf)
|
||||
return HAL_RX_GET_PPDU_ID(buf);
|
||||
}
|
||||
|
||||
/**
|
||||
* hal_reo_config_8074v1(): Set reo config parameters
|
||||
* @soc: hal soc handle
|
||||
* @reg_val: value to be set
|
||||
* @reo_params: reo parameters
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
static void
|
||||
hal_reo_config_8074v1(struct hal_soc *soc,
|
||||
uint32_t reg_val,
|
||||
struct hal_reo_params *reo_params)
|
||||
{
|
||||
HAL_REO_R0_CONFIG(soc, reg_val, reo_params);
|
||||
}
|
||||
|
||||
/**
|
||||
* hal_rx_msdu_desc_info_get_ptr_8074v1() - Get msdu desc info ptr
|
||||
* @msdu_details_ptr - Pointer to msdu_details_ptr
|
||||
*
|
||||
* Return - Pointer to rx_msdu_desc_info structure.
|
||||
*
|
||||
*/
|
||||
static void *hal_rx_msdu_desc_info_get_ptr_8074v1(void *msdu_details_ptr)
|
||||
{
|
||||
return HAL_RX_MSDU_DESC_INFO_GET(msdu_details_ptr);
|
||||
}
|
||||
|
||||
/**
|
||||
* hal_rx_link_desc_msdu0_ptr_8074v1 - Get pointer to rx_msdu details
|
||||
* @link_desc - Pointer to link desc
|
||||
*
|
||||
* Return - Pointer to rx_msdu_details structure
|
||||
*
|
||||
*/
|
||||
static void *hal_rx_link_desc_msdu0_ptr_8074v1(void *link_desc)
|
||||
{
|
||||
return HAL_RX_LINK_DESC_MSDU0_PTR(link_desc);
|
||||
}
|
||||
|
||||
struct hal_hw_txrx_ops qca8074_hal_hw_txrx_ops = {
|
||||
|
||||
/* init and setup */
|
||||
@@ -838,8 +878,8 @@ struct hal_hw_txrx_ops qca8074_hal_hw_txrx_ops = {
|
||||
hal_rx_mpdu_start_tid_get_8074,
|
||||
hal_rx_msdu_start_reception_type_get_8074,
|
||||
hal_rx_msdu_end_da_idx_get_8074,
|
||||
hal_rx_msdu_desc_info_get_ptr_generic,
|
||||
hal_rx_link_desc_msdu0_ptr_generic,
|
||||
hal_rx_msdu_desc_info_get_ptr_8074v1,
|
||||
hal_rx_link_desc_msdu0_ptr_8074v1,
|
||||
hal_reo_status_get_header_8074v1,
|
||||
hal_rx_status_get_tlv_info_generic,
|
||||
hal_rx_wbm_err_info_get_generic,
|
||||
@@ -883,6 +923,7 @@ struct hal_hw_txrx_ops qca8074_hal_hw_txrx_ops = {
|
||||
hal_rx_get_mac_addr2_valid_8074v1,
|
||||
hal_rx_get_filter_category_8074v1,
|
||||
hal_rx_get_ppdu_id_8074v1,
|
||||
hal_reo_config_8074v1,
|
||||
};
|
||||
|
||||
struct hal_hw_srng_config hw_srng_table_8074[] = {
|
||||
|
新增問題並參考
封鎖使用者