1
0

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
Este cometimento está contido em:
Sridhar Selvaraj
2020-08-25 10:32:30 +05:30
cometido por snandini
ascendente e5b0acba4d
cometimento b257b236b0
4 ficheiros modificados com 42 adições e 4 eliminações

Ver ficheiro

@@ -297,6 +297,7 @@ struct wlan_cfg_dp_soc_ctxt {
bool is_rx_buff_pool_enabled;
uint32_t rx_pending_high_threshold;
uint32_t rx_pending_low_threshold;
bool is_poll_mode_enabled;
};
/**
@@ -1420,3 +1421,13 @@ wlan_cfg_set_peer_ext_stats(struct wlan_cfg_dp_soc_ctxt *cfg,
*/
bool
wlan_cfg_is_peer_ext_stats_enabled(struct wlan_cfg_dp_soc_ctxt *cfg);
/**
* wlan_cfg_is_poll_mode_enabled() - Check if poll mode is enabled
*
* @wlan_cfg_dp_soc_ctxt: soc configuration context
*
* Return: bool
*/
bool wlan_cfg_is_poll_mode_enabled(struct wlan_cfg_dp_soc_ctxt *cfg);