qcacmn: Add support to send Shadow config v3

Shadow config v2 can support max of 36 shadow
registers only. For KIWI target, there are 40
shadow registers supported.

Hence add support to send shadow config v3
for KIWI.

Change-Id: If57e6597397da3e239f25a6c0cc24f8fd37dcdf1
CRs-Fixed: 3167758
This commit is contained in:
Rakesh Pillai
2022-02-02 07:38:44 -08:00
کامیت شده توسط Madan Koyyalamudi
والد ba3853e95f
کامیت 68f96a8c79
6فایلهای تغییر یافته به همراه137 افزوده شده و 13 حذف شده

مشاهده پرونده

@@ -1029,14 +1029,28 @@ QDF_STATUS hal_construct_srng_shadow_regs(void *hal_soc);
QDF_STATUS hal_set_one_shadow_config(void *hal_soc, int ring_type,
int ring_num);
/**
* hal_get_shadow_config() - retrieve the config table
* hal_get_shadow_config() - retrieve the config table for shadow cfg v2
* @hal_soc: hal handle
* @shadow_config: will point to the table after
* @num_shadow_registers_configured: will contain the number of valid entries
*/
extern void hal_get_shadow_config(void *hal_soc,
struct pld_shadow_reg_v2_cfg **shadow_config,
int *num_shadow_registers_configured);
extern void
hal_get_shadow_config(void *hal_soc,
struct pld_shadow_reg_v2_cfg **shadow_config,
int *num_shadow_registers_configured);
#ifdef CONFIG_SHADOW_V3
/**
* hal_get_shadow_v3_config() - retrieve the config table for shadow cfg v3
* @hal_soc: hal handle
* @shadow_config: will point to the table after
* @num_shadow_registers_configured: will contain the number of valid entries
*/
extern void
hal_get_shadow_v3_config(void *hal_soc,
struct pld_shadow_reg_v3_cfg **shadow_config,
int *num_shadow_registers_configured);
#endif
#ifdef WLAN_FEATURE_NEAR_FULL_IRQ
/**