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
This commit is contained in:
Srinivas Girigowda 2017-03-19 23:23:59 -07:00
commit f936d825d0
26 changed files with 73 additions and 80 deletions

View file

@ -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. */

View file

@ -626,8 +626,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);
@ -1488,10 +1486,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,
@ -2376,7 +2374,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);
@ -2421,7 +2419,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,

View file

@ -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);
@ -2311,7 +2311,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
@ -2984,7 +2984,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,
@ -3043,7 +3043,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
@ -3069,7 +3069,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 ==
@ -3399,7 +3399,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,
@ -3408,7 +3408,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;

View file

@ -506,7 +506,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;
@ -606,7 +605,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 =

View file

@ -452,7 +452,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,
@ -488,13 +487,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 !=

View file

@ -587,7 +587,7 @@ void lim_send_p2p_action_frame(tpAniSirGlobal mac_ctx,
uint8_t sme_session_id = 0;
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)) {
@ -692,9 +692,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));

View file

@ -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;
}

View file

@ -232,7 +232,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) {
@ -252,7 +252,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);
@ -379,7 +379,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;
@ -467,8 +467,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

View file

@ -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.
*
@ -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);
@ -1336,7 +1336,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,

View file

@ -907,7 +907,7 @@ lim_handle80211_frames(tpAniSirGlobal pMac, struct scheduler_msg *limMsg,
}
#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));
@ -919,7 +919,7 @@ lim_handle80211_frames(tpAniSirGlobal pMac, struct scheduler_msg *limMsg,
(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,

View file

@ -457,7 +457,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, 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,
@ -559,7 +559,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;
@ -1987,7 +1987,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)) {

View file

@ -1307,7 +1307,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
@ -1688,7 +1688,7 @@ void lim_process_sta_mlm_del_bss_rsp(tpAniSirGlobal pMac,
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);
)
@ -2564,8 +2564,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,

View file

@ -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);

View file

@ -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),

View file

@ -2444,7 +2444,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)) {

View file

@ -3380,7 +3380,7 @@ static void lim_check_aid_and_delete_peer(tpAniSirGlobal p_mac,
* (with that aid) entry from the hash table and add the aid
* in free pool
*/
lim_log(p_mac, LOG1, FL("Delete all the TDLS peer connected"));
lim_log(p_mac, 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))

View file

@ -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) {

View file

@ -2497,7 +2497,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,
@ -2505,7 +2505,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"
@ -4700,8 +4700,8 @@ tSirRetStatus lim_send_sa_query_response_frame(tpAniSirGlobal pMac,
nStatus);
}
lim_log(pMac, LOG1, FL("Sending a SA Query Response to "));
lim_print_mac_addr(pMac, peer, LOGW);
lim_log(pMac, LOGD, FL("Sending a SA Query Response to "));
lim_print_mac_addr(pMac, peer, LOGD);
if ((SIR_BAND_5_GHZ == lim_get_rf_band(psessionEntry->currentOperChannel))
#ifdef WLAN_FEATURE_P2P

View file

@ -409,16 +409,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)) {
@ -434,7 +434,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] =

View file

@ -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));

View file

@ -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);
}

View file

@ -881,7 +881,7 @@ uint8_t lim_write_deferred_msg_q(tpAniSirGlobal mac_ctx,
* 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,

View file

@ -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;
}

View file

@ -498,7 +498,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);

View file

@ -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);
@ -546,7 +546,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);

View file

@ -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) {