qcacmn: Add INI support to enabling sending ICMP to FW
Add INI support to enable the feature of sending ICMP packets to FW at regular intervals. Change-Id: I888bb2f65e8a497c3e6541f213def905d6dd0727 CRs-Fixed: 2813169
This commit is contained in:
@@ -192,6 +192,8 @@ 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;
|
||||
@@ -308,6 +310,7 @@ struct wlan_cfg_dp_soc_ctxt {
|
||||
uint8_t radio1_rx_default_reo;
|
||||
uint8_t radio2_rx_default_reo;
|
||||
bool wow_check_rx_pending_enable;
|
||||
int send_icmp_req_to_fw;
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -1479,6 +1482,14 @@ 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
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user