qcacmn: Reduce excessive p2p logging during suspend
Several bits of debug information are being logged to console from the p2p module, which is seen consistently during suspend/resume. Reduce the logging level of these debug logs to avoid spamming the console. Change-Id: I4cf63e88a9d0391fb366b11fa3eb14e9f2f69698 CRs-Fixed: 2258427
Este commit está contenido en:
@@ -1654,8 +1654,8 @@ QDF_STATUS p2p_cleanup_tx_queue(struct p2p_soc_priv_obj *p2p_soc_obj)
|
||||
struct tx_action_context *curr_tx_ctx;
|
||||
qdf_list_node_t *p_node;
|
||||
|
||||
p2p_info("clean up tx queue wait for roc, size:%d",
|
||||
qdf_list_size(&p2p_soc_obj->tx_q_roc));
|
||||
p2p_debug("clean up tx queue wait for roc, size:%d",
|
||||
qdf_list_size(&p2p_soc_obj->tx_q_roc));
|
||||
|
||||
while (qdf_list_remove_front(&p2p_soc_obj->tx_q_roc, &p_node) ==
|
||||
QDF_STATUS_SUCCESS) {
|
||||
@@ -1666,8 +1666,8 @@ QDF_STATUS p2p_cleanup_tx_queue(struct p2p_soc_priv_obj *p2p_soc_obj)
|
||||
qdf_mem_free(curr_tx_ctx);
|
||||
}
|
||||
|
||||
p2p_info("clean up tx queue wait for ack, size:%d",
|
||||
qdf_list_size(&p2p_soc_obj->tx_q_ack));
|
||||
p2p_debug("clean up tx queue wait for ack, size:%d",
|
||||
qdf_list_size(&p2p_soc_obj->tx_q_ack));
|
||||
while (qdf_list_remove_front(&p2p_soc_obj->tx_q_ack, &p_node) ==
|
||||
QDF_STATUS_SUCCESS) {
|
||||
curr_tx_ctx = qdf_container_of(p_node,
|
||||
|
@@ -658,20 +658,20 @@ QDF_STATUS p2p_cleanup_roc_queue(struct p2p_soc_priv_obj *p2p_soc_obj)
|
||||
qdf_list_node_t *p_node;
|
||||
QDF_STATUS status, ret;
|
||||
|
||||
p2p_info("clean up idle roc request, roc queue size:%d",
|
||||
qdf_list_size(&p2p_soc_obj->roc_q));
|
||||
p2p_debug("clean up idle roc request, roc queue size:%d",
|
||||
qdf_list_size(&p2p_soc_obj->roc_q));
|
||||
|
||||
status = qdf_list_peek_front(&p2p_soc_obj->roc_q, &p_node);
|
||||
while (QDF_IS_STATUS_SUCCESS(status)) {
|
||||
roc_ctx = qdf_container_of(p_node,
|
||||
struct p2p_roc_context, node);
|
||||
|
||||
p2p_info("p2p soc obj:%pK, roc ctx:%pK, vdev_id:%d, scan_id:%d, tx ctx:%pK, chan:%d, phy_mode:%d, duration:%d, roc_type:%d, roc_state:%d",
|
||||
roc_ctx->p2p_soc_obj, roc_ctx,
|
||||
roc_ctx->vdev_id, roc_ctx->scan_id,
|
||||
roc_ctx->tx_ctx, roc_ctx->chan,
|
||||
roc_ctx->phy_mode, roc_ctx->duration,
|
||||
roc_ctx->roc_type, roc_ctx->roc_state);
|
||||
p2p_debug("p2p soc obj:%pK, roc ctx:%pK, vdev_id:%d, scan_id:%d, tx ctx:%pK, chan:%d, phy_mode:%d, duration:%d, roc_type:%d, roc_state:%d",
|
||||
roc_ctx->p2p_soc_obj, roc_ctx,
|
||||
roc_ctx->vdev_id, roc_ctx->scan_id,
|
||||
roc_ctx->tx_ctx, roc_ctx->chan,
|
||||
roc_ctx->phy_mode, roc_ctx->duration,
|
||||
roc_ctx->roc_type, roc_ctx->roc_state);
|
||||
status = qdf_list_peek_next(&p2p_soc_obj->roc_q,
|
||||
p_node, &p_node);
|
||||
if (roc_ctx->roc_state == ROC_STATE_IDLE) {
|
||||
@@ -686,18 +686,18 @@ QDF_STATUS p2p_cleanup_roc_queue(struct p2p_soc_priv_obj *p2p_soc_obj)
|
||||
}
|
||||
}
|
||||
|
||||
p2p_info("clean up started roc request, roc queue size:%d",
|
||||
qdf_list_size(&p2p_soc_obj->roc_q));
|
||||
p2p_debug("clean up started roc request, roc queue size:%d",
|
||||
qdf_list_size(&p2p_soc_obj->roc_q));
|
||||
status = qdf_list_peek_front(&p2p_soc_obj->roc_q, &p_node);
|
||||
while (QDF_IS_STATUS_SUCCESS(status)) {
|
||||
roc_ctx = qdf_container_of(p_node,
|
||||
struct p2p_roc_context, node);
|
||||
|
||||
p2p_info("p2p soc obj:%pK, roc ctx:%pK, vdev_id:%d, scan_id:%d, tx_ctx:%pK, chan:%d, phy_mode:%d, duration:%d, roc_type:%d, roc_state:%d",
|
||||
roc_ctx->p2p_soc_obj, roc_ctx, roc_ctx->vdev_id,
|
||||
roc_ctx->scan_id, roc_ctx->tx_ctx, roc_ctx->chan,
|
||||
roc_ctx->phy_mode, roc_ctx->duration,
|
||||
roc_ctx->roc_type, roc_ctx->roc_state);
|
||||
p2p_debug("p2p soc obj:%pK, roc ctx:%pK, vdev_id:%d, scan_id:%d, tx_ctx:%pK, chan:%d, phy_mode:%d, duration:%d, roc_type:%d, roc_state:%d",
|
||||
roc_ctx->p2p_soc_obj, roc_ctx, roc_ctx->vdev_id,
|
||||
roc_ctx->scan_id, roc_ctx->tx_ctx, roc_ctx->chan,
|
||||
roc_ctx->phy_mode, roc_ctx->duration,
|
||||
roc_ctx->roc_type, roc_ctx->roc_state);
|
||||
|
||||
status = qdf_list_peek_next(&p2p_soc_obj->roc_q,
|
||||
p_node, &p_node);
|
||||
|
Referencia en una nueva incidencia
Block a user