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
このコミットが含まれているのは:
Venkata Sharath Chandra Manchala
2019-09-23 17:16:51 -07:00
committed by nshrivas
コミット 222b2539cb
15個のファイルの変更449行の追加70行の削除

ファイルの表示

@@ -19,7 +19,7 @@
#ifndef _HAL_RX_H_
#define _HAL_RX_H_
#include <hal_internal.h>
#include <hal_api.h>
#define HAL_RX_OFFSET(block, field) block##_##field##_OFFSET
#define HAL_RX_LSB(block, field) block##_##field##_LSB
@@ -3414,4 +3414,22 @@ uint32_t hal_rx_get_ppdu_id(hal_soc_handle_t hal_soc_hdl,
return hal_soc->ops->hal_rx_get_ppdu_id(buf);
}
/**
* hal_reo_config(): Set reo config parameters
* @soc: hal soc handle
* @reg_val: value to be set
* @reo_params: reo parameters
*
* Return: void
*/
static inline
void hal_reo_config(struct hal_soc *hal_soc,
uint32_t reg_val,
struct hal_reo_params *reo_params)
{
hal_soc->ops->hal_reo_config(hal_soc,
reg_val,
reo_params);
}
#endif /* _HAL_RX_H */