summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNishank Aggarwal <naggar@codeaurora.org>2017-03-23 16:16:28 +0530
committerqcabuildsw <qcabuildsw@localhost>2017-03-24 19:08:11 -0700
commite7e43cf62537fa105593ef517b8caa335f98c7ed (patch)
tree68d645b6b36df920f09dae5e0fcf178e31085d37
parent5a29e0efe48b40df2b9f699aa7258afd89b94028 (diff)
qcacld-3.0: Replace lim_log() with pe_* log levels in lim_prop_exts_utils.c
Replace lim_log() with pe_* appropriate log levels in lim_prop_exts_utils.c Change-Id: Ifbc46dd1d3afd6add9256207e140b030ddd5d5bb CRs-Fixed: 1093093
-rw-r--r--core/mac/src/pe/lim/lim_prop_exts_utils.c17
1 files changed, 6 insertions, 11 deletions
diff --git a/core/mac/src/pe/lim/lim_prop_exts_utils.c b/core/mac/src/pe/lim/lim_prop_exts_utils.c
index 390a1c428d3c..fe2881e0d3b7 100644
--- a/core/mac/src/pe/lim/lim_prop_exts_utils.c
+++ b/core/mac/src/pe/lim/lim_prop_exts_utils.c
@@ -122,7 +122,7 @@ lim_extract_ap_capability(tpAniSirGlobal mac_ctx, uint8_t *p_ie,
beacon_struct = qdf_mem_malloc(sizeof(tSirProbeRespBeacon));
if (NULL == beacon_struct) {
- lim_log(mac_ctx, LOGE, FL("Unable to allocate memory"));
+ pe_err("Unable to allocate memory");
return;
}
@@ -135,8 +135,7 @@ lim_extract_ap_capability(tpAniSirGlobal mac_ctx, uint8_t *p_ie,
p_ie, ie_len);
if (sir_parse_beacon_ie(mac_ctx, beacon_struct, p_ie,
(uint32_t) ie_len) != eSIR_SUCCESS) {
- lim_log(mac_ctx, LOGE, FL(
- "sir_parse_beacon_ie failed to parse beacon"));
+ pe_err("sir_parse_beacon_ie failed to parse beacon");
qdf_mem_free(beacon_struct);
return;
}
@@ -154,8 +153,7 @@ lim_extract_ap_capability(tpAniSirGlobal mac_ctx, uint8_t *p_ie,
else
mac_ctx->lim.htCapabilityPresentInBeacon = 0;
- lim_log(mac_ctx, LOGD, FL(
- "Bcon: VHTCap.present %d SU Beamformer %d BSS_VHT_CAPABLE %d"),
+ pe_debug("Bcon: VHTCap.present: %d SU Beamformer: %d BSS_VHT_CAPABLE: %d",
beacon_struct->VHTCaps.present,
beacon_struct->VHTCaps.suBeamFormerCap,
IS_BSS_VHT_CAPABLE(beacon_struct->VHTCaps));
@@ -271,8 +269,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, LOGD, FL(
- "cntr_freq0 %d, cntr_freq1 %d, width %d"),
+ pe_debug("cntr_freq0: %d cntr_freq1: %d width: %d",
session->ch_center_freq_seg0,
session->ch_center_freq_seg1,
session->ch_width);
@@ -296,8 +293,7 @@ lim_extract_ap_capability(tpAniSirGlobal mac_ctx, uint8_t *p_ie,
session->gLimOperatingMode.chanWidth =
CH_WIDTH_160MHZ;
} else {
- lim_log(mac_ctx, LOGE, FL(
- "AP does not support op_mode rx"));
+ pe_err("AP does not support op_mode rx");
}
}
/* Extract the UAPSD flag from WMM Parameter element */
@@ -323,8 +319,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, LOGD,
- FL("HS20 Indication Element Present, rel#:%u, id:%u\n"),
+ pe_debug("HS20 Indication Element Present, rel#: %u id: %u",
beacon_struct->hs20vendor_ie.release_num,
beacon_struct->hs20vendor_ie.hs_id_present);
qdf_mem_copy(&session->hs20vendor_ie,