Răsfoiți Sursa

qcacld-3.0: Remove redundant logs

qcacld-2.0 to qcacld-3.0 propagation

Some logs are excessive and unnecessary.
Remove/modify these redundant logs.

Change-Id: Ia7286612d81df3bbb266ba217f548516fa38d3de
CRs-Fixed: 885880
Agrawal Ashish 9 ani în urmă
părinte
comite
c38e58df19

+ 1 - 3
core/hdd/src/wlan_hdd_p2p.c

@@ -206,9 +206,7 @@ QDF_STATUS wlan_hdd_remain_on_channel_callback(tHalHandle hHal, void *pCtx,
 
 	if (REMAIN_ON_CHANNEL_REQUEST == pRemainChanCtx->rem_on_chan_request) {
 		if (cfgState->buf) {
-			hddLog(LOGP,
-			       "%s: We need to receive yet an ack from one of tx packet",
-			       __func__);
+			hdd_info("We need to receive yet an ack from one of tx packet");
 		}
 		cfg80211_remain_on_channel_expired(
 			pRemainChanCtx->dev->

+ 0 - 1
core/hdd/src/wlan_hdd_scan.c

@@ -1386,7 +1386,6 @@ static int __wlan_hdd_cfg80211_scan(struct wiphy *wiphy,
 
 	qdf_mem_zero(&scan_req, sizeof(scan_req));
 
-	hddLog(LOG1, "scan request for ssid = %d", request->n_ssids);
 	scan_req.timestamp = qdf_mc_timer_get_system_ticks();
 
 	/* Even though supplicant doesn't provide any SSIDs, n_ssids is

+ 0 - 2
core/mac/src/pe/lim/lim_process_mlm_req_messages.c

@@ -315,7 +315,6 @@ void lim_set_dfs_channel_list(tpAniSirGlobal mac_ctx, uint8_t chan_num,
 		dfs_ch_list->timeStamp[chan_num] =
 					qdf_mc_timer_get_system_time();
 	} else {
-		lim_log(mac_ctx, LOG1, FL("Channel %d is Active"), chan_num);
 		return;
 	}
 
@@ -2309,7 +2308,6 @@ static void lim_process_periodic_probe_req_timer(tpAniSirGlobal mac_ctx)
 	}
 
 	mlm_scan_req = mac_ctx->lim.gpLimMlmScanReq;
-	lim_log(mac_ctx, LOG1, FL("Scanning : Periodic scanning"));
 	mac_ctx->lim.probeCounter++;
 	/* Periodic channel timer timed out to send probe request. */
 	channel_num = lim_get_current_scan_channel(mac_ctx);

+ 18 - 0
core/mac/src/pe/lim/lim_send_management_frames.c

@@ -1207,6 +1207,15 @@ lim_send_assoc_rsp_mgmt_frame(tpAniSirGlobal mac_ctx,
 			populate_dot11f_ht_info(mac_ctx, &frm.HTInfo,
 				pe_session);
 		}
+		lim_log(mac_ctx, LOG1,
+			FL("SupportedChnlWidth: %d, mimoPS: %d, GF: %d, short GI20:%d, shortGI40: %d, dsssCck: %d, AMPDU Param: %x"),
+			frm.HTCaps.supportedChannelWidthSet,
+			frm.HTCaps.mimoPowerSave,
+			frm.HTCaps.greenField, frm.HTCaps.shortGI20MHz,
+			frm.HTCaps.shortGI40MHz,
+			frm.HTCaps.dsssCckMode40MHz,
+			frm.HTCaps.maxRxAMPDUFactor);
+
 		if (sta->mlmStaContext.vhtCapability &&
 		    pe_session->vhtCapability) {
 			lim_log(mac_ctx, LOG1,
@@ -1761,6 +1770,15 @@ lim_send_assoc_req_mgmt_frame(tpAniSirGlobal mac_ctx,
 		lim_log(mac_ctx, LOG1, FL("Populate HT Caps in Assoc Request"));
 		populate_dot11f_ht_caps(mac_ctx, pe_session, &frm->HTCaps);
 	}
+	lim_log(mac_ctx, LOG1,
+		FL("SupportedChnlWidth: %d, mimoPS: %d, GF: %d, short GI20:%d, shortGI40: %d, dsssCck: %d, AMPDU Param: %x"),
+		frm->HTCaps.supportedChannelWidthSet,
+		frm->HTCaps.mimoPowerSave,
+		frm->HTCaps.greenField, frm->HTCaps.shortGI20MHz,
+		frm->HTCaps.shortGI40MHz,
+		frm->HTCaps.dsssCckMode40MHz,
+		frm->HTCaps.maxRxAMPDUFactor);
+
 	if (pe_session->vhtCapability &&
 	    pe_session->vhtCapabilityPresentInBeacon) {
 		lim_log(mac_ctx, LOG1, FL("Populate VHT IEs in Assoc Request"));

+ 0 - 3
core/mac/src/pe/lim/lim_send_sme_rsp_messages.c

@@ -700,9 +700,6 @@ lim_send_sme_scan_rsp(tpAniSirGlobal pMac, tSirResultCodes resultCode,
 		uint8_t smesessionId, uint16_t smetranscationId,
 		uint32_t scan_id)
 {
-	lim_log(pMac, LOG1,
-		FL("Sending message SME_SCAN_RSP reasonCode %s scanId %d"),
-		lim_result_code_str(resultCode), scan_id);
 	lim_post_sme_scan_rsp_message(pMac, resultCode, smesessionId,
 				smetranscationId, scan_id);
 }

+ 0 - 9
core/mac/src/sys/legacy/src/utils/src/parser_api.c

@@ -747,13 +747,6 @@ populate_dot11f_ht_caps(tpAniSirGlobal pMac,
 		pDot11f->shortGI40MHz = 0;
 	}
 
-	dot11f_log(pMac, LOG2,
-		   FL
-			   ("SupportedChnlWidth: %d, mimoPS: %d, GF: %d, shortGI20:%d, shortGI40: %d, dsssCck: %d\n"),
-		   pDot11f->supportedChannelWidthSet, pDot11f->mimoPowerSave,
-		   pDot11f->greenField, pDot11f->shortGI20MHz,
-		   pDot11f->shortGI40MHz, pDot11f->dsssCckMode40MHz);
-
 	CFG_GET_INT(nSirStatus, pMac, WNI_CFG_HT_AMPDU_PARAMS, nCfgValue);
 
 	nCfgValue8 = (uint8_t) nCfgValue;
@@ -763,8 +756,6 @@ populate_dot11f_ht_caps(tpAniSirGlobal pMac,
 	pDot11f->mpduDensity = pHTParametersInfo->mpduDensity;
 	pDot11f->reserved1 = pHTParametersInfo->reserved;
 
-	dot11f_log(pMac, LOG2, FL("AMPDU Param: %x\n"), nCfgValue);
-
 	CFG_GET_STR(nSirStatus, pMac, WNI_CFG_SUPPORTED_MCS_SET,
 		    pDot11f->supportedMCSSet, nCfgLen,
 		    SIZE_OF_SUPPORTED_MCS_SET);