diff --git a/wlan_cfg/cfg_dp.h b/wlan_cfg/cfg_dp.h index be7dc37aa37e..247ab987cfcc 100644 --- a/wlan_cfg/cfg_dp.h +++ b/wlan_cfg/cfg_dp.h @@ -1018,36 +1018,6 @@ false, \ "enable rx frame pending check in WoW mode") -#define WLAN_CFG_SEND_ALL_ICMP_REQ_TO_FW (-1) -#define WLAN_CFG_SEND_ICMP_REQ_TO_FW 0 -#define WLAN_CFG_SEND_ICMP_REQ_TO_FW_MIN (-1) -#define WLAN_CFG_SEND_ICMP_REQ_TO_FW_MAX 100000 - -/* - * - * send_icmp_pkt_to_fw - Send ICMP Request packet to FW. - * @Min: -1 - * @Max: 100000 - * @Default: 0 - * - * This ini is used to control DP Software to send ICMP request packets to FW - * at certain interval (in milliseconds). - * The value 0 is used to disable sending the ICMP requests to FW. - * The value -1 is used to send all ICMP requests to FW. - * Any value greater than zero indicates the time interval (in milliseconds) - * at which ICMP requests should be sent to FW. - * - * Usage: External - * - * - */ -#define CFG_DP_SEND_ICMP_REQ_TO_FW \ - CFG_INI_INT("send_icmp_req_to_fw", \ - WLAN_CFG_SEND_ICMP_REQ_TO_FW_MIN, \ - WLAN_CFG_SEND_ICMP_REQ_TO_FW_MAX, \ - WLAN_CFG_SEND_ICMP_REQ_TO_FW, \ - CFG_VALUE_OR_DEFAULT, "Send ICMP Request packets to FW") - #define CFG_DP \ CFG(CFG_DP_HTT_PACKET_TYPE) \ CFG(CFG_DP_INT_BATCH_THRESHOLD_OTHER) \ @@ -1135,6 +1105,5 @@ CFG(CFG_DP_SWLM_ENABLE) \ CFG(CFG_DP_TX_PER_PKT_VDEV_ID_CHECK) \ CFG(CFG_DP_RX_FST_IN_CMEM) \ - CFG(CFG_DP_WOW_CHECK_RX_PENDING) \ - CFG(CFG_DP_SEND_ICMP_REQ_TO_FW) + CFG(CFG_DP_WOW_CHECK_RX_PENDING) #endif /* _CFG_DP_H_ */ diff --git a/wlan_cfg/wlan_cfg.c b/wlan_cfg/wlan_cfg.c index 419262eb978a..d33b29618ef6 100644 --- a/wlan_cfg/wlan_cfg.c +++ b/wlan_cfg/wlan_cfg.c @@ -626,8 +626,6 @@ wlan_cfg_soc_attach(struct cdp_ctrl_objmgr_psoc *psoc) cfg_get(psoc, CFG_DP_TX_PER_PKT_VDEV_ID_CHECK); wlan_cfg_ctx->wow_check_rx_pending_enable = cfg_get(psoc, CFG_DP_WOW_CHECK_RX_PENDING); - wlan_cfg_ctx->send_icmp_req_to_fw = - cfg_get(psoc, CFG_DP_SEND_ICMP_REQ_TO_FW); return wlan_cfg_ctx; } @@ -1463,10 +1461,3 @@ bool wlan_cfg_is_swlm_enabled(struct wlan_cfg_dp_soc_ctxt *cfg) return false; } #endif - -#ifdef WLAN_DP_FEATURE_SEND_ICMP_TO_FW -int wlan_cfg_send_icmp_req_to_fw(struct wlan_cfg_dp_soc_ctxt *cfg) -{ - return cfg->send_icmp_req_to_fw; -} -#endif /* WLAN_DP_FEATURE_SEND_ICMP_TO_FW */ diff --git a/wlan_cfg/wlan_cfg.h b/wlan_cfg/wlan_cfg.h index 460a14df7236..1c1902a00627 100644 --- a/wlan_cfg/wlan_cfg.h +++ b/wlan_cfg/wlan_cfg.h @@ -192,8 +192,6 @@ struct wlan_srng_cfg { * @is_swlm_enabled: flag to enable/disable SWLM * @tx_per_pkt_vdev_id_check: Enable tx perpkt vdev id check * @wow_check_rx_pending_enable: Enable RX frame pending check in WoW - * @send_icmp_req_to_fw: Enable sending ICMP Request packets to FW at - * regular intervals */ struct wlan_cfg_dp_soc_ctxt { int num_int_ctxts; @@ -307,7 +305,6 @@ struct wlan_cfg_dp_soc_ctxt { bool fst_in_cmem; bool tx_per_pkt_vdev_id_check; bool wow_check_rx_pending_enable; - int send_icmp_req_to_fw; }; /** @@ -1479,12 +1476,4 @@ bool wlan_cfg_is_fst_in_cmem_enabled(struct wlan_cfg_dp_soc_ctxt *cfg); */ bool wlan_cfg_is_swlm_enabled(struct wlan_cfg_dp_soc_ctxt *cfg); -/** - * wlan_cfg_send_icmp_req_to_fw() - Check if ICMP request packets are to be - * sent to FW or not. - * @cfg: soc configuration context - * - * Return: Value set in the ini "send_icmp_req_to_fw" - */ -int wlan_cfg_send_icmp_req_to_fw(struct wlan_cfg_dp_soc_ctxt *cfg); #endif