mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacld-3.0: Replace obsolete WMA_LOGI() with wma_info()
Replace obsolete WMA_LOGI() macro with wma_info(). Change-Id: I537751027559f09792b61131b13566c058d03a91 CRs-Fixed: 2722291
This commit is contained in:
parent
d8a2fcc25d
commit
1fa6dbbc37
12 changed files with 75 additions and 84 deletions
|
|
@ -74,8 +74,6 @@
|
|||
#define WMA_INVALID_VDEV_ID 0xFF
|
||||
|
||||
/* Deprecated logging macros, to be removed. Please do not use in new code */
|
||||
#define WMA_LOGI(params ...) \
|
||||
QDF_TRACE_INFO_NO_FL(QDF_MODULE_ID_WMA, params)
|
||||
#define WMA_LOGE(params ...) \
|
||||
QDF_TRACE_ERROR_NO_FL(QDF_MODULE_ID_WMA, params)
|
||||
|
||||
|
|
|
|||
|
|
@ -325,13 +325,11 @@ static inline bool wma_is_peer_he_capable(tpAddStaParams params)
|
|||
static inline void wma_set_he_vdev_param(struct wma_txrx_node *intr,
|
||||
WMI_VDEV_PARAM param_id, uint32_t value)
|
||||
{
|
||||
WMA_LOGI(FL("Unable to update WMI_VDEV_PARAM: %0x"), param_id);
|
||||
}
|
||||
|
||||
static inline uint32_t wma_get_he_vdev_param(struct wma_txrx_node *intr,
|
||||
WMI_VDEV_PARAM param_id)
|
||||
{
|
||||
WMA_LOGI(FL("Unable to update WMI_VDEV_PARAM: %0x"), param_id);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1840,7 +1840,7 @@ static void wma_set_thermal_level_ind(u_int8_t level)
|
|||
QDF_STATUS qdf_status = QDF_STATUS_SUCCESS;
|
||||
struct scheduler_msg sme_msg = {0};
|
||||
|
||||
WMA_LOGI(FL("Thermal level: %d"), level);
|
||||
wma_info("Thermal level: %d", level);
|
||||
|
||||
sme_msg.type = eWNI_SME_SET_THERMAL_LEVEL_IND;
|
||||
sme_msg.bodyptr = NULL;
|
||||
|
|
|
|||
|
|
@ -2234,8 +2234,8 @@ __wma_handle_vdev_stop_rsp(struct vdev_stop_response *resp_event)
|
|||
bssid.bytes);
|
||||
iface->peer_count--;
|
||||
|
||||
WMA_LOGI("%s: Removed peer %pM vdev_id %d, peer_count %d",
|
||||
__func__, bssid.bytes,
|
||||
wma_info("Removed peer %pM vdev_id %d, peer_count %d",
|
||||
bssid.bytes,
|
||||
resp_event->vdev_id, iface->peer_count);
|
||||
vdev_stop_resp->status = status;
|
||||
vdev_stop_resp->vdev_id = resp_event->vdev_id;
|
||||
|
|
@ -3783,7 +3783,7 @@ QDF_STATUS wma_send_peer_assoc_req(struct bss_params *add_bss)
|
|||
|
||||
if (!wmi_service_enabled(wma->wmi_handle,
|
||||
wmi_service_peer_assoc_conf)) {
|
||||
WMA_LOGI(FL("WMI_SERVICE_PEER_ASSOC_CONF not enabled"));
|
||||
wma_debug("WMI_SERVICE_PEER_ASSOC_CONF not enabled");
|
||||
goto send_resp;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -742,7 +742,7 @@ QDF_STATUS wma_get_peer_info_ext(WMA_HANDLE handle,
|
|||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
||||
WMA_LOGI("%s send WMI_REQUEST_PEER_STATS_INFO_CMDID", __func__);
|
||||
wma_debug("send WMI_REQUEST_PEER_STATS_INFO_CMDID");
|
||||
|
||||
len = sizeof(wmi_request_peer_stats_info_cmd_fixed_param);
|
||||
wmi_buf = wmi_buf_alloc(wma_handle->wmi_handle, len);
|
||||
|
|
@ -769,12 +769,11 @@ QDF_STATUS wma_get_peer_info_ext(WMA_HANDLE handle,
|
|||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
WMA_LOGI("%s vdev_id %d, mac %pM, req_type %x, reset %x",
|
||||
__func__,
|
||||
cmd->vdev_id,
|
||||
peer_info_req->peer_macaddr.bytes,
|
||||
cmd->request_type,
|
||||
cmd->reset_after_request);
|
||||
wma_info("vdev_id %d, mac %pM, req_type %x, reset %x",
|
||||
cmd->vdev_id,
|
||||
peer_info_req->peer_macaddr.bytes,
|
||||
cmd->request_type,
|
||||
cmd->reset_after_request);
|
||||
|
||||
qdf_mem_copy(&(wma_handle->peer_macaddr),
|
||||
&(peer_info_req->peer_macaddr),
|
||||
|
|
@ -1697,7 +1696,7 @@ static int wma_extscan_get_eventid_from_tlvtag(uint32_t tag)
|
|||
break;
|
||||
}
|
||||
|
||||
WMA_LOGI("%s: For tag %d WMI event 0x%x", __func__, tag, event_id);
|
||||
wma_info("For tag %d WMI event 0x%x", tag, event_id);
|
||||
return event_id;
|
||||
}
|
||||
#else
|
||||
|
|
@ -2053,17 +2052,17 @@ static void wma_log_pkt_ipv4(uint8_t *data, uint32_t length)
|
|||
|
||||
pkt_len = *(uint16_t *)(data + IPV4_PKT_LEN_OFFSET);
|
||||
ip_addr = (char *)(data + IPV4_SRC_ADDR_OFFSET);
|
||||
wma_debug("src addr %d:%d:%d:%d", ip_addr[0], ip_addr[1],
|
||||
ip_addr[2], ip_addr[3]);
|
||||
wma_nofl_debug("src addr %d:%d:%d:%d", ip_addr[0], ip_addr[1],
|
||||
ip_addr[2], ip_addr[3]);
|
||||
ip_addr = (char *)(data + IPV4_DST_ADDR_OFFSET);
|
||||
wma_debug("dst addr %d:%d:%d:%d", ip_addr[0], ip_addr[1],
|
||||
ip_addr[2], ip_addr[3]);
|
||||
wma_nofl_debug("dst addr %d:%d:%d:%d", ip_addr[0], ip_addr[1],
|
||||
ip_addr[2], ip_addr[3]);
|
||||
src_port = *(uint16_t *)(data + IPV4_SRC_PORT_OFFSET);
|
||||
dst_port = *(uint16_t *)(data + IPV4_DST_PORT_OFFSET);
|
||||
WMA_LOGI("Pkt_len: %u, src_port: %u, dst_port: %u",
|
||||
qdf_cpu_to_be16(pkt_len),
|
||||
qdf_cpu_to_be16(src_port),
|
||||
qdf_cpu_to_be16(dst_port));
|
||||
wma_info("Pkt_len: %u, src_port: %u, dst_port: %u",
|
||||
qdf_cpu_to_be16(pkt_len),
|
||||
qdf_cpu_to_be16(src_port),
|
||||
qdf_cpu_to_be16(dst_port));
|
||||
}
|
||||
|
||||
static void wma_log_pkt_ipv6(uint8_t *data, uint32_t length)
|
||||
|
|
@ -2091,7 +2090,7 @@ static void wma_log_pkt_ipv6(uint8_t *data, uint32_t length)
|
|||
ip_addr[15]);
|
||||
src_port = *(uint16_t *)(data + IPV6_SRC_PORT_OFFSET);
|
||||
dst_port = *(uint16_t *)(data + IPV6_DST_PORT_OFFSET);
|
||||
WMA_LOGI("Pkt_len: %u, src_port: %u, dst_port: %u",
|
||||
wma_info("Pkt_len: %u, src_port: %u, dst_port: %u",
|
||||
qdf_cpu_to_be16(pkt_len),
|
||||
qdf_cpu_to_be16(src_port),
|
||||
qdf_cpu_to_be16(dst_port));
|
||||
|
|
@ -2172,7 +2171,7 @@ static void wma_wow_parse_data_pkt(t_wma_handle *wma,
|
|||
proto_subtype = wma_wow_get_pkt_proto_subtype(data, length);
|
||||
proto_subtype_name = wma_pkt_proto_subtype_to_string(proto_subtype);
|
||||
if (proto_subtype_name)
|
||||
WMA_LOGI("WOW Wakeup: %s rcvd", proto_subtype_name);
|
||||
wma_info("WOW Wakeup: %s rcvd", proto_subtype_name);
|
||||
|
||||
switch (proto_subtype) {
|
||||
case QDF_PROTO_EAPOL_M1:
|
||||
|
|
@ -4334,7 +4333,7 @@ static int wma_sar_event_handler(void *handle, uint8_t *evt_buf, uint32_t len)
|
|||
wma_sar_cb callback;
|
||||
QDF_STATUS status;
|
||||
|
||||
WMA_LOGI(FL("handle:%pK event:%pK len:%u"), handle, evt_buf, len);
|
||||
wma_info("handle:%pK event:%pK len:%u", handle, evt_buf, len);
|
||||
|
||||
wma_handle = handle;
|
||||
if (!wma_handle) {
|
||||
|
|
@ -4884,8 +4883,8 @@ int wma_wlan_bt_activity_evt_handler(void *handle, uint8_t *event, uint32_t len)
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
WMA_LOGI(FL("Received BT activity event %u"),
|
||||
fixed_param->coex_profile_evt);
|
||||
wma_info("Received BT activity event %u",
|
||||
fixed_param->coex_profile_evt);
|
||||
|
||||
sme_msg.type = eWNI_SME_BT_ACTIVITY_INFO_IND;
|
||||
sme_msg.bodyptr = NULL;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2017 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017, 2020 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
|
|
@ -38,8 +38,6 @@ wma_fips_event_handler(void *handle, uint8_t *event, uint32_t len)
|
|||
wma_fips_cb callback;
|
||||
QDF_STATUS status;
|
||||
|
||||
WMA_LOGI(FL("handle:%pK event:%pK len:%u"), handle, event, len);
|
||||
|
||||
wma_handle = handle;
|
||||
if (!wma_handle) {
|
||||
WMA_LOGE(FL("NULL wma_handle"));
|
||||
|
|
@ -54,7 +52,7 @@ wma_fips_event_handler(void *handle, uint8_t *event, uint32_t len)
|
|||
|
||||
status = wmi_extract_fips_event_data(wmi_handle, event, ¶m);
|
||||
|
||||
WMA_LOGI(FL("Received FIPS event, pdev:%u status:%u data_len:%u"),
|
||||
wma_info("Received FIPS event, pdev:%u status:%u data_len:%u",
|
||||
param.pdev_id, param.error_status, param.data_len);
|
||||
|
||||
/* make sure extraction error is propagated to upper layers */
|
||||
|
|
|
|||
|
|
@ -546,7 +546,6 @@ void wma_print_he_cap(tDot11fIEhe_cap *he_cap)
|
|||
struct ppet_hdr *hdr;
|
||||
|
||||
if (!he_cap->present) {
|
||||
WMA_LOGI(FL("HE Capabilities not present"));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -711,7 +710,7 @@ void wma_print_he_ppet(void *he_ppet)
|
|||
struct wmi_host_ppe_threshold *ppet = he_ppet;
|
||||
|
||||
if (!ppet) {
|
||||
WMA_LOGI(FL("PPET is NULL"));
|
||||
wma_err("PPET is NULL");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
@ -925,7 +924,7 @@ void wma_update_target_ext_he_cap(struct target_psoc_info *tgt_hdl,
|
|||
}
|
||||
|
||||
if (!tgt_cfg->services.en_11ax) {
|
||||
WMA_LOGI(FL("Target does not support 11AX"));
|
||||
wma_info("Target does not support 11AX");
|
||||
he_cap->present = false;
|
||||
return;
|
||||
}
|
||||
|
|
@ -998,9 +997,9 @@ void wma_he_update_tgt_services(struct wmi_unified *wmi_handle,
|
|||
if (wmi_service_enabled(wmi_handle, wmi_service_11ax)) {
|
||||
cfg->en_11ax = true;
|
||||
wma_set_fw_wlan_feat_caps(DOT11AX);
|
||||
WMA_LOGI(FL("11ax is enabled"));
|
||||
wma_debug("11ax is enabled");
|
||||
} else {
|
||||
WMA_LOGI(FL("11ax is not enabled"));
|
||||
wma_debug("11ax is not enabled");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5778,8 +5778,8 @@ int wma_rx_service_ready_event(void *handle, uint8_t *cmd_param_info,
|
|||
|
||||
wma_debug("Firmware default hw mode index : %d",
|
||||
tgt_cap_info->default_dbs_hw_mode_index);
|
||||
WMA_LOGI("%s: Firmware build version : %08x",
|
||||
__func__, ev->fw_build_vers);
|
||||
wma_info("Firmware build version : %08x",
|
||||
ev->fw_build_vers);
|
||||
wma_debug("FW fine time meas cap: 0x%x",
|
||||
tgt_cap_info->wmi_fw_sub_feat_caps);
|
||||
|
||||
|
|
@ -5796,8 +5796,8 @@ int wma_rx_service_ready_event(void *handle, uint8_t *cmd_param_info,
|
|||
wma_handle->hw_bd_info[BOARD_DATA_REV] =
|
||||
WMI_GET_BOARD_DATA_REV(ev->hw_bd_info);
|
||||
|
||||
WMA_LOGI("%s: Board id: %x, Board version: %x %x %x %x %x",
|
||||
__func__, wma_handle->hw_bd_id,
|
||||
wma_info("Board id: %x, Board version: %x %x %x %x %x",
|
||||
wma_handle->hw_bd_id,
|
||||
wma_handle->hw_bd_info[BDF_VERSION],
|
||||
wma_handle->hw_bd_info[REF_DESIGN_ID],
|
||||
wma_handle->hw_bd_info[CUSTOMER_ID],
|
||||
|
|
|
|||
|
|
@ -190,8 +190,8 @@ static void wma_send_bcn_buf_ll(tp_wma_handle wma,
|
|||
(uint8_t) WMI_UNIFIED_NOA_ATTR_CTWIN_GET(p2p_noa_info);
|
||||
noa_ie.num_descriptors = (uint8_t)
|
||||
WMI_UNIFIED_NOA_ATTR_NUM_DESC_GET(p2p_noa_info);
|
||||
WMA_LOGI("%s: index %u, oppPs %u, ctwindow %u, num_descriptors = %u",
|
||||
__func__, noa_ie.index,
|
||||
wma_debug("index %u, oppPs %u, ctwindow %u, num_descriptors = %u",
|
||||
noa_ie.index,
|
||||
noa_ie.oppPS, noa_ie.ctwindow, noa_ie.num_descriptors);
|
||||
for (i = 0; i < noa_ie.num_descriptors; i++) {
|
||||
noa_ie.noa_descriptors[i].type_count =
|
||||
|
|
@ -203,8 +203,8 @@ static void wma_send_bcn_buf_ll(tp_wma_handle wma,
|
|||
p2p_noa_info->noa_descriptors[i].interval;
|
||||
noa_ie.noa_descriptors[i].start_time =
|
||||
p2p_noa_info->noa_descriptors[i].start_time;
|
||||
WMA_LOGI("%s: NoA descriptor[%d] type_count %u, duration %u, interval %u, start_time = %u",
|
||||
__func__, i,
|
||||
wma_debug("NoA descriptor[%d] type_count %u, duration %u, interval %u, start_time = %u",
|
||||
i,
|
||||
noa_ie.noa_descriptors[i].type_count,
|
||||
noa_ie.noa_descriptors[i].duration,
|
||||
noa_ie.noa_descriptors[i].interval,
|
||||
|
|
@ -497,9 +497,9 @@ int wma_unified_bcntx_status_event_handler(void *handle,
|
|||
|
||||
/* Beacon Tx Indication supports only AP mode. Ignore in other modes */
|
||||
if (wma_is_vdev_in_ap_mode(wma, resp_event->vdev_id) == false) {
|
||||
WMA_LOGI("%s: Beacon Tx Indication does not support type %d and sub_type %d",
|
||||
__func__, wma->interfaces[resp_event->vdev_id].type,
|
||||
wma->interfaces[resp_event->vdev_id].sub_type);
|
||||
wma_debug("Beacon Tx Indication does not support type %d and sub_type %d",
|
||||
wma->interfaces[resp_event->vdev_id].type,
|
||||
wma->interfaces[resp_event->vdev_id].sub_type);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
@ -1690,7 +1690,7 @@ wma_update_beacon_interval(tp_wma_handle wma, uint8_t vdev_id,
|
|||
if (QDF_IS_STATUS_ERROR(ret))
|
||||
WMA_LOGE("Failed to update beacon interval");
|
||||
else
|
||||
WMA_LOGI("Updated beacon interval %d for vdev %d",
|
||||
wma_info("Updated beacon interval %d for vdev %d",
|
||||
beaconInterval, vdev_id);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -713,8 +713,8 @@ void wma_enable_sta_ps_mode(tpEnablePsParams ps_req)
|
|||
}
|
||||
|
||||
if (wma_handle->ito_repeat_count) {
|
||||
WMA_LOGI("Set ITO count to %d for vdevId %d",
|
||||
wma_handle->ito_repeat_count, vdev_id);
|
||||
wma_debug("Set ITO count to %d for vdevId %d",
|
||||
wma_handle->ito_repeat_count, vdev_id);
|
||||
|
||||
ret = wma_unified_set_sta_ps_param(wma_handle->wmi_handle,
|
||||
vdev_id,
|
||||
|
|
@ -789,7 +789,7 @@ QDF_STATUS wma_set_power_config(uint8_t vdev_id, enum powersave_mode power)
|
|||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
||||
WMA_LOGI("configuring power: %d", power);
|
||||
wma_info("configuring power: %d", power);
|
||||
wma->powersave_mode = power;
|
||||
return wma_unified_set_sta_ps_param(wma->wmi_handle,
|
||||
vdev_id,
|
||||
|
|
@ -1092,7 +1092,7 @@ int wma_pdev_temperature_evt_handler(void *handle, uint8_t *event,
|
|||
}
|
||||
|
||||
wmi_event = param_buf->fixed_param;
|
||||
WMA_LOGI(FL("temperature: %d"), wmi_event->value);
|
||||
wma_info("temperature: %d", wmi_event->value);
|
||||
|
||||
sme_msg.type = eWNI_SME_MSG_GET_TEMPERATURE_IND;
|
||||
sme_msg.bodyptr = NULL;
|
||||
|
|
@ -1233,8 +1233,7 @@ static void wma_update_beacon_noa_ie(struct beacon_info *bcn,
|
|||
new_noa_sub_ie_len);
|
||||
|
||||
bcn->len += (new_noa_sub_ie_len + sizeof(struct p2p_ie));
|
||||
WMA_LOGI("%s: Updated beacon length with NoA Ie is %u",
|
||||
__func__, bcn->len);
|
||||
wma_debug("Updated beacon length with NoA Ie is %u", bcn->len);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -1360,7 +1359,7 @@ void wma_update_probe_resp_noa(tp_wma_handle wma_handle,
|
|||
noa_ie->noa_descriptors[1].start_time;
|
||||
}
|
||||
}
|
||||
WMA_LOGI("Sending SIR_HAL_P2P_NOA_ATTR_IND to LIM");
|
||||
wma_debug("Sending SIR_HAL_P2P_NOA_ATTR_IND to LIM");
|
||||
wma_send_msg(wma_handle, SIR_HAL_P2P_NOA_ATTR_IND, (void *)noa_attr, 0);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -3508,7 +3508,7 @@ wma_rso_print_trigger_info(struct wmi_roam_trigger_info *data, uint8_t vdev_id)
|
|||
|
||||
wma_get_trigger_detail_str(data, buf);
|
||||
mlme_get_converted_timestamp(data->timestamp, time);
|
||||
WMA_LOGI("%s [ROAM_TRIGGER]: VDEV[%d] %s", time, vdev_id, buf);
|
||||
wma_info("%s [ROAM_TRIGGER]: VDEV[%d] %s", time, vdev_id, buf);
|
||||
|
||||
qdf_mem_free(buf);
|
||||
}
|
||||
|
|
@ -3530,18 +3530,18 @@ wma_log_roam_scan_candidates(struct wmi_roam_candidate_info *ap,
|
|||
uint16_t i;
|
||||
char time[TIME_STRING_LEN];
|
||||
|
||||
wma_debug("%40s%40s", LINE_STR, LINE_STR);
|
||||
WMA_LOGI("%13s %16s %8s %4s %4s %5s/%3s %3s/%3s %7s",
|
||||
"AP BSSID", "TSTAMP", "CH", "TY", "ETP", "RSSI",
|
||||
"SCR", "CU%", "SCR", "TOT_SCR");
|
||||
wma_debug("%40s%40s", LINE_STR, LINE_STR);
|
||||
wma_nofl_info("%40s%40s", LINE_STR, LINE_STR);
|
||||
wma_nofl_info("%13s %16s %8s %4s %4s %5s/%3s %3s/%3s %7s",
|
||||
"AP BSSID", "TSTAMP", "CH", "TY", "ETP", "RSSI",
|
||||
"SCR", "CU%", "SCR", "TOT_SCR");
|
||||
wma_nofl_info("%40s%40s", LINE_STR, LINE_STR);
|
||||
|
||||
if (num_entries > MAX_ROAM_CANDIDATE_AP)
|
||||
num_entries = MAX_ROAM_CANDIDATE_AP;
|
||||
|
||||
for (i = 0; i < num_entries; i++) {
|
||||
mlme_get_converted_timestamp(ap->timestamp, time);
|
||||
WMA_LOGI(QDF_MAC_ADDR_STR " %17s %4d %-4s %4d %3d/%-4d %2d/%-4d %5d",
|
||||
wma_nofl_info(QDF_MAC_ADDR_STR " %17s %4d %-4s %4d %3d/%-4d %2d/%-4d %5d",
|
||||
QDF_MAC_ADDR_ARRAY(ap->bssid.bytes), time, ap->freq,
|
||||
((ap->type == 0) ? "C_AP" :
|
||||
((ap->type == 2) ? "R_AP" : "P_AP")),
|
||||
|
|
@ -3609,7 +3609,7 @@ wma_rso_print_scan_info(struct wmi_roam_scan_data *scan, uint8_t vdev_id,
|
|||
scan->next_rssi_threshold);
|
||||
|
||||
mlme_get_converted_timestamp(timestamp, time);
|
||||
WMA_LOGI("%s [ROAM_SCAN]: VDEV[%d] Scan_type: %s %s %s",
|
||||
wma_info("%s [ROAM_SCAN]: VDEV[%d] Scan_type: %s %s %s",
|
||||
time, vdev_id, (scan->type ? "FULL" : "PARTIAL"),
|
||||
buf1, buf);
|
||||
wma_log_roam_scan_candidates(scan->ap, scan->num_ap);
|
||||
|
|
@ -3643,7 +3643,7 @@ wma_rso_print_roam_result(struct wmi_roam_result *res,
|
|||
mlme_get_roam_fail_reason_str(res->fail_reason));
|
||||
|
||||
mlme_get_converted_timestamp(res->timestamp, time);
|
||||
WMA_LOGI("%s [ROAM_RESULT]: VDEV[%d] %s %s",
|
||||
wma_info("%s [ROAM_RESULT]: VDEV[%d] %s %s",
|
||||
time, vdev_id, (res->status) ? "SUCCESS" : "FAILED", buf);
|
||||
|
||||
qdf_mem_free(buf);
|
||||
|
|
@ -3695,16 +3695,16 @@ wma_rso_print_11kv_info(struct wmi_neighbor_report_data *neigh_rpt,
|
|||
}
|
||||
|
||||
mlme_get_converted_timestamp(neigh_rpt->req_time, time);
|
||||
WMA_LOGI("%s [%s] VDEV[%d]", time,
|
||||
wma_info("%s [%s] VDEV[%d]", time,
|
||||
(type == 1) ? "BTM_QUERY" : "NEIGH_RPT_REQ", vdev_id);
|
||||
|
||||
if (neigh_rpt->resp_time) {
|
||||
mlme_get_converted_timestamp(neigh_rpt->resp_time, time1);
|
||||
WMA_LOGI("%s [%s] VDEV[%d] %s", time1,
|
||||
wma_info("%s [%s] VDEV[%d] %s", time1,
|
||||
(type == 1) ? "BTM_REQ" : "NEIGH_RPT_RSP", vdev_id,
|
||||
(num_ch > 0) ? buf : "NO Ch update");
|
||||
} else {
|
||||
WMA_LOGI("%s No response received from AP",
|
||||
wma_info("%s No response received from AP",
|
||||
(type == 1) ? "BTM" : "NEIGH_RPT");
|
||||
}
|
||||
qdf_mem_free(buf);
|
||||
|
|
@ -4103,7 +4103,7 @@ int wma_rssi_breached_event_handler(void *handle,
|
|||
|
||||
wma_debug("req_id: %u vdev_id: %d curr_rssi: %d",
|
||||
rssi.request_id, rssi.session_id, rssi.curr_rssi);
|
||||
WMA_LOGI("%s: curr_bssid: %pM", __func__, rssi.curr_bssid.bytes);
|
||||
wma_debug("curr_bssid: %pM", rssi.curr_bssid.bytes);
|
||||
|
||||
mac->sme.rssi_threshold_breached_cb(mac->hdd_handle, &rssi);
|
||||
wma_debug("Invoke HDD rssi breached callback");
|
||||
|
|
@ -4184,7 +4184,7 @@ void wma_process_roam_synch_complete(WMA_HANDLE handle, uint8_t vdev_id)
|
|||
vdev_id, QDF_TRACE_DEFAULT_PDEV_ID,
|
||||
QDF_PROTO_TYPE_EVENT, QDF_ROAM_COMPLETE));
|
||||
|
||||
WMA_LOGI("LFR3: Posting WMA_ROAM_OFFLOAD_SYNCH_CNF");
|
||||
wma_info("LFR3: Posting WMA_ROAM_OFFLOAD_SYNCH_CNF");
|
||||
wlan_roam_debug_log(vdev_id, DEBUG_ROAM_SYNCH_CNF,
|
||||
DEBUG_INVALID_PEER_ID, NULL, NULL, 0, 0);
|
||||
|
||||
|
|
@ -4691,7 +4691,7 @@ int wma_extscan_operations_event_handler(void *handle,
|
|||
}
|
||||
mac->sme.ext_scan_ind_cb(mac->hdd_handle,
|
||||
eSIR_EXTSCAN_SCAN_PROGRESS_EVENT_IND, oprn_ind);
|
||||
WMA_LOGI("%s: sending scan progress event to hdd", __func__);
|
||||
wma_debug("sending scan progress event to hdd");
|
||||
exit_handler:
|
||||
qdf_mem_free(oprn_ind);
|
||||
return 0;
|
||||
|
|
@ -4741,7 +4741,7 @@ int wma_extscan_table_usage_event_handler(void *handle,
|
|||
mac->sme.ext_scan_ind_cb(mac->hdd_handle,
|
||||
eSIR_EXTSCAN_SCAN_RES_AVAILABLE_IND,
|
||||
tbl_usg_ind);
|
||||
WMA_LOGI("%s: sending scan_res available event to hdd", __func__);
|
||||
wma_debug("sending scan_res available event to hdd");
|
||||
qdf_mem_free(tbl_usg_ind);
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -4963,7 +4963,7 @@ int wma_extscan_hotlist_match_event_handler(void *handle,
|
|||
dest_hotlist->ap_found = ap_found;
|
||||
mac->sme.ext_scan_ind_cb(mac->hdd_handle,
|
||||
eSIR_EXTSCAN_HOTLIST_MATCH_IND, dest_hotlist);
|
||||
WMA_LOGI("%s: sending hotlist match event to hdd", __func__);
|
||||
wma_debug("sending hotlist match event to hdd");
|
||||
qdf_mem_free(dest_hotlist);
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -5200,10 +5200,10 @@ int wma_extscan_cached_results_event_handler(void *handle,
|
|||
event = param_buf->fixed_param;
|
||||
src_hotlist = param_buf->bssid_list;
|
||||
src_rssi = param_buf->rssi_list;
|
||||
WMA_LOGI("Total_entries: %u first_entry_index: %u num_entries_in_page: %d",
|
||||
event->total_entries,
|
||||
event->first_entry_index,
|
||||
event->num_entries_in_page);
|
||||
wma_debug("Total_entries: %u first_entry_index: %u num_entries_in_page: %d",
|
||||
event->total_entries,
|
||||
event->first_entry_index,
|
||||
event->num_entries_in_page);
|
||||
|
||||
if (!src_hotlist || !src_rssi || !event->num_entries_in_page) {
|
||||
wma_warn("Cached results empty, send 0 results");
|
||||
|
|
@ -5442,7 +5442,7 @@ int wma_extscan_change_results_event_handler(void *handle,
|
|||
mac->sme.ext_scan_ind_cb(mac->hdd_handle,
|
||||
eSIR_EXTSCAN_SIGNIFICANT_WIFI_CHANGE_RESULTS_IND,
|
||||
dest_chglist);
|
||||
WMA_LOGI("%s: sending change monitor results", __func__);
|
||||
wma_debug("sending change monitor results");
|
||||
qdf_mem_free(dest_chglist);
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -5530,7 +5530,7 @@ int wma_passpoint_match_event_handler(void *handle,
|
|||
dest_match->request_id = 0;
|
||||
dest_match->id = event->id;
|
||||
dest_match->anqp_len = event->anqp_length;
|
||||
WMA_LOGI("%s: passpoint match: id: %u anqp length %u", __func__,
|
||||
wma_info("passpoint match: id: %u anqp length %u",
|
||||
dest_match->id, dest_match->anqp_len);
|
||||
|
||||
dest_ap->channel = event->channel_mhz;
|
||||
|
|
@ -5554,7 +5554,7 @@ int wma_passpoint_match_event_handler(void *handle,
|
|||
mac->sme.ext_scan_ind_cb(mac->hdd_handle,
|
||||
eSIR_PASSPOINT_NETWORK_FOUND_IND,
|
||||
dest_match);
|
||||
WMA_LOGI("%s: sending passpoint match event to hdd", __func__);
|
||||
wma_debug("sending passpoint match event to hdd");
|
||||
qdf_mem_free(dest_match);
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -5899,7 +5899,7 @@ static int wma_handle_hw_mode_transition(tp_wma_handle wma,
|
|||
param->wmi_pdev_set_hw_mode_response_vdev_mac_mapping,
|
||||
hw_mode_trans_ind);
|
||||
|
||||
WMA_LOGI(FL("Update HW mode"));
|
||||
wma_debug("Update HW mode");
|
||||
sme_msg.type = eWNI_SME_HW_MODE_TRANS_IND;
|
||||
sme_msg.bodyptr = hw_mode_trans_ind;
|
||||
|
||||
|
|
|
|||
|
|
@ -3133,7 +3133,7 @@ int wma_peer_info_event_handler(void *handle, u_int8_t *cmd_param_info,
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
WMA_LOGI("%s Recv WMI_PEER_STATS_INFO_EVENTID", __func__);
|
||||
wma_debug("Recv WMI_PEER_STATS_INFO_EVENTID");
|
||||
event = param_buf->fixed_param;
|
||||
if (event->num_peers >
|
||||
((WMI_SVC_MSG_MAX_SIZE -
|
||||
|
|
@ -3155,7 +3155,7 @@ int wma_peer_info_event_handler(void *handle, u_int8_t *cmd_param_info,
|
|||
qdf_mem_copy((buf + sizeof(wmi_peer_stats_info_event_fixed_param)),
|
||||
param_buf->peer_stats_info,
|
||||
sizeof(wmi_peer_stats_info) * event->num_peers);
|
||||
WMA_LOGI("%s dump peer stats info", __func__);
|
||||
wma_debug("dump peer stats info");
|
||||
dump_peer_stats_info(event, param_buf->peer_stats_info);
|
||||
|
||||
wma_peer_info_ext_rsp(wma, buf);
|
||||
|
|
|
|||
Loading…
Reference in a new issue