qcacmn: Enable data path polling mode based on INI

Enable data path polling mode based on INI
dp_poll_mode_enable. Configure all data path
interfacing rings (UMAC/LMAC) and Monitor rings
in polling mode when NSS offload is disabled.
By default, poll mode is disabled.

Change-Id: I0e51207042811f517a423eb7276e3f33c5313450
This commit is contained in:
Sridhar Selvaraj
2020-08-25 10:32:30 +05:30
committed by snandini
parent e5b0acba4d
commit b257b236b0
4 changed files with 42 additions and 4 deletions

View File

@@ -618,7 +618,8 @@ wlan_cfg_soc_attach(struct cdp_ctrl_objmgr_psoc *psoc)
cfg_get(psoc, CFG_DP_RX_PENDING_HL_THRESHOLD);
wlan_cfg_ctx->rx_pending_low_threshold =
cfg_get(psoc, CFG_DP_RX_PENDING_LO_THRESHOLD);
wlan_cfg_ctx->is_poll_mode_enabled =
cfg_get(psoc, CFG_DP_POLL_MODE_ENABLE);
return wlan_cfg_ctx;
}
@@ -1357,6 +1358,11 @@ bool wlan_cfg_is_rx_fisa_enabled(struct wlan_cfg_dp_soc_ctxt *cfg)
}
#endif
bool wlan_cfg_is_poll_mode_enabled(struct wlan_cfg_dp_soc_ctxt *cfg)
{
return (bool)(cfg->is_poll_mode_enabled);
}
void
wlan_cfg_set_rx_flow_search_table_per_pdev(struct wlan_cfg_dp_soc_ctxt *cfg,
bool val)