qcacmn: Add INI to disable AST indication
Add INI to disable AST indication. AST disable flag will be sent to the target in resource config. Change-Id: If30cac010681faf06bbcaa2d492d6843e3e675d0 CRs-Fixed: 3544223
This commit is contained in:

committed by
Rahul Choudhary

parent
ddd144bfd6
commit
8c9b52f61d
@@ -348,6 +348,7 @@ struct wlan_srng_cfg {
|
||||
* @umac_reset_buffer_window: Buffer time to check if umac reset was in progress
|
||||
* during this window, configured time is in
|
||||
* milliseconds.
|
||||
* @fw_ast_indication_disable: Disable AST
|
||||
*/
|
||||
struct wlan_cfg_dp_soc_ctxt {
|
||||
int num_int_ctxts;
|
||||
@@ -558,6 +559,7 @@ struct wlan_cfg_dp_soc_ctxt {
|
||||
#ifdef DP_UMAC_HW_RESET_SUPPORT
|
||||
uint32_t umac_reset_buffer_window;
|
||||
#endif
|
||||
bool fw_ast_indication_disable;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -2671,4 +2673,24 @@ wlan_cfg_get_umac_reset_buffer_window_ms(struct wlan_cfg_dp_soc_ctxt *cfg)
|
||||
return 0;
|
||||
}
|
||||
#endif /* DP_UMAC_HW_RESET_SUPPORT */
|
||||
|
||||
/**
|
||||
* wlan_cfg_set_ast_indication_disable - Set AST disable
|
||||
*
|
||||
* @cfg: soc configuration context
|
||||
* @val: value to be set
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
void wlan_cfg_set_ast_indication_disable(struct wlan_cfg_dp_soc_ctxt *cfg,
|
||||
bool val);
|
||||
|
||||
/**
|
||||
* wlan_cfg_get_ast_indication_disable - Get AST disable
|
||||
*
|
||||
* @cfg: soc configuration context
|
||||
*
|
||||
* Return: true or false
|
||||
*/
|
||||
bool wlan_cfg_get_ast_indication_disable(struct wlan_cfg_dp_soc_ctxt *cfg);
|
||||
#endif /*__WLAN_CFG_H*/
|
||||
|
Reference in New Issue
Block a user