Browse Source

qcacld-3.0: Remove excessive logging

Lot of info logs are periodic and cause log spam.
Add changes to remove excessive logging.

Change-Id: I1ae4f366f359fd90856743b4c2689ad9aad3417b
CRs-Fixed: 1093093
Srinivas Girigowda 8 years ago
parent
commit
86ecc0168d

+ 3 - 0
core/hdd/src/wlan_hdd_green_ap.c

@@ -148,6 +148,9 @@ static void hdd_green_ap_mc(struct hdd_context_s *hdd_ctx,
 	if (green_ap == NULL)
 		return;
 
+	if ((hdd_ctx->concurrency_mode << QDF_SAP_MODE) != QDF_SAP_MODE)
+		return;
+
 	hdd_debug("Green-AP event: %d, state: %d, num_nodes: %d",
 		   event, green_ap->ps_state, green_ap->num_nodes);
 

+ 1 - 1
core/hdd/src/wlan_hdd_ioctl.c

@@ -7114,7 +7114,7 @@ static int __hdd_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
 			ret = hdd_driver_ioctl(adapter, ifr);
 		break;
 	default:
-		hdd_err("unknown ioctl %d", cmd);
+		hdd_warn("unknown ioctl %d", cmd);
 		ret = -EINVAL;
 		break;
 	}

+ 1 - 1
core/hdd/src/wlan_hdd_lpass.c

@@ -174,7 +174,7 @@ static void wlan_hdd_send_status_pkg(struct hdd_adapter_s *adapter,
 		return;
 
 	memset(&data, 0, sizeof(struct wlan_status_data));
-	if (is_on)
+	if (is_on && (adapter->sessionId != HDD_SESSION_ID_INVALID))
 		ret = wlan_hdd_gen_wlan_status_pack(&data, adapter, sta_ctx,
 						    is_on, is_connected);
 

+ 7 - 11
core/hdd/src/wlan_hdd_power.c

@@ -2144,12 +2144,10 @@ int wlan_hdd_cfg80211_set_txpower(struct wiphy *wiphy,
  */
 static int __wlan_hdd_cfg80211_get_txpower(struct wiphy *wiphy,
 				  struct wireless_dev *wdev,
-				  int *dbm)
+				  int *dbm, hdd_adapter_t *adapter)
 {
 
 	hdd_context_t *pHddCtx = (hdd_context_t *) wiphy_priv(wiphy);
-	struct net_device *ndev = wdev->netdev;
-	hdd_adapter_t *adapter = WLAN_HDD_GET_PRIV_PTR(ndev);
 	int status;
 
 	ENTER();
@@ -2159,11 +2157,6 @@ static int __wlan_hdd_cfg80211_get_txpower(struct wiphy *wiphy,
 		return -EINVAL;
 	}
 
-	if (wlan_hdd_validate_session_id(adapter->sessionId)) {
-		hdd_err("invalid session id: %d", adapter->sessionId);
-		return -EINVAL;
-	}
-
 	status = wlan_hdd_validate_context(pHddCtx);
 	if (0 != status) {
 		*dbm = 0;
@@ -2212,12 +2205,15 @@ int wlan_hdd_cfg80211_get_txpower(struct wiphy *wiphy,
 					 struct wireless_dev *wdev,
 					 int *dbm)
 {
-	int ret;
+	int ret = -ENOTSUPP;
+	struct net_device *ndev = wdev->netdev;
+	hdd_adapter_t *adapter = WLAN_HDD_GET_PRIV_PTR(ndev);
 
 	cds_ssr_protect(__func__);
-	ret = __wlan_hdd_cfg80211_get_txpower(wiphy,
+	if (adapter->sessionId != HDD_SESSION_ID_INVALID)
+		ret = __wlan_hdd_cfg80211_get_txpower(wiphy,
 						wdev,
-						dbm);
+						dbm, adapter);
 	cds_ssr_unprotect(__func__);
 
 	return ret;

File diff suppressed because it is too large
+ 122 - 124
core/mac/src/pe/lim/lim_assoc_utils.c


+ 39 - 40
core/mac/src/pe/lim/lim_process_mlm_req_messages.c

@@ -192,7 +192,7 @@ lim_change_channel_with_callback(tpAniSirGlobal mac_ctx, uint8_t new_chan,
 				 uint32_t *cbdata, tpPESession session_entry)
 {
 	/* Sanity checks for the current and new channel */
-	lim_log(mac_ctx, LOG1, FL("Switching channel to %d"), new_chan);
+	lim_log(mac_ctx, LOGD, FL("Switching channel to %d"), new_chan);
 	session_entry->channelChangeReasonCode =
 		LIM_SWITCH_CHANNEL_OPERATION;
 
@@ -245,7 +245,7 @@ void lim_covert_channel_scan_type(tpAniSirGlobal mac_ctx, uint8_t chan_num,
 			continue;
 		if ((eSIR_PASSIVE_SCAN == chan_pair[i + 1]) &&
 		     true == passive_to_active) {
-			lim_log(mac_ctx, LOG1, FL
+			lim_log(mac_ctx, LOGD, FL
 				("Channel %d changed from Passive to Active"),
 				chan_num);
 			chan_pair[i + 1] = eSIR_ACTIVE_SCAN;
@@ -253,7 +253,7 @@ void lim_covert_channel_scan_type(tpAniSirGlobal mac_ctx, uint8_t chan_num,
 		}
 		if ((eSIR_ACTIVE_SCAN == chan_pair[i + 1]) &&
 		     false == passive_to_active) {
-			lim_log(mac_ctx, LOG1, FL
+			lim_log(mac_ctx, LOGD, FL
 				("Channel %d changed from Active to Passive"),
 				chan_num);
 			chan_pair[i + 1] = eSIR_PASSIVE_SCAN;
@@ -298,7 +298,7 @@ void lim_set_dfs_channel_list(tpAniSirGlobal mac_ctx, uint8_t chan_num,
 			 * Received first beacon;
 			 * Convert DFS channel to Active channel.
 			 */
-			lim_log(mac_ctx, LOG1,
+			lim_log(mac_ctx, LOGD,
 				FL("Received first beacon on DFS channel: %d"),
 				chan_num);
 			lim_covert_channel_scan_type(mac_ctx, chan_num,
@@ -336,7 +336,7 @@ void lim_restore_pre_scan_state(tpAniSirGlobal mac_ctx)
 	lim_deactivate_and_change_timer(mac_ctx, eLIM_MAX_CHANNEL_TIMER);
 
 	mac_ctx->lim.gLimSystemInScanLearnMode = 0;
-	lim_log(mac_ctx, LOG1, FL("Scan ended, took %llu tu"),
+	lim_log(mac_ctx, LOGD, FL("Scan ended, took %llu tu"),
 		(tx_time_get() - mac_ctx->lim.scanStartTime));
 }
 
@@ -613,7 +613,7 @@ lim_mlm_add_bss(tpAniSirGlobal mac_ctx,
 		addbss_param->rx_aggregation_size =
 			mac_ctx->roam.configParam.rx_aggregation_size;
 	}
-	lim_log(mac_ctx, LOG2, FL("dot11_mode:%d nss value:%d"),
+	lim_log(mac_ctx, LOGD, FL("dot11_mode:%d nss value:%d"),
 			addbss_param->dot11_mode, addbss_param->nss);
 
 	if (cds_is_5_mhz_enabled()) {
@@ -734,7 +734,7 @@ static void lim_post_join_set_link_state_callback(tpAniSirGlobal mac,
 	tpPESession session_entry = (tpPESession) callback_arg;
 	tLimMlmJoinCnf mlm_join_cnf;
 
-	lim_log(mac, LOG1, FL("Sessionid %d set link state(%d) cb status:%d"),
+	lim_log(mac, LOGD, FL("Sessionid %d set link state(%d) cb status:%d"),
 			session_entry->peSessionId, session_entry->limMlmState,
 			status);
 
@@ -754,7 +754,7 @@ static void lim_post_join_set_link_state_callback(tpAniSirGlobal mac,
 	session_entry->channelChangeReasonCode =
 			 LIM_SWITCH_CHANNEL_JOIN;
 	session_entry->pLimMlmReassocRetryReq = NULL;
-	lim_log(mac, LOGE,
+	lim_log(mac, LOGD,
 		FL("[lim_process_mlm_join_req]: suspend link success(%d) "
 		"on sessionid: %d setting channel to: %d with ch_width :%d "
 		"and maxtxPower: %d"), status, session_entry->peSessionId,
@@ -817,7 +817,7 @@ lim_process_mlm_post_join_suspend_link(tpAniSirGlobal mac_ctx,
 		session->peSessionId;
 
 	lnk_state = eSIR_LINK_PREASSOC_STATE;
-	lim_log(mac_ctx, LOG1, FL("[lim_process_mlm_join_req]: lnk_state:%d"),
+	lim_log(mac_ctx, LOGD, FL("[lim_process_mlm_join_req]: lnk_state:%d"),
 		lnk_state);
 
 	if (lim_set_link_state(mac_ctx, lnk_state,
@@ -898,11 +898,11 @@ static void lim_process_mlm_join_req(tpAniSirGlobal mac_ctx, uint32_t *msg)
 
 		session->pLimMlmJoinReq = (tpLimMlmJoinReq) msg;
 		if (is_lim_session_off_channel(mac_ctx, sessionid)) {
-			lim_log(mac_ctx, LOG1,
+			lim_log(mac_ctx, LOGD,
 				"SessionId:%d LimSession is on OffChannel",
 				sessionid);
 			/* suspend link */
-			lim_log(mac_ctx, LOG1,
+			lim_log(mac_ctx, LOGD,
 				FL("Suspend link, sessionid %d is off channel"),
 				sessionid);
 			if (lim_is_link_suspended(mac_ctx)) {
@@ -914,14 +914,14 @@ static void lim_process_mlm_join_req(tpAniSirGlobal mac_ctx, uint32_t *msg)
 			lim_process_mlm_post_join_suspend_link(mac_ctx,
 				QDF_STATUS_SUCCESS, (uint32_t *)session);
 		} else {
-			lim_log(mac_ctx, LOG1, FL("No need to Suspend link"));
+			lim_log(mac_ctx, LOGD, FL("No need to Suspend link"));
 			 /*
 			  * No need to Suspend link as LimSession is not
 			  * off channel, calling
 			  * lim_process_mlm_post_join_suspend_link with
 			  * status as SUCCESS.
 			  */
-			lim_log(mac_ctx, LOG1,
+			lim_log(mac_ctx, LOGD,
 				FL("SessionId:%d Join req on current chan"),
 				sessionid);
 			lim_process_mlm_post_join_suspend_link(mac_ctx,
@@ -1068,7 +1068,7 @@ static void lim_process_mlm_auth_req(tpAniSirGlobal mac_ctx, uint32_t *msg)
 		return;
 	}
 
-	lim_log(mac_ctx, LOG1, FL("Process Auth Req sessionID %d Systemrole %d"
+	lim_log(mac_ctx, LOGD, FL("Process Auth Req sessionID %d Systemrole %d"
 			       "mlmstate %d from: " MAC_ADDRESS_STR
 			       " with authtype %d"), session_id,
 		GET_LIM_SYSTEM_ROLE(session), session->limMlmState,
@@ -1094,7 +1094,7 @@ static void lim_process_mlm_auth_req(tpAniSirGlobal mac_ctx, uint32_t *msg)
 	 * requested auth type is same as the one used before.
 	 */
 	if (lim_is_preauth_ctx_exists(mac_ctx, session, &preauth_node)) {
-		lim_log(mac_ctx, LOG2,
+		lim_log(mac_ctx, LOGD,
 		    FL("Already have pre-auth context with peer: "
 		    MAC_ADDRESS_STR),
 		    MAC_ADDR_ARRAY(mac_ctx->lim.gpLimMlmAuthReq->peerMacAddr));
@@ -1180,7 +1180,7 @@ end:
 
 	qdf_mem_free(mac_ctx->lim.gpLimMlmAuthReq);
 	mac_ctx->lim.gpLimMlmAuthReq = NULL;
-	lim_log(mac_ctx, LOG1, "SessionId:%d LimPostSme LIM_MLM_AUTH_CNF ",
+	lim_log(mac_ctx, LOGD, "SessionId:%d LimPostSme LIM_MLM_AUTH_CNF ",
 		session_id);
 	lim_post_sme_message(mac_ctx, LIM_MLM_AUTH_CNF,
 			     (uint32_t *) &mlm_auth_cnf);
@@ -1266,7 +1266,7 @@ static void lim_process_mlm_assoc_req(tpAniSirGlobal mac_ctx, uint32_t *msg_buf)
 	MTRACE(mac_trace(mac_ctx, TRACE_CODE_MLM_STATE,
 			 session_entry->peSessionId,
 			 session_entry->limMlmState));
-	lim_log(mac_ctx, LOG1, FL("SessionId:%d Sending Assoc_Req Frame"),
+	lim_log(mac_ctx, LOGD, FL("SessionId:%d Sending Assoc_Req Frame"),
 		session_entry->peSessionId);
 
 	/* Prepare and send Association request frame */
@@ -1335,7 +1335,7 @@ lim_process_mlm_disassoc_req_ntf(tpAniSirGlobal mac_ctx,
 		goto end;
 	}
 
-	lim_log(mac_ctx, LOG1,
+	lim_log(mac_ctx, LOGD,
 		FL("Process DisAssoc Req on sessionID %d Systemrole %d"
 		   "mlmstate %d from: " MAC_ADDRESS_STR),
 		mlm_disassocreq->sessionId, GET_LIM_SYSTEM_ROLE(session),
@@ -1365,7 +1365,7 @@ lim_process_mlm_disassoc_req_ntf(tpAniSirGlobal mac_ctx,
 				return;
 			}
 
-			lim_log(mac_ctx, LOG1,
+			lim_log(mac_ctx, LOGD,
 				FL("send disassoc rsp with ret code %d for" MAC_ADDRESS_STR),
 				eSIR_SME_DEAUTH_STATUS,
 				MAC_ADDR_ARRAY(
@@ -1526,12 +1526,11 @@ bool lim_check_disassoc_deauth_ack_pending(tpAniSirGlobal mac_ctx,
 	    (deauth_req && (!qdf_mem_cmp((uint8_t *) sta_mac,
 			      (uint8_t *) &deauth_req->peer_macaddr.bytes,
 			       QDF_MAC_ADDR_SIZE)))) {
-		PELOG1(lim_log(mac_ctx, LOG1,
-			       FL("Disassoc/Deauth ack pending"));)
+		lim_log(mac_ctx, LOGD, FL("Disassoc/Deauth ack pending"));
 		return true;
 	} else {
-		PELOG1(lim_log(mac_ctx, LOG1,
-			       FL("Disassoc/Deauth Ack not pending"));)
+		lim_log(mac_ctx, LOGD,
+			FL("Disassoc/Deauth Ack not pending"));
 		return false;
 	}
 }
@@ -1603,7 +1602,7 @@ void lim_clean_up_disassoc_deauth_req(tpAniSirGlobal mac_ctx,
  */
 void lim_process_disassoc_ack_timeout(tpAniSirGlobal mac_ctx)
 {
-	lim_log(mac_ctx, LOG1, FL(""));
+	lim_log(mac_ctx, LOGD, FL(""));
 	lim_send_disassoc_cnf(mac_ctx);
 }
 
@@ -1630,7 +1629,7 @@ lim_process_mlm_disassoc_req(tpAniSirGlobal mac_ctx, uint32_t *msg_buf)
 	}
 
 	mlm_disassoc_req = (tLimMlmDisassocReq *) msg_buf;
-	lim_log(mac_ctx, LOG1,
+	lim_log(mac_ctx, LOGD,
 		FL("Process disassoc req, sessionID %d from: "MAC_ADDRESS_STR),
 		mlm_disassoc_req->sessionId,
 		MAC_ADDR_ARRAY(mlm_disassoc_req->peer_macaddr.bytes));
@@ -1678,7 +1677,7 @@ lim_process_mlm_deauth_req_ntf(tpAniSirGlobal mac_ctx,
 		qdf_mem_free(mlm_deauth_req);
 		return;
 	}
-	lim_log(mac_ctx, LOG1, FL("Process Deauth Req on sessionID %d Systemrole %d"
+	lim_log(mac_ctx, LOGD, FL("Process Deauth Req on sessionID %d Systemrole %d"
 			       "mlmstate %d from: " MAC_ADDRESS_STR),
 		mlm_deauth_req->sessionId,
 		GET_LIM_SYSTEM_ROLE(session),
@@ -1720,7 +1719,7 @@ lim_process_mlm_deauth_req_ntf(tpAniSirGlobal mac_ctx,
 					return;
 				}
 
-				lim_log(mac_ctx, LOG1,
+				lim_log(mac_ctx, LOGD,
 					FL("send deauth rsp with ret code %d for" MAC_ADDRESS_STR),
 					eSIR_SME_DEAUTH_STATUS,
 					MAC_ADDR_ARRAY(
@@ -1898,7 +1897,7 @@ end:
  */
 void lim_process_deauth_ack_timeout(tpAniSirGlobal mac_ctx)
 {
-	lim_log(mac_ctx, LOG1, FL(""));
+	lim_log(mac_ctx, LOGD, FL(""));
 	lim_send_deauth_cnf(mac_ctx);
 }
 
@@ -1925,7 +1924,7 @@ lim_process_mlm_deauth_req(tpAniSirGlobal mac_ctx, uint32_t *msg_buf)
 	}
 
 	mlm_deauth_req = (tLimMlmDeauthReq *) msg_buf;
-	lim_log(mac_ctx, LOG1,
+	lim_log(mac_ctx, LOGD,
 		FL("Process Deauth Req on sessionID %d from: "
 		   MAC_ADDRESS_STR),
 		mlm_deauth_req->sessionId,
@@ -2033,7 +2032,7 @@ lim_process_mlm_set_keys_req(tpAniSirGlobal mac_ctx, uint32_t *msg_buf)
 	 * mlm_set_keys_req->key.unicast - 1 -> Unicast keys are being set
 	 */
 	if (qdf_is_macaddr_broadcast(&mlm_set_keys_req->peer_macaddr)) {
-		lim_log(mac_ctx, LOG1, FL("Trying to set Group Keys...%d "),
+		lim_log(mac_ctx, LOGD, FL("Trying to set Group Keys...%d "),
 			mlm_set_keys_req->sessionId);
 		/*
 		 * When trying to set Group Keys for any security mode other
@@ -2050,7 +2049,7 @@ lim_process_mlm_set_keys_req(tpAniSirGlobal mac_ctx, uint32_t *msg_buf)
 			break;
 		}
 	} else {
-		lim_log(mac_ctx, LOG1, FL("Trying to set Unicast Keys..."));
+		lim_log(mac_ctx, LOGD, FL("Trying to set Unicast Keys..."));
 		/*
 		 * Check if there exists a context for the
 		 * peer entity for which keys need to be set.
@@ -2066,7 +2065,7 @@ lim_process_mlm_set_keys_req(tpAniSirGlobal mac_ctx, uint32_t *msg_buf)
 			 * Received LIM_MLM_SETKEYS_REQ for STA that does not
 			 * have context or in some transit state.
 			 */
-			lim_log(mac_ctx, LOG1,
+			lim_log(mac_ctx, LOGD,
 				FL("Invalid MLM_SETKEYS_REQ, Addr = "
 				   MAC_ADDRESS_STR),
 				MAC_ADDR_ARRAY(mlm_set_keys_req->
@@ -2101,7 +2100,7 @@ lim_process_mlm_set_keys_req(tpAniSirGlobal mac_ctx, uint32_t *msg_buf)
 	} else {
 		default_key_id = 0;
 	}
-	lim_log(mac_ctx, LOG1,
+	lim_log(mac_ctx, LOGD,
 		FL("Trying to set keys for STA Index [%d], using default_key_id [%d]"),
 		sta_idx, default_key_id);
 
@@ -2110,7 +2109,7 @@ lim_process_mlm_set_keys_req(tpAniSirGlobal mac_ctx, uint32_t *msg_buf)
 		session->limMlmState = eLIM_MLM_WT_SET_BSS_KEY_STATE;
 		MTRACE(mac_trace(mac_ctx, TRACE_CODE_MLM_STATE,
 				 session->peSessionId, session->limMlmState));
-		lim_log(mac_ctx, LOG1, FL("Trying to set Group Keys...%d "),
+		lim_log(mac_ctx, LOGD, FL("Trying to set Group Keys...%d "),
 			session->peSessionId);
 		/* Package WMA_SET_BSSKEY_REQ message parameters */
 		lim_send_set_bss_key_req(mac_ctx, mlm_set_keys_req, session);
@@ -2151,14 +2150,14 @@ static void lim_process_periodic_probe_req_timer(tpAniSirGlobal mac_ctx)
 
 	if (qdf_mc_timer_get_current_state(&probe_req_timer->qdf_timer)
 					   != QDF_TIMER_STATE_STOPPED) {
-		lim_log(mac_ctx, LOG1, FL("Invalid state of timer"));
+		lim_log(mac_ctx, LOGD, FL("Invalid state of timer"));
 		return;
 	}
 
 	if (!((mac_ctx->lim.gLimMlmState == eLIM_MLM_WT_PROBE_RESP_STATE)
 	    && (probe_req_timer->sessionId != 0xff)
 	    && (mac_ctx->lim.probeCounter < mac_ctx->lim.maxProbe))) {
-		lim_log(mac_ctx, LOG1,
+		lim_log(mac_ctx, LOGD,
 			FL("received unexpected Periodic scan timeout in state %X"),
 			mac_ctx->lim.gLimMlmState);
 		return;
@@ -2328,7 +2327,7 @@ static void lim_process_auth_retry_timer(tpAniSirGlobal mac_ctx)
 {
 	tpPESession  session_entry;
 
-	lim_log(mac_ctx, LOG1, FL("ENTER"));
+	lim_log(mac_ctx, LOGD, FL("ENTER"));
 
 	session_entry =
 	  pe_find_session_by_session_id(mac_ctx,
@@ -2497,7 +2496,7 @@ lim_process_auth_rsp_timeout(tpAniSirGlobal mac_ctx, uint32_t auth_idx)
 		} else {
 			auth_node->mlmState = eLIM_MLM_AUTH_RSP_TIMEOUT_STATE;
 			auth_node->fTimerStarted = 0;
-			lim_log(mac_ctx, LOG1,
+			lim_log(mac_ctx, LOGD,
 				FL("AUTH rsp timedout for MAC address "
 				   MAC_ADDRESS_STR),
 				MAC_ADDR_ARRAY(auth_node->peerMacAddr));
@@ -2560,7 +2559,7 @@ lim_process_assoc_failure_timeout(tpAniSirGlobal mac_ctx, uint32_t msg_type)
 	WLAN_HOST_DIAG_LOG_REPORT(rssi_log);
 #endif
 
-	lim_log(mac_ctx, LOG1,
+	lim_log(mac_ctx, LOGD,
 		FL("Re/Association Response not received before timeout "));
 
 	/*
@@ -2611,7 +2610,7 @@ lim_process_assoc_failure_timeout(tpAniSirGlobal mac_ctx, uint32_t msg_type)
 		}
 		/* To remove the preauth node in case of fail to associate */
 		if (lim_search_pre_auth_list(mac_ctx, session->bssId)) {
-			lim_log(mac_ctx, LOG1,
+			lim_log(mac_ctx, LOGD,
 				FL(" delete pre auth node for "MAC_ADDRESS_STR),
 				MAC_ADDR_ARRAY(session->bssId));
 			lim_delete_pre_auth_node(mac_ctx,

+ 4 - 4
core/mac/src/pe/lim/lim_prop_exts_utils.c

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011-2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2011-2017 The Linux Foundation. All rights reserved.
  *
  * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
  *
@@ -153,7 +153,7 @@ lim_extract_ap_capability(tpAniSirGlobal mac_ctx, uint8_t *p_ie,
 	else
 		mac_ctx->lim.htCapabilityPresentInBeacon = 0;
 
-	lim_log(mac_ctx, LOG1, FL(
+	lim_log(mac_ctx, LOGD, FL(
 		"Bcon: VHTCap.present %d SU Beamformer %d BSS_VHT_CAPABLE %d"),
 		beacon_struct->VHTCaps.present,
 		beacon_struct->VHTCaps.suBeamFormerCap,
@@ -270,7 +270,7 @@ lim_extract_ap_capability(tpAniSirGlobal mac_ctx, uint8_t *p_ie,
 				session->ch_center_freq_seg1 = 0;
 		}
 		session->ch_width = vht_ch_wd + 1;
-		lim_log(mac_ctx, LOGE, FL(
+		lim_log(mac_ctx, LOGD, FL(
 				"cntr_freq0 %d, cntr_freq1 %d, width %d"),
 				session->ch_center_freq_seg0,
 				session->ch_center_freq_seg1,
@@ -322,7 +322,7 @@ lim_extract_ap_capability(tpAniSirGlobal mac_ctx, uint8_t *p_ie,
 		session->is_ext_caps_present = true;
 	/* Update HS 2.0 Information Element */
 	if (beacon_struct->hs20vendor_ie.present) {
-		lim_log(mac_ctx, LOG1,
+		lim_log(mac_ctx, LOGD,
 			FL("HS20 Indication Element Present, rel#:%u, id:%u\n"),
 			beacon_struct->hs20vendor_ie.release_num,
 			beacon_struct->hs20vendor_ie.hs_id_present);

File diff suppressed because it is too large
+ 122 - 122
core/sme/src/csr/csr_api_roam.c


+ 13 - 13
core/wma/src/wma_main.c

@@ -2621,7 +2621,7 @@ QDF_STATUS wma_pre_start(void *cds_ctx)
 		goto end;
 	}
 
-	WMA_LOGA("WMA --> wmi_unified_connect_htc_service - success");
+	WMA_LOGD("WMA --> wmi_unified_connect_htc_service - success");
 
 	/* Trigger the CFG DOWNLOAD */
 	wma_msg.type = WNI_CFG_DNLD_REQ;
@@ -4468,17 +4468,17 @@ static void wma_dump_dbs_hw_mode(tp_wma_handle wma_handle)
 
 	for (i = 0; i < wma_handle->num_dbs_hw_modes; i++) {
 		param = wma_handle->hw_mode.hw_mode_list[i];
-		WMA_LOGA("%s:[%d]-MAC0: tx_ss:%d rx_ss:%d bw_idx:%d",
+		WMA_LOGD("%s:[%d]-MAC0: tx_ss:%d rx_ss:%d bw_idx:%d",
 			__func__, i,
 			WMA_HW_MODE_MAC0_TX_STREAMS_GET(param),
 			WMA_HW_MODE_MAC0_RX_STREAMS_GET(param),
 			WMA_HW_MODE_MAC0_BANDWIDTH_GET(param));
-		WMA_LOGA("%s:[%d]-MAC1: tx_ss:%d rx_ss:%d bw_idx:%d",
+		WMA_LOGD("%s:[%d]-MAC1: tx_ss:%d rx_ss:%d bw_idx:%d",
 			__func__, i,
 			WMA_HW_MODE_MAC1_TX_STREAMS_GET(param),
 			WMA_HW_MODE_MAC1_RX_STREAMS_GET(param),
 			WMA_HW_MODE_MAC1_BANDWIDTH_GET(param));
-		WMA_LOGA("%s:[%d] DBS:%d SBS:%d", __func__, i,
+		WMA_LOGD("%s:[%d] DBS:%d SBS:%d", __func__, i,
 			WMA_HW_MODE_DBS_MODE_GET(param),
 			WMA_HW_MODE_SBS_MODE_GET(param));
 	}
@@ -4563,7 +4563,7 @@ int wma_rx_service_ready_event(void *handle, uint8_t *cmd_param_info,
 		return -EINVAL;
 	}
 
-	WMA_LOGA("WMA <-- WMI_SERVICE_READY_EVENTID");
+	WMA_LOGD("WMA <-- WMI_SERVICE_READY_EVENTID");
 
 	wma_handle->num_dbs_hw_modes = ev->num_dbs_hw_modes;
 	ev_wlan_dbs_hw_mode_list = param_buf->wlan_dbs_hw_mode_list;
@@ -5478,9 +5478,9 @@ int wma_rx_service_ready_ext_event(void *handle, uint8_t *event,
 		return -EINVAL;
 	}
 
-	WMA_LOGA("WMA <-- WMI_SERVICE_READY_EXT_EVENTID");
+	WMA_LOGD("WMA <-- WMI_SERVICE_READY_EXT_EVENTID");
 
-	WMA_LOGA("%s: Defaults: scan config:%x FW mode config:%x",
+	WMA_LOGD("%s: Defaults: scan config:%x FW mode config:%x",
 			__func__, ev->default_conc_scan_config_bits,
 			ev->default_fw_config_bits);
 
@@ -5497,7 +5497,7 @@ int wma_rx_service_ready_ext_event(void *handle, uint8_t *event,
 		return -EINVAL;
 	}
 
-	WMA_LOGA("WMA --> WMI_INIT_CMDID");
+	WMA_LOGD("WMA --> WMI_INIT_CMDID");
 	status = wmi_unified_send_saved_init_cmd(wma_handle->wmi_handle);
 	if (status != EOK)
 		/* In success case, WMI layer will free after getting copy
@@ -5537,7 +5537,7 @@ int wma_rx_ready_event(void *handle, uint8_t *cmd_param_info,
 		return -EINVAL;
 	}
 
-	WMA_LOGA("WMA <-- WMI_READY_EVENTID");
+	WMA_LOGD("WMA <-- WMI_READY_EVENTID");
 
 	ev = param_buf->fixed_param;
 	/* Indicate to the waiting thread that the ready
@@ -5969,12 +5969,12 @@ static void wma_set_wifi_start_packet_stats(void *wma_handle,
 		pktlog_enable(scn, log_state, start_log->ini_triggered,
 			      start_log->user_triggered,
 			      start_log->is_iwpriv_command);
-		WMA_LOGI("%s: Enabling per packet stats", __func__);
+		WMA_LOGD("%s: Enabling per packet stats", __func__);
 	} else {
 		pktlog_enable(scn, 0, start_log->ini_triggered,
 				start_log->user_triggered,
 				start_log->is_iwpriv_command);
-		WMA_LOGI("%s: Disabling per packet stats", __func__);
+		WMA_LOGD("%s: Disabling per packet stats", __func__);
 	}
 }
 #endif
@@ -6361,12 +6361,12 @@ QDF_STATUS wma_mc_process_msg(void *cds_context, struct scheduler_msg *msg)
 
 #ifdef FEATURE_WLAN_ESE
 	case WMA_TSM_STATS_REQ:
-		WMA_LOGA("McThread: WMA_TSM_STATS_REQ");
+		WMA_LOGD("McThread: WMA_TSM_STATS_REQ");
 		wma_process_tsm_stats_req(wma_handle, (void *)msg->bodyptr);
 		break;
 #endif /* FEATURE_WLAN_ESE */
 	case WNI_CFG_DNLD_REQ:
-		WMA_LOGA("McThread: WNI_CFG_DNLD_REQ");
+		WMA_LOGD("McThread: WNI_CFG_DNLD_REQ");
 		qdf_status = wma_wni_cfg_dnld(wma_handle);
 		if (QDF_IS_STATUS_SUCCESS(qdf_status)) {
 			cds_wma_complete_cback(cds_context);

+ 0 - 4
core/wma/src/wma_utils.c

@@ -1780,9 +1780,6 @@ int wma_stats_event_handler(void *handle, uint8_t *cmd_param_info,
 	event = param_buf->fixed_param;
 	temp = (uint8_t *) param_buf->data;
 
-	WMA_LOGD("%s: num_stats: pdev: %u vdev: %u peer %u",
-		 __func__, event->num_pdev_stats, event->num_vdev_stats,
-		 event->num_peer_stats);
 	if (event->num_pdev_stats > 0) {
 		for (i = 0; i < event->num_pdev_stats; i++) {
 			pdev_stats = (wmi_pdev_stats *) temp;
@@ -1834,7 +1831,6 @@ int wma_stats_event_handler(void *handle, uint8_t *cmd_param_info,
 	for (i = 0; i < wma->max_bssid; i++) {
 		node = &wma->interfaces[i];
 		if (node->fw_stats_set & FW_PEER_STATS_SET) {
-			WMA_LOGD("<--STATS RSP VDEV_ID:%d", i);
 			wma_post_stats(wma, node);
 		}
 	}

Some files were not shown because too many files changed in this diff