qcacmn: Add check to skip REO shared qref stats for legacy platforms
Reo shared qref stats is not required for legacy platforms and is enabled for wkk only. Hence add check in stats to skip for legacy platform. Change-Id: Ic6f1ebd965aa63b98a3ac6a5216fa9b4e3499b74 CRs-Fixed: 3186595
这个提交包含在:
@@ -6153,7 +6153,19 @@ static void dp_peer_print_reo_qref_table(struct dp_peer *peer)
|
||||
uint32_t peer_idx;
|
||||
|
||||
hal = (struct hal_soc *)peer->vdev->pdev->soc->hal_soc;
|
||||
|
||||
if (!hal_reo_shared_qaddr_is_enable((hal_soc_handle_t)hal))
|
||||
return;
|
||||
|
||||
peer_idx = (peer->peer_id * DP_MAX_TIDS);
|
||||
|
||||
if ((!hal->reo_qref.non_mlo_reo_qref_table_vaddr) ||
|
||||
(!hal->reo_qref.mlo_reo_qref_table_vaddr)) {
|
||||
QDF_TRACE(QDF_MODULE_ID_DP, QDF_TRACE_LEVEL_ERROR,
|
||||
FL("REO shared table not allocated"));
|
||||
return;
|
||||
}
|
||||
|
||||
reo_qref_addr = &hal->reo_qref.non_mlo_reo_qref_table_vaddr[peer_idx];
|
||||
mld_peer = DP_GET_MLD_PEER_FROM_PEER(peer);
|
||||
if (mld_peer) {
|
||||
|
在新工单中引用
屏蔽一个用户