diff --git a/dp/inc/cdp_txrx_cmn_struct.h b/dp/inc/cdp_txrx_cmn_struct.h index d3f704a8a0..24e497c4a3 100644 --- a/dp/inc/cdp_txrx_cmn_struct.h +++ b/dp/inc/cdp_txrx_cmn_struct.h @@ -1470,6 +1470,7 @@ enum cdp_pdev_param_type { * @fisa_params.rx_flow_max_search: max FST entries * @fisa_params.rx_toeplitz_hash_key: RX hash key * @rx_pkt_tlv_size: RX packet TLV size + * @cdp_ast_indication_disable: AST indication disable */ typedef union cdp_config_param_t { /* peer params */ @@ -1581,6 +1582,7 @@ typedef union cdp_config_param_t { uint8_t *rx_toeplitz_hash_key; } fisa_params; uint16_t rx_pkt_tlv_size; + bool cdp_ast_indication_disable; } cdp_config_param_type; /** @@ -1750,6 +1752,7 @@ enum cdp_vdev_param_type { * @CDP_CFG_RX_REFILL_POOL_NUM: RX refill pool size config param * @CDP_CFG_FISA_PARAMS: FISA params * @CDP_RX_PKT_TLV_SIZE: RX pkt tlv size + * @CDP_CFG_AST_INDICATION_DISABLE: AST indication disable */ enum cdp_psoc_param_type { CDP_ENABLE_RATE_STATS, @@ -1776,6 +1779,7 @@ enum cdp_psoc_param_type { #endif CDP_CFG_FISA_PARAMS, CDP_RX_PKT_TLV_SIZE, + CDP_CFG_AST_INDICATION_DISABLE, }; #ifdef CONFIG_AP_PLATFORM diff --git a/dp/wifi3.0/dp_main.c b/dp/wifi3.0/dp_main.c index 63f5aae2e2..1e58de9bce 100644 --- a/dp/wifi3.0/dp_main.c +++ b/dp/wifi3.0/dp_main.c @@ -8072,6 +8072,10 @@ dp_set_psoc_param(struct cdp_soc_t *cdp_soc, val.cdp_rx_refill_buf_pool_size); break; #endif + case CDP_CFG_AST_INDICATION_DISABLE: + wlan_cfg_set_ast_indication_disable + (wlan_cfg_ctx, val.cdp_ast_indication_disable); + break; default: break; } diff --git a/wlan_cfg/wlan_cfg.c b/wlan_cfg/wlan_cfg.c index 2a20ddb93f..84acae94e5 100644 --- a/wlan_cfg/wlan_cfg.c +++ b/wlan_cfg/wlan_cfg.c @@ -5864,3 +5864,14 @@ uint32_t wlan_cfg_get_special_frame_cfg(struct wlan_cfg_dp_soc_ctxt *cfg) { return cfg->special_frame_msk; } + +void wlan_cfg_set_ast_indication_disable(struct wlan_cfg_dp_soc_ctxt *cfg, + bool val) +{ + cfg->fw_ast_indication_disable = val; +} + +bool wlan_cfg_get_ast_indication_disable(struct wlan_cfg_dp_soc_ctxt *cfg) +{ + return cfg->fw_ast_indication_disable; +} diff --git a/wlan_cfg/wlan_cfg.h b/wlan_cfg/wlan_cfg.h index bccf7c0f87..cc37967a64 100644 --- a/wlan_cfg/wlan_cfg.h +++ b/wlan_cfg/wlan_cfg.h @@ -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*/ diff --git a/wmi/inc/wmi_unified_param.h b/wmi/inc/wmi_unified_param.h index bfadf69366..4fbed91739 100644 --- a/wmi/inc/wmi_unified_param.h +++ b/wmi/inc/wmi_unified_param.h @@ -6765,6 +6765,7 @@ struct target_feature_set { * @dp_peer_meta_data_ver: datapath peer meta data version flag * @tx_ilp_enable: capability to support TX ILP from host * @rf_path: Indicates RF path 0 primary, 1 secondary + * @fw_ast_indication_disable: Disable AST indication */ typedef struct { uint32_t num_vdevs; @@ -6898,6 +6899,7 @@ typedef struct { uint8_t tx_ilp_enable; #endif bool rf_path; + bool fw_ast_indication_disable; } target_resource_config; /**