qcacld-3.0: Selectively reduce tdls logs

Reduce tdls logs from info to debug.

Change-Id: I2de71c4aa5d9915afb68bc192dcd6a749f6b3b4e
CRs-Fixed: 2607020
This commit is contained in:
Arun Kumar Khandavalli
2020-01-20 11:41:23 +05:30
committed by nshrivas
parent 9f97264d2d
commit 8b61ce1e4c
4 changed files with 13 additions and 13 deletions

View File

@@ -757,7 +757,7 @@ int tdls_validate_mgmt_request(struct tdls_action_frame_request *tdls_mgmt_req)
}
}
tdls_notice("tdls_mgmt" QDF_MAC_ADDR_STR " action %d, dialog_token %d status %d, len = %zu",
tdls_debug("tdls_mgmt" QDF_MAC_ADDR_STR " action %d, dialog_token %d status %d, len = %zu",
QDF_MAC_ADDR_ARRAY(tdls_validate->peer_mac),
tdls_validate->action_code, tdls_validate->dialog_token,
tdls_validate->status_code, tdls_validate->len);
@@ -1425,10 +1425,10 @@ static QDF_STATUS tdls_add_peer_rsp(struct tdls_add_sta_rsp *rsp)
conn_rec[sta_idx].index = sta_idx;
qdf_copy_macaddr(&conn_rec[sta_idx].peer_mac,
&rsp->peermac);
tdls_warn("TDLS: Add sta mac "
QDF_MAC_ADDR_STR,
QDF_MAC_ADDR_ARRAY
(rsp->peermac.bytes));
tdls_debug("TDLS: Add sta mac "
QDF_MAC_ADDR_STR,
QDF_MAC_ADDR_ARRAY
(rsp->peermac.bytes));
break;
}
}
@@ -1510,7 +1510,7 @@ QDF_STATUS tdls_process_del_peer_rsp(struct tdls_del_sta_rsp *rsp)
continue;
macaddr = rsp->peermac.bytes;
tdls_warn("TDLS: del STA");
tdls_debug("TDLS: del STA");
curr_peer = tdls_find_peer(vdev_obj, macaddr);
if (curr_peer) {
tdls_debug(QDF_MAC_ADDR_STR " status is %d",

View File

@@ -1228,7 +1228,7 @@ void tdls_disable_offchan_and_teardown_links(
}
if (TDLS_SUPPORT_SUSPENDED >= tdls_soc->tdls_current_mode) {
tdls_notice("TDLS mode %d is disabled OR not suspended now",
tdls_debug("TDLS mode %d is disabled OR not suspended now",
tdls_soc->tdls_current_mode);
return;
}
@@ -1238,7 +1238,7 @@ void tdls_disable_offchan_and_teardown_links(
tdls_in_progress = true;
if (!(connected_tdls_peers || tdls_in_progress)) {
tdls_notice("No TDLS connected/progress peers to delete");
tdls_debug("No TDLS connected/progress peers to delete");
vdev_id = vdev->vdev_objmgr.vdev_id;
if (tdls_soc->set_state_info.set_state_cnt > 0) {
tdls_debug("Disable the tdls in FW as second interface is coming up");

View File

@@ -991,7 +991,7 @@ tdls_process_decrement_active_session(struct wlan_objmgr_psoc *psoc)
!policy_mgr_is_hw_dbs_required_for_band(
psoc, HW_MODE_MAC_BAND_2G) &&
policy_mgr_is_current_hwmode_dbs(psoc)) {
tdls_err("Current HW mode is 1*1 DBS. Wait for Opportunistic timer to expire to enable TDLS in FW");
tdls_debug("Current HW mode is 1*1 DBS. Wait for Opportunistic timer to expire to enable TDLS in FW");
return QDF_STATUS_SUCCESS;
}
tdls_obj_vdev = tdls_get_vdev(psoc, WLAN_TDLS_NB_ID);