summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrinivas Girigowda <sgirigow@codeaurora.org>2017-03-09 22:27:02 -0800
committerSandeep Puligilla <spuligil@codeaurora.org>2017-03-10 19:32:29 -0800
commit88fdf4f4ff43104a44b007a23c177f77525c0157 (patch)
treeae066027450b8900ff0411d9eed7c1c75f5d121f
parent5a7673fc7ffeca386bd37e99127c930c20d21426 (diff)
qcacld-3.0: PE: Reduce the log spam in kmsg
Move the logs to appropriate log levels to reduce the log spam in kmsg. Change-Id: If167ffaf98e73e253c678ae52283324fa9c8ef81 CRs-Fixed: 2014745
-rw-r--r--core/mac/src/cfg/cfg_api.c8
-rw-r--r--core/mac/src/pe/lim/lim_api.c9
-rw-r--r--core/mac/src/pe/lim/lim_assoc_utils.c20
-rw-r--r--core/mac/src/pe/lim/lim_ft.c2
-rw-r--r--core/mac/src/pe/lim/lim_ft_preauth.c5
-rw-r--r--core/mac/src/pe/lim/lim_p2p.c8
-rw-r--r--core/mac/src/pe/lim/lim_process_assoc_req_frame.c7
-rw-r--r--core/mac/src/pe/lim/lim_process_assoc_rsp_frame.c10
-rw-r--r--core/mac/src/pe/lim/lim_process_auth_frame.c4
-rw-r--r--core/mac/src/pe/lim/lim_process_message_queue.c4
-rw-r--r--core/mac/src/pe/lim/lim_process_mlm_req_messages.c6
-rw-r--r--core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c8
-rw-r--r--core/mac/src/pe/lim/lim_process_probe_req_frame.c4
-rw-r--r--core/mac/src/pe/lim/lim_process_probe_rsp_frame.c8
-rw-r--r--core/mac/src/pe/lim/lim_process_sme_req_messages.c2
-rw-r--r--core/mac/src/pe/lim/lim_process_tdls.c2
-rw-r--r--core/mac/src/pe/lim/lim_security_utils.c6
-rw-r--r--core/mac/src/pe/lim/lim_send_management_frames.c6
-rw-r--r--core/mac/src/pe/lim/lim_send_messages.c10
-rw-r--r--core/mac/src/pe/lim/lim_session.c2
-rw-r--r--core/mac/src/pe/lim/lim_timer_utils.c8
-rw-r--r--core/mac/src/pe/lim/lim_utils.c2
-rw-r--r--core/mac/src/pe/rrm/rrm_api.c4
-rw-r--r--core/mac/src/pe/sch/sch_api.c2
-rw-r--r--core/mac/src/pe/sch/sch_beacon_gen.c12
-rw-r--r--core/mac/src/pe/sch/sch_message.c4
26 files changed, 78 insertions, 85 deletions
diff --git a/core/mac/src/cfg/cfg_api.c b/core/mac/src/cfg/cfg_api.c
index 2d347853fdd4..e249b864404e 100644
--- a/core/mac/src/cfg/cfg_api.c
+++ b/core/mac/src/cfg/cfg_api.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.
*
@@ -139,10 +139,10 @@ tSirRetStatus cfg_init(tpAniSirGlobal pMac)
/* Allocate a combined memory */
combined_buff_size = max_s_count + (3 * sizeof(uint32_t) * max_i_count);
- cfg_log(pMac, LOGE, FL("Size of cfg I buffer:%d S buffer: %d"),
+ cfg_log(pMac, LOG1, FL("Size of cfg I buffer:%d S buffer: %d"),
max_i_count, max_s_count);
- cfg_log(pMac, LOGE, FL("Allocation for cfg buffers: %d bytes"),
+ cfg_log(pMac, LOG1, FL("Allocation for cfg buffers: %d bytes"),
combined_buff_size);
if (combined_buff_size > 4 * PAGE_SIZE) {
@@ -818,7 +818,7 @@ tSirRetStatus cfg_get_capability_info(tpAniSirGlobal pMac, uint16_t *pCap,
pCapInfo->apsd = 1;
pCapInfo->rrm = pMac->rrm.rrmSmeContext.rrmConfig.rrm_enabled;
- cfg_log(pMac, LOG1, FL("RRM = %d"), pCapInfo->rrm);
+ cfg_log(pMac, LOGD, FL("RRM: %d"), pCapInfo->rrm);
/* DSSS-OFDM */
/* FIXME : no config defined yet. */
diff --git a/core/mac/src/pe/lim/lim_api.c b/core/mac/src/pe/lim/lim_api.c
index aac04822c8ef..f8b092ade44d 100644
--- a/core/mac/src/pe/lim/lim_api.c
+++ b/core/mac/src/pe/lim/lim_api.c
@@ -619,8 +619,6 @@ void lim_cleanup(tpAniSirGlobal pMac)
&pMac->lim.gLimMgmtFrameRegistratinQueue,
(qdf_list_node_t **) &pLimMgmtRegistration) ==
QDF_STATUS_SUCCESS) {
- QDF_TRACE(QDF_MODULE_ID_PE, QDF_TRACE_LEVEL_INFO,
- FL("Fixing leak! Deallocating pLimMgmtRegistration node"));
qdf_mem_free(pLimMgmtRegistration);
}
qdf_mutex_release(&pMac->lim.lim_frame_register_lock);
@@ -1349,10 +1347,10 @@ lim_enc_type_matched(tpAniSirGlobal mac_ctx,
if (!bcn || !session)
return false;
- lim_log(mac_ctx, LOG1,
+ lim_log(mac_ctx, LOGD,
FL("Beacon/Probe:: Privacy :%d WPA Present:%d RSN Present: %d"),
bcn->capabilityInfo.privacy, bcn->wpaPresent, bcn->rsnPresent);
- lim_log(mac_ctx, LOG1,
+ lim_log(mac_ctx, LOGD,
FL("session:: Privacy :%d EncyptionType: %d OSEN %d WPS %d"),
SIR_MAC_GET_PRIVACY(session->limCurrentBssCaps),
session->encryptType, session->isOSENConnection,
@@ -2232,7 +2230,7 @@ void lim_update_lost_link_info(tpAniSirGlobal mac, tpPESession session,
mmh_msg.type = eWNI_SME_LOST_LINK_INFO_IND;
mmh_msg.bodyptr = lost_link_info;
mmh_msg.bodyval = 0;
- lim_log(mac, LOG1,
+ lim_log(mac, LOGD,
FL("post eWNI_SME_LOST_LINK_INFO_IND, bss_idx %d, rssi %d"),
lost_link_info->vdev_id, lost_link_info->rssi);
@@ -2277,7 +2275,6 @@ void lim_mon_init_session(tpAniSirGlobal mac_ptr,
tpPESession psession_entry;
uint8_t session_id;
- lim_print_mac_addr(mac_ptr, msg->bss_id.bytes, LOGE);
psession_entry = pe_create_session(mac_ptr, msg->bss_id.bytes,
&session_id,
mac_ptr->lim.maxStation,
diff --git a/core/mac/src/pe/lim/lim_assoc_utils.c b/core/mac/src/pe/lim/lim_assoc_utils.c
index 4f55b7f3fce4..eeed5485a500 100644
--- a/core/mac/src/pe/lim/lim_assoc_utils.c
+++ b/core/mac/src/pe/lim/lim_assoc_utils.c
@@ -698,7 +698,7 @@ lim_send_del_sta_cnf(tpAniSirGlobal pMac, struct qdf_mac_addr sta_dsaddr,
* Host or LMM driven Disassociation.
* Issue Disassoc Confirm to SME.
*/
- lim_log(pMac, LOGW,
+ lim_log(pMac, LOGD,
FL("Lim Posting DISASSOC_CNF to Sme. Trigger: %d"),
mlmStaContext.cleanupTrigger);
@@ -720,7 +720,7 @@ lim_send_del_sta_cnf(tpAniSirGlobal pMac, struct qdf_mac_addr sta_dsaddr,
* Host or LMM driven Deauthentication.
* Issue Deauth Confirm to SME.
*/
- lim_log(pMac, LOGW,
+ lim_log(pMac, LOGD,
FL("Lim Posting DEAUTH_CNF to Sme. Trigger: %d"),
mlmStaContext.cleanupTrigger);
qdf_copy_macaddr(&mlmDeauthCnf.peer_macaddr, &sta_dsaddr);
@@ -739,7 +739,7 @@ lim_send_del_sta_cnf(tpAniSirGlobal pMac, struct qdf_mac_addr sta_dsaddr,
* Received Disassociation/Deauthentication from peer.
* Issue Purge Ind to SME.
*/
- lim_log(pMac, LOGW,
+ lim_log(pMac, LOGD,
FL("Lim Posting PURGE_STA_IND to Sme. Trigger: %d"),
mlmStaContext.cleanupTrigger);
qdf_mem_copy((uint8_t *) &mlmPurgeStaInd.peerMacAddr,
@@ -820,7 +820,7 @@ lim_send_del_sta_cnf(tpAniSirGlobal pMac, struct qdf_mac_addr sta_dsaddr,
* LIM driven Disassociation.
* Issue Disassoc Confirm to SME.
*/
- lim_log(pMac, LOGW,
+ lim_log(pMac, LOGD,
FL("Lim Posting DISASSOC_CNF to Sme. Trigger: %d"),
mlmStaContext.cleanupTrigger);
@@ -2300,7 +2300,7 @@ lim_add_sta(tpAniSirGlobal mac_ctx,
sta_ds->vht_su_bfee_capable;
}
- lim_log(mac_ctx, LOGE, FL("TxChWidth %d vhtTxBFCap %d, su_bfer %d"),
+ lim_log(mac_ctx, LOGD, FL("TxChWidth %d vhtTxBFCap %d, su_bfer %d"),
add_sta_params->ch_width, add_sta_params->vhtTxBFCapable,
add_sta_params->enable_su_tx_bformer);
#ifdef FEATURE_WLAN_TDLS
@@ -2975,7 +2975,7 @@ void lim_handle_cnf_wait_timeout(tpAniSirGlobal pMac, uint16_t staId)
("Did not receive Assoc Cnf in eLIM_MLM_WT_ASSOC_CNF_STATE sta Assoc id %d"),
pStaDs->assocId);
)
- lim_print_mac_addr(pMac, pStaDs->staAddr, LOGW);
+ lim_print_mac_addr(pMac, pStaDs->staAddr, LOGD);
if (LIM_IS_AP_ROLE(psessionEntry)) {
lim_reject_association(pMac, pStaDs->staAddr,
@@ -3034,7 +3034,7 @@ lim_delete_dph_hash_entry(tpAniSirGlobal mac_ctx, tSirMacAddr sta_addr,
return;
}
- lim_log(mac_ctx, LOGW, FL("Deleting DPH Hash entry for STAID: %X"),
+ lim_log(mac_ctx, LOGD, FL("Deleting DPH Hash entry for STAID: %X"),
sta_id);
/*
* update the station count and perform associated actions
@@ -3060,7 +3060,7 @@ lim_delete_dph_hash_entry(tpAniSirGlobal mac_ctx, tSirMacAddr sta_addr,
session_entry);
/* Send message to HAL about beacon parameter change. */
- lim_log(mac_ctx, LOGW, FL("param bitmap = %d "),
+ lim_log(mac_ctx, LOGD, FL("param bitmap = %d "),
beacon_params.paramChangeBitmap);
if (beacon_params.paramChangeBitmap &&
(false ==
@@ -3390,7 +3390,7 @@ lim_del_bss(tpAniSirGlobal pMac, tpDphHashNode pStaDs, uint16_t bssIdx,
sizeof(tSirMacAddr));
pDelBssParams->smesessionId = psessionEntry->smeSessionId;
PELOGW(lim_log
- (pMac, LOGW,
+ (pMac, LOGD,
FL("Sessionid %d : Sending HAL_DELETE_BSS_REQ "
"for bss idx: %X BSSID:" MAC_ADDRESS_STR),
pDelBssParams->sessionId, pDelBssParams->bssIdx,
@@ -3399,7 +3399,7 @@ lim_del_bss(tpAniSirGlobal pMac, tpDphHashNode pStaDs, uint16_t bssIdx,
/* we need to defer the message until we get the response back from HAL. */
SET_LIM_PROCESS_DEFD_MESGS(pMac, false);
- lim_log(pMac, LOGW, FL("process_ho_fail = %d"),
+ lim_log(pMac, LOGD, FL("process_ho_fail = %d"),
psessionEntry->process_ho_fail);
if (psessionEntry->process_ho_fail)
msgQ.type = WMA_DELETE_BSS_HO_FAIL_REQ;
diff --git a/core/mac/src/pe/lim/lim_ft.c b/core/mac/src/pe/lim/lim_ft.c
index 89626c7d1026..577ae5a878f5 100644
--- a/core/mac/src/pe/lim/lim_ft.c
+++ b/core/mac/src/pe/lim/lim_ft.c
@@ -500,7 +500,6 @@ void lim_fill_ft_session(tpAniSirGlobal pMac,
}
/* Retrieve the session that was already created and update the entry */
- lim_print_mac_addr(pMac, pbssDescription->bssId, LOG1);
pftSessionEntry->limWmeEnabled = psessionEntry->limWmeEnabled;
pftSessionEntry->limQosEnabled = psessionEntry->limQosEnabled;
pftSessionEntry->limWsmEnabled = psessionEntry->limWsmEnabled;
@@ -600,7 +599,6 @@ void lim_fill_ft_session(tpAniSirGlobal pMac,
sir_copy_mac_addr(pftSessionEntry->limReAssocbssId,
pbssDescription->bssId);
sir_copy_mac_addr(pftSessionEntry->prev_ap_bssid, psessionEntry->bssId);
- lim_print_mac_addr(pMac, pftSessionEntry->limReAssocbssId, LOG1);
/* Store beaconInterval */
pftSessionEntry->beaconParams.beaconInterval =
diff --git a/core/mac/src/pe/lim/lim_ft_preauth.c b/core/mac/src/pe/lim/lim_ft_preauth.c
index c40651654bf8..5feb841931d8 100644
--- a/core/mac/src/pe/lim/lim_ft_preauth.c
+++ b/core/mac/src/pe/lim/lim_ft_preauth.c
@@ -451,7 +451,6 @@ void lim_handle_ft_pre_auth_rsp(tpAniSirGlobal pMac, tSirRetStatus status,
if (psessionEntry->ftPEContext.ftPreAuthStatus == eSIR_SUCCESS) {
pbssDescription =
psessionEntry->ftPEContext.pFTPreAuthReq->pbssDescription;
- lim_print_mac_addr(pMac, pbssDescription->bssId, LOG1);
pftSessionEntry =
pe_create_session(pMac, pbssDescription->bssId,
&sessionId, pMac->lim.maxStation,
@@ -487,13 +486,13 @@ void lim_handle_ft_pre_auth_rsp(tpAniSirGlobal pMac, tSirRetStatus status,
else
pftSessionEntry->vdev_nss = pMac->vdev_type_nss_2g.sta;
- lim_log(pMac, LOG1, FL("created session (%p) with id = %d"),
+ lim_log(pMac, LOGD, FL("created session (%p) with id = %d"),
pftSessionEntry, pftSessionEntry->peSessionId);
/* Update the ReAssoc BSSID of the current session */
sir_copy_mac_addr(psessionEntry->limReAssocbssId,
pbssDescription->bssId);
- lim_print_mac_addr(pMac, psessionEntry->limReAssocbssId, LOG1);
+ lim_print_mac_addr(pMac, psessionEntry->limReAssocbssId, LOGD);
}
send_rsp:
if (psessionEntry->currentOperChannel !=
diff --git a/core/mac/src/pe/lim/lim_p2p.c b/core/mac/src/pe/lim/lim_p2p.c
index 4a5a54238312..4141a10ffbe3 100644
--- a/core/mac/src/pe/lim/lim_p2p.c
+++ b/core/mac/src/pe/lim/lim_p2p.c
@@ -542,7 +542,7 @@ void lim_send_p2p_action_frame(tpAniSirGlobal mac_ctx,
#endif
msg_len = mb_msg->msgLen - sizeof(tSirMbMsgP2p);
- lim_log(mac_ctx, LOG1, FL("sending fc->type=%d fc->subType=%d"),
+ lim_log(mac_ctx, LOGD, FL("sending fc->type=%d fc->subType=%d"),
fc->type, fc->subType);
if ((!mac_ctx->lim.gpLimRemainOnChanReq) && (0 != mb_msg->wait)) {
@@ -647,9 +647,9 @@ void lim_send_p2p_action_frame(tpAniSirGlobal mac_ctx,
p2p_ie[1] += noa_len;
}
msg_len += noa_len;
- lim_log(mac_ctx, LOGE,
- FL("noa_len=%d orig_len=%d p2p_ie=%p"
- " msg_len=%d nBytesToCopy=%zu "),
+ lim_log(mac_ctx, LOGD,
+ FL("noa_len: %d orig_len: %d p2p_ie: %p"
+ " msg_len: %d nBytesToCopy: %zu "),
noa_len, orig_len, p2p_ie, msg_len,
((p2p_ie + orig_len + 2) -
(uint8_t *) mb_msg->data));
diff --git a/core/mac/src/pe/lim/lim_process_assoc_req_frame.c b/core/mac/src/pe/lim/lim_process_assoc_req_frame.c
index 46521cc604c3..3da58bc5b369 100644
--- a/core/mac/src/pe/lim/lim_process_assoc_req_frame.c
+++ b/core/mac/src/pe/lim/lim_process_assoc_req_frame.c
@@ -723,10 +723,9 @@ static void lim_print_ht_cap(tpAniSirGlobal mac_ctx, tpPESession session,
if (!session->htCapability)
return;
- /* There are; are they turned on in the STA? */
if (assoc_req->HTCaps.present) {
/* The station *does* support 802.11n HT capability... */
- lim_log(mac_ctx, LOG1,
+ lim_log(mac_ctx, LOGD,
FL("AdvCodingCap:%d ChaWidthSet:%d PowerSave:%d greenField:%d shortGI20:%d shortGI40:%d txSTBC:%d rxSTBC:%d delayBA:%d maxAMSDUsize:%d DSSS/CCK:%d PSMP:%d stbcCntl:%d lsigTXProt:%d"),
assoc_req->HTCaps.advCodingCap,
assoc_req->HTCaps.supportedChannelWidthSet,
@@ -786,7 +785,7 @@ static bool lim_chk_n_process_wpa_rsn_ie(tpAniSirGlobal mac_ctx,
wps_ie = limGetWscIEPtr(mac_ctx, assoc_req->addIE.addIEdata,
assoc_req->addIE.length);
else
- lim_log(mac_ctx, LOG1,
+ lim_log(mac_ctx, LOGD,
FL("Assoc req addIEPresent = %d addIE length = %d"),
assoc_req->addIEPresent, assoc_req->addIE.length);
@@ -1203,7 +1202,7 @@ static bool lim_chk_wmm(tpAniSirGlobal mac_ctx, tpSirMacMgmtHdr hdr,
return false;
}
/* else all ok */
- lim_log(mac_ctx, LOG1, FL("AdmitControl: Sta OK!"));
+ lim_log(mac_ctx, LOGD, FL("AdmitControl: Sta OK!"));
}
return true;
}
diff --git a/core/mac/src/pe/lim/lim_process_assoc_rsp_frame.c b/core/mac/src/pe/lim/lim_process_assoc_rsp_frame.c
index ab211a1adc80..e2196542ed19 100644
--- a/core/mac/src/pe/lim/lim_process_assoc_rsp_frame.c
+++ b/core/mac/src/pe/lim/lim_process_assoc_rsp_frame.c
@@ -223,7 +223,7 @@ void lim_update_assoc_sta_datas(tpAniSirGlobal mac_ctx,
status =
sch_beacon_edca_process(mac_ctx,
&assoc_rsp->edca, session_entry);
- lim_log(mac_ctx, LOG2,
+ lim_log(mac_ctx, LOGD,
"Edca set update based on AssocRsp: status %d",
status);
if (status != eSIR_SUCCESS) {
@@ -243,7 +243,7 @@ void lim_update_assoc_sta_datas(tpAniSirGlobal mac_ctx,
tSirRetStatus status;
status = sch_beacon_edca_process(mac_ctx, &assoc_rsp->edca,
session_entry);
- lim_log(mac_ctx, LOGW,
+ lim_log(mac_ctx, LOGD,
"WME Edca set update based on AssocRsp: status %d",
status);
@@ -370,7 +370,7 @@ static void lim_update_ese_tspec(tpAniSirGlobal mac_ctx,
} else {
session_entry->tspecLen = 0;
session_entry->tspecIes = NULL;
- lim_log(mac_ctx, LOG1,
+ lim_log(mac_ctx, LOGD,
FL("Tspec EID *NOT* present in assoc rsp"));
}
return;
@@ -458,8 +458,8 @@ static void lim_update_stads_ext_cap(tpAniSirGlobal mac_ctx,
session_entry->tdls_prohibited = ext_cap->tdls_prohibited;
session_entry->tdls_chan_swit_prohibited =
ext_cap->tdls_chan_swit_prohibited;
- lim_log(mac_ctx, LOG1,
- FL("ExtCap: tdls_prohibited:%d, tdls_chan_swit_prohibited: %d"),
+ lim_log(mac_ctx, LOGD,
+ FL("ExtCap: tdls_prohibited: %d, tdls_chan_swit_prohibited: %d"),
ext_cap->tdls_prohibited,
ext_cap->tdls_chan_swit_prohibited);
#endif
diff --git a/core/mac/src/pe/lim/lim_process_auth_frame.c b/core/mac/src/pe/lim/lim_process_auth_frame.c
index 3cbc644ac0d9..848d5a288f5a 100644
--- a/core/mac/src/pe/lim/lim_process_auth_frame.c
+++ b/core/mac/src/pe/lim/lim_process_auth_frame.c
@@ -232,7 +232,7 @@ static void lim_process_auth_open_system_algo(tpAniSirGlobal mac_ctx,
{
struct tLimPreAuthNode *auth_node;
- lim_log(mac_ctx, LOGW, FL("=======> eSIR_OPEN_SYSTEM ..."));
+ lim_log(mac_ctx, LOGD, FL("=======> eSIR_OPEN_SYSTEM ..."));
/* Create entry for this STA in pre-auth list */
auth_node = lim_acquire_free_pre_auth_node(mac_ctx,
&mac_ctx->lim.gLimPreAuthTimerTable);
@@ -1352,7 +1352,7 @@ lim_process_auth_frame(tpAniSirGlobal mac_ctx, uint8_t *rx_pkt_info,
rx_auth_frm_body = &rx_auth_frame;
- lim_log(mac_ctx, LOGW,
+ lim_log(mac_ctx, LOGD,
FL("Received Auth frame with type=%d seqnum=%d, status=%d (%d)"),
(uint32_t) rx_auth_frm_body->authAlgoNumber,
(uint32_t) rx_auth_frm_body->authTransactionSeqNumber,
diff --git a/core/mac/src/pe/lim/lim_process_message_queue.c b/core/mac/src/pe/lim/lim_process_message_queue.c
index a681328d13c3..ad325e50b5dc 100644
--- a/core/mac/src/pe/lim/lim_process_message_queue.c
+++ b/core/mac/src/pe/lim/lim_process_message_queue.c
@@ -912,7 +912,7 @@ lim_handle80211_frames(tpAniSirGlobal pMac, tpSirMsgQ limMsg, uint8_t *pDeferMsg
}
#ifdef WLAN_DUMP_MGMTFRAMES
- lim_log(pMac, LOGE,
+ lim_log(pMac, LOGD,
FL("ProtVersion %d, Type %d, Subtype %d rateIndex=%d"),
fc.protVer, fc.type, fc.subType,
WMA_GET_RX_MAC_RATE_IDX(pRxPacketInfo));
@@ -924,7 +924,7 @@ lim_handle80211_frames(tpAniSirGlobal pMac, tpSirMsgQ limMsg, uint8_t *pDeferMsg
(fc.subType != SIR_MAC_MGMT_PROBE_REQ) &&
(fc.subType != SIR_MAC_MGMT_PROBE_RSP) &&
(fc.subType != SIR_MAC_MGMT_BEACON)) {
- lim_log(pMac, LOGE,
+ lim_log(pMac, LOGD,
FL("RX MGMT - Type %hu, SubType %hu, seq num[%d]"),
fc.type,
fc.subType,
diff --git a/core/mac/src/pe/lim/lim_process_mlm_req_messages.c b/core/mac/src/pe/lim/lim_process_mlm_req_messages.c
index 893cfc501764..55f7b56dec81 100644
--- a/core/mac/src/pe/lim/lim_process_mlm_req_messages.c
+++ b/core/mac/src/pe/lim/lim_process_mlm_req_messages.c
@@ -455,7 +455,7 @@ static void mlm_add_sta(tpAniSirGlobal mac_ctx, tpAddStaParams sta_param,
lim_populate_own_rate_set(mac_ctx, &sta_param->supportedRates, NULL,
false, session_entry, NULL);
- lim_log(mac_ctx, LOGE, FL(
+ lim_log(mac_ctx, LOGD, FL(
"GF: %d, ChnlWidth: %d, MimoPS: %d, lsigTXOP: %d, dsssCCK: %d,"
" SGI20: %d, SGI40%d"), sta_param->greenFieldCapable,
sta_param->ch_width, sta_param->mimoPS,
@@ -551,7 +551,7 @@ lim_mlm_add_bss(tpAniSirGlobal mac_ctx,
mlm_start_req->ssId.ssId, mlm_start_req->ssId.length);
addbss_param->ssId.length = mlm_start_req->ssId.length;
addbss_param->bHiddenSSIDEn = mlm_start_req->ssidHidden;
- lim_log(mac_ctx, LOGE, FL("TRYING TO HIDE SSID %d"),
+ lim_log(mac_ctx, LOGD, FL("TRYING TO HIDE SSID %d"),
addbss_param->bHiddenSSIDEn);
/* CR309183. Disable Proxy Probe Rsp. Host handles Probe Requests. Until FW fixed. */
addbss_param->bProxyProbeRespEn = 0;
@@ -1975,7 +1975,7 @@ lim_process_mlm_set_keys_req(tpAniSirGlobal mac_ctx, uint32_t *msg_buf)
"AID [%d], ED Type [%d], # Keys [%d] & Peer MAC Addr - "),
mlm_set_keys_req->aid, mlm_set_keys_req->edType,
mlm_set_keys_req->numKeys);
- lim_print_mac_addr(mac_ctx, mlm_set_keys_req->peer_macaddr.bytes, LOGW);
+ lim_print_mac_addr(mac_ctx, mlm_set_keys_req->peer_macaddr.bytes, LOGD);
qdf_mem_copy(curr_bssid.bytes, session->bssId, QDF_MAC_ADDR_SIZE);
switch (GET_LIM_SYSTEM_ROLE(session)) {
diff --git a/core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c b/core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c
index e7ea52e3403f..2e150debc976 100644
--- a/core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c
+++ b/core/mac/src/pe/lim/lim_process_mlm_rsp_messages.c
@@ -1303,7 +1303,7 @@ void lim_process_mlm_set_keys_cnf(tpAniSirGlobal pMac, uint32_t *pMsgBuf)
return;
}
psessionEntry->is_key_installed = 0;
- lim_log(pMac, LOG1,
+ lim_log(pMac, LOGD,
FL("Received MLM_SETKEYS_CNF with resultCode = %d"),
pMlmSetKeysCnf->resultCode);
/* if the status is success keys are installed in the
@@ -1679,7 +1679,7 @@ void lim_process_sta_mlm_del_bss_rsp(tpAniSirGlobal pMac, tpSirMsgQ limMsgQ,
goto end;
}
if (QDF_STATUS_SUCCESS == pDelBssParams->status) {
- PELOGW(lim_log(pMac, LOGW,
+ PELOGW(lim_log(pMac, LOGD,
FL("STA received the DEL_BSS_RSP for BSSID: %X."),
pDelBssParams->bssIdx);
)
@@ -2549,8 +2549,8 @@ lim_process_sta_mlm_add_bss_rsp(tpAniSirGlobal mac_ctx,
/* to know the session started for self or for peer */
session_entry->statypeForBss = STA_ENTRY_PEER;
/* Now, send WMA_ADD_STA_REQ */
- lim_log(mac_ctx, LOGW,
- FL("SessionId:%d On STA: ADD_BSS was successful"),
+ lim_log(mac_ctx, LOG1,
+ FL("SessionId: %d On STA: ADD_BSS was successful"),
session_entry->peSessionId);
sta_ds =
dph_get_hash_entry(mac_ctx, DPH_STA_HASH_INDEX_PEER,
diff --git a/core/mac/src/pe/lim/lim_process_probe_req_frame.c b/core/mac/src/pe/lim/lim_process_probe_req_frame.c
index 1cea1deda676..fe4b57148301 100644
--- a/core/mac/src/pe/lim/lim_process_probe_req_frame.c
+++ b/core/mac/src/pe/lim/lim_process_probe_req_frame.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012-2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -567,7 +567,7 @@ lim_indicate_probe_req_to_hdd(tpAniSirGlobal pMac, uint8_t *pBd,
tpSirMacMgmtHdr pHdr;
uint32_t frameLen;
- lim_log(pMac, LOG1, "Received a probe request frame");
+ lim_log(pMac, LOGD, "Received a probe request frame");
pHdr = WMA_GET_RX_MAC_HEADER(pBd);
frameLen = WMA_GET_RX_PAYLOAD_LEN(pBd);
diff --git a/core/mac/src/pe/lim/lim_process_probe_rsp_frame.c b/core/mac/src/pe/lim/lim_process_probe_rsp_frame.c
index daf93ffffadd..047294ab7d02 100644
--- a/core/mac/src/pe/lim/lim_process_probe_rsp_frame.c
+++ b/core/mac/src/pe/lim/lim_process_probe_rsp_frame.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.
*
@@ -122,7 +122,7 @@ lim_process_probe_rsp_frame(tpAniSirGlobal mac_ctx, uint8_t *rx_Packet_info,
lim_log(mac_ctx, LOGE, FL("session_entry is NULL"));
return;
}
- lim_log(mac_ctx, LOG1, "SessionId:%d ProbeRsp Frame is received",
+ lim_log(mac_ctx, LOGD, "SessionId: %d ProbeRsp Frame is received",
session_entry->peSessionId);
probe_rsp = qdf_mem_malloc(sizeof(tSirProbeRespBeacon));
@@ -154,7 +154,7 @@ lim_process_probe_rsp_frame(tpAniSirGlobal mac_ctx, uint8_t *rx_Packet_info,
}
frame_len = WMA_GET_RX_PAYLOAD_LEN(rx_Packet_info);
- QDF_TRACE(QDF_MODULE_ID_PE, QDF_TRACE_LEVEL_INFO,
+ QDF_TRACE(QDF_MODULE_ID_PE, QDF_TRACE_LEVEL_DEBUG,
FL("Probe Resp Frame Received: BSSID "
MAC_ADDRESS_STR " (RSSI %d)"),
MAC_ADDR_ARRAY(header->bssId),
@@ -376,7 +376,7 @@ lim_process_probe_rsp_frame_no_session(tpAniSirGlobal mac_ctx,
}
frame_len = WMA_GET_RX_PAYLOAD_LEN(rx_packet_info);
- lim_log(mac_ctx, LOG2,
+ lim_log(mac_ctx, LOGD,
FL("Probe Resp Frame Received: BSSID "
MAC_ADDRESS_STR " (RSSI %d)"),
MAC_ADDR_ARRAY(header->bssId),
diff --git a/core/mac/src/pe/lim/lim_process_sme_req_messages.c b/core/mac/src/pe/lim/lim_process_sme_req_messages.c
index f007ece92ed0..cb72f60ea2e6 100644
--- a/core/mac/src/pe/lim/lim_process_sme_req_messages.c
+++ b/core/mac/src/pe/lim/lim_process_sme_req_messages.c
@@ -2445,7 +2445,7 @@ static void __lim_process_sme_disassoc_req(tpAniSirGlobal pMac, uint32_t *pMsgBu
psessionEntry->smeSessionId = smesessionId;
psessionEntry->transactionId = smetransactionId;
- lim_log(pMac, LOGW, FL("ho_fail: %d "), smeDisassocReq.process_ho_fail);
+ lim_log(pMac, LOGD, FL("ho_fail: %d "), smeDisassocReq.process_ho_fail);
psessionEntry->process_ho_fail = smeDisassocReq.process_ho_fail;
switch (GET_LIM_SYSTEM_ROLE(psessionEntry)) {
diff --git a/core/mac/src/pe/lim/lim_process_tdls.c b/core/mac/src/pe/lim/lim_process_tdls.c
index e08990bb9df5..ed9bb0729441 100644
--- a/core/mac/src/pe/lim/lim_process_tdls.c
+++ b/core/mac/src/pe/lim/lim_process_tdls.c
@@ -3379,7 +3379,7 @@ tSirRetStatus lim_delete_tdls_peers(tpAniSirGlobal mac_ctx,
* (with that aid) entry from the hash table and add the aid
* in free pool
*/
- lim_log(mac_ctx, LOGE, FL("Delete all the TDLS peer connected."));
+ lim_log(mac_ctx, LOGD, FL("Delete all the TDLS peer connected"));
for (i = 0; i < aid_bitmap_size / sizeof(uint32_t); i++) {
for (aid = 0; aid < (sizeof(uint32_t) << 3); aid++) {
if (!CHECK_BIT(session_entry->peerAIDBitmap[i], aid))
diff --git a/core/mac/src/pe/lim/lim_security_utils.c b/core/mac/src/pe/lim/lim_security_utils.c
index c5938c2b923d..6153cf4511b6 100644
--- a/core/mac/src/pe/lim/lim_security_utils.c
+++ b/core/mac/src/pe/lim/lim_security_utils.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013-2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2013-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -884,7 +884,7 @@ void lim_send_set_bss_key_req(tpAniSirGlobal pMac,
msgQ.bodyptr = pSetBssKeyParams;
msgQ.bodyval = 0;
- lim_log(pMac, LOGW, FL("Sending WMA_SET_BSSKEY_REQ..."));
+ lim_log(pMac, LOGD, FL("Sending WMA_SET_BSSKEY_REQ..."));
MTRACE(mac_trace_msg_tx(pMac, psessionEntry->peSessionId, msgQ.type));
retCode = wma_post_ctrl_msg(pMac, &msgQ);
if (eSIR_SUCCESS != retCode) {
@@ -1057,7 +1057,7 @@ void lim_send_set_sta_key_req(tpAniSirGlobal pMac,
msgQ.bodyptr = pSetStaKeyParams;
msgQ.bodyval = 0;
- lim_log(pMac, LOG1, FL("Sending WMA_SET_STAKEY_REQ..."));
+ lim_log(pMac, LOGD, FL("Sending WMA_SET_STAKEY_REQ..."));
MTRACE(mac_trace_msg_tx(pMac, sessionEntry->peSessionId, msgQ.type));
retCode = wma_post_ctrl_msg(pMac, &msgQ);
if (eSIR_SUCCESS != retCode) {
diff --git a/core/mac/src/pe/lim/lim_send_management_frames.c b/core/mac/src/pe/lim/lim_send_management_frames.c
index 82d8a2a8315f..c0e09ef80d4d 100644
--- a/core/mac/src/pe/lim/lim_send_management_frames.c
+++ b/core/mac/src/pe/lim/lim_send_management_frames.c
@@ -2482,7 +2482,7 @@ QDF_STATUS lim_send_deauth_cnf(tpAniSirGlobal pMac)
#endif
(psessionEntry->isFastRoamIniFeatureEnabled) ||
(psessionEntry->is11Rconnection))) {
- lim_log(pMac, LOGE,
+ lim_log(pMac, LOGD,
FL("FT Preauth (%p,%d) Deauth rc %d src = %d"),
psessionEntry,
psessionEntry->peSessionId,
@@ -2490,7 +2490,7 @@ QDF_STATUS lim_send_deauth_cnf(tpAniSirGlobal pMac)
pMlmDeauthReq->deauthTrigger);
lim_ft_cleanup(pMac, psessionEntry);
} else {
- lim_log(pMac, LOGE,
+ lim_log(pMac, LOGD,
FL("No FT Preauth Session Cleanup in role %d"
#ifdef FEATURE_WLAN_ESE
" isESE %d"
@@ -4652,7 +4652,7 @@ tSirRetStatus lim_send_sa_query_response_frame(tpAniSirGlobal pMac,
}
lim_log(pMac, LOGD, FL("Sending a SA Query Response to "));
- lim_print_mac_addr(pMac, peer, LOGW);
+ lim_print_mac_addr(pMac, peer, LOGD);
if ((SIR_BAND_5_GHZ == lim_get_rf_band(psessionEntry->currentOperChannel))
#ifdef WLAN_FEATURE_P2P
diff --git a/core/mac/src/pe/lim/lim_send_messages.c b/core/mac/src/pe/lim/lim_send_messages.c
index 3222cf08c613..a41996d819d9 100644
--- a/core/mac/src/pe/lim/lim_send_messages.c
+++ b/core/mac/src/pe/lim/lim_send_messages.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.
*
@@ -400,16 +400,16 @@ void lim_set_active_edca_params(tpAniSirGlobal mac_ctx,
* such that: BE_ACM=1, BK_ACM=1, VI_ACM=1, VO_ACM=0
* then all AC will be downgraded to AC_BE.
*/
- lim_log(mac_ctx, LOG1, FL("adAdmitMask[UPLINK] = 0x%x "),
+ lim_log(mac_ctx, LOGD, FL("adAdmitMask[UPLINK] = 0x%x "),
pe_session->gAcAdmitMask[SIR_MAC_DIRECTION_UPLINK]);
- lim_log(mac_ctx, LOG1, FL("adAdmitMask[DOWNLINK] = 0x%x "),
+ lim_log(mac_ctx, LOGD, FL("adAdmitMask[DOWNLINK] = 0x%x "),
pe_session->gAcAdmitMask[SIR_MAC_DIRECTION_DNLINK]);
for (ac = EDCA_AC_BK; ac <= EDCA_AC_VO; ac++) {
ac_admitted =
((pe_session->gAcAdmitMask[SIR_MAC_DIRECTION_UPLINK] &
(1 << ac)) >> ac);
- lim_log(mac_ctx, LOG1,
+ lim_log(mac_ctx, LOGD,
FL("For AC[%d]: acm=%d, ac_admitted=%d "),
ac, edca_params[ac].aci.acm, ac_admitted);
if ((edca_params[ac].aci.acm == 1) && (ac_admitted == 0)) {
@@ -425,7 +425,7 @@ void lim_set_active_edca_params(tpAniSirGlobal mac_ctx,
i--)
;
new_ac = i;
- lim_log(mac_ctx, LOGW,
+ lim_log(mac_ctx, LOG1,
FL("Downgrading AC %d ---> AC %d "),
ac, new_ac);
pe_session->gLimEdcaParamsActive[ac] =
diff --git a/core/mac/src/pe/lim/lim_session.c b/core/mac/src/pe/lim/lim_session.c
index 1bd3a4025af7..24ecdf7fafc3 100644
--- a/core/mac/src/pe/lim/lim_session.c
+++ b/core/mac/src/pe/lim/lim_session.c
@@ -202,7 +202,7 @@ static void pe_reset_protection_callback(void *ptr)
pe_session_entry->old_protection_state) &&
(false == mac_ctx->sap.SapDfsInfo.is_dfs_cac_timer_running)) {
QDF_TRACE(QDF_MODULE_ID_PE,
- QDF_TRACE_LEVEL_ERROR,
+ QDF_TRACE_LEVEL_DEBUG,
FL("protection changed, update beacon template"));
/* update beacon fix params and send update to FW */
qdf_mem_zero(&beacon_params, sizeof(tUpdateBeaconParams));
diff --git a/core/mac/src/pe/lim/lim_timer_utils.c b/core/mac/src/pe/lim/lim_timer_utils.c
index 2111ac540c82..a7b5d373dbc5 100644
--- a/core/mac/src/pe/lim/lim_timer_utils.c
+++ b/core/mac/src/pe/lim/lim_timer_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.
*
@@ -222,7 +222,7 @@ uint32_t lim_create_timers(tpAniSirGlobal pMac)
uint32_t cfgValue, i = 0;
uint32_t cfgValue1;
- lim_log(pMac, LOG1,
+ lim_log(pMac, LOGD,
FL("Creating Timers used by LIM module in Role %d"),
pMac->lim.gLimSystemRole);
/* Create timers required for host roaming feature */
@@ -857,7 +857,7 @@ void lim_deactivate_and_change_timer(tpAniSirGlobal pMac, uint32_t timerId)
lim_log(pMac, LOGP,
FL("unable to deactivate probeAfterHBTimer"));
} else {
- lim_log(pMac, LOG1,
+ lim_log(pMac, LOGD,
FL("Deactivated probe after hb timer"));
}
@@ -881,7 +881,7 @@ void lim_deactivate_and_change_timer(tpAniSirGlobal pMac, uint32_t timerId)
lim_log(pMac, LOGP,
FL("unable to change ProbeAfterHBTimer"));
} else {
- lim_log(pMac, LOGW,
+ lim_log(pMac, LOGD,
FL("Probe after HB timer value is changed = %u"),
val);
}
diff --git a/core/mac/src/pe/lim/lim_utils.c b/core/mac/src/pe/lim/lim_utils.c
index de378fdb7dc2..e41958049e2a 100644
--- a/core/mac/src/pe/lim/lim_utils.c
+++ b/core/mac/src/pe/lim/lim_utils.c
@@ -878,7 +878,7 @@ uint8_t lim_write_deferred_msg_q(tpAniSirGlobal mac_ctx, tpSirMsgQ lim_msg)
* happen.
*/
if (mac_ctx->lim.gLimDeferredMsgQ.size > 0)
- lim_log(mac_ctx, LOGW,
+ lim_log(mac_ctx, LOGD,
FL("%d Deferred Msg (type 0x%x, scan %d, global sme %d, global mlme %d, addts %d)"),
mac_ctx->lim.gLimDeferredMsgQ.size,
lim_msg->type,
diff --git a/core/mac/src/pe/rrm/rrm_api.c b/core/mac/src/pe/rrm/rrm_api.c
index 1d8b99feb319..30c775a06dfd 100644
--- a/core/mac/src/pe/rrm/rrm_api.c
+++ b/core/mac/src/pe/rrm/rrm_api.c
@@ -92,7 +92,7 @@ void
rrm_cache_mgmt_tx_power(tpAniSirGlobal pMac, int8_t txPower,
tpPESession pSessionEntry)
{
- lim_log(pMac, LOG1, "Cache Mgmt Tx Power = %d", txPower);
+ lim_log(pMac, LOGD, "Cache Mgmt Tx Power: %d", txPower);
if (pSessionEntry == NULL) {
lim_log(pMac, LOG3, "%s: pSessionEntry is NULL", __func__);
@@ -124,7 +124,7 @@ int8_t rrm_get_mgmt_tx_power(tpAniSirGlobal pMac, tpPESession pSessionEntry)
return pMac->rrm.rrmPEContext.txMgmtPower;
}
- lim_log(pMac, LOG1, FL("tx mgmt pwr %d"), pSessionEntry->txMgmtPower);
+ lim_log(pMac, LOGD, FL("tx mgmt pwr %d"), pSessionEntry->txMgmtPower);
return pSessionEntry->txMgmtPower;
}
diff --git a/core/mac/src/pe/sch/sch_api.c b/core/mac/src/pe/sch/sch_api.c
index 5ecf8a24d557..50d540ce41f1 100644
--- a/core/mac/src/pe/sch/sch_api.c
+++ b/core/mac/src/pe/sch/sch_api.c
@@ -503,7 +503,7 @@ uint32_t lim_send_probe_rsp_template_to_hal(tpAniSirGlobal pMac,
nBytes, retCode);
qdf_mem_free(pprobeRespParams);
} else {
- sch_log(pMac, LOG1,
+ sch_log(pMac, LOGD,
FL
("lim_send_probe_rsp_template_to_hal: Probe response template msg posted to HAL of bytes %d"),
nBytes);
diff --git a/core/mac/src/pe/sch/sch_beacon_gen.c b/core/mac/src/pe/sch/sch_beacon_gen.c
index 2f06cbd2dea2..cb1c43e0d5e3 100644
--- a/core/mac/src/pe/sch/sch_beacon_gen.c
+++ b/core/mac/src/pe/sch/sch_beacon_gen.c
@@ -198,7 +198,7 @@ sch_set_fixed_beacon_fields(tpAniSirGlobal mac_ctx, tpPESession session)
return eSIR_MEM_ALLOC_FAILED;
}
- sch_log(mac_ctx, LOG1, FL("Setting fixed beacon fields"));
+ sch_log(mac_ctx, LOGD, FL("Setting fixed beacon fields"));
/*
* First set the fixed fields:
@@ -277,7 +277,7 @@ sch_set_fixed_beacon_fields(tpAniSirGlobal mac_ctx, tpPESession session)
n_status);
}
session->schBeaconOffsetBegin = offset + (uint16_t) n_bytes;
- sch_log(mac_ctx, LOG1, FL("Initialized beacon begin, offset %d"),
+ sch_log(mac_ctx, LOGD, FL("Initialized beacon begin, offset %d"),
offset);
/* Initialize the 'new' fields at the end of the beacon */
@@ -317,7 +317,7 @@ sch_set_fixed_beacon_fields(tpAniSirGlobal mac_ctx, tpPESession session)
*/
populate_dot11f_chan_switch_ann(mac_ctx,
&bcn_2->ChanSwitchAnn, session);
- sch_log(mac_ctx, LOG1,
+ sch_log(mac_ctx, LOGD,
FL("csa: mode:%d chan:%d count:%d"),
bcn_2->ChanSwitchAnn.switchMode,
bcn_2->ChanSwitchAnn.newChannel,
@@ -346,7 +346,7 @@ sch_set_fixed_beacon_fields(tpAniSirGlobal mac_ctx, tpPESession session)
if (true == session->dfsIncludeChanWrapperIe) {
populate_dot11f_chan_switch_wrapper(mac_ctx,
&bcn_2->ChannelSwitchWrapper, session);
- sch_log(mac_ctx, LOG1,
+ sch_log(mac_ctx, LOGD,
FL("wrapper: width:%d f0:%d f1:%d"),
bcn_2->ChannelSwitchWrapper.
WiderBWChanSwitchAnn.newChanWidth,
@@ -373,7 +373,7 @@ sch_set_fixed_beacon_fields(tpAniSirGlobal mac_ctx, tpPESession session)
populate_dot11f_ht_info(mac_ctx, &bcn_2->HTInfo, session);
}
if (session->vhtCapability) {
- sch_log(mac_ctx, LOGW, FL("Populate VHT IEs in Beacon"));
+ sch_log(mac_ctx, LOGD, FL("Populate VHT IEs in Beacon"));
populate_dot11f_vht_caps(mac_ctx, session, &bcn_2->VHTCaps);
populate_dot11f_vht_operation(mac_ctx, session,
&bcn_2->VHTOperation);
@@ -537,7 +537,7 @@ sch_set_fixed_beacon_fields(tpAniSirGlobal mac_ctx, tpPESession session)
else
mac_ctx->sch.schObject.p2pIeOffset = 0;
- sch_log(mac_ctx, LOG1, FL("Initialized beacon end, offset %d"),
+ sch_log(mac_ctx, LOGD, FL("Initialized beacon end, offset %d"),
session->schBeaconOffsetEnd);
mac_ctx->sch.schObject.fBeaconChanged = 1;
qdf_mem_free(bcn_1);
diff --git a/core/mac/src/pe/sch/sch_message.c b/core/mac/src/pe/sch/sch_message.c
index 020821169399..92a96213b754 100644
--- a/core/mac/src/pe/sch/sch_message.c
+++ b/core/mac/src/pe/sch/sch_message.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012-2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -242,7 +242,7 @@ sch_get_params(tpAniSirGlobal pMac,
val = WNI_CFG_EDCA_PROFILE_ANI;
}
- sch_log(pMac, LOGW, FL("EdcaProfile: Using %d (%s)"), val,
+ sch_log(pMac, LOGD, FL("EdcaProfile: Using %d (%s)"), val,
((val == WNI_CFG_EDCA_PROFILE_WMM) ? "WMM" : "HiPerf"));
if (local) {