|
@@ -122,7 +122,7 @@ lim_extract_ap_capability(tpAniSirGlobal mac_ctx, uint8_t *p_ie,
|
|
|
|
|
|
beacon_struct = qdf_mem_malloc(sizeof(tSirProbeRespBeacon));
|
|
beacon_struct = qdf_mem_malloc(sizeof(tSirProbeRespBeacon));
|
|
if (NULL == beacon_struct) {
|
|
if (NULL == beacon_struct) {
|
|
- lim_log(mac_ctx, LOGE, FL("Unable to allocate memory"));
|
|
|
|
|
|
+ pe_err("Unable to allocate memory");
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
|
|
@@ -135,8 +135,7 @@ lim_extract_ap_capability(tpAniSirGlobal mac_ctx, uint8_t *p_ie,
|
|
p_ie, ie_len);
|
|
p_ie, ie_len);
|
|
if (sir_parse_beacon_ie(mac_ctx, beacon_struct, p_ie,
|
|
if (sir_parse_beacon_ie(mac_ctx, beacon_struct, p_ie,
|
|
(uint32_t) ie_len) != eSIR_SUCCESS) {
|
|
(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);
|
|
qdf_mem_free(beacon_struct);
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
@@ -154,8 +153,7 @@ lim_extract_ap_capability(tpAniSirGlobal mac_ctx, uint8_t *p_ie,
|
|
else
|
|
else
|
|
mac_ctx->lim.htCapabilityPresentInBeacon = 0;
|
|
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.present,
|
|
beacon_struct->VHTCaps.suBeamFormerCap,
|
|
beacon_struct->VHTCaps.suBeamFormerCap,
|
|
IS_BSS_VHT_CAPABLE(beacon_struct->VHTCaps));
|
|
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_center_freq_seg1 = 0;
|
|
}
|
|
}
|
|
session->ch_width = vht_ch_wd + 1;
|
|
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_seg0,
|
|
session->ch_center_freq_seg1,
|
|
session->ch_center_freq_seg1,
|
|
session->ch_width);
|
|
session->ch_width);
|
|
@@ -296,8 +293,7 @@ lim_extract_ap_capability(tpAniSirGlobal mac_ctx, uint8_t *p_ie,
|
|
session->gLimOperatingMode.chanWidth =
|
|
session->gLimOperatingMode.chanWidth =
|
|
CH_WIDTH_160MHZ;
|
|
CH_WIDTH_160MHZ;
|
|
} else {
|
|
} 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 */
|
|
/* 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;
|
|
session->is_ext_caps_present = true;
|
|
/* Update HS 2.0 Information Element */
|
|
/* Update HS 2.0 Information Element */
|
|
if (beacon_struct->hs20vendor_ie.present) {
|
|
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.release_num,
|
|
beacon_struct->hs20vendor_ie.hs_id_present);
|
|
beacon_struct->hs20vendor_ie.hs_id_present);
|
|
qdf_mem_copy(&session->hs20vendor_ie,
|
|
qdf_mem_copy(&session->hs20vendor_ie,
|