Browse Source

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

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

Change-Id: I13bb9afc7bb372edc2a30ff216b8fdff43b68247
CRs-Fixed: 2014745
Srinivas Girigowda 8 years ago
parent
commit
5736c5c8f8
1 changed files with 98 additions and 100 deletions
  1. 98 100
      core/hdd/src/wlan_hdd_ext_scan.c

+ 98 - 100
core/hdd/src/wlan_hdd_ext_scan.c

@@ -181,7 +181,7 @@ wlan_hdd_cfg80211_extscan_get_capabilities_rsp(void *ctx,
 	/* validate response received from target*/
 	if (context->request_id != data->requestId) {
 		spin_unlock(&context->context_lock);
-		hdd_err("Target response id did not match: request_id %d response_id %d",
+		hdd_err("Target response id did not match. request_id: %d response_id: %d",
 			context->request_id, data->requestId);
 		return;
 	}
@@ -371,12 +371,12 @@ wlan_hdd_cfg80211_extscan_cached_results_ind(void *ctx,
 		hdd_err("cfg80211_vendor_cmd_alloc_reply_skb failed");
 		goto fail;
 	}
-	hdd_notice("Req Id %u Num_scan_ids %u More Data %u",
+	hdd_debug("Req Id %u Num_scan_ids %u More Data %u",
 		data->request_id, data->num_scan_ids, data->more_data);
 
 	result = &data->result[0];
 	for (i = 0; i < data->num_scan_ids; i++) {
-		hdd_notice("[i=%d] scan_id %u flags %u num_results %u buckets scanned %u",
+		hdd_debug("[i=%d] scan_id %u flags %u num_results %u buckets scanned %u",
 			i, result->scan_id, result->flags, result->num_results,
 			result->buckets_scanned);
 
@@ -390,7 +390,7 @@ wlan_hdd_cfg80211_extscan_cached_results_ind(void *ctx,
 			 * BSSID was cached.
 			 */
 			ap->ts += pHddCtx->ext_scan_start_since_boot;
-			hdd_notice("Timestamp %llu "
+			hdd_debug("Timestamp %llu "
 				"Ssid: %s "
 				"Bssid (" MAC_ADDRESS_STR ") "
 				"Channel %u "
@@ -549,14 +549,14 @@ wlan_hdd_cfg80211_extscan_hotlist_match_ind(void *ctx,
 		hdd_err("cfg80211_vendor_event_alloc failed");
 		return;
 	}
-	hdd_info("Req Id: %u Num_APs: %u MoreData: %u ap_found: %u",
+	hdd_debug("Req Id: %u Num_APs: %u MoreData: %u ap_found: %u",
 			data->requestId, data->numOfAps, data->moreData,
 			data->ap_found);
 
 	for (i = 0; i < data->numOfAps; i++) {
 		data->ap[i].ts = qdf_get_monotonic_boottime();
 
-		hdd_notice("[i=%d] Timestamp %llu "
+		hdd_debug("[i=%d] Timestamp %llu "
 		       "Ssid: %s "
 		       "Bssid (" MAC_ADDRESS_STR ") "
 		       "Channel %u "
@@ -684,12 +684,12 @@ wlan_hdd_cfg80211_extscan_signif_wifi_change_results_ind(
 		hdd_err("cfg80211_vendor_event_alloc failed");
 		return;
 	}
-	hdd_notice("Req Id %u Num results %u More Data %u",
+	hdd_debug("Req Id %u Num results %u More Data %u",
 		pData->requestId, pData->numResults, pData->moreData);
 
 	ap_info = &pData->ap[0];
 	for (i = 0; i < pData->numResults; i++) {
-		hdd_notice("[i=%d] "
+		hdd_debug("[i=%d] "
 		       "Bssid (" MAC_ADDRESS_STR ") "
 		       "Channel %u "
 		       "numOfRssi %d",
@@ -698,7 +698,7 @@ wlan_hdd_cfg80211_extscan_signif_wifi_change_results_ind(
 		       ap_info->channel, ap_info->numOfRssi);
 		rssi = &(ap_info)->rssi[0];
 		for (j = 0; j < ap_info->numOfRssi; j++)
-			hdd_notice("Rssi %d", *rssi++);
+			hdd_debug("Rssi %d", *rssi++);
 
 		ap_info += ap_info->numOfRssi * sizeof(*rssi);
 	}
@@ -821,9 +821,9 @@ wlan_hdd_cfg80211_extscan_full_scan_result_event(void *ctx,
 	get_monotonic_boottime(&ts);
 	pData->ap.ts = ((u64)ts.tv_sec * 1000000) + (ts.tv_nsec / 1000);
 
-	hdd_notice("Req Id %u More Data %u", pData->requestId,
+	hdd_debug("Req Id %u More Data %u", pData->requestId,
 	       pData->moreData);
-	hdd_notice("AP Info: Timestamp %llu Ssid: %s "
+	hdd_debug("AP Info: Timestamp %llu Ssid: %s "
 	       "Bssid (" MAC_ADDRESS_STR ") "
 	       "Channel %u "
 	       "Rssi %d "
@@ -896,7 +896,7 @@ wlan_hdd_cfg80211_extscan_full_scan_result_event(void *ctx,
 		QCA_WLAN_VENDOR_ATTR_EXTSCAN_RESULTS_BUCKETS_SCANNED,
 		context->buckets_scanned)) {
 		spin_unlock(&context->context_lock);
-		hdd_notice("Failed to include buckets_scanned");
+		hdd_debug("Failed to include buckets_scanned");
 		goto nla_put_failure;
 	}
 	spin_unlock(&context->context_lock);
@@ -949,7 +949,7 @@ wlan_hdd_cfg80211_extscan_scan_res_available_event(
 		return;
 	}
 
-	hdd_notice("Req Id %u Num results %u",
+	hdd_debug("Req Id %u Num results %u",
 	       pData->requestId, pData->numResultsAvailable);
 	if (nla_put_u32(skb,
 		QCA_WLAN_VENDOR_ATTR_EXTSCAN_RESULTS_REQUEST_ID,
@@ -1011,7 +1011,7 @@ wlan_hdd_cfg80211_extscan_scan_progress_event(void *ctx,
 		return;
 	}
 
-	hdd_notice("Request Id: %u Scan event type: %u Scan event status: %u buckets scanned: %u",
+	hdd_debug("Request Id: %u Scan event type: %u Scan event status: %u buckets scanned: %u",
 		pData->requestId, pData->scanEventType, pData->status,
 		pData->buckets_scanned);
 
@@ -1102,11 +1102,11 @@ wlan_hdd_cfg80211_extscan_epno_match_found(void *ctx,
 		return;
 	}
 
-	hdd_notice("Req Id %u More Data %u num_results %d",
+	hdd_debug("Req Id %u More Data %u num_results %d",
 		data->request_id, data->more_data, data->num_results);
 	for (i = 0; i < data->num_results; i++) {
 		data->ap[i].channel = cds_chan_to_freq(data->ap[i].channel);
-		hdd_notice("AP Info: Timestamp %llu) Ssid: %s "
+		hdd_debug("AP Info: Timestamp %llu) Ssid: %s "
 					"Bssid (" MAC_ADDRESS_STR ") "
 					"Channel %u "
 					"Rssi %d "
@@ -1209,10 +1209,10 @@ wlan_hdd_cfg80211_passpoint_match_found(void *ctx,
 		return;
 	}
 
-	hdd_notice("Req Id %u Id %u ANQP length %u num_matches %u",
+	hdd_debug("Req Id %u Id %u ANQP length %u num_matches %u",
 		data->request_id, data->id, data->anqp_len, num_matches);
 	for (i = 0; i < num_matches; i++) {
-		hdd_notice("AP Info: Timestamp %llu Ssid: %s "
+		hdd_debug("AP Info: Timestamp %llu Ssid: %s "
 					"Bssid (" MAC_ADDRESS_STR ") "
 					"Channel %u "
 					"Rssi %d "
@@ -1465,7 +1465,7 @@ wlan_hdd_cfg80211_extscan_generic_rsp
 		return;
 	}
 
-	hdd_notice("request %u status %u",
+	hdd_debug("request %u status %u",
 	       response->request_id, response->status);
 
 	context = &ext_scan_context;
@@ -1497,15 +1497,13 @@ void wlan_hdd_cfg80211_extscan_callback(void *ctx, const uint16_t evType,
 	if (wlan_hdd_validate_context(pHddCtx))
 		return;
 
-	hdd_notice("Rcvd Event %d", evType);
+	hdd_debug("Rcvd Event %d", evType);
 
 	switch (evType) {
 	case eSIR_EXTSCAN_CACHED_RESULTS_RSP:
-		/*
-		 * There is no need to send this response to upper layer
-		 * Just log the message
-		 */
-		hdd_notice("Rcvd eSIR_EXTSCAN_CACHED_RESULTS_RSP");
+		/* There is no need to send this response to upper layer
+		   Just log the message */
+		hdd_debug("Rcvd eSIR_EXTSCAN_CACHED_RESULTS_RSP");
 		break;
 
 	case eSIR_EXTSCAN_GET_CAPABILITIES_IND:
@@ -1568,7 +1566,7 @@ void wlan_hdd_cfg80211_extscan_callback(void *ctx, const uint16_t evType,
 		break;
 
 	default:
-		hdd_err("Unknown event type %u", evType);
+		hdd_err("Unknown event type: %u", evType);
 		break;
 	}
 }
@@ -1652,31 +1650,31 @@ static int wlan_hdd_send_ext_scan_capability(hdd_context_t *hdd_ctx)
 	}
 
 
-	hdd_notice("Req Id %u", data->requestId);
-	hdd_notice("Status %u", data->status);
-	hdd_notice("Scan cache size %u",
+	hdd_debug("Req Id %u", data->requestId);
+	hdd_debug("Status %u", data->status);
+	hdd_debug("Scan cache size %u",
 	       data->max_scan_cache_size);
-	hdd_notice("Scan buckets %u", data->max_scan_buckets);
-	hdd_notice("Max AP per scan %u",
+	hdd_debug("Scan buckets %u", data->max_scan_buckets);
+	hdd_debug("Max AP per scan %u",
 	       data->max_ap_cache_per_scan);
-	hdd_notice("max_rssi_sample_size %u",
+	hdd_debug("max_rssi_sample_size %u",
 	       data->max_rssi_sample_size);
-	hdd_notice("max_scan_reporting_threshold %u",
+	hdd_debug("max_scan_reporting_threshold %u",
 	       data->max_scan_reporting_threshold);
-	hdd_notice("max_hotlist_bssids %u",
+	hdd_debug("max_hotlist_bssids %u",
 	       data->max_hotlist_bssids);
-	hdd_notice("max_significant_wifi_change_aps %u",
+	hdd_debug("max_significant_wifi_change_aps %u",
 	       data->max_significant_wifi_change_aps);
-	hdd_notice("max_bssid_history_entries %u",
+	hdd_debug("max_bssid_history_entries %u",
 	       data->max_bssid_history_entries);
-	hdd_notice("max_hotlist_ssids %u", data->max_hotlist_ssids);
-	hdd_notice("max_number_epno_networks %u",
+	hdd_debug("max_hotlist_ssids %u", data->max_hotlist_ssids);
+	hdd_debug("max_number_epno_networks %u",
 					data->max_number_epno_networks);
-	hdd_notice("max_number_epno_networks_by_ssid %u",
+	hdd_debug("max_number_epno_networks_by_ssid %u",
 					data->max_number_epno_networks_by_ssid);
-	hdd_notice("max_number_of_white_listed_ssid %u",
+	hdd_debug("max_number_of_white_listed_ssid %u",
 					data->max_number_of_white_listed_ssid);
-	hdd_notice("max_number_of_black_listed_bssid (%u)",
+	hdd_debug("max_number_of_black_listed_bssid (%u)",
 					data->max_number_of_black_listed_bssid);
 
 	if (nla_put_u32(skb, PARAM_REQUEST_ID, data->requestId) ||
@@ -1795,7 +1793,7 @@ static int __wlan_hdd_cfg80211_extscan_get_capabilities(struct wiphy *wiphy,
 		nla_get_u32(tb
 		 [QCA_WLAN_VENDOR_ATTR_EXTSCAN_SUBCMD_CONFIG_PARAM_REQUEST_ID]);
 	pReqMsg->sessionId = pAdapter->sessionId;
-	hdd_notice("Req Id %d Session Id %d",
+	hdd_debug("Req Id %d Session Id %d",
 		pReqMsg->requestId, pReqMsg->sessionId);
 
 	context = &ext_scan_context;
@@ -1938,7 +1936,7 @@ static int __wlan_hdd_cfg80211_extscan_get_cached_results(struct wiphy *wiphy,
 		goto fail;
 	}
 	pReqMsg->flush = nla_get_u8(tb[PARAM_FLUSH]);
-	hdd_notice("Req Id: %u Session Id: %d Flush: %d",
+	hdd_debug("Req Id: %u Session Id: %d Flush: %d",
 		pReqMsg->requestId, pReqMsg->sessionId, pReqMsg->flush);
 
 	context = &ext_scan_context;
@@ -2081,7 +2079,7 @@ __wlan_hdd_cfg80211_extscan_set_bssid_hotlist(struct wiphy *wiphy,
 	pReqMsg->requestId =
 		nla_get_u32(tb
 		 [QCA_WLAN_VENDOR_ATTR_EXTSCAN_SUBCMD_CONFIG_PARAM_REQUEST_ID]);
-	hdd_notice("Req Id %d", pReqMsg->requestId);
+	hdd_debug("Req Id %d", pReqMsg->requestId);
 
 	/* Parse and fetch number of APs */
 	if (!tb[QCA_WLAN_VENDOR_ATTR_EXTSCAN_BSSID_HOTLIST_PARAMS_NUM_AP]) {
@@ -2097,7 +2095,7 @@ __wlan_hdd_cfg80211_extscan_set_bssid_hotlist(struct wiphy *wiphy,
 		goto fail;
 	}
 	pReqMsg->sessionId = pAdapter->sessionId;
-	hdd_notice("Number of AP %d Session Id %d",
+	hdd_debug("Number of AP %d Session Id %d",
 		pReqMsg->numAp, pReqMsg->sessionId);
 
 	/* Parse and fetch lost ap sample size */
@@ -2108,7 +2106,7 @@ __wlan_hdd_cfg80211_extscan_set_bssid_hotlist(struct wiphy *wiphy,
 
 	pReqMsg->lost_ap_sample_size = nla_get_u32(
 		tb[QCA_WLAN_VENDOR_ATTR_EXTSCAN_BSSID_HOTLIST_PARAMS_LOST_AP_SAMPLE_SIZE]);
-	hdd_notice("Lost ap sample size %d",
+	hdd_debug("Lost ap sample size %d",
 			pReqMsg->lost_ap_sample_size);
 
 	i = 0;
@@ -2137,7 +2135,7 @@ __wlan_hdd_cfg80211_extscan_set_bssid_hotlist(struct wiphy *wiphy,
 			tb2
 			[QCA_WLAN_VENDOR_ATTR_EXTSCAN_AP_THRESHOLD_PARAM_BSSID],
 			   QDF_MAC_ADDR_SIZE);
-		hdd_notice(MAC_ADDRESS_STR,
+		hdd_debug(MAC_ADDRESS_STR,
 		       MAC_ADDR_ARRAY(pReqMsg->ap[i].bssid.bytes));
 
 		/* Parse and fetch low RSSI */
@@ -2149,7 +2147,7 @@ __wlan_hdd_cfg80211_extscan_set_bssid_hotlist(struct wiphy *wiphy,
 		pReqMsg->ap[i].low =
 			nla_get_s32(tb2
 			    [QCA_WLAN_VENDOR_ATTR_EXTSCAN_AP_THRESHOLD_PARAM_RSSI_LOW]);
-		hdd_notice("RSSI low %d", pReqMsg->ap[i].low);
+		hdd_debug("RSSI low %d", pReqMsg->ap[i].low);
 
 		/* Parse and fetch high RSSI */
 		if (!tb2
@@ -2160,7 +2158,7 @@ __wlan_hdd_cfg80211_extscan_set_bssid_hotlist(struct wiphy *wiphy,
 		pReqMsg->ap[i].high =
 			nla_get_s32(tb2
 			    [QCA_WLAN_VENDOR_ATTR_EXTSCAN_AP_THRESHOLD_PARAM_RSSI_HIGH]);
-		hdd_notice("RSSI High %d", pReqMsg->ap[i].high);
+		hdd_debug("RSSI High %d", pReqMsg->ap[i].high);
 
 		i++;
 	}
@@ -2294,7 +2292,7 @@ __wlan_hdd_cfg80211_extscan_set_significant_change(struct wiphy *wiphy,
 	pReqMsg->requestId =
 		nla_get_u32(tb
 		 [QCA_WLAN_VENDOR_ATTR_EXTSCAN_SUBCMD_CONFIG_PARAM_REQUEST_ID]);
-	hdd_notice("Req Id %d", pReqMsg->requestId);
+	hdd_debug("Req Id %d", pReqMsg->requestId);
 
 	/* Parse and fetch RSSI sample size */
 	if (!tb
@@ -2305,7 +2303,7 @@ __wlan_hdd_cfg80211_extscan_set_significant_change(struct wiphy *wiphy,
 	pReqMsg->rssiSampleSize =
 		nla_get_u32(tb
 		    [QCA_WLAN_VENDOR_ATTR_EXTSCAN_SIGNIFICANT_CHANGE_PARAMS_RSSI_SAMPLE_SIZE]);
-	hdd_notice("RSSI sample size %u", pReqMsg->rssiSampleSize);
+	hdd_debug("RSSI sample size %u", pReqMsg->rssiSampleSize);
 
 	/* Parse and fetch lost AP sample size */
 	if (!tb
@@ -2316,7 +2314,7 @@ __wlan_hdd_cfg80211_extscan_set_significant_change(struct wiphy *wiphy,
 	pReqMsg->lostApSampleSize =
 		nla_get_u32(tb
 		    [QCA_WLAN_VENDOR_ATTR_EXTSCAN_SIGNIFICANT_CHANGE_PARAMS_LOST_AP_SAMPLE_SIZE]);
-	hdd_notice("Lost AP sample size %u", pReqMsg->lostApSampleSize);
+	hdd_debug("Lost AP sample size %u", pReqMsg->lostApSampleSize);
 
 	/* Parse and fetch AP min breacing */
 	if (!tb
@@ -2327,7 +2325,7 @@ __wlan_hdd_cfg80211_extscan_set_significant_change(struct wiphy *wiphy,
 	pReqMsg->minBreaching =
 		nla_get_u32(tb
 		    [QCA_WLAN_VENDOR_ATTR_EXTSCAN_SIGNIFICANT_CHANGE_PARAMS_MIN_BREACHING]);
-	hdd_notice("AP min breaching %u", pReqMsg->minBreaching);
+	hdd_debug("AP min breaching %u", pReqMsg->minBreaching);
 
 	/* Parse and fetch number of APs */
 	if (!tb[QCA_WLAN_VENDOR_ATTR_EXTSCAN_SIGNIFICANT_CHANGE_PARAMS_NUM_AP]) {
@@ -2345,7 +2343,7 @@ __wlan_hdd_cfg80211_extscan_set_significant_change(struct wiphy *wiphy,
 	}
 
 	pReqMsg->sessionId = pAdapter->sessionId;
-	hdd_notice("Number of AP %d Session Id %d",
+	hdd_debug("Number of AP %d Session Id %d",
 		pReqMsg->numAp, pReqMsg->sessionId);
 
 	i = 0;
@@ -2375,7 +2373,7 @@ __wlan_hdd_cfg80211_extscan_set_significant_change(struct wiphy *wiphy,
 			   tb2
 			   [QCA_WLAN_VENDOR_ATTR_EXTSCAN_AP_THRESHOLD_PARAM_BSSID],
 			   QDF_MAC_ADDR_SIZE);
-		hdd_notice(MAC_ADDRESS_STR,
+		hdd_debug(MAC_ADDRESS_STR,
 		       MAC_ADDR_ARRAY(pReqMsg->ap[i].bssid.bytes));
 
 		/* Parse and fetch low RSSI */
@@ -2387,7 +2385,7 @@ __wlan_hdd_cfg80211_extscan_set_significant_change(struct wiphy *wiphy,
 		pReqMsg->ap[i].low =
 			nla_get_s32(tb2
 			    [QCA_WLAN_VENDOR_ATTR_EXTSCAN_AP_THRESHOLD_PARAM_RSSI_LOW]);
-		hdd_notice("RSSI low %d", pReqMsg->ap[i].low);
+		hdd_debug("RSSI low %d", pReqMsg->ap[i].low);
 
 		/* Parse and fetch high RSSI */
 		if (!tb2
@@ -2398,7 +2396,7 @@ __wlan_hdd_cfg80211_extscan_set_significant_change(struct wiphy *wiphy,
 		pReqMsg->ap[i].high =
 			nla_get_s32(tb2
 			    [QCA_WLAN_VENDOR_ATTR_EXTSCAN_AP_THRESHOLD_PARAM_RSSI_HIGH]);
-		hdd_notice("RSSI High %d", pReqMsg->ap[i].high);
+		hdd_debug("RSSI High %d", pReqMsg->ap[i].high);
 
 		i++;
 	}
@@ -2608,7 +2606,7 @@ __wlan_hdd_cfg80211_extscan_get_valid_channels(struct wiphy *wiphy,
 		return -EINVAL;
 	}
 
-	hdd_notice("Req Id: %u Wifi band: %d Max channels: %d", requestId,
+	hdd_debug("Req Id: %u Wifi band: %d Max channels: %d", requestId,
 		    wifiBand, maxChannels);
 	status = sme_get_valid_channels_by_band((tHalHandle) (pHddCtx->hHal),
 						wifiBand, chan_list,
@@ -2628,12 +2626,12 @@ __wlan_hdd_cfg80211_extscan_get_valid_channels(struct wiphy *wiphy,
 		hdd_remove_passive_channels(wiphy, chan_list,
 					    &num_channels);
 
-	hdd_notice("Number of channels: %d", num_channels);
+	hdd_debug("Number of channels: %d", num_channels);
 	for (i = 0; i < num_channels; i++)
 		len += scnprintf(buf + len, sizeof(buf) - len,
 				 "%u ", chan_list[i]);
 
-	hdd_notice("Channels: %s", buf);
+	hdd_debug("Channels: %s", buf);
 
 	reply_skb = cfg80211_vendor_cmd_alloc_reply_skb(wiphy, sizeof(u32) +
 							sizeof(u32) *
@@ -2879,7 +2877,7 @@ static int hdd_extscan_start_fill_bucket_channel_spec(
 		}
 		req_msg->buckets[bkt_index].step_count = nla_get_u32(
 			bucket[QCA_WLAN_VENDOR_ATTR_EXTSCAN_BUCKET_SPEC_STEP_COUNT]);
-		hdd_notice("Bucket spec Index: %d Wifi band: %d period: %d report events: %d max period: %u base: %u Step count: %u",
+		hdd_debug("Bucket spec Index: %d Wifi band: %d period: %d report events: %d max period: %u base: %u Step count: %u",
 				req_msg->buckets[bkt_index].bucket,
 				req_msg->buckets[bkt_index].band,
 				req_msg->buckets[bkt_index].period,
@@ -2908,7 +2906,7 @@ static int hdd_extscan_start_fill_bucket_channel_spec(
 				return 0;
 
 			num_channels = 0;
-			hdd_notice("WiFi band is specified, driver to fill channel list");
+			hdd_debug("WiFi band is specified, driver to fill channel list");
 			status = sme_get_valid_channels_by_band(hdd_ctx->hHal,
 						req_msg->buckets[bkt_index].band,
 						chan_list, &num_channels);
@@ -2917,14 +2915,14 @@ static int hdd_extscan_start_fill_bucket_channel_spec(
 				       status);
 				return -EINVAL;
 			}
-			hdd_notice("before trimming, num_channels: %d",
+			hdd_debug("before trimming, num_channels: %d",
 				num_channels);
 
 			req_msg->buckets[bkt_index].numChannels =
 				QDF_MIN(num_channels,
 					(WLAN_EXTSCAN_MAX_CHANNELS -
 						total_channels));
-			hdd_info("Adj Num channels/bucket: %d total_channels: %d",
+			hdd_debug("Adj Num channels/bucket: %d total_channels: %d",
 				req_msg->buckets[bkt_index].numChannels,
 				total_channels);
 			total_channels +=
@@ -2976,7 +2974,7 @@ static int hdd_extscan_start_fill_bucket_channel_spec(
 
 				}
 
-				hdd_notice("Channel: %u Passive: %u Dwell time: %u ms Class: %u",
+				hdd_debug("Channel: %u Passive: %u Dwell time: %u ms Class: %u",
 					req_msg->buckets[bkt_index].channels[j].channel,
 					req_msg->buckets[bkt_index].channels[j].passive,
 					req_msg->buckets[bkt_index].channels[j].dwellTimeMs,
@@ -2990,7 +2988,7 @@ static int hdd_extscan_start_fill_bucket_channel_spec(
 					min_dwell_time_passive_bucket,
 					max_dwell_time_passive_bucket);
 
-			hdd_notice("bkt_index:%d actv_min:%d actv_max:%d pass_min:%d pass_max:%d",
+			hdd_debug("bkt_index:%d actv_min:%d actv_max:%d pass_min:%d pass_max:%d",
 					bkt_index,
 					req_msg->buckets[bkt_index].min_dwell_time_active,
 					req_msg->buckets[bkt_index].max_dwell_time_active,
@@ -3011,13 +3009,13 @@ static int hdd_extscan_start_fill_bucket_channel_spec(
 		req_msg->buckets[bkt_index].numChannels =
 		nla_get_u32(bucket[
 		QCA_WLAN_VENDOR_ATTR_EXTSCAN_BUCKET_SPEC_NUM_CHANNEL_SPECS]);
-		hdd_info("before trimming: num channels %d",
+		hdd_debug("before trimming: num channels %d",
 			req_msg->buckets[bkt_index].numChannels);
 
 		req_msg->buckets[bkt_index].numChannels =
 			QDF_MIN(req_msg->buckets[bkt_index].numChannels,
 				(WLAN_EXTSCAN_MAX_CHANNELS - total_channels));
-		hdd_info("Num channels/bucket: %d total_channels: %d",
+		hdd_debug("Num channels/bucket: %d total_channels: %d",
 			req_msg->buckets[bkt_index].numChannels,
 			total_channels);
 		if (hdd_extscan_channel_max_reached(req_msg, total_channels))
@@ -3053,7 +3051,7 @@ static int hdd_extscan_start_fill_bucket_channel_spec(
 			req_msg->buckets[bkt_index].channels[j].channel =
 				nla_get_u32(channel[
 				QCA_WLAN_VENDOR_ATTR_EXTSCAN_CHANNEL_SPEC_CHANNEL]);
-			hdd_notice("channel %u",
+			hdd_debug("channel %u",
 				req_msg->buckets[bkt_index].channels[j].channel);
 
 			/* Parse and fetch dwell time */
@@ -3071,7 +3069,7 @@ static int hdd_extscan_start_fill_bucket_channel_spec(
 				hdd_ctx->config->extscan_active_min_chn_time ||
 				req_msg->buckets[bkt_index].channels[j].dwellTimeMs >
 				hdd_ctx->config->extscan_active_max_chn_time) {
-				hdd_notice("WiFi band is unspecified, dwellTime:%d",
+				hdd_debug("WiFi band is unspecified, dwellTime:%d",
 						req_msg->buckets[bkt_index].channels[j].dwellTimeMs);
 
 				if (CDS_IS_PASSIVE_OR_DISABLE_CH(
@@ -3085,7 +3083,7 @@ static int hdd_extscan_start_fill_bucket_channel_spec(
 				}
 			}
 
-			hdd_notice("New Dwell time %u ms",
+			hdd_debug("New Dwell time %u ms",
 				req_msg->buckets[bkt_index].channels[j].dwellTimeMs);
 
 			if (CDS_IS_PASSIVE_OR_DISABLE_CH(
@@ -3123,7 +3121,7 @@ static int hdd_extscan_start_fill_bucket_channel_spec(
 			req_msg->buckets[bkt_index].channels[j].passive =
 				nla_get_u8(channel[
 				QCA_WLAN_VENDOR_ATTR_EXTSCAN_CHANNEL_SPEC_PASSIVE]);
-			hdd_notice("Chnl spec passive %u",
+			hdd_debug("Chnl spec passive %u",
 				req_msg->buckets[bkt_index].channels[j].passive);
 			/* Override scan type if required */
 			if (CDS_IS_PASSIVE_OR_DISABLE_CH(
@@ -3144,7 +3142,7 @@ static int hdd_extscan_start_fill_bucket_channel_spec(
 					min_dwell_time_passive_bucket,
 					max_dwell_time_passive_bucket);
 
-		hdd_notice("bktIndex:%d actv_min:%d actv_max:%d pass_min:%d pass_max:%d",
+		hdd_debug("bktIndex:%d actv_min:%d actv_max:%d pass_min:%d pass_max:%d",
 				bkt_index,
 				req_msg->buckets[bkt_index].min_dwell_time_active,
 				req_msg->buckets[bkt_index].max_dwell_time_active,
@@ -3155,7 +3153,7 @@ static int hdd_extscan_start_fill_bucket_channel_spec(
 		req_msg->numBuckets++;
 	}
 
-	hdd_notice("Global: actv_min:%d actv_max:%d pass_min:%d pass_max:%d",
+	hdd_debug("Global: actv_min:%d actv_max:%d pass_min:%d pass_max:%d",
 				req_msg->min_dwell_time_active,
 				req_msg->max_dwell_time_active,
 				req_msg->min_dwell_time_passive,
@@ -3293,7 +3291,7 @@ __wlan_hdd_cfg80211_extscan_start(struct wiphy *wiphy,
 		goto fail;
 	}
 	pReqMsg->report_threshold_num_scans = nla_get_u8(tb[PARAM_RPT_THRHLD_NUM_SCANS]);
-	hdd_notice("Req Id: %d Session Id: %d Base Period: %d Max AP per Scan: %d Report Threshold percent: %d Report Threshold num scans: %d",
+	hdd_debug("Req Id: %d Session Id: %d Base Period: %d Max AP per Scan: %d Report Threshold percent: %d Report Threshold num scans: %d",
 		pReqMsg->requestId, pReqMsg->sessionId,
 		pReqMsg->basePeriod, pReqMsg->maxAPperScan,
 		pReqMsg->report_threshold_percent,
@@ -3310,7 +3308,7 @@ __wlan_hdd_cfg80211_extscan_start(struct wiphy *wiphy,
 				WLAN_EXTSCAN_MAX_BUCKETS);
 		num_buckets = WLAN_EXTSCAN_MAX_BUCKETS;
 	}
-	hdd_info("Input: Number of Buckets %d", num_buckets);
+	hdd_debug("Input: Number of Buckets %d", num_buckets);
 	pReqMsg->numBuckets = num_buckets;
 
 	/* This is optional attribute, if not present set it to 0 */
@@ -3324,7 +3322,7 @@ __wlan_hdd_cfg80211_extscan_start(struct wiphy *wiphy,
 	pReqMsg->extscan_adaptive_dwell_mode =
 		pHddCtx->config->extscan_adaptive_dwell_mode;
 
-	hdd_notice("Configuration flags: %u",
+	hdd_debug("Configuration flags: %u",
 				pReqMsg->configuration_flags);
 
 	if (!tb[QCA_WLAN_VENDOR_ATTR_EXTSCAN_BUCKET_SPEC]) {
@@ -3349,7 +3347,7 @@ __wlan_hdd_cfg80211_extscan_start(struct wiphy *wiphy,
 	}
 
 	pHddCtx->ext_scan_start_since_boot = qdf_get_monotonic_boottime();
-	hdd_notice("Timestamp since boot: %llu",
+	hdd_debug("Timestamp since boot: %llu",
 			pHddCtx->ext_scan_start_since_boot);
 
 	/* request was sent -- wait for the response */
@@ -3479,7 +3477,7 @@ __wlan_hdd_cfg80211_extscan_stop(struct wiphy *wiphy,
 
 	pReqMsg->requestId = nla_get_u32(tb[PARAM_REQUEST_ID]);
 	pReqMsg->sessionId = pAdapter->sessionId;
-	hdd_notice("Req Id %d Session Id %d",
+	hdd_debug("Req Id %d Session Id %d",
 		pReqMsg->requestId, pReqMsg->sessionId);
 
 	context = &ext_scan_context;
@@ -3611,7 +3609,7 @@ __wlan_hdd_cfg80211_extscan_reset_bssid_hotlist(struct wiphy *wiphy,
 		nla_get_u32(tb
 		 [QCA_WLAN_VENDOR_ATTR_EXTSCAN_SUBCMD_CONFIG_PARAM_REQUEST_ID]);
 	pReqMsg->sessionId = pAdapter->sessionId;
-	hdd_notice("Req Id %d Session Id %d",
+	hdd_debug("Req Id %d Session Id %d",
 		pReqMsg->requestId, pReqMsg->sessionId);
 
 	context = &ext_scan_context;
@@ -3739,7 +3737,7 @@ __wlan_hdd_cfg80211_extscan_reset_significant_change(struct wiphy
 		nla_get_u32(tb
 		 [QCA_WLAN_VENDOR_ATTR_EXTSCAN_SUBCMD_CONFIG_PARAM_REQUEST_ID]);
 	pReqMsg->sessionId = pAdapter->sessionId;
-	hdd_notice("Req Id %d Session Id %d",
+	hdd_debug("Req Id %d Session Id %d",
 		pReqMsg->requestId, pReqMsg->sessionId);
 
 	context = &ext_scan_context;
@@ -3862,11 +3860,11 @@ static int hdd_extscan_epno_fill_network_list(
 		ssid_len--;
 
 		req_msg->networks[index].ssid.length = ssid_len;
-		hdd_notice("network ssid length %d", ssid_len);
+		hdd_debug("network ssid length %d", ssid_len);
 		ssid = nla_data(network[QCA_WLAN_VENDOR_ATTR_PNO_SET_LIST_PARAM_EPNO_NETWORK_SSID]);
 		qdf_mem_copy(req_msg->networks[index].ssid.ssId,
 				ssid, ssid_len);
-		hdd_notice("Ssid (%.*s)",
+		hdd_debug("Ssid (%.*s)",
 			req_msg->networks[index].ssid.length,
 			req_msg->networks[index].ssid.ssId);
 
@@ -3877,7 +3875,7 @@ static int hdd_extscan_epno_fill_network_list(
 		}
 		req_msg->networks[index].flags = nla_get_u8(
 			network[QCA_WLAN_VENDOR_ATTR_PNO_SET_LIST_PARAM_EPNO_NETWORK_FLAGS]);
-		hdd_notice("flags %u", req_msg->networks[index].flags);
+		hdd_debug("flags %u", req_msg->networks[index].flags);
 
 		/* Parse and fetch auth bit */
 		if (!network[QCA_WLAN_VENDOR_ATTR_PNO_SET_LIST_PARAM_EPNO_NETWORK_AUTH_BIT]) {
@@ -3886,7 +3884,7 @@ static int hdd_extscan_epno_fill_network_list(
 		}
 		req_msg->networks[index].auth_bit_field = nla_get_u8(
 			network[QCA_WLAN_VENDOR_ATTR_PNO_SET_LIST_PARAM_EPNO_NETWORK_AUTH_BIT]);
-		hdd_notice("auth bit %u",
+		hdd_debug("auth bit %u",
 			req_msg->networks[index].auth_bit_field);
 
 		index++;
@@ -3958,12 +3956,12 @@ static int __wlan_hdd_cfg80211_set_epno_list(struct wiphy *wiphy,
 		tb[QCA_WLAN_VENDOR_ATTR_PNO_SET_LIST_PARAM_NUM_NETWORKS]);
 
 	if (num_networks > MAX_EPNO_NETWORKS) {
-		hdd_notice("num of nw: %d exceeded max: %d, resetting to: %d",
+		hdd_debug("num of nw: %d exceeded max: %d, resetting to: %d",
 			num_networks, MAX_EPNO_NETWORKS, MAX_EPNO_NETWORKS);
 		num_networks = MAX_EPNO_NETWORKS;
 	}
 
-	hdd_notice("num networks %u", num_networks);
+	hdd_debug("num networks %u", num_networks);
 	len = sizeof(*req_msg) +
 			(num_networks * sizeof(struct wifi_epno_network));
 
@@ -3981,10 +3979,10 @@ static int __wlan_hdd_cfg80211_set_epno_list(struct wiphy *wiphy,
 	}
 	req_msg->request_id = nla_get_u32(
 	    tb[QCA_WLAN_VENDOR_ATTR_EXTSCAN_SUBCMD_CONFIG_PARAM_REQUEST_ID]);
-	hdd_notice("Req Id %u", req_msg->request_id);
+	hdd_debug("Req Id %u", req_msg->request_id);
 
 	req_msg->session_id = adapter->sessionId;
-	hdd_notice("Session Id %d", req_msg->session_id);
+	hdd_debug("Session Id %d", req_msg->session_id);
 
 	if (num_networks) {
 
@@ -4045,13 +4043,13 @@ static int __wlan_hdd_cfg80211_set_epno_list(struct wiphy *wiphy,
 		req_msg->band_5ghz_bonus = nla_get_u32(
 			tb[QCA_WLAN_VENDOR_ATTR_EPNO_BAND5GHZ_BONUS]);
 
-		hdd_notice("min_5ghz_rssi: %d min_24ghz_rssi: %d",
+		hdd_debug("min_5ghz_rssi: %d min_24ghz_rssi: %d",
 			req_msg->min_5ghz_rssi,
 			req_msg->min_24ghz_rssi);
-		hdd_notice("initial_score_max: %d current_connection_bonus:%d",
+		hdd_debug("initial_score_max: %d current_connection_bonus:%d",
 			req_msg->initial_score_max,
 			req_msg->current_connection_bonus);
-		hdd_notice("Bonuses same_network: %d secure: %d band_5ghz: %d",
+		hdd_debug("Bonuses same_network: %d secure: %d band_5ghz: %d",
 			req_msg->same_network_bonus,
 			req_msg->secure_bonus,
 			req_msg->band_5ghz_bonus);
@@ -4150,7 +4148,7 @@ static int hdd_extscan_passpoint_fill_network_list(
 		}
 		req_msg->networks[index].id = nla_get_u32(
 			network[QCA_WLAN_VENDOR_ATTR_PNO_PASSPOINT_NETWORK_PARAM_ID]);
-		hdd_notice("Id %u", req_msg->networks[index].id);
+		hdd_debug("Id %u", req_msg->networks[index].id);
 
 		/* Parse and fetch realm */
 		if (!network[QCA_WLAN_VENDOR_ATTR_PNO_PASSPOINT_NETWORK_PARAM_REALM]) {
@@ -4166,8 +4164,8 @@ static int hdd_extscan_passpoint_fill_network_list(
 		qdf_mem_copy(req_msg->networks[index].realm,
 				nla_data(network[QCA_WLAN_VENDOR_ATTR_PNO_PASSPOINT_NETWORK_PARAM_REALM]),
 				len);
-		hdd_notice("realm len %d", len);
-		hdd_notice("realm: %s", req_msg->networks[index].realm);
+		hdd_debug("realm len %d", len);
+		hdd_debug("realm: %s", req_msg->networks[index].realm);
 
 		/* Parse and fetch roaming consortium ids */
 		if (!network[QCA_WLAN_VENDOR_ATTR_PNO_PASSPOINT_NETWORK_PARAM_ROAM_CNSRTM_ID]) {
@@ -4177,7 +4175,7 @@ static int hdd_extscan_passpoint_fill_network_list(
 		nla_memcpy(&req_msg->networks[index].roaming_consortium_ids,
 			network[QCA_WLAN_VENDOR_ATTR_PNO_PASSPOINT_NETWORK_PARAM_ROAM_CNSRTM_ID],
 			sizeof(req_msg->networks[0].roaming_consortium_ids));
-		hdd_notice("roaming consortium ids");
+		hdd_debug("roaming consortium ids");
 
 		/* Parse and fetch plmn */
 		if (!network[QCA_WLAN_VENDOR_ATTR_PNO_PASSPOINT_NETWORK_PARAM_ROAM_PLMN]) {
@@ -4187,7 +4185,7 @@ static int hdd_extscan_passpoint_fill_network_list(
 		nla_memcpy(&req_msg->networks[index].plmn,
 			network[QCA_WLAN_VENDOR_ATTR_PNO_PASSPOINT_NETWORK_PARAM_ROAM_PLMN],
 			SIR_PASSPOINT_PLMN_LEN);
-		hdd_notice("plmn %02x:%02x:%02x)",
+		hdd_debug("plmn %02x:%02x:%02x)",
 			req_msg->networks[index].plmn[0],
 			req_msg->networks[index].plmn[1],
 			req_msg->networks[index].plmn[2]);
@@ -4254,7 +4252,7 @@ static int __wlan_hdd_cfg80211_set_passpoint_list(struct wiphy *wiphy,
 		return -EINVAL;
 	}
 
-	hdd_notice("num networks %u", num_networks);
+	hdd_debug("num networks %u", num_networks);
 
 	req_msg = qdf_mem_malloc(sizeof(*req_msg) +
 			(num_networks * sizeof(req_msg->networks[0])));
@@ -4273,7 +4271,7 @@ static int __wlan_hdd_cfg80211_set_passpoint_list(struct wiphy *wiphy,
 	    tb[QCA_WLAN_VENDOR_ATTR_EXTSCAN_SUBCMD_CONFIG_PARAM_REQUEST_ID]);
 
 	req_msg->session_id = adapter->sessionId;
-	hdd_notice("Req Id %u Session Id %d", req_msg->request_id,
+	hdd_debug("Req Id %u Session Id %d", req_msg->request_id,
 			req_msg->session_id);
 
 	if (hdd_extscan_passpoint_fill_network_list(hdd_ctx, req_msg, tb))
@@ -4377,7 +4375,7 @@ static int __wlan_hdd_cfg80211_reset_passpoint_list(struct wiphy *wiphy,
 	    tb[QCA_WLAN_VENDOR_ATTR_EXTSCAN_SUBCMD_CONFIG_PARAM_REQUEST_ID]);
 
 	req_msg->session_id = adapter->sessionId;
-	hdd_notice("Req Id %u Session Id %d",
+	hdd_debug("Req Id %u Session Id %d",
 			req_msg->request_id, req_msg->session_id);
 
 	status = sme_reset_passpoint_list(hdd_ctx->hHal, req_msg);