qcacld-3.0: Change the level of info level logs in PE
Change the level of info level logs in PE to avoid clutter on console log. Change-Id: I185cc52f3deffe7cb7826d6d8375899a35ce459b CRs-Fixed: 2294985
This commit is contained in:
parent
0a8461343d
commit
332b74c364
@ -1150,15 +1150,15 @@ lim_process_auth_frame(tpAniSirGlobal mac_ctx, uint8_t *rx_pkt_info,
|
||||
curr_seq_num = (mac_hdr->seqControl.seqNumHi << 4) |
|
||||
(mac_hdr->seqControl.seqNumLo);
|
||||
|
||||
pe_info("Sessionid: %d System role: %d limMlmState: %d: Auth response Received BSSID: "MAC_ADDRESS_STR" RSSI: %d",
|
||||
pe_session->peSessionId, GET_LIM_SYSTEM_ROLE(pe_session),
|
||||
pe_session->limMlmState, MAC_ADDR_ARRAY(mac_hdr->bssId),
|
||||
(uint) abs((int8_t) WMA_GET_RX_RSSI_NORMALIZED(rx_pkt_info)));
|
||||
pe_debug("Sessionid: %d System role: %d limMlmState: %d: Auth response Received BSSID: "MAC_ADDRESS_STR" RSSI: %d",
|
||||
pe_session->peSessionId, GET_LIM_SYSTEM_ROLE(pe_session),
|
||||
pe_session->limMlmState, MAC_ADDR_ARRAY(mac_hdr->bssId),
|
||||
(uint) abs((int8_t) WMA_GET_RX_RSSI_NORMALIZED(rx_pkt_info)));
|
||||
|
||||
if (pe_session->prev_auth_seq_num == curr_seq_num &&
|
||||
mac_hdr->fc.retry) {
|
||||
pe_err("auth frame, seq num: %d is already processed, drop it",
|
||||
curr_seq_num);
|
||||
pe_debug("auth frame, seq num: %d is already processed, drop it",
|
||||
curr_seq_num);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -1517,9 +1517,9 @@ QDF_STATUS lim_process_auth_frame_no_session(tpAniSirGlobal pMac, uint8_t *pBd,
|
||||
pBody = WMA_GET_RX_MPDU_DATA(pBd);
|
||||
frameLen = WMA_GET_RX_PAYLOAD_LEN(pBd);
|
||||
|
||||
pe_info("Auth Frame Received: BSSID " MAC_ADDRESS_STR " (RSSI %d)",
|
||||
MAC_ADDR_ARRAY(pHdr->bssId),
|
||||
(uint) abs((int8_t) WMA_GET_RX_RSSI_NORMALIZED(pBd)));
|
||||
pe_debug("Auth Frame Received: BSSID " MAC_ADDRESS_STR " (RSSI %d)",
|
||||
MAC_ADDR_ARRAY(pHdr->bssId),
|
||||
(uint) abs((int8_t) WMA_GET_RX_RSSI_NORMALIZED(pBd)));
|
||||
|
||||
/* Auth frame has come on a new BSS, however, we need to find the session
|
||||
* from where the auth-req was sent to the new AP
|
||||
|
@ -86,7 +86,7 @@ lim_process_deauth_frame(tpAniSirGlobal pMac, uint8_t *pRxPacketInfo,
|
||||
(eLIM_SME_WT_DEAUTH_STATE == psessionEntry->limSmeState))) {
|
||||
/*Every 15th deauth frame will be logged in kmsg */
|
||||
if (!(pMac->lim.deauthMsgCnt & 0xF)) {
|
||||
pe_info("received Deauth frame in DEAUTH_WT_STATE"
|
||||
pe_debug("received Deauth frame in DEAUTH_WT_STATE"
|
||||
"(already processing previously received DEAUTH frame)"
|
||||
"Dropping this.. Deauth Failed %d",
|
||||
++pMac->lim.deauthMsgCnt);
|
||||
@ -99,14 +99,14 @@ lim_process_deauth_frame(tpAniSirGlobal pMac, uint8_t *pRxPacketInfo,
|
||||
if (lim_is_group_addr(pHdr->sa)) {
|
||||
/* Received Deauth frame from a BC/MC address */
|
||||
/* Log error and ignore it */
|
||||
pe_info("received Deauth frame from a BC/MC address");
|
||||
pe_debug("received Deauth frame from a BC/MC address");
|
||||
return;
|
||||
}
|
||||
|
||||
if (lim_is_group_addr(pHdr->da) && !lim_is_addr_bc(pHdr->da)) {
|
||||
/* Received Deauth frame for a MC address */
|
||||
/* Log error and ignore it */
|
||||
pe_info("received Deauth frame for a MC address");
|
||||
pe_debug("received Deauth frame for a MC address");
|
||||
return;
|
||||
}
|
||||
if (!lim_validate_received_frame_a1_addr(pMac,
|
||||
@ -119,7 +119,7 @@ lim_process_deauth_frame(tpAniSirGlobal pMac, uint8_t *pRxPacketInfo,
|
||||
if (psessionEntry->limRmfEnabled
|
||||
&& (WMA_GET_RX_DPU_FEEDBACK(pRxPacketInfo) &
|
||||
DPU_FEEDBACK_UNPROTECTED_ERROR)) {
|
||||
pe_info("received an unprotected deauth from AP");
|
||||
pe_debug("received an unprotected deauth from AP");
|
||||
/*
|
||||
* When 11w offload is enabled then
|
||||
* firmware should not fwd this frame
|
||||
@ -146,7 +146,7 @@ lim_process_deauth_frame(tpAniSirGlobal pMac, uint8_t *pRxPacketInfo,
|
||||
/* Get reasonCode from Deauthentication frame body */
|
||||
reasonCode = sir_read_u16(pBody);
|
||||
|
||||
pe_info("Received Deauth frame for Addr: " MAC_ADDRESS_STR
|
||||
pe_debug("Received Deauth frame for Addr: " MAC_ADDRESS_STR
|
||||
"(mlm state = %s, sme state = %d systemrole = %d "
|
||||
"RSSI = %d) with reason code %d [%s] from "
|
||||
MAC_ADDRESS_STR, MAC_ADDR_ARRAY(pHdr->da),
|
||||
|
@ -100,11 +100,10 @@ lim_process_disassoc_frame(tpAniSirGlobal pMac, uint8_t *pRxPacketInfo,
|
||||
((eLIM_SME_WT_DISASSOC_STATE == psessionEntry->limSmeState) ||
|
||||
(eLIM_SME_WT_DEAUTH_STATE == psessionEntry->limSmeState))) {
|
||||
if (!(pMac->lim.disassocMsgCnt & 0xF)) {
|
||||
pe_info("received Disassoc frame in %s"
|
||||
"(already processing previously received Disassoc frame)"
|
||||
"Dropping this.. Disassoc Failed %d",
|
||||
lim_sme_state_str(psessionEntry->limSmeState),
|
||||
++pMac->lim.disassocMsgCnt);
|
||||
pe_debug("received Disassoc frame in %s"
|
||||
"already processing previously received Disassoc frame, dropping this %d",
|
||||
lim_sme_state_str(psessionEntry->limSmeState),
|
||||
++pMac->lim.disassocMsgCnt);
|
||||
} else {
|
||||
pMac->lim.disassocMsgCnt++;
|
||||
}
|
||||
|
@ -2378,7 +2378,7 @@ static void lim_process_auth_retry_timer(tpAniSirGlobal mac_ctx)
|
||||
auth_frame.authTransactionSeqNumber =
|
||||
SIR_MAC_AUTH_FRAME_1;
|
||||
auth_frame.authStatusCode = 0;
|
||||
pe_warn("Retry Auth");
|
||||
pe_debug("Retry Auth");
|
||||
mac_ctx->auth_ack_status = LIM_AUTH_ACK_NOT_RCD;
|
||||
lim_increase_fils_sequence_number(session_entry);
|
||||
lim_send_auth_mgmt_frame(mac_ctx,
|
||||
@ -2561,7 +2561,7 @@ void lim_process_assoc_failure_timeout(tpAniSirGlobal mac_ctx,
|
||||
* when device has missed the assoc resp sent by peer.
|
||||
* By sending deauth try to clear the session created on peer device.
|
||||
*/
|
||||
pe_info("Sessionid: %d try sending deauth on channel %d to BSSID: "
|
||||
pe_debug("Sessionid: %d try sending deauth on channel %d to BSSID: "
|
||||
MAC_ADDRESS_STR, session->peSessionId,
|
||||
session->currentOperChannel,
|
||||
MAC_ADDR_ARRAY(session->bssId));
|
||||
|
@ -2286,7 +2286,7 @@ lim_send_auth_mgmt_frame(tpAniSirGlobal mac_ctx,
|
||||
goto alloc_packet;
|
||||
}
|
||||
|
||||
pe_info("Sending Auth seq# %d status %d (%d) to "
|
||||
pe_debug("Sending Auth seq# %d status %d (%d) to "
|
||||
MAC_ADDRESS_STR,
|
||||
auth_frame->authTransactionSeqNumber,
|
||||
auth_frame->authStatusCode,
|
||||
|
@ -395,7 +395,7 @@ void lim_set_active_edca_params(tpAniSirGlobal mac_ctx,
|
||||
i--)
|
||||
;
|
||||
new_ac = i;
|
||||
pe_info("Downgrading AC %d ---> AC %d ", ac, new_ac);
|
||||
pe_debug("Downgrading AC %d ---> AC %d ", ac, new_ac);
|
||||
pe_session->gLimEdcaParamsActive[ac] =
|
||||
edca_params[new_ac];
|
||||
}
|
||||
|
@ -1818,10 +1818,10 @@ static QDF_STATUS lim_process_csa_wbw_ie(tpAniSirGlobal mac_ctx,
|
||||
|
||||
ap_new_ch_width = csa_params->new_ch_width + 1;
|
||||
|
||||
pe_info("new channel: %d new_ch_width: %d seg0: %d seg1: %d",
|
||||
csa_params->channel, ap_new_ch_width,
|
||||
csa_params->new_ch_freq_seg1,
|
||||
csa_params->new_ch_freq_seg2);
|
||||
pe_debug("new channel: %d new_ch_width: %d seg0: %d seg1: %d",
|
||||
csa_params->channel, ap_new_ch_width,
|
||||
csa_params->new_ch_freq_seg1,
|
||||
csa_params->new_ch_freq_seg2);
|
||||
|
||||
if ((ap_new_ch_width != CH_WIDTH_80MHZ) &&
|
||||
(ap_new_ch_width != CH_WIDTH_160MHZ) &&
|
||||
@ -1863,8 +1863,8 @@ static QDF_STATUS lim_process_csa_wbw_ie(tpAniSirGlobal mac_ctx,
|
||||
}
|
||||
|
||||
if (ap_new_ch_width > fw_vht_ch_wd) {
|
||||
pe_info("New BW is not supported, setting BW to %d",
|
||||
fw_vht_ch_wd);
|
||||
pe_debug("New BW is not supported, setting BW to %d",
|
||||
fw_vht_ch_wd);
|
||||
ap_new_ch_width = fw_vht_ch_wd;
|
||||
}
|
||||
ch_params.ch_width = ap_new_ch_width ;
|
||||
@ -1875,8 +1875,8 @@ static QDF_STATUS lim_process_csa_wbw_ie(tpAniSirGlobal mac_ctx,
|
||||
csa_params->new_ch_freq_seg2 = ch_params.center_freq_seg1;
|
||||
} else if (!new_ch_width_dfn) {
|
||||
if (ap_new_ch_width > fw_vht_ch_wd) {
|
||||
pe_info("New BW is not supported, setting BW to %d",
|
||||
fw_vht_ch_wd);
|
||||
pe_debug("New BW is not supported, setting BW to %d",
|
||||
fw_vht_ch_wd);
|
||||
ap_new_ch_width = fw_vht_ch_wd;
|
||||
}
|
||||
if (csa_params->new_ch_freq_seg1 != csa_params->channel +
|
||||
@ -1893,8 +1893,8 @@ static QDF_STATUS lim_process_csa_wbw_ie(tpAniSirGlobal mac_ctx,
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
if (ap_new_ch_width > fw_vht_ch_wd) {
|
||||
pe_info("New width is not supported, setting BW to %d",
|
||||
fw_vht_ch_wd);
|
||||
pe_debug("New width is not supported, setting BW to %d",
|
||||
fw_vht_ch_wd);
|
||||
ap_new_ch_width = fw_vht_ch_wd;
|
||||
}
|
||||
if ((ap_new_ch_width == CH_WIDTH_160MHZ) &&
|
||||
@ -2015,18 +2015,18 @@ void lim_handle_csa_offload_msg(tpAniSirGlobal mac_ctx,
|
||||
chnl_switch_info =
|
||||
&session_entry->gLimWiderBWChannelSwitch;
|
||||
|
||||
pe_info("vht: %d ht: %d flag: %x chan: %d, sec_ch_offset %d",
|
||||
session_entry->vhtCapability,
|
||||
session_entry->htSupportedChannelWidthSet,
|
||||
csa_params->ies_present_flag,
|
||||
csa_params->channel,
|
||||
csa_params->sec_chan_offset);
|
||||
pe_info("seg1: %d seg2: %d width: %d country: %s class: %d",
|
||||
csa_params->new_ch_freq_seg1,
|
||||
csa_params->new_ch_freq_seg2,
|
||||
csa_params->new_ch_width,
|
||||
mac_ctx->scan.countryCodeCurrent,
|
||||
csa_params->new_op_class);
|
||||
pe_debug("vht: %d ht: %d flag: %x chan: %d, sec_ch_offset %d",
|
||||
session_entry->vhtCapability,
|
||||
session_entry->htSupportedChannelWidthSet,
|
||||
csa_params->ies_present_flag,
|
||||
csa_params->channel,
|
||||
csa_params->sec_chan_offset);
|
||||
pe_debug("seg1: %d seg2: %d width: %d country: %s class: %d",
|
||||
csa_params->new_ch_freq_seg1,
|
||||
csa_params->new_ch_freq_seg2,
|
||||
csa_params->new_ch_width,
|
||||
mac_ctx->scan.countryCodeCurrent,
|
||||
csa_params->new_op_class);
|
||||
|
||||
if (session_entry->vhtCapability &&
|
||||
session_entry->htSupportedChannelWidthSet) {
|
||||
@ -2431,8 +2431,8 @@ lim_send_bss_color_change_ie_update(tpAniSirGlobal mac_ctx,
|
||||
|
||||
/* Send update beacon template message */
|
||||
lim_send_beacon_ind(mac_ctx, session);
|
||||
pe_info("Updated BSS color change countdown = %d",
|
||||
session->he_bss_color_change.countdown);
|
||||
pe_debug("Updated BSS color change countdown = %d",
|
||||
session->he_bss_color_change.countdown);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -357,19 +357,19 @@ sch_set_fixed_beacon_fields(tpAniSirGlobal mac_ctx, tpPESession session)
|
||||
populate_dot_11_f_ext_chann_switch_ann(mac_ctx,
|
||||
ext_csa,
|
||||
session);
|
||||
pe_info("ecsa: mode:%d reg:%d chan:%d count:%d",
|
||||
ext_csa->switch_mode,
|
||||
ext_csa->new_reg_class,
|
||||
ext_csa->new_channel,
|
||||
ext_csa->switch_count);
|
||||
pe_debug("ecsa: mode:%d reg:%d chan:%d count:%d",
|
||||
ext_csa->switch_mode,
|
||||
ext_csa->new_reg_class,
|
||||
ext_csa->new_channel,
|
||||
ext_csa->switch_count);
|
||||
} else {
|
||||
populate_dot11f_chan_switch_ann(mac_ctx,
|
||||
&bcn_2->ChanSwitchAnn,
|
||||
session);
|
||||
pe_info("csa: mode:%d chan:%d count:%d",
|
||||
bcn_2->ChanSwitchAnn.switchMode,
|
||||
bcn_2->ChanSwitchAnn.newChannel,
|
||||
bcn_2->ChanSwitchAnn.switchCount);
|
||||
pe_debug("csa: mode:%d chan:%d count:%d",
|
||||
bcn_2->ChanSwitchAnn.switchMode,
|
||||
bcn_2->ChanSwitchAnn.newChannel,
|
||||
bcn_2->ChanSwitchAnn.switchCount);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -130,25 +130,25 @@ sys_bbt_process_message_core(tpAniSirGlobal mac_ctx, struct scheduler_msg *msg,
|
||||
|
||||
mac_hdr = WMA_GET_RX_MAC_HEADER(bd_ptr);
|
||||
if (subtype == SIR_MAC_MGMT_ASSOC_REQ) {
|
||||
pe_info("ASSOC REQ frame allowed: da: " MAC_ADDRESS_STR ", sa: " MAC_ADDRESS_STR ", bssid: " MAC_ADDRESS_STR ", Assoc Req count so far: %d",
|
||||
MAC_ADDR_ARRAY(mac_hdr->da),
|
||||
MAC_ADDR_ARRAY(mac_hdr->sa),
|
||||
MAC_ADDR_ARRAY(mac_hdr->bssId),
|
||||
mac_ctx->sys.gSysFrameCount[type][subtype]);
|
||||
pe_debug("ASSOC REQ frame allowed: da: " MAC_ADDRESS_STR ", sa: " MAC_ADDRESS_STR ", bssid: " MAC_ADDRESS_STR ", Assoc Req count so far: %d",
|
||||
MAC_ADDR_ARRAY(mac_hdr->da),
|
||||
MAC_ADDR_ARRAY(mac_hdr->sa),
|
||||
MAC_ADDR_ARRAY(mac_hdr->bssId),
|
||||
mac_ctx->sys.gSysFrameCount[type][subtype]);
|
||||
}
|
||||
if (subtype == SIR_MAC_MGMT_DEAUTH) {
|
||||
pe_info("DEAUTH frame allowed: da: " MAC_ADDRESS_STR ", sa: " MAC_ADDRESS_STR ", bssid: " MAC_ADDRESS_STR ", DEAUTH count so far: %d",
|
||||
MAC_ADDR_ARRAY(mac_hdr->da),
|
||||
MAC_ADDR_ARRAY(mac_hdr->sa),
|
||||
MAC_ADDR_ARRAY(mac_hdr->bssId),
|
||||
mac_ctx->sys.gSysFrameCount[type][subtype]);
|
||||
pe_debug("DEAUTH frame allowed: da: " MAC_ADDRESS_STR ", sa: " MAC_ADDRESS_STR ", bssid: " MAC_ADDRESS_STR ", DEAUTH count so far: %d",
|
||||
MAC_ADDR_ARRAY(mac_hdr->da),
|
||||
MAC_ADDR_ARRAY(mac_hdr->sa),
|
||||
MAC_ADDR_ARRAY(mac_hdr->bssId),
|
||||
mac_ctx->sys.gSysFrameCount[type][subtype]);
|
||||
}
|
||||
if (subtype == SIR_MAC_MGMT_DISASSOC) {
|
||||
pe_info("DISASSOC frame allowed: da: " MAC_ADDRESS_STR ", sa: " MAC_ADDRESS_STR ", bssid: " MAC_ADDRESS_STR ", DISASSOC count so far: %d",
|
||||
MAC_ADDR_ARRAY(mac_hdr->da),
|
||||
MAC_ADDR_ARRAY(mac_hdr->sa),
|
||||
MAC_ADDR_ARRAY(mac_hdr->bssId),
|
||||
mac_ctx->sys.gSysFrameCount[type][subtype]);
|
||||
pe_debug("DISASSOC frame allowed: da: " MAC_ADDRESS_STR ", sa: " MAC_ADDRESS_STR ", bssid: " MAC_ADDRESS_STR ", DISASSOC count so far: %d",
|
||||
MAC_ADDR_ARRAY(mac_hdr->da),
|
||||
MAC_ADDR_ARRAY(mac_hdr->sa),
|
||||
MAC_ADDR_ARRAY(mac_hdr->bssId),
|
||||
mac_ctx->sys.gSysFrameCount[type][subtype]);
|
||||
}
|
||||
|
||||
/* Post the message to PE Queue */
|
||||
|
Loading…
Reference in New Issue
Block a user