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
Tento commit je obsažen v:
Nishank Aggarwal
2017-03-23 16:16:28 +05:30
odevzdal snandini
rodič 15a3345ef3
revize be2cb792e1

Zobrazit soubor

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