qcacmn: Add DP API to evaluate if TX ILP needs to be enabled

Add DP API to evaluate if TX ILP needs to be enabled,
it is only enabled if following two conditions are met,
(1) INI for TX ILP is enabled
(2) htt msdu index to qtype mapping table index 3 value is
HTT_MSDU_QTYPE_LATENCY_TOLERANT

Change-Id: I4d0c1103941b8b12b8441762dc6b45d28ee1df21
CRs-Fixed: 3447096
此提交包含在:
Jinwei Chen
2023-03-27 05:39:24 -07:00
提交者 Madan Koyyalamudi
父節點 72beba762d
當前提交 401521fc7c
共有 6 個檔案被更改,包括 125 行新增1 行删除

查看文件

@@ -2448,6 +2448,20 @@ wlan_cfg_get_tx_capt_max_mem(struct wlan_cfg_dp_soc_ctxt *cfg)
}
#endif /* WLAN_TX_PKT_CAPTURE_ENH */
#ifdef DP_TX_PACKET_INSPECT_FOR_ILP
/**
* wlan_cfg_get_tx_ilp_inspect_config() - Get TX ILP configuration
* @cfg: Configuration Handle
*
* Return: TX ILP enable or not
*/
static inline bool
wlan_cfg_get_tx_ilp_inspect_config(struct wlan_cfg_dp_soc_ctxt *cfg)
{
return cfg->tx_pkt_inspect_for_ilp;
}
#endif
/**
* wlan_cfg_get_napi_scale_factor() - Get napi scale factor
* @cfg: soc configuration context