qcacld-3.0: Optimize PMO logs
Extensive amount of PMO logs are seen in case of crash, which decreses the debugging effciency. To address this issue, optimize PMO logs. Change-Id: I7c3b76d72deaf53782befc6d931866d907b5d168 CRs-Fixed: 3402290
这个提交包含在:
@@ -490,8 +490,6 @@ QDF_STATUS pmo_suspend_all_components(struct wlan_objmgr_psoc *psoc,
|
||||
pmo_psoc_suspend_handler handler;
|
||||
void *arg;
|
||||
|
||||
pmo_enter();
|
||||
|
||||
pmo_ctx = pmo_get_context();
|
||||
if (!pmo_ctx) {
|
||||
pmo_err("unable to get pmo ctx");
|
||||
@@ -539,8 +537,6 @@ suspend_recovery:
|
||||
}
|
||||
|
||||
exit_with_status:
|
||||
pmo_exit();
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
@@ -553,8 +549,6 @@ QDF_STATUS pmo_resume_all_components(struct wlan_objmgr_psoc *psoc,
|
||||
pmo_psoc_suspend_handler handler;
|
||||
void *arg;
|
||||
|
||||
pmo_enter();
|
||||
|
||||
pmo_ctx = pmo_get_context();
|
||||
if (!pmo_ctx) {
|
||||
pmo_err("unable to get pmo ctx");
|
||||
@@ -583,8 +577,6 @@ QDF_STATUS pmo_resume_all_components(struct wlan_objmgr_psoc *psoc,
|
||||
}
|
||||
|
||||
exit_with_status:
|
||||
pmo_exit();
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
|
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2017-2018, 2020 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -103,8 +104,6 @@ QDF_STATUS pmo_tgt_send_action_frame_pattern_req(
|
||||
struct wlan_objmgr_psoc *psoc;
|
||||
struct wlan_pmo_tx_ops pmo_tx_ops;
|
||||
|
||||
pmo_enter();
|
||||
|
||||
psoc = pmo_vdev_get_psoc(vdev);
|
||||
|
||||
pmo_tx_ops = GET_PMO_TX_OPS_FROM_PSOC(psoc);
|
||||
@@ -118,8 +117,6 @@ QDF_STATUS pmo_tgt_send_action_frame_pattern_req(
|
||||
if (status != QDF_STATUS_SUCCESS)
|
||||
pmo_err("Failed to add filter");
|
||||
out:
|
||||
pmo_exit();
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
|
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2017-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -81,8 +82,6 @@ QDF_STATUS pmo_tgt_send_vdev_sta_ps_param(struct wlan_objmgr_vdev *vdev,
|
||||
struct wlan_objmgr_psoc *psoc;
|
||||
struct wlan_pmo_tx_ops pmo_tx_ops;
|
||||
|
||||
pmo_enter();
|
||||
|
||||
psoc = pmo_vdev_get_psoc(vdev);
|
||||
|
||||
pmo_tx_ops = GET_PMO_TX_OPS_FROM_PSOC(psoc);
|
||||
@@ -95,8 +94,6 @@ QDF_STATUS pmo_tgt_send_vdev_sta_ps_param(struct wlan_objmgr_vdev *vdev,
|
||||
status = pmo_tx_ops.send_vdev_sta_ps_param_req(vdev, ps_param,
|
||||
param_value);
|
||||
out:
|
||||
pmo_exit();
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户