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
@@ -812,6 +812,46 @@ hal_rx_get_ppdu_id_9000(uint8_t *buf)
|
||||
return HAL_RX_GET_PPDU_ID(buf);
|
||||
}
|
||||
|
||||
/**
|
||||
* hal_reo_config_9000(): 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_9000(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_9000() - 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_9000(void *msdu_details_ptr)
|
||||
{
|
||||
return HAL_RX_MSDU_DESC_INFO_GET(msdu_details_ptr);
|
||||
}
|
||||
|
||||
/**
|
||||
* hal_rx_link_desc_msdu0_ptr_9000 - 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_9000(void *link_desc)
|
||||
{
|
||||
return HAL_RX_LINK_DESC_MSDU0_PTR(link_desc);
|
||||
}
|
||||
|
||||
struct hal_hw_txrx_ops qcn9000_hal_hw_txrx_ops = {
|
||||
|
||||
/* init and setup */
|
||||
@@ -845,8 +885,8 @@ struct hal_hw_txrx_ops qcn9000_hal_hw_txrx_ops = {
|
||||
hal_rx_mpdu_start_tid_get_8074v2,
|
||||
hal_rx_msdu_start_reception_type_get_8074v2,
|
||||
hal_rx_msdu_end_da_idx_get_8074v2,
|
||||
hal_rx_msdu_desc_info_get_ptr_generic,
|
||||
hal_rx_link_desc_msdu0_ptr_generic,
|
||||
hal_rx_msdu_desc_info_get_ptr_9000,
|
||||
hal_rx_link_desc_msdu0_ptr_9000,
|
||||
hal_reo_status_get_header_9000,
|
||||
hal_rx_status_get_tlv_info_generic,
|
||||
hal_rx_wbm_err_info_get_generic,
|
||||
@@ -890,6 +930,7 @@ struct hal_hw_txrx_ops qcn9000_hal_hw_txrx_ops = {
|
||||
hal_rx_get_mac_addr2_valid_9000,
|
||||
hal_rx_get_filter_category_9000,
|
||||
hal_rx_get_ppdu_id_9000,
|
||||
hal_reo_config_9000,
|
||||
};
|
||||
|
||||
struct hal_hw_srng_config hw_srng_table_9000[] = {
|
||||
|
Ссылка в новой задаче
Block a user