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
此提交包含在:
@@ -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
|
||||
|
新增問題並參考
封鎖使用者