Browse Source

Merge "qcacmn: Reduce log spam from policy manager"

Linux Build Service Account 7 years ago
parent
commit
e18cb77f4e

+ 13 - 13
umac/cmn_services/policy_mgr/src/wlan_policy_mgr_action.c

@@ -59,11 +59,11 @@ void policy_mgr_hw_mode_transition_cb(uint32_t old_hw_mode_index,
 		return;
 	}
 
-	policy_mgr_notice("old_hw_mode_index=%d, new_hw_mode_index=%d",
+	policy_mgr_debug("old_hw_mode_index=%d, new_hw_mode_index=%d",
 		old_hw_mode_index, new_hw_mode_index);
 
 	for (i = 0; i < num_vdev_mac_entries; i++)
-		policy_mgr_notice("vdev_id:%d mac_id:%d",
+		policy_mgr_debug("vdev_id:%d mac_id:%d",
 			vdev_mac_map[i].vdev_id,
 			vdev_mac_map[i].mac_id);
 
@@ -74,11 +74,11 @@ void policy_mgr_hw_mode_transition_cb(uint32_t old_hw_mode_index,
 		return;
 	}
 
-	policy_mgr_notice("MAC0: TxSS:%d, RxSS:%d, Bw:%d",
+	policy_mgr_debug("MAC0: TxSS:%d, RxSS:%d, Bw:%d",
 		hw_mode.mac0_tx_ss, hw_mode.mac0_rx_ss, hw_mode.mac0_bw);
-	policy_mgr_notice("MAC1: TxSS:%d, RxSS:%d, Bw:%d",
+	policy_mgr_debug("MAC1: TxSS:%d, RxSS:%d, Bw:%d",
 		hw_mode.mac1_tx_ss, hw_mode.mac1_rx_ss, hw_mode.mac1_bw);
-	policy_mgr_notice("DBS:%d, Agile DFS:%d, SBS:%d",
+	policy_mgr_debug("DBS:%d, Agile DFS:%d, SBS:%d",
 		hw_mode.dbs_cap, hw_mode.agile_dfs_cap, hw_mode.sbs_cap);
 
 	/* update pm_conc_connection_list */
@@ -116,11 +116,11 @@ QDF_STATUS policy_mgr_pdev_set_hw_mode(struct wlan_objmgr_psoc *psoc,
 	 * allow to request FW for 2x2
 	 */
 	if ((HW_MODE_SS_2x2 == mac0_ss) && (!pm_ctx->user_cfg.enable2x2)) {
-		policy_mgr_notice("2x2 is not allowed downgrading to 1x1 for mac0");
+		policy_mgr_debug("2x2 is not allowed downgrading to 1x1 for mac0");
 		mac0_ss = HW_MODE_SS_1x1;
 	}
 	if ((HW_MODE_SS_2x2 == mac1_ss) && (!pm_ctx->user_cfg.enable2x2)) {
-		policy_mgr_notice("2x2 is not allowed downgrading to 1x1 for mac1");
+		policy_mgr_debug("2x2 is not allowed downgrading to 1x1 for mac1");
 		mac1_ss = HW_MODE_SS_1x1;
 	}
 
@@ -137,7 +137,7 @@ QDF_STATUS policy_mgr_pdev_set_hw_mode(struct wlan_objmgr_psoc *psoc,
 	msg.session_id = session_id;
 	msg.context = psoc;
 
-	policy_mgr_notice("set hw mode to sme: hw_mode_index: %d session:%d reason:%d",
+	policy_mgr_debug("set hw mode to sme: hw_mode_index: %d session:%d reason:%d",
 		msg.hw_mode_index, msg.session_id, msg.reason);
 
 	status = pm_ctx->sme_cbacks.sme_pdev_set_hw_mode(msg);
@@ -884,7 +884,7 @@ QDF_STATUS policy_mgr_set_hw_mode_on_channel_switch(
 		goto done;
 	}
 
-	policy_mgr_notice("action:%d session id:%d", action, session_id);
+	policy_mgr_debug("action:%d session id:%d", action, session_id);
 
 	/* Opportunistic timer is started, PM will check if MCC upgrade can be
 	 * done on timer expiry. This avoids any possible ping pong effect
@@ -894,7 +894,7 @@ QDF_STATUS policy_mgr_set_hw_mode_on_channel_switch(
 		qdf_status = policy_mgr_restart_opportunistic_timer(
 			psoc, false);
 		if (QDF_IS_STATUS_SUCCESS(qdf_status))
-			policy_mgr_notice("opportunistic timer for MCC upgrade");
+			policy_mgr_debug("opportunistic timer for MCC upgrade");
 		goto done;
 	}
 
@@ -928,7 +928,7 @@ void policy_mgr_checkn_update_hw_mode_single_mac_mode(
 			if (!WLAN_REG_IS_SAME_BAND_CHANNELS(channel,
 				pm_conc_connection_list[i].chan)) {
 				qdf_mutex_release(&pm_ctx->qdf_conc_list_lock);
-				policy_mgr_notice("DBS required");
+				policy_mgr_debug("DBS required");
 				return;
 			}
 	}
@@ -1049,7 +1049,7 @@ QDF_STATUS policy_mgr_update_connection_info_utfw(
 			vdev_id);
 		return status;
 	}
-	policy_mgr_notice("--> updating entry at index[%d]", conn_index);
+	policy_mgr_debug("--> updating entry at index[%d]", conn_index);
 
 	policy_mgr_update_conc_list(psoc, conn_index,
 			policy_mgr_get_mode(type, sub_type),
@@ -1074,7 +1074,7 @@ QDF_STATUS policy_mgr_incr_connection_count_utfw(struct wlan_objmgr_psoc *psoc,
 			MAX_NUMBER_OF_CONC_CONNECTIONS);
 		return status;
 	}
-	policy_mgr_notice("--> filling entry at index[%d]", conn_index);
+	policy_mgr_debug("--> filling entry at index[%d]", conn_index);
 
 	policy_mgr_update_conc_list(psoc, conn_index,
 				policy_mgr_get_mode(type, sub_type),

+ 17 - 17
umac/cmn_services/policy_mgr/src/wlan_policy_mgr_core.c

@@ -393,7 +393,7 @@ int8_t policy_mgr_get_matching_hw_mode_index(
 			continue;
 
 		found = i;
-		policy_mgr_notice("hw_mode index %d found", i);
+		policy_mgr_debug("hw_mode index %d found", i);
 		break;
 	}
 	return found;
@@ -430,11 +430,11 @@ int8_t policy_mgr_get_hw_mode_idx_from_dbs_hw_list(
 	policy_mgr_get_tx_rx_ss_from_config(mac0_ss, &mac0_tx_ss, &mac0_rx_ss);
 	policy_mgr_get_tx_rx_ss_from_config(mac1_ss, &mac1_tx_ss, &mac1_rx_ss);
 
-	policy_mgr_notice("MAC0: TxSS=%d, RxSS=%d, BW=%d",
+	policy_mgr_debug("MAC0: TxSS=%d, RxSS=%d, BW=%d",
 		mac0_tx_ss, mac0_rx_ss, mac0_bw);
-	policy_mgr_notice("MAC1: TxSS=%d, RxSS=%d, BW=%d",
+	policy_mgr_debug("MAC1: TxSS=%d, RxSS=%d, BW=%d",
 		mac1_tx_ss, mac1_rx_ss, mac1_bw);
-	policy_mgr_notice("DBS=%d, Agile DFS=%d, SBS=%d",
+	policy_mgr_debug("DBS=%d, Agile DFS=%d, SBS=%d",
 		dbs, dfs, sbs);
 
 	return policy_mgr_get_matching_hw_mode_index(psoc, mac0_tx_ss,
@@ -695,7 +695,7 @@ void policy_mgr_restore_deleted_conn_info(struct wlan_objmgr_psoc *psoc,
 			num_cxn_del * sizeof(*info));
 	qdf_mutex_release(&pm_ctx->qdf_conc_list_lock);
 
-	policy_mgr_notice("Restored the deleleted conn info, vdev:%d, index:%d",
+	policy_mgr_debug("Restored the deleleted conn info, vdev:%d, index:%d",
 		info->vdev_id, conn_index);
 }
 
@@ -739,7 +739,7 @@ void policy_mgr_update_hw_mode_conn_info(struct wlan_objmgr_psoc *psoc,
 		if (found) {
 			pm_conc_connection_list[conn_index].mac =
 				vdev_mac_map[i].mac_id;
-			policy_mgr_notice("vdev:%d, mac:%d",
+			policy_mgr_debug("vdev:%d, mac:%d",
 			  pm_conc_connection_list[conn_index].vdev_id,
 			  pm_conc_connection_list[conn_index].mac);
 			if (pm_ctx->cdp_cbacks.cdp_update_mac_id)
@@ -789,10 +789,10 @@ void policy_mgr_pdev_set_hw_mode_cb(uint32_t status,
 		return;
 	}
 
-	policy_mgr_notice("cfgd_hw_mode_index=%d", cfgd_hw_mode_index);
+	policy_mgr_debug("cfgd_hw_mode_index=%d", cfgd_hw_mode_index);
 
 	for (i = 0; i < num_vdev_mac_entries; i++)
-		policy_mgr_notice("vdev_id:%d mac_id:%d",
+		policy_mgr_debug("vdev_id:%d mac_id:%d",
 				vdev_mac_map[i].vdev_id,
 				vdev_mac_map[i].mac_id);
 
@@ -803,11 +803,11 @@ void policy_mgr_pdev_set_hw_mode_cb(uint32_t status,
 		return;
 	}
 
-	policy_mgr_notice("MAC0: TxSS:%d, RxSS:%d, Bw:%d",
+	policy_mgr_debug("MAC0: TxSS:%d, RxSS:%d, Bw:%d",
 		hw_mode.mac0_tx_ss, hw_mode.mac0_rx_ss, hw_mode.mac0_bw);
-	policy_mgr_notice("MAC1: TxSS:%d, RxSS:%d, Bw:%d",
+	policy_mgr_debug("MAC1: TxSS:%d, RxSS:%d, Bw:%d",
 		hw_mode.mac1_tx_ss, hw_mode.mac1_rx_ss, hw_mode.mac1_bw);
-	policy_mgr_notice("DBS:%d, Agile DFS:%d, SBS:%d",
+	policy_mgr_debug("DBS:%d, Agile DFS:%d, SBS:%d",
 		hw_mode.dbs_cap, hw_mode.agile_dfs_cap, hw_mode.sbs_cap);
 
 	/* update pm_conc_connection_list */
@@ -1188,7 +1188,7 @@ void policy_mgr_pdev_set_pcl(struct wlan_objmgr_psoc *psoc,
 	if (status != QDF_STATUS_SUCCESS)
 		policy_mgr_err("Send soc set PCL to SME failed");
 	else
-		policy_mgr_notice("Set PCL to FW for mode:%d", mode);
+		policy_mgr_debug("Set PCL to FW for mode:%d", mode);
 }
 
 
@@ -1235,7 +1235,7 @@ void policy_mgr_set_pcl_for_existing_combo(
 						info, &num_cxn_del);
 		/* Set the PCL to the FW since connection got updated */
 		policy_mgr_pdev_set_pcl(psoc, pcl_mode);
-		policy_mgr_notice("Set PCL to FW for mode:%d", mode);
+		policy_mgr_debug("Set PCL to FW for mode:%d", mode);
 		/* Restore the connection info */
 		policy_mgr_restore_deleted_conn_info(psoc, info, num_cxn_del);
 	}
@@ -1262,7 +1262,7 @@ void pm_dbs_opportunistic_timer_handler(void *data)
 
 	/* if we still need it */
 	action = policy_mgr_need_opportunistic_upgrade(psoc);
-	policy_mgr_notice("action:%d", action);
+	policy_mgr_debug("action:%d", action);
 	if (action) {
 		/* lets call for action */
 		/* session id is being used only
@@ -1717,7 +1717,7 @@ QDF_STATUS policy_mgr_get_channel_list(struct wlan_objmgr_psoc *psoc,
 
 	if (PM_NONE == pcl) {
 		/* msg */
-		policy_mgr_notice("pcl is 0");
+		policy_mgr_debug("pcl is 0");
 		return QDF_STATUS_SUCCESS;
 	}
 	/* get the channel list for current domain */
@@ -1734,7 +1734,7 @@ QDF_STATUS policy_mgr_get_channel_list(struct wlan_objmgr_psoc *psoc,
 	if (((mode == PM_SAP_MODE) || (mode == PM_P2P_GO_MODE)) &&
 	    (policy_mgr_mode_specific_connection_count(
 		psoc, PM_STA_MODE, NULL) > 0)) {
-		policy_mgr_notice("STA present, skip DFS channels from pcl for SAP/Go");
+		policy_mgr_debug("STA present, skip DFS channels from pcl for SAP/Go");
 		skip_dfs_channel = true;
 	}
 
@@ -2102,7 +2102,7 @@ QDF_STATUS policy_mgr_get_channel_list(struct wlan_objmgr_psoc *psoc,
 	}
 
 	if ((*len != 0) && (*len != i))
-		policy_mgr_notice("pcl len (%d) and weight list len mismatch (%d)",
+		policy_mgr_debug("pcl len (%d) and weight list len mismatch (%d)",
 			*len, i);
 
 	/* check the channel avoidance list */

+ 25 - 25
umac/cmn_services/policy_mgr/src/wlan_policy_mgr_get_set_utils.c

@@ -256,7 +256,7 @@ QDF_STATUS policy_mgr_update_hw_mode_list(struct wlan_objmgr_psoc *psoc,
 	if (pm_ctx->hw_mode.hw_mode_list) {
 		qdf_mem_free(pm_ctx->hw_mode.hw_mode_list);
 		pm_ctx->hw_mode.hw_mode_list = NULL;
-		policy_mgr_err("DBS list is freed");
+		policy_mgr_debug("DBS list is freed");
 	}
 
 	pm_ctx->num_dbs_hw_modes = phy_caps->num_hw_modes.num_hw_modes;
@@ -268,7 +268,7 @@ QDF_STATUS policy_mgr_update_hw_mode_list(struct wlan_objmgr_psoc *psoc,
 		return QDF_STATUS_E_FAILURE;
 	}
 
-	policy_mgr_err("Updated HW mode list: Num modes:%d",
+	policy_mgr_debug("Updated HW mode list: Num modes:%d",
 		pm_ctx->num_dbs_hw_modes);
 
 	for (i = 0; i < pm_ctx->num_dbs_hw_modes; i++) {
@@ -343,17 +343,17 @@ void policy_mgr_dump_dbs_hw_mode(struct wlan_objmgr_psoc *psoc)
 
 	for (i = 0; i < pm_ctx->num_dbs_hw_modes; i++) {
 		param = pm_ctx->hw_mode.hw_mode_list[i];
-		policy_mgr_err("[%d]-MAC0: tx_ss:%d rx_ss:%d bw_idx:%d",
+		policy_mgr_debug("[%d]-MAC0: tx_ss:%d rx_ss:%d bw_idx:%d",
 			i,
 			POLICY_MGR_HW_MODE_MAC0_TX_STREAMS_GET(param),
 			POLICY_MGR_HW_MODE_MAC0_RX_STREAMS_GET(param),
 			POLICY_MGR_HW_MODE_MAC0_BANDWIDTH_GET(param));
-		policy_mgr_err("[%d]-MAC1: tx_ss:%d rx_ss:%d bw_idx:%d",
+		policy_mgr_debug("[%d]-MAC1: tx_ss:%d rx_ss:%d bw_idx:%d",
 			i,
 			POLICY_MGR_HW_MODE_MAC1_TX_STREAMS_GET(param),
 			POLICY_MGR_HW_MODE_MAC1_RX_STREAMS_GET(param),
 			POLICY_MGR_HW_MODE_MAC1_BANDWIDTH_GET(param));
-		policy_mgr_err("[%d] DBS:%d SBS:%d", i,
+		policy_mgr_debug("[%d] DBS:%d SBS:%d", i,
 			POLICY_MGR_HW_MODE_DBS_MODE_GET(param),
 			POLICY_MGR_HW_MODE_SBS_MODE_GET(param));
 	}
@@ -532,11 +532,11 @@ bool policy_mgr_is_hw_dbs_capable(struct wlan_objmgr_psoc *psoc)
 	}
 
 	if (!policy_mgr_is_dbs_enable(psoc)) {
-		policy_mgr_notice("DBS is disabled");
+		policy_mgr_debug("DBS is disabled");
 		return false;
 	}
 	if (pm_ctx->wma_cbacks.wma_is_service_enabled) {
-		policy_mgr_notice("DBS service bit map: %d",
+		policy_mgr_debug("DBS service bit map: %d",
 			pm_ctx->wma_cbacks.wma_is_service_enabled(
 			WMI_SERVICE_DUAL_BAND_SIMULTANEOUS_SUPPORT));
 
@@ -552,9 +552,9 @@ bool policy_mgr_is_hw_dbs_capable(struct wlan_objmgr_psoc *psoc)
 
 	for (i = 0; i < pm_ctx->num_dbs_hw_modes; i++) {
 		param = pm_ctx->hw_mode.hw_mode_list[i];
-		policy_mgr_notice("HW param: %x", param);
+		policy_mgr_debug("HW param: %x", param);
 		if (POLICY_MGR_HW_MODE_DBS_MODE_GET(param)) {
-			policy_mgr_notice("HW (%d) is DBS capable", i);
+			policy_mgr_debug("HW (%d) is DBS capable", i);
 			found = 1;
 			break;
 		}
@@ -577,7 +577,7 @@ bool policy_mgr_is_hw_sbs_capable(struct wlan_objmgr_psoc *psoc)
 		return false;
 	}
 	if (pm_ctx->wma_cbacks.wma_is_service_enabled) {
-		policy_mgr_notice("DBS service bit map: %d",
+		policy_mgr_debug("DBS service bit map: %d",
 			pm_ctx->wma_cbacks.wma_is_service_enabled(
 			WMI_SERVICE_DUAL_BAND_SIMULTANEOUS_SUPPORT));
 
@@ -593,9 +593,9 @@ bool policy_mgr_is_hw_sbs_capable(struct wlan_objmgr_psoc *psoc)
 
 	for (i = 0; i < pm_ctx->num_dbs_hw_modes; i++) {
 		param = pm_ctx->hw_mode.hw_mode_list[i];
-		policy_mgr_notice("HW param: %x", param);
+		policy_mgr_debug("HW param: %x", param);
 		if (POLICY_MGR_HW_MODE_SBS_MODE_GET(param)) {
-			policy_mgr_notice("HW (%d) is SBS capable", i);
+			policy_mgr_debug("HW (%d) is SBS capable", i);
 			found = 1;
 			break;
 		}
@@ -662,7 +662,7 @@ QDF_STATUS policy_mgr_get_dbs_hw_modes(struct wlan_objmgr_psoc *psoc,
 		    (dbs_mode == HW_MODE_DBS)) &&
 		    (found_one_by_one < 0)) {
 			found_one_by_one = i;
-			policy_mgr_notice("1x1 hw_mode index %d found", i);
+			policy_mgr_debug("1x1 hw_mode index %d found", i);
 			/* Once an entry is found, need not check for 1x1
 			 * again
 			 */
@@ -676,7 +676,7 @@ QDF_STATUS policy_mgr_get_dbs_hw_modes(struct wlan_objmgr_psoc *psoc,
 		    (dbs_mode == HW_MODE_DBS)) &&
 		    (found_two_by_two < 0)) {
 			found_two_by_two = i;
-			policy_mgr_notice("2x2 hw_mode index %d found", i);
+			policy_mgr_debug("2x2 hw_mode index %d found", i);
 			/* Once an entry is found, need not check for 2x2
 			 * again
 			 */
@@ -698,7 +698,7 @@ QDF_STATUS policy_mgr_get_current_hw_mode(struct wlan_objmgr_psoc *psoc,
 	QDF_STATUS status;
 	uint32_t old_hw_index = 0, new_hw_index = 0;
 
-	policy_mgr_notice("Get the current hw mode");
+	policy_mgr_debug("Get the current hw mode");
 
 	status = policy_mgr_get_old_and_new_hw_index(psoc, &old_hw_index,
 			&new_hw_index);
@@ -879,7 +879,7 @@ void policy_mgr_soc_set_dual_mac_cfg_cb(enum set_hw_mode_status status,
 		uint32_t scan_config,
 		uint32_t fw_mode_config)
 {
-	policy_mgr_notice("Status:%d for scan_config:%x fw_mode_config:%x",
+	policy_mgr_debug("Status:%d for scan_config:%x fw_mode_config:%x",
 			status, scan_config, fw_mode_config);
 }
 
@@ -928,7 +928,7 @@ void policy_mgr_set_dual_mac_scan_config(struct wlan_objmgr_psoc *psoc,
 
 	cfg.set_dual_mac_cb = (void *)policy_mgr_soc_set_dual_mac_cfg_cb;
 
-	policy_mgr_notice("scan_config:%x fw_mode_config:%x",
+	policy_mgr_debug("scan_config:%x fw_mode_config:%x",
 			cfg.scan_config, cfg.fw_mode_config);
 
 	status = pm_ctx->sme_cbacks.sme_soc_set_dual_mac_config(cfg);
@@ -975,7 +975,7 @@ void policy_mgr_set_dual_mac_fw_mode_config(struct wlan_objmgr_psoc *psoc,
 
 	cfg.set_dual_mac_cb = (void *)policy_mgr_soc_set_dual_mac_cfg_cb;
 
-	policy_mgr_notice("scan_config:%x fw_mode_config:%x",
+	policy_mgr_debug("scan_config:%x fw_mode_config:%x",
 			cfg.scan_config, cfg.fw_mode_config);
 
 	status = pm_ctx->sme_cbacks.sme_soc_set_dual_mac_config(cfg);
@@ -1128,7 +1128,7 @@ void policy_mgr_incr_active_session(struct wlan_objmgr_psoc *psoc,
 	}
 
 
-	policy_mgr_notice("No.# of active sessions for mode %d = %d",
+	policy_mgr_debug("No.# of active sessions for mode %d = %d",
 		mode, pm_ctx->no_of_active_sessions[mode]);
 	/*
 	 * Get PCL logic makes use of the connection info structure.
@@ -1140,7 +1140,7 @@ void policy_mgr_incr_active_session(struct wlan_objmgr_psoc *psoc,
 		/* Set PCL of STA to the FW */
 		policy_mgr_pdev_set_pcl(psoc, mode);
 		qdf_mutex_acquire(&pm_ctx->qdf_conc_list_lock);
-		policy_mgr_notice("Set PCL of STA to FW");
+		policy_mgr_debug("Set PCL of STA to FW");
 	}
 	policy_mgr_incr_connection_count(psoc, session_id);
 	if ((policy_mgr_mode_specific_connection_count(
@@ -1195,7 +1195,7 @@ QDF_STATUS policy_mgr_decr_active_session(struct wlan_objmgr_psoc *psoc,
 		break;
 	}
 
-	policy_mgr_notice("No.# of active sessions for mode %d = %d",
+	policy_mgr_debug("No.# of active sessions for mode %d = %d",
 		mode, pm_ctx->no_of_active_sessions[mode]);
 
 	policy_mgr_decr_connection_count(psoc, session_id);
@@ -1271,7 +1271,7 @@ QDF_STATUS policy_mgr_incr_connection_count(
 			conn_table_entry.mac_id,
 			chain_mask,
 			nss, vdev_id, true);
-	policy_mgr_notice("Add at idx:%d vdev %d mac=%d",
+	policy_mgr_debug("Add at idx:%d vdev %d mac=%d",
 		conn_index, vdev_id,
 		conn_table_entry.mac_id);
 
@@ -1396,7 +1396,7 @@ bool policy_mgr_is_ibss_conn_exist(struct wlan_objmgr_psoc *psoc,
 		status = true;
 	} else {
 		*ibss_channel = pm_conc_connection_list[list[index]].chan;
-		policy_mgr_notice("Multiple IBSS connections, picking first one");
+		policy_mgr_debug("Multiple IBSS connections, picking first one");
 		status = true;
 	}
 	qdf_mutex_release(&pm_ctx->qdf_conc_list_lock);
@@ -1428,7 +1428,7 @@ bool policy_mgr_get_mode_specific_conn_info(struct wlan_objmgr_psoc *psoc,
 				psoc, mode, list);
 	qdf_mutex_acquire(&pm_ctx->qdf_conc_list_lock);
 	if (count == 0) {
-		policy_mgr_err("No mode:[%d] connection", mode);
+		policy_mgr_debug("No mode:[%d] connection", mode);
 		status = false;
 	} else if (count == 1) {
 		*channel = pm_conc_connection_list[list[index]].chan;
@@ -1444,7 +1444,7 @@ bool policy_mgr_get_mode_specific_conn_info(struct wlan_objmgr_psoc *psoc,
 		*channel = pm_conc_connection_list[list[index]].chan;
 		*vdev_id =
 			pm_conc_connection_list[list[index]].vdev_id;
-		policy_mgr_notice("Multiple mode:[%d] connections, picking first one",
+		policy_mgr_debug("Multiple mode:[%d] connections, picking first one",
 				mode);
 		status = true;
 	}

+ 4 - 4
umac/cmn_services/policy_mgr/src/wlan_policy_mgr_pcl.c

@@ -77,7 +77,7 @@ QDF_STATUS policy_mgr_get_pcl_for_existing_conn(struct wlan_objmgr_psoc *psoc,
 
 	QDF_STATUS status = QDF_STATUS_SUCCESS;
 
-	policy_mgr_notice("get pcl for existing conn:%d", mode);
+	policy_mgr_debug("get pcl for existing conn:%d", mode);
 
 	if (policy_mgr_mode_specific_connection_count(psoc, mode, NULL) > 0) {
 		/* Check, store and temp delete the mode's parameter */
@@ -86,7 +86,7 @@ QDF_STATUS policy_mgr_get_pcl_for_existing_conn(struct wlan_objmgr_psoc *psoc,
 		/* Get the PCL */
 		status = policy_mgr_get_pcl(psoc, mode, pcl_ch, len,
 					pcl_weight, weight_len);
-		policy_mgr_notice("Get PCL to FW for mode:%d", mode);
+		policy_mgr_debug("Get PCL to FW for mode:%d", mode);
 		/* Restore the connection info */
 		policy_mgr_restore_deleted_conn_info(psoc, info, num_cxn_del);
 	}
@@ -1480,7 +1480,7 @@ QDF_STATUS policy_mgr_get_sap_mandatory_channel(struct wlan_objmgr_psoc *psoc,
 	 * coming up.
 	 */
 	if (!pcl.pcl_len) {
-		policy_mgr_notice("policy_mgr_get_pcl_for_existing_conn returned no pcl");
+		policy_mgr_debug("policy_mgr_get_pcl_for_existing_conn returned no pcl");
 		status = policy_mgr_get_pcl(psoc, PM_SAP_MODE,
 				pcl.pcl_list, &pcl.pcl_len,
 				pcl.weight_list,
@@ -1501,7 +1501,7 @@ QDF_STATUS policy_mgr_get_sap_mandatory_channel(struct wlan_objmgr_psoc *psoc,
 	}
 
 	*chan = pcl.pcl_list[0];
-	policy_mgr_notice("mandatory channel:%d", *chan);
+	policy_mgr_debug("mandatory channel:%d", *chan);
 
 	return QDF_STATUS_SUCCESS;
 }