Просмотр исходного кода

qcacld-3.0: Reduce the log spam in lim_process_tdls.c

Move the logs to appropriate log levels to reduce
the log spam in lim_process_tdls.c

Change-Id: If90d0ec42793c72e730a9a8052eba39512502a9a
CRs-Fixed: 1093093
Srinivas Girigowda 8 лет назад
Родитель
Сommit
37bc351147
1 измененных файлов с 58 добавлено и 55 удалено
  1. 58 55
      core/mac/src/pe/lim/lim_process_tdls.c

+ 58 - 55
core/mac/src/pe/lim/lim_process_tdls.c

@@ -259,14 +259,14 @@ static void populate_dot11f_tdls_offchannel_params(
 		    (NSS_2x2_MODE == nss_5g) &&
 		    (NSS_1x1_MODE == nss_2g) &&
 		    (true == CDS_IS_DFS_CH(validChan[i]))) {
-			lim_log(pMac, LOG1,
+			lim_log(pMac, LOGD,
 				FL("skipping channel %d, nss_5g: %d, nss_2g: %d"),
 				validChan[i], nss_5g, nss_2g);
 			continue;
 		} else {
 			if (true == cds_is_dsrc_channel(
 				cds_chan_to_freq(validChan[i]))) {
-				lim_log(pMac, LOG1,
+				lim_log(pMac, LOGD,
 					FL("skipping channel %d from the valid channel list"),
 					validChan[i]);
 				continue;
@@ -318,7 +318,7 @@ static void populate_dot11f_tdls_offchannel_params(
 			psessionEntry->htSecondaryChannelOffset,
 			chanOffset);
 	} else {
-		lim_log(pMac, LOG1,
+		lim_log(pMac, LOGD,
 			FL(
 			   "Present Operating channel: %d chanOffset: %d, op class=%d"
 			  ),
@@ -470,7 +470,7 @@ static uint32_t lim_prepare_tdls_frame_header(tpAniSirGlobal pMac, uint8_t *pFra
 	qdf_mem_copy((uint8_t *) pMacHdr->addr3,
 		     (uint8_t *) (addr3), sizeof(tSirMacAddr));
 
-	lim_log(pMac, LOG1,
+	lim_log(pMac, LOGD,
 		FL(
 		   "Preparing TDLS frame header to %s A1:"
 		   MAC_ADDRESS_STR", A2:"MAC_ADDRESS_STR", A3:"
@@ -587,10 +587,8 @@ static tSirRetStatus lim_send_tdls_dis_req_frame(tpAniSirGlobal pMac,
 	 */
 	status = dot11f_get_packed_tdls_dis_req_size(pMac, &tdlsDisReq, &nPayload);
 	if (DOT11F_FAILED(status)) {
-		lim_log(pMac, LOGP,
-			FL(
-			   "Failed to calculate the packed size for a discovery Request (0x%08x)."
-			  ),
+		lim_log(pMac, LOGE,
+			FL("Failed to calculate the packed size for a discovery Request (0x%08x)."),
 			status);
 		/* We'll fall back on the worst case scenario: */
 		nPayload = sizeof(tDot11fTDLSDisReq);
@@ -636,7 +634,7 @@ static tSirRetStatus lim_send_tdls_dis_req_frame(tpAniSirGlobal pMac,
 	qdf_status = cds_packet_alloc((uint16_t) nBytes, (void **)&pFrame,
 				      (void **)&pPacket);
 	if (!QDF_IS_STATUS_SUCCESS(qdf_status)) {
-		lim_log(pMac, LOGP,
+		lim_log(pMac, LOGE,
 			FL(
 			   "Failed to allocate %d bytes for a TDLS Discovery Request."
 			  ),
@@ -676,6 +674,7 @@ static tSirRetStatus lim_send_tdls_dis_req_frame(tpAniSirGlobal pMac,
 			  ),
 			status);
 	}
+
 #ifndef NO_PAD_TDLS_MIN_8023_SIZE
 	if (padLen != 0) {
 		/* QCOM VENDOR OUI = { 0x00, 0xA0, 0xC6, type = 0x0000 }; */
@@ -698,7 +697,7 @@ static tSirRetStatus lim_send_tdls_dis_req_frame(tpAniSirGlobal pMac,
 	}
 #endif
 
-	lim_log(pMac, LOG1,
+	lim_log(pMac, LOGD,
 		FL("[TDLS] action %d (%s) -AP-> OTA peer="MAC_ADDRESS_STR),
 		SIR_MAC_TDLS_DIS_REQ,
 		lim_trace_tdls_action_string(SIR_MAC_TDLS_DIS_REQ),
@@ -774,7 +773,7 @@ static void populate_dot11f_tdls_ht_vht_cap(tpAniSirGlobal pMac,
 	} else {
 		htCap->present = 0;
 	}
-	lim_log(pMac, LOG1, FL("HT present = %hu, Chan Width = %hu"),
+	lim_log(pMac, LOGD, FL("HT present = %hu, Chan Width = %hu"),
 		htCap->present, htCap->supportedChannelWidthSet);
 	if (((psessionEntry->currentOperChannel <= SIR_11B_CHANNEL_END) &&
 	     pMac->roam.configParam.enableVhtFor24GHz) ||
@@ -826,7 +825,7 @@ static void populate_dot11f_tdls_ht_vht_cap(tpAniSirGlobal pMac,
 		/* Vht Disable from ini in 2.4 GHz */
 		vhtCap->present = 0;
 	}
-	lim_log(pMac, LOG1, FL("VHT present = %hu, Chan Width = %hu"),
+	lim_log(pMac, LOGD, FL("VHT present = %hu, Chan Width = %hu"),
 		vhtCap->present, vhtCap->supportedChannelWidthSet);
 }
 
@@ -926,7 +925,7 @@ static tSirRetStatus lim_send_tdls_dis_rsp_frame(tpAniSirGlobal pMac,
 			tdlsDisRsp.ht2040_bss_coexistence.info_request = 1;
 		}
 	} else {
-		lim_log(pMac, LOG1,
+		lim_log(pMac, LOGD,
 			FL("TDLS offchan not enabled, or channel switch prohibited by AP, gLimTDLSOffChannelEnabled (%d), tdls_chan_swit_prohibited (%d)"),
 			pMac->lim.gLimTDLSOffChannelEnabled,
 			psessionEntry->tdls_chan_swit_prohibited);
@@ -1012,13 +1011,14 @@ static tSirRetStatus lim_send_tdls_dis_rsp_frame(tpAniSirGlobal pMac,
 			  ),
 			status);
 	}
+
 	if (0 != addIeLen) {
-		lim_log(pMac, LOG1,
+		lim_log(pMac, LOGD,
 			FL("Copy Additional Ie Len = %d"), addIeLen);
 		qdf_mem_copy(pFrame + sizeof(tSirMacMgmtHdr) + nPayload, addIe,
 			     addIeLen);
 	}
-	lim_log(pMac, LOG1,
+	lim_log(pMac, LOGD,
 		FL("[TDLS] action %d (%s) -DIRECT-> OTA peer="MAC_ADDRESS_STR),
 		SIR_MAC_TDLS_DIS_RSP,
 		lim_trace_tdls_action_string(SIR_MAC_TDLS_DIS_RSP),
@@ -1227,7 +1227,7 @@ tSirRetStatus lim_send_tdls_link_setup_req_frame(tpAniSirGlobal pMac,
 	if (1 == pMac->lim.gLimTDLSWmmMode) {
 		uint32_t val = 0;
 
-		lim_log(pMac, LOG1,
+		lim_log(pMac, LOGD,
 			FL("populate WMM IE in Setup Request Frame"));
 		/* include WMM IE */
 		tdlsSetupReq.WMMInfoStation.version = SIR_MAC_OUI_VERSION_1;
@@ -1264,7 +1264,7 @@ tSirRetStatus lim_send_tdls_link_setup_req_frame(tpAniSirGlobal pMac,
 		 * on AP's capability
 		 */
 
-		lim_log(pMac, LOG1,
+		lim_log(pMac, LOGD,
 			FL("populate QOS IE in Setup Request Frame"));
 		tdlsSetupReq.QOSCapsStation.present = 1;
 		tdlsSetupReq.QOSCapsStation.max_sp_length = 0;
@@ -1310,7 +1310,7 @@ tSirRetStatus lim_send_tdls_link_setup_req_frame(tpAniSirGlobal pMac,
 			tdlsSetupReq.ht2040_bss_coexistence.info_request = 1;
 		}
 	} else {
-		lim_log(pMac, LOG1,
+		lim_log(pMac, LOGD,
 			FL("TDLS offchan not enabled, or channel switch prohibited by AP, gLimTDLSOffChannelEnabled (%d), tdls_chan_swit_prohibited (%d)"),
 			pMac->lim.gLimTDLSOffChannelEnabled,
 			psessionEntry->tdls_chan_swit_prohibited);
@@ -1376,7 +1376,7 @@ tSirRetStatus lim_send_tdls_link_setup_req_frame(tpAniSirGlobal pMac,
 						      TDLS_INITIATOR, TID_AC_VI,
 						      psessionEntry);
 
-	lim_log(pMac, LOGW,
+	lim_log(pMac, LOGD,
 		FL(
 		   "SupportedChnlWidth %x rxMCSMap %x rxMCSMap %x txSupDataRate %x"
 		  ),
@@ -1401,18 +1401,19 @@ tSirRetStatus lim_send_tdls_link_setup_req_frame(tpAniSirGlobal pMac,
 			  ),
 			status);
 	}
+
 	/* Copy the additional IE. */
 	/* TODO : addIe is added at the end of the frame. This means it doesnt */
 	/* follow the order. This should be ok, but we should consider changing this */
 	/* if there is any IOT issue. */
 	if (addIeLen != 0) {
-		lim_log(pMac, LOG1, FL("Copy Additional Ie Len = %d"),
+		lim_log(pMac, LOGD, FL("Copy Additional Ie Len = %d"),
 		       addIeLen);
 		qdf_mem_copy(pFrame + header_offset + nPayload, addIe,
 			     addIeLen);
 	}
 
-	lim_log(pMac, LOG1,
+	lim_log(pMac, LOGD,
 		FL("[TDLS] action %d (%s) -AP-> OTA peer="MAC_ADDRESS_STR),
 		SIR_MAC_TDLS_SETUP_REQ,
 		lim_trace_tdls_action_string(SIR_MAC_TDLS_SETUP_REQ),
@@ -1610,7 +1611,7 @@ tSirRetStatus lim_send_tdls_teardown_frame(tpAniSirGlobal pMac,
 		padVendorSpecific[3] = 0xA0;
 		padVendorSpecific[4] = 0xC6;
 
-		lim_log(pMac, LOG1, FL("Padding Vendor Specific Ie Len = %d"),
+		lim_log(pMac, LOGD, FL("Padding Vendor Specific Ie Len = %d"),
 			padLen);
 
 		/* padding zero if more than 5 bytes are required */
@@ -1620,7 +1621,7 @@ tSirRetStatus lim_send_tdls_teardown_frame(tpAniSirGlobal pMac,
 				    padLen - MIN_VENDOR_SPECIFIC_IE_SIZE, 0);
 	}
 #endif
-	lim_log(pMac, LOG1,
+	lim_log(pMac, LOGD,
 		FL("[TDLS] action %d (%s) -%s-> OTA peer="MAC_ADDRESS_STR),
 		SIR_MAC_TDLS_TEARDOWN,
 		lim_trace_tdls_action_string(SIR_MAC_TDLS_TEARDOWN),
@@ -1726,7 +1727,7 @@ static tSirRetStatus lim_send_tdls_setup_rsp_frame(tpAniSirGlobal pMac,
 	if (1 == pMac->lim.gLimTDLSWmmMode) {
 		uint32_t val = 0;
 
-		lim_log(pMac, LOG1,
+		lim_log(pMac, LOGD,
 			FL("populate WMM IE in Setup Response frame"));
 		/* include WMM IE */
 		tdlsSetupRsp.WMMInfoStation.version = SIR_MAC_OUI_VERSION_1;
@@ -1759,7 +1760,7 @@ static tSirRetStatus lim_send_tdls_setup_rsp_frame(tpAniSirGlobal pMac,
 		 * capability, and TDLS doesn't want to depend on AP's
 		 * capability
 		 */
-		lim_log(pMac, LOG1,
+		lim_log(pMac, LOGD,
 			FL("populate QOS IE in Setup Response frame"));
 		tdlsSetupRsp.QOSCapsStation.present = 1;
 		tdlsSetupRsp.QOSCapsStation.max_sp_length = 0;
@@ -1799,7 +1800,7 @@ static tSirRetStatus lim_send_tdls_setup_rsp_frame(tpAniSirGlobal pMac,
 			tdlsSetupRsp.ht2040_bss_coexistence.info_request = 1;
 		}
 	} else {
-		lim_log(pMac, LOG1,
+		lim_log(pMac, LOGD,
 			FL("TDLS offchan not enabled, or channel switch prohibited by AP, gLimTDLSOffChannelEnabled (%d), tdls_chan_swit_prohibited (%d)"),
 			pMac->lim.gLimTDLSOffChannelEnabled,
 			psessionEntry->tdls_chan_swit_prohibited);
@@ -1866,7 +1867,7 @@ static tSirRetStatus lim_send_tdls_setup_rsp_frame(tpAniSirGlobal pMac,
 						      TDLS_RESPONDER, TID_AC_VI,
 						      psessionEntry);
 
-	lim_log(pMac, LOG1,
+	lim_log(pMac, LOGD,
 		FL(
 		   "SupportedChnlWidth %x rxMCSMap %x rxMCSMap %x txSupDataRate %x"
 		  ),
@@ -1891,6 +1892,7 @@ static tSirRetStatus lim_send_tdls_setup_rsp_frame(tpAniSirGlobal pMac,
 			  ),
 			status);
 	}
+
 	/* Copy the additional IE. */
 	/* TODO : addIe is added at the end of the frame. This means it doesnt */
 	/* follow the order. This should be ok, but we should consider changing this */
@@ -1900,7 +1902,7 @@ static tSirRetStatus lim_send_tdls_setup_rsp_frame(tpAniSirGlobal pMac,
 			     addIeLen);
 	}
 
-	lim_log(pMac, LOG1,
+	lim_log(pMac, LOGD,
 		FL("[TDLS] action %d (%s) -AP-> OTA peer="MAC_ADDRESS_STR),
 		SIR_MAC_TDLS_SETUP_RSP,
 		lim_trace_tdls_action_string(SIR_MAC_TDLS_SETUP_RSP),
@@ -1977,7 +1979,7 @@ tSirRetStatus lim_send_tdls_link_setup_cnf_frame(tpAniSirGlobal pMac,
 	/* Check self and peer WMM capable */
 	if ((1 == pMac->lim.gLimTDLSWmmMode) &&
 	    (CHECK_BIT(peerCapability, TDLS_PEER_WMM_CAP))) {
-		lim_log(pMac, LOG1, FL("populate WMM praram in Setup Confirm"));
+		lim_log(pMac, LOGD, FL("populate WMM praram in Setup Confirm"));
 		populate_dot11f_wmm_params(pMac, &tdlsSetupCnf.WMMParams,
 					   psessionEntry);
 	}
@@ -2086,6 +2088,7 @@ tSirRetStatus lim_send_tdls_link_setup_cnf_frame(tpAniSirGlobal pMac,
 			  ),
 			status);
 	}
+
 	/* Copy the additional IE. */
 	/* TODO : addIe is added at the end of the frame. This means it doesnt */
 	/* follow the order. This should be ok, but we should consider changing this */
@@ -2106,7 +2109,7 @@ tSirRetStatus lim_send_tdls_link_setup_cnf_frame(tpAniSirGlobal pMac,
 		padVendorSpecific[3] = 0xA0;
 		padVendorSpecific[4] = 0xC6;
 
-		lim_log(pMac, LOG1, FL("Padding Vendor Specific Ie Len = %d"),
+		lim_log(pMac, LOGD, FL("Padding Vendor Specific Ie Len = %d"),
 			padLen);
 
 		/* padding zero if more than 5 bytes are required */
@@ -2117,7 +2120,7 @@ tSirRetStatus lim_send_tdls_link_setup_cnf_frame(tpAniSirGlobal pMac,
 	}
 #endif
 
-	lim_log(pMac, LOG1,
+	lim_log(pMac, LOGD,
 		FL("[TDLS] action %d (%s) -AP-> OTA peer="MAC_ADDRESS_STR),
 		SIR_MAC_TDLS_SETUP_CNF,
 		lim_trace_tdls_action_string(SIR_MAC_TDLS_SETUP_CNF),
@@ -2203,7 +2206,7 @@ static tSirRetStatus lim_tdls_populate_dot11f_ht_caps(tpAniSirGlobal pMac,
 		pDot11f->shortGI40MHz = 0;
 	}
 
-	lim_log(pMac, LOG1,
+	lim_log(pMac, LOGD,
 		FL(
 		   "SupportedChnlWidth: %d, mimoPS: %d, GF: %d, shortGI20:%d, shortGI40: %d, dsssCck: %d"
 		  ),
@@ -2223,7 +2226,7 @@ static tSirRetStatus lim_tdls_populate_dot11f_ht_caps(tpAniSirGlobal pMac,
 	pDot11f->mpduDensity = pHTParametersInfo->mpduDensity;
 	pDot11f->reserved1 = pHTParametersInfo->reserved;
 
-	lim_log(pMac, LOG1, FL("AMPDU Param: %x"), nCfgValue);
+	lim_log(pMac, LOGD, FL("AMPDU Param: %x"), nCfgValue);
 
 	qdf_mem_copy(pDot11f->supportedMCSSet, pTdlsAddStaReq->htCap.suppMcsSet,
 		     SIZE_OF_SUPPORTED_MCS_SET);
@@ -2516,7 +2519,7 @@ lim_tdls_populate_matching_rate_set(tpAniSirGlobal mac_ctx, tpDphHashNode stads,
 		if (wlan_cfg_get_str(mac_ctx, WNI_CFG_SUPPORTED_MCS_SET,
 				     mcsSet, &val) != eSIR_SUCCESS) {
 			/* Could not get rateset from CFG. Log error. */
-			lim_log(mac_ctx, LOGP,
+			lim_log(mac_ctx, LOGE,
 				FL("could not retrieve supportedMCSSet"));
 			return eSIR_FAILURE;
 		}
@@ -2527,10 +2530,10 @@ lim_tdls_populate_matching_rate_set(tpAniSirGlobal mac_ctx, tpDphHashNode stads,
 			stads->supportedRates.supportedMCSSet[i] =
 				mcsSet[i] & supp_mcs_set[i];
 
-		lim_log(mac_ctx, LOG1,
+		lim_log(mac_ctx, LOGD,
 				 FL("MCS Rate Set Bitmap from CFG and DPH"));
 		for (i = 0; i < SIR_MAC_MAX_SUPPORTED_MCS_SET; i++) {
-			lim_log(mac_ctx, LOG1, FL("%x %x"), mcsSet[i],
+			lim_log(mac_ctx, LOGD, FL("%x %x"), mcsSet[i],
 				stads->supportedRates.supportedMCSSet[i]);
 		}
 	}
@@ -2579,7 +2582,7 @@ static void lim_tdls_update_hash_node_info(tpAniSirGlobal pMac,
 		 * channel width of STA-AP link. So take this setting from the
 		 * psessionEntry.
 		 */
-		lim_log(pMac, LOG1,
+		lim_log(pMac, LOGD,
 			FL("supportedChannelWidthSet 0x%x htSupportedChannelWidthSet 0x%x"),
 				htCaps->supportedChannelWidthSet,
 				psessionEntry->htSupportedChannelWidthSet);
@@ -2588,7 +2591,7 @@ static void lim_tdls_update_hash_node_info(tpAniSirGlobal pMac,
 				 psessionEntry->htSupportedChannelWidthSet) ?
 				htCaps->supportedChannelWidthSet :
 				psessionEntry->htSupportedChannelWidthSet;
-		lim_log(pMac, LOG1, FL("pStaDs->htSupportedChannelWidthSet 0x%x"),
+		lim_log(pMac, LOGD, FL("pStaDs->htSupportedChannelWidthSet 0x%x"),
 				pStaDs->htSupportedChannelWidthSet);
 
 		pStaDs->htMIMOPSState = htCaps->mimoPowerSave;
@@ -2627,7 +2630,7 @@ static void lim_tdls_update_hash_node_info(tpAniSirGlobal pMac,
 			pStaDs->vhtSupportedChannelWidthSet =
 					psessionEntry->ch_width;
 
-		lim_log(pMac, LOG1, FL("vhtSupportedChannelWidthSet = %hu, htSupportedChannelWidthSet %hu"),
+		lim_log(pMac, LOGD, FL("vhtSupportedChannelWidthSet = %hu, htSupportedChannelWidthSet %hu"),
 			pStaDs->vhtSupportedChannelWidthSet,
 			pStaDs->htSupportedChannelWidthSet);
 
@@ -2718,7 +2721,7 @@ static tSirRetStatus lim_tdls_setup_add_sta(tpAniSirGlobal pMac,
 		/* Set the aid in peerAIDBitmap as it has been assigned to TDLS peer */
 		SET_PEER_AID_BITMAP(psessionEntry->peerAIDBitmap, aid);
 
-		lim_log(pMac, LOG1, FL("Aid = %d, for peer =" MAC_ADDRESS_STR),
+		lim_log(pMac, LOGD, FL("Aid = %d, for peer =" MAC_ADDRESS_STR),
 			aid, MAC_ADDR_ARRAY(pAddStaReq->peermac.bytes));
 		pStaDs =
 			dph_get_hash_entry(pMac, aid,
@@ -2774,10 +2777,10 @@ static tpDphHashNode lim_tdls_del_sta(tpAniSirGlobal pMac,
 
 	if (pStaDs) {
 
-		lim_log(pMac, LOG1, FL("DEL STA peer MAC: "MAC_ADDRESS_STR),
+		lim_log(pMac, LOGD, FL("DEL STA peer MAC: "MAC_ADDRESS_STR),
 		       MAC_ADDR_ARRAY(pStaDs->staAddr));
 
-		lim_log(pMac, LOG1,
+		lim_log(pMac, LOGD,
 		       FL("STA type = %x, sta idx = %x resp_reqd %d"),
 		       pStaDs->staType,
 		       pStaDs->staIndex,
@@ -2852,7 +2855,7 @@ QDF_STATUS lim_process_tdls_add_sta_rsp(tpAniSirGlobal pMac, void *msg,
 	uint16_t aid = 0;
 
 	SET_LIM_PROCESS_DEFD_MESGS(pMac, true);
-	lim_log(pMac, LOG1, FL("staIdx=%d, staMac="MAC_ADDRESS_STR),
+	lim_log(pMac, LOGD, FL("staIdx=%d, staMac="MAC_ADDRESS_STR),
 	       pAddStaParams->staIdx,
 	       MAC_ADDR_ARRAY(pAddStaParams->staMac));
 
@@ -2905,7 +2908,7 @@ tSirRetStatus lim_process_sme_tdls_mgmt_send_req(tpAniSirGlobal mac_ctx,
 	uint8_t session_id;
 	tSirResultCodes result_code = eSIR_SME_INVALID_PARAMETERS;
 
-	lim_log(mac_ctx, LOG1, FL("Send Mgmt Recieved"));
+	lim_log(mac_ctx, LOGD, FL("Send Mgmt Recieved"));
 	session_entry = pe_find_session_by_bssid(mac_ctx,
 					 send_req->bssid.bytes, &session_id);
 	if (NULL == session_entry) {
@@ -2941,14 +2944,14 @@ tSirRetStatus lim_process_sme_tdls_mgmt_send_req(tpAniSirGlobal mac_ctx,
 
 	switch (send_req->reqType) {
 	case SIR_MAC_TDLS_DIS_REQ:
-		lim_log(mac_ctx, LOG1, FL("Transmit Discovery Request Frame"));
+		lim_log(mac_ctx, LOGD, FL("Transmit Discovery Request Frame"));
 		/* format TDLS discovery request frame and transmit it */
 		lim_send_tdls_dis_req_frame(mac_ctx, send_req->peer_mac,
 					    send_req->dialog, session_entry);
 		result_code = eSIR_SME_SUCCESS;
 		break;
 	case SIR_MAC_TDLS_DIS_RSP:
-		lim_log(mac_ctx, LOG1, FL("Transmit Discovery Response Frame"));
+		lim_log(mac_ctx, LOGD, FL("Transmit Discovery Response Frame"));
 		/* Send a response mgmt action frame */
 		lim_send_tdls_dis_rsp_frame(mac_ctx, send_req->peer_mac,
 			send_req->dialog, session_entry, &send_req->addIe[0],
@@ -2956,7 +2959,7 @@ tSirRetStatus lim_process_sme_tdls_mgmt_send_req(tpAniSirGlobal mac_ctx,
 		result_code = eSIR_SME_SUCCESS;
 		break;
 	case SIR_MAC_TDLS_SETUP_REQ:
-		lim_log(mac_ctx, LOG1, FL("Transmit Setup Request Frame"));
+		lim_log(mac_ctx, LOGD, FL("Transmit Setup Request Frame"));
 		lim_send_tdls_link_setup_req_frame(mac_ctx,
 			send_req->peer_mac, send_req->dialog, session_entry,
 			&send_req->addIe[0],
@@ -2964,7 +2967,7 @@ tSirRetStatus lim_process_sme_tdls_mgmt_send_req(tpAniSirGlobal mac_ctx,
 		result_code = eSIR_SME_SUCCESS;
 		break;
 	case SIR_MAC_TDLS_SETUP_RSP:
-		lim_log(mac_ctx, LOG1, FL("Transmit Setup Response Frame"));
+		lim_log(mac_ctx, LOGD, FL("Transmit Setup Response Frame"));
 		lim_send_tdls_setup_rsp_frame(mac_ctx,
 			send_req->peer_mac, send_req->dialog, session_entry,
 			send_req->statusCode, &send_req->addIe[0],
@@ -2972,7 +2975,7 @@ tSirRetStatus lim_process_sme_tdls_mgmt_send_req(tpAniSirGlobal mac_ctx,
 		result_code = eSIR_SME_SUCCESS;
 		break;
 	case SIR_MAC_TDLS_SETUP_CNF:
-		lim_log(mac_ctx, LOG1, FL("Transmit Setup Confirm Frame"));
+		lim_log(mac_ctx, LOGD, FL("Transmit Setup Confirm Frame"));
 		lim_send_tdls_link_setup_cnf_frame(mac_ctx,
 			send_req->peer_mac, send_req->dialog,
 			send_req->peerCapability, session_entry,
@@ -2981,7 +2984,7 @@ tSirRetStatus lim_process_sme_tdls_mgmt_send_req(tpAniSirGlobal mac_ctx,
 		result_code = eSIR_SME_SUCCESS;
 		break;
 	case SIR_MAC_TDLS_TEARDOWN:
-		lim_log(mac_ctx, LOG1, FL("Transmit Teardown Frame"));
+		lim_log(mac_ctx, LOGD, FL("Transmit Teardown Frame"));
 		lim_send_tdls_teardown_frame(mac_ctx,
 			send_req->peer_mac, send_req->statusCode,
 			send_req->responder, session_entry,
@@ -3027,7 +3030,7 @@ void lim_send_sme_tdls_link_establish_req_rsp(tpAniSirGlobal pMac,
 		lim_log(pMac, LOGE, FL("Failed to allocate memory"));
 		return;
 	}
-	lim_log(pMac, LOG1, FL("Send Resp to TDL Link Establish Req to SME"));
+	lim_log(pMac, LOGD, FL("Send Resp to TDL Link Establish Req to SME"));
 	pTdlsLinkEstablishReqRsp->statusCode = status;
 	if (peermac)
 		qdf_copy_macaddr(&pTdlsLinkEstablishReqRsp->peermac, peermac);
@@ -3096,7 +3099,7 @@ tSirRetStatus lim_process_sme_tdls_add_sta_req(tpAniSirGlobal pMac,
 	tpPESession psessionEntry;
 	uint8_t sessionId;
 
-	lim_log(pMac, LOG1, FL("TDLS Add STA Request Recieved"));
+	lim_log(pMac, LOGD, FL("TDLS Add STA Request Recieved"));
 	psessionEntry =
 		pe_find_session_by_bssid(pMac, pAddStaReq->bssid.bytes,
 					 &sessionId);
@@ -3160,7 +3163,7 @@ tSirRetStatus lim_process_sme_tdls_del_sta_req(tpAniSirGlobal pMac,
 	tpPESession psessionEntry;
 	uint8_t sessionId;
 
-	lim_log(pMac, LOG1, FL("TDLS Delete STA Request Recieved"));
+	lim_log(pMac, LOGD, FL("TDLS Delete STA Request Recieved"));
 	psessionEntry =
 		pe_find_session_by_bssid(pMac, pDelStaReq->bssid.bytes,
 					 &sessionId);
@@ -3259,7 +3262,7 @@ tSirRetStatus lim_process_sme_tdls_link_establish_req(tpAniSirGlobal mac_ctx,
 	uint32_t self_num_chan = WNI_CFG_VALID_CHANNEL_LIST_LEN;
 	uint8_t self_supp_chan[WNI_CFG_VALID_CHANNEL_LIST_LEN];
 
-	QDF_TRACE(QDF_MODULE_ID_PE, QDF_TRACE_LEVEL_INFO,
+	QDF_TRACE(QDF_MODULE_ID_PE, QDF_TRACE_LEVEL_DEBUG,
 		  FL("Process TDLS Link Establishment Request from SME"));
 
 	session_entry = pe_find_session_by_bssid(mac_ctx, tdls_req->bssid.bytes,
@@ -3536,7 +3539,7 @@ void lim_process_tdls_del_sta_rsp(tpAniSirGlobal mac_ctx,
 		goto skip_event;
 	}
 
-	lim_log(mac_ctx, LOG1, FL("DEL STA success"));
+	lim_log(mac_ctx, LOGD, FL("DEL STA success"));
 
 	/* now send indication to SME-->HDD->TL to remove STA from TL */