qcacmn: Decouple FEATURE_PERPKT_INFO from MESH_MODE_SUPPORT

The per packet info feature can be enbaled to support enhanced
stats independent of mesh mode.

Change-Id: I852e7a958c520901b6f418d30deb53fa2f68fb68
CRs-Fixed: 3079000
这个提交包含在:
Subrat Dash
2022-01-14 12:14:45 +05:30
提交者 Madan Koyyalamudi
父节点 1f1b921796
当前提交 20b758944f
修改 10 个文件,包含 66 行新增45 行删除

查看文件

@@ -2755,4 +2755,30 @@ void cdp_set_rtpm_tput_policy_requirement(ol_txrx_soc_handle soc,
#endif /* FEATURE_RUNTIME_PM */
/**
* cdp_enable_mon_reap_timer() - enable/disable reap timer
* @soc: Datapath soc handle
* @pdev_id: id of objmgr pdev
* @enable: enable/disable reap timer of monitor status ring
*
* Return: none
*/
static inline void
cdp_enable_mon_reap_timer(ol_txrx_soc_handle soc, uint8_t pdev_id,
bool enable)
{
if (!soc || !soc->ops) {
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_FATAL,
"%s invalid instance", __func__);
QDF_BUG(0);
return;
}
if (!soc->ops->mon_ops ||
!soc->ops->mon_ops->txrx_enable_mon_reap_timer)
return;
return soc->ops->mon_ops->txrx_enable_mon_reap_timer(soc, pdev_id,
enable);
}
#endif /* _CDP_TXRX_CMN_H_ */