qcacld-3.0: WMA: Reduce the log spam in kmsg
Move the logs to appropriate log levels to reduce the log spam in kmsg. Change-Id: I195a0a16f5b6baa61243ddabc43beccf24594270 CRs-Fixed: 2014745
This commit is contained in:
committed by
Sandeep Puligilla
parent
7f48157556
commit
f1472126a0
@@ -2769,7 +2769,7 @@ QDF_STATUS wma_tx_packet(void *wma_context, void *tx_frame, uint16_t frmLen,
|
|||||||
if ((pFc->type == SIR_MAC_MGMT_FRAME) &&
|
if ((pFc->type == SIR_MAC_MGMT_FRAME) &&
|
||||||
(pFc->subType != SIR_MAC_MGMT_PROBE_REQ) &&
|
(pFc->subType != SIR_MAC_MGMT_PROBE_REQ) &&
|
||||||
(pFc->subType != SIR_MAC_MGMT_PROBE_RSP)) {
|
(pFc->subType != SIR_MAC_MGMT_PROBE_RSP)) {
|
||||||
WMA_LOGE("TX MGMT - Type %hu, SubType %hu seq_num[%d]",
|
WMA_LOGD("TX MGMT - Type %hu, SubType %hu seq_num[%d]",
|
||||||
pFc->type, pFc->subType,
|
pFc->type, pFc->subType,
|
||||||
((mHdr->seqControl.seqNumHi << 4) |
|
((mHdr->seqControl.seqNumHi << 4) |
|
||||||
mHdr->seqControl.seqNumLo));
|
mHdr->seqControl.seqNumLo));
|
||||||
@@ -3010,7 +3010,7 @@ void wma_tx_abort(uint8_t vdev_id)
|
|||||||
__func__, iface->handle);
|
__func__, iface->handle);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
WMA_LOGI("%s: vdevid %d bssid %pM", __func__, vdev_id, iface->bssid);
|
WMA_LOGD("%s: vdevid %d bssid %pM", __func__, vdev_id, iface->bssid);
|
||||||
wma_vdev_set_pause_bit(vdev_id, PAUSE_TYPE_HOST);
|
wma_vdev_set_pause_bit(vdev_id, PAUSE_TYPE_HOST);
|
||||||
cdp_fc_vdev_pause(cds_get_context(QDF_MODULE_ID_SOC),
|
cdp_fc_vdev_pause(cds_get_context(QDF_MODULE_ID_SOC),
|
||||||
iface->handle,
|
iface->handle,
|
||||||
|
|||||||
@@ -2184,7 +2184,7 @@ int wma_peer_assoc_conf_handler(void *handle, uint8_t *cmd_param_info,
|
|||||||
|
|
||||||
/* peer assoc conf event means the cmd succeeds */
|
/* peer assoc conf event means the cmd succeeds */
|
||||||
params->status = QDF_STATUS_SUCCESS;
|
params->status = QDF_STATUS_SUCCESS;
|
||||||
WMA_LOGE(FL("Send ADD_STA_RSP: statype %d vdev_id %d aid %d bssid %pM staIdx %d status %d"),
|
WMA_LOGD(FL("Send ADD_STA_RSP: statype %d vdev_id %d aid %d bssid %pM staIdx %d status %d"),
|
||||||
params->staType, params->smesessionId,
|
params->staType, params->smesessionId,
|
||||||
params->assocId, params->bssId, params->staIdx,
|
params->assocId, params->bssId, params->staIdx,
|
||||||
params->status);
|
params->status);
|
||||||
@@ -2200,7 +2200,8 @@ int wma_peer_assoc_conf_handler(void *handle, uint8_t *cmd_param_info,
|
|||||||
|
|
||||||
/* peer assoc conf event means the cmd succeeds */
|
/* peer assoc conf event means the cmd succeeds */
|
||||||
params->status = QDF_STATUS_SUCCESS;
|
params->status = QDF_STATUS_SUCCESS;
|
||||||
WMA_LOGE(FL("Send ADD BSS RSP: opermode %d update_bss %d nw_type %d bssid %pM"
|
WMA_LOGD(FL("Send ADD BSS RSP: opermode: %d update_bss: %d"
|
||||||
|
" nw_type: %d bssid: %pM"
|
||||||
" staIdx %d status %d"), params->operMode,
|
" staIdx %d status %d"), params->operMode,
|
||||||
params->updateBss, params->nwType, params->bssId,
|
params->updateBss, params->nwType, params->bssId,
|
||||||
params->staContext.staIdx, params->status);
|
params->staContext.staIdx, params->status);
|
||||||
|
|||||||
@@ -511,7 +511,7 @@ QDF_STATUS wma_process_dhcp_ind(tp_wma_handle wma_handle,
|
|||||||
return QDF_STATUS_E_FAILURE;
|
return QDF_STATUS_E_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
WMA_LOGI("%s: WMA --> WMI_PEER_SET_PARAM triggered by DHCP, "
|
WMA_LOGD("%s: WMA --> WMI_PEER_SET_PARAM triggered by DHCP, "
|
||||||
"msgType=%s,"
|
"msgType=%s,"
|
||||||
"device_mode=%d, macAddr=" MAC_ADDRESS_STR,
|
"device_mode=%d, macAddr=" MAC_ADDRESS_STR,
|
||||||
__func__,
|
__func__,
|
||||||
@@ -1264,7 +1264,7 @@ int wma_oem_data_response_handler(void *handle,
|
|||||||
|
|
||||||
qdf_mem_copy(oem_rsp->data, data, datalen);
|
qdf_mem_copy(oem_rsp->data, data, datalen);
|
||||||
|
|
||||||
WMA_LOGI(FL("Sending OEM_DATA_RSP(len: %d) to upper layer"), datalen);
|
WMA_LOGD("Sending OEM_DATA_RSP(len: %d) to upper layer", datalen);
|
||||||
|
|
||||||
pmac->sme.oem_data_rsp_callback(oem_rsp);
|
pmac->sme.oem_data_rsp_callback(oem_rsp);
|
||||||
|
|
||||||
@@ -3189,7 +3189,6 @@ void wma_del_ts_req(tp_wma_handle wma, tDelTsParams *msg)
|
|||||||
if (msg->setRICparams == true)
|
if (msg->setRICparams == true)
|
||||||
wma_set_ric_req(wma, msg, false);
|
wma_set_ric_req(wma, msg, false);
|
||||||
#endif /* WLAN_FEATURE_ROAM_OFFLOAD */
|
#endif /* WLAN_FEATURE_ROAM_OFFLOAD */
|
||||||
|
|
||||||
qdf_mem_free(msg);
|
qdf_mem_free(msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -4367,14 +4366,14 @@ QDF_STATUS wma_process_ch_avoid_update_req(tp_wma_handle wma_handle,
|
|||||||
return QDF_STATUS_E_FAILURE;
|
return QDF_STATUS_E_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
WMA_LOGI("%s: WMA --> WMI_CHAN_AVOID_UPDATE", __func__);
|
WMA_LOGD("%s: WMA --> WMI_CHAN_AVOID_UPDATE", __func__);
|
||||||
|
|
||||||
status = wmi_unified_process_ch_avoid_update_cmd(
|
status = wmi_unified_process_ch_avoid_update_cmd(
|
||||||
wma_handle->wmi_handle);
|
wma_handle->wmi_handle);
|
||||||
if (QDF_IS_STATUS_ERROR(status))
|
if (QDF_IS_STATUS_ERROR(status))
|
||||||
return status;
|
return status;
|
||||||
|
|
||||||
WMA_LOGI("%s: WMA --> WMI_CHAN_AVOID_UPDATE sent through WMI",
|
WMA_LOGD("%s: WMA --> WMI_CHAN_AVOID_UPDATE sent through WMI",
|
||||||
__func__);
|
__func__);
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
@@ -5784,7 +5783,7 @@ QDF_STATUS wma_set_tx_rx_aggregation_size(
|
|||||||
cmd->tx_aggr_size = tx_rx_aggregation_size->tx_aggregation_size;
|
cmd->tx_aggr_size = tx_rx_aggregation_size->tx_aggregation_size;
|
||||||
cmd->rx_aggr_size = tx_rx_aggregation_size->rx_aggregation_size;
|
cmd->rx_aggr_size = tx_rx_aggregation_size->rx_aggregation_size;
|
||||||
|
|
||||||
WMA_LOGI("tx aggr: %d rx aggr: %d vdev: %d",
|
WMA_LOGD("tx aggr: %d rx aggr: %d vdev: %d",
|
||||||
cmd->tx_aggr_size, cmd->rx_aggr_size, cmd->vdev_id);
|
cmd->tx_aggr_size, cmd->rx_aggr_size, cmd->vdev_id);
|
||||||
|
|
||||||
ret = wmi_unified_cmd_send(wma_handle->wmi_handle, buf, len,
|
ret = wmi_unified_cmd_send(wma_handle->wmi_handle, buf, len,
|
||||||
|
|||||||
@@ -859,7 +859,7 @@ static void wma_set_dtim_period(tp_wma_handle wma,
|
|||||||
struct wma_txrx_node *iface =
|
struct wma_txrx_node *iface =
|
||||||
&wma->interfaces[vdev_id];
|
&wma->interfaces[vdev_id];
|
||||||
|
|
||||||
WMA_LOGI("%s: set dtim_period %d", __func__,
|
WMA_LOGD("%s: set dtim_period %d", __func__,
|
||||||
dtim_params->dtim_period);
|
dtim_params->dtim_period);
|
||||||
iface->dtimPeriod = dtim_params->dtim_period;
|
iface->dtimPeriod = dtim_params->dtim_period;
|
||||||
ret = wma_vdev_set_param(wma->wmi_handle,
|
ret = wma_vdev_set_param(wma->wmi_handle,
|
||||||
@@ -1744,7 +1744,7 @@ static void wma_cleanup_vdev_resp_queue(tp_wma_handle wma)
|
|||||||
qdf_spin_lock_bh(&wma->vdev_respq_lock);
|
qdf_spin_lock_bh(&wma->vdev_respq_lock);
|
||||||
if (!qdf_list_size(&wma->vdev_resp_queue)) {
|
if (!qdf_list_size(&wma->vdev_resp_queue)) {
|
||||||
qdf_spin_unlock_bh(&wma->vdev_respq_lock);
|
qdf_spin_unlock_bh(&wma->vdev_respq_lock);
|
||||||
WMA_LOGI(FL("request queue maybe empty"));
|
WMA_LOGD(FL("request queue maybe empty"));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2057,11 +2057,11 @@ static int wma_flush_complete_evt_handler(void *handle,
|
|||||||
* reason_code = other value; Asynchronous flush event for fatal events
|
* reason_code = other value; Asynchronous flush event for fatal events
|
||||||
*/
|
*/
|
||||||
if (!reason_code && (cds_is_log_report_in_progress() == false)) {
|
if (!reason_code && (cds_is_log_report_in_progress() == false)) {
|
||||||
WMA_LOGE("Received WMI flush event without sending CMD");
|
WMA_LOGD("Received WMI flush event without sending CMD");
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
} else if (!reason_code && cds_is_log_report_in_progress() == true) {
|
} else if (!reason_code && cds_is_log_report_in_progress() == true) {
|
||||||
/* Flush event in response to flush command */
|
/* Flush event in response to flush command */
|
||||||
WMA_LOGI("Received WMI flush event in response to flush CMD");
|
WMA_LOGD("Received WMI flush event in response to flush CMD");
|
||||||
status = qdf_mc_timer_stop(&wma->log_completion_timer);
|
status = qdf_mc_timer_stop(&wma->log_completion_timer);
|
||||||
if (status != QDF_STATUS_SUCCESS)
|
if (status != QDF_STATUS_SUCCESS)
|
||||||
WMA_LOGE("Failed to stop the log completion timeout");
|
WMA_LOGE("Failed to stop the log completion timeout");
|
||||||
@@ -2082,7 +2082,7 @@ static int wma_flush_complete_evt_handler(void *handle,
|
|||||||
/* Asynchronous flush event for fatal event,
|
/* Asynchronous flush event for fatal event,
|
||||||
* but, report in progress already
|
* but, report in progress already
|
||||||
*/
|
*/
|
||||||
WMA_LOGI("%s: Bug report already in progress - dropping! type:%d, indicator=%d reason_code=%d",
|
WMA_LOGD("%s: Bug report already in progress - dropping! type:%d, indicator=%d reason_code=%d",
|
||||||
__func__, WLAN_LOG_TYPE_FATAL,
|
__func__, WLAN_LOG_TYPE_FATAL,
|
||||||
WLAN_LOG_INDICATOR_FIRMWARE, reason_code);
|
WLAN_LOG_INDICATOR_FIRMWARE, reason_code);
|
||||||
return QDF_STATUS_E_FAILURE;
|
return QDF_STATUS_E_FAILURE;
|
||||||
@@ -3152,7 +3152,7 @@ QDF_STATUS wma_start(void *cds_ctx)
|
|||||||
|
|
||||||
#if defined(QCA_LL_LEGACY_TX_FLOW_CONTROL) || \
|
#if defined(QCA_LL_LEGACY_TX_FLOW_CONTROL) || \
|
||||||
defined(QCA_LL_TX_FLOW_CONTROL_V2) || defined(CONFIG_HL_SUPPORT)
|
defined(QCA_LL_TX_FLOW_CONTROL_V2) || defined(CONFIG_HL_SUPPORT)
|
||||||
WMA_LOGE("MCC TX Pause Event Handler register");
|
WMA_LOGD("MCC TX Pause Event Handler register");
|
||||||
status = wmi_unified_register_event_handler(wma_handle->wmi_handle,
|
status = wmi_unified_register_event_handler(wma_handle->wmi_handle,
|
||||||
WMI_TX_PAUSE_EVENTID,
|
WMI_TX_PAUSE_EVENTID,
|
||||||
wma_mcc_vdev_tx_pause_evt_handler,
|
wma_mcc_vdev_tx_pause_evt_handler,
|
||||||
@@ -4647,23 +4647,23 @@ int wma_rx_service_ready_event(void *handle, uint8_t *cmd_param_info,
|
|||||||
|
|
||||||
WMA_LOGD("%s: Firmware default hw mode index : %d",
|
WMA_LOGD("%s: Firmware default hw mode index : %d",
|
||||||
__func__, ev->default_dbs_hw_mode_index);
|
__func__, ev->default_dbs_hw_mode_index);
|
||||||
WMA_LOGE("%s: Firmware build version : %08x",
|
WMA_LOGI("%s: Firmware build version : %08x",
|
||||||
__func__, ev->fw_build_vers);
|
__func__, ev->fw_build_vers);
|
||||||
WMA_LOGD(FL("FW fine time meas cap: 0x%x"), ev->wmi_fw_sub_feat_caps);
|
WMA_LOGD("FW fine time meas cap: 0x%x", ev->wmi_fw_sub_feat_caps);
|
||||||
|
|
||||||
if (ev->hw_bd_id) {
|
if (ev->hw_bd_id) {
|
||||||
wma_handle->hw_bd_id = ev->hw_bd_id;
|
wma_handle->hw_bd_id = ev->hw_bd_id;
|
||||||
qdf_mem_copy(wma_handle->hw_bd_info,
|
qdf_mem_copy(wma_handle->hw_bd_info,
|
||||||
ev->hw_bd_info, sizeof(ev->hw_bd_info));
|
ev->hw_bd_info, sizeof(ev->hw_bd_info));
|
||||||
|
|
||||||
WMA_LOGE("%s: Board version: %x.%x",
|
WMA_LOGI("%s: Board version: %x.%x",
|
||||||
__func__,
|
__func__,
|
||||||
wma_handle->hw_bd_info[0], wma_handle->hw_bd_info[1]);
|
wma_handle->hw_bd_info[0], wma_handle->hw_bd_info[1]);
|
||||||
} else {
|
} else {
|
||||||
wma_handle->hw_bd_id = 0;
|
wma_handle->hw_bd_id = 0;
|
||||||
qdf_mem_zero(wma_handle->hw_bd_info,
|
qdf_mem_zero(wma_handle->hw_bd_info,
|
||||||
sizeof(wma_handle->hw_bd_info));
|
sizeof(wma_handle->hw_bd_info));
|
||||||
WMA_LOGE("%s: Board version is unknown!", __func__);
|
WMA_LOGW("%s: Board version is unknown!", __func__);
|
||||||
}
|
}
|
||||||
wma_handle->dfs_ic->dfs_hw_bd_id = wma_handle->hw_bd_id;
|
wma_handle->dfs_ic->dfs_hw_bd_id = wma_handle->hw_bd_id;
|
||||||
|
|
||||||
@@ -4722,7 +4722,7 @@ int wma_rx_service_ready_event(void *handle, uint8_t *cmd_param_info,
|
|||||||
|
|
||||||
if (WMI_SERVICE_IS_ENABLED(wma_handle->wmi_service_bitmap,
|
if (WMI_SERVICE_IS_ENABLED(wma_handle->wmi_service_bitmap,
|
||||||
WMI_SERVICE_MGMT_TX_WMI)) {
|
WMI_SERVICE_MGMT_TX_WMI)) {
|
||||||
WMA_LOGE("Firmware supports management TX over WMI,use WMI interface instead of HTT for management Tx");
|
WMA_LOGD("Firmware supports management TX over WMI,use WMI interface instead of HTT for management Tx");
|
||||||
/*
|
/*
|
||||||
* Register Tx completion event handler for MGMT Tx over WMI
|
* Register Tx completion event handler for MGMT Tx over WMI
|
||||||
* case
|
* case
|
||||||
@@ -4880,7 +4880,7 @@ int wma_rx_service_ready_event(void *handle, uint8_t *cmd_param_info,
|
|||||||
if (!QDF_IS_STATUS_SUCCESS(ret))
|
if (!QDF_IS_STATUS_SUCCESS(ret))
|
||||||
WMA_LOGP("Failed to start the service ready ext timer");
|
WMA_LOGP("Failed to start the service ready ext timer");
|
||||||
|
|
||||||
WMA_LOGA("%s: WMA waiting for WMI_SERVICE_READY_EXT_EVENTID",
|
WMA_LOGD("%s: WMA waiting for WMI_SERVICE_READY_EXT_EVENTID",
|
||||||
__func__);
|
__func__);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -5300,7 +5300,7 @@ static QDF_STATUS wma_update_hw_mode_list(t_wma_handle *wma_handle)
|
|||||||
return QDF_STATUS_E_FAILURE;
|
return QDF_STATUS_E_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
WMA_LOGA("%s: Updated HW mode list: Num modes:%d",
|
WMA_LOGD("%s: Updated HW mode list: Num modes:%d",
|
||||||
__func__, wma_handle->num_dbs_hw_modes);
|
__func__, wma_handle->num_dbs_hw_modes);
|
||||||
|
|
||||||
for (i = 0; i < wma_handle->num_dbs_hw_modes; i++) {
|
for (i = 0; i < wma_handle->num_dbs_hw_modes; i++) {
|
||||||
|
|||||||
@@ -797,7 +797,7 @@ int wma_vdev_install_key_complete_event_handler(void *handle,
|
|||||||
/*
|
/*
|
||||||
* Do nothing for now. Completion of set key is already indicated to lim
|
* Do nothing for now. Completion of set key is already indicated to lim
|
||||||
*/
|
*/
|
||||||
WMA_LOGI("%s: WMI_VDEV_INSTALL_KEY_COMPLETE_EVENTID", __func__);
|
WMA_LOGD("%s: WMI_VDEV_INSTALL_KEY_COMPLETE_EVENTID", __func__);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
@@ -2483,7 +2483,7 @@ void wma_send_probe_rsp_tmpl(tp_wma_handle wma,
|
|||||||
|
|
||||||
if (WMI_SERVICE_IS_ENABLED(wma->wmi_service_bitmap,
|
if (WMI_SERVICE_IS_ENABLED(wma->wmi_service_bitmap,
|
||||||
WMI_SERVICE_BEACON_OFFLOAD)) {
|
WMI_SERVICE_BEACON_OFFLOAD)) {
|
||||||
WMA_LOGI("Beacon Offload Enabled Sending Unified command");
|
WMA_LOGD("Beacon Offload Enabled Sending Unified command");
|
||||||
if (wmi_unified_probe_rsp_tmpl_send(wma, vdev_id,
|
if (wmi_unified_probe_rsp_tmpl_send(wma, vdev_id,
|
||||||
probe_rsp_info) < 0) {
|
probe_rsp_info) < 0) {
|
||||||
WMA_LOGE(FL("wmi_unified_probe_rsp_tmpl_send Failed "));
|
WMA_LOGE(FL("wmi_unified_probe_rsp_tmpl_send Failed "));
|
||||||
@@ -2520,7 +2520,7 @@ void wma_send_beacon(tp_wma_handle wma, tpSendbeaconParams bcn_info)
|
|||||||
|
|
||||||
if (WMI_SERVICE_IS_ENABLED(wma->wmi_service_bitmap,
|
if (WMI_SERVICE_IS_ENABLED(wma->wmi_service_bitmap,
|
||||||
WMI_SERVICE_BEACON_OFFLOAD)) {
|
WMI_SERVICE_BEACON_OFFLOAD)) {
|
||||||
WMA_LOGI("Beacon Offload Enabled Sending Unified command");
|
WMA_LOGD("Beacon Offload Enabled Sending Unified command");
|
||||||
status = wma_unified_bcn_tmpl_send(wma, vdev_id, bcn_info, 4);
|
status = wma_unified_bcn_tmpl_send(wma, vdev_id, bcn_info, 4);
|
||||||
if (QDF_IS_STATUS_ERROR(status)) {
|
if (QDF_IS_STATUS_ERROR(status)) {
|
||||||
WMA_LOGE("%s : wmi_unified_bcn_tmpl_send Failed ",
|
WMA_LOGE("%s : wmi_unified_bcn_tmpl_send Failed ",
|
||||||
@@ -2642,8 +2642,7 @@ static int wma_process_mgmt_tx_completion(tp_wma_handle wma_handle,
|
|||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
WMA_LOGI("%s: status:%d desc id:%d", __func__, status, desc_id);
|
WMA_LOGD("%s: status: %d wmi_desc_id: %d", __func__, status, desc_id);
|
||||||
|
|
||||||
|
|
||||||
psoc = wma_handle->psoc;
|
psoc = wma_handle->psoc;
|
||||||
if (psoc == NULL) {
|
if (psoc == NULL) {
|
||||||
|
|||||||
@@ -331,7 +331,7 @@ void wma_update_edca_params_for_ac(tSirMacEdcaParamRecord *edca_param,
|
|||||||
/* TODO: No ack is not present in EdcaParamRecord */
|
/* TODO: No ack is not present in EdcaParamRecord */
|
||||||
wmm_param->no_ack = 0;
|
wmm_param->no_ack = 0;
|
||||||
|
|
||||||
WMA_LOGI("WMM PARAMS AC[%d]: AIFS %d Min %d Max %d TXOP %d ACM %d NOACK %d",
|
WMA_LOGD("WMM PARAMS AC[%d]: AIFS %d Min %d Max %d TXOP %d ACM %d NOACK %d",
|
||||||
ac, wmm_param->aifs, wmm_param->cwmin, wmm_param->cwmax,
|
ac, wmm_param->aifs, wmm_param->cwmin, wmm_param->cwmax,
|
||||||
wmm_param->txoplimit, wmm_param->acm, wmm_param->no_ack);
|
wmm_param->txoplimit, wmm_param->acm, wmm_param->no_ack);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ static void wma_dec_pending_scans(tp_wma_handle wma)
|
|||||||
}
|
}
|
||||||
|
|
||||||
qdf_atomic_dec(&wma->num_pending_scans);
|
qdf_atomic_dec(&wma->num_pending_scans);
|
||||||
WMA_LOGI("Ending pending scan: %d <- %d", scan_cnt, scan_cnt - 1);
|
WMA_LOGD("Ending pending scan: %d <- %d", scan_cnt, scan_cnt - 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -132,7 +132,7 @@ static void wma_dec_pending_scans(tp_wma_handle wma)
|
|||||||
static void wma_inc_pending_scans(tp_wma_handle wma)
|
static void wma_inc_pending_scans(tp_wma_handle wma)
|
||||||
{
|
{
|
||||||
int32_t scan_cnt = qdf_atomic_inc_return(&wma->num_pending_scans);
|
int32_t scan_cnt = qdf_atomic_inc_return(&wma->num_pending_scans);
|
||||||
WMA_LOGI("Starting pending scan: %d -> %d", scan_cnt - 1, scan_cnt);
|
WMA_LOGD("Starting pending scan: %d -> %d", scan_cnt - 1, scan_cnt);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -482,10 +482,10 @@ QDF_STATUS wma_get_buf_start_scan_cmd(tp_wma_handle wma_handle,
|
|||||||
cmd->repeat_probe_time : 0;
|
cmd->repeat_probe_time : 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
WMA_LOGI("Scan Type 0x%x, Active dwell time %u, Passive dwell time %u",
|
WMA_LOGD("Scan Type 0x%x, Active dwell time %u, Passive dwell time %u",
|
||||||
scan_req->scanType, cmd->dwell_time_active,
|
scan_req->scanType, cmd->dwell_time_active,
|
||||||
cmd->dwell_time_passive);
|
cmd->dwell_time_passive);
|
||||||
WMA_LOGI("Scan repeat_probe_time %u n_probes %u num_ssids %u num_bssid %u",
|
WMA_LOGD("Scan repeat_probe_time %u n_probes %u num_ssids %u num_bssid %u",
|
||||||
cmd->repeat_probe_time,
|
cmd->repeat_probe_time,
|
||||||
cmd->n_probes,
|
cmd->n_probes,
|
||||||
cmd->num_ssids,
|
cmd->num_ssids,
|
||||||
@@ -554,7 +554,7 @@ QDF_STATUS wma_start_scan(tp_wma_handle wma_handle,
|
|||||||
*/
|
*/
|
||||||
vdev_id = cmd.vdev_id;
|
vdev_id = cmd.vdev_id;
|
||||||
scan_id = cmd.scan_id;
|
scan_id = cmd.scan_id;
|
||||||
WMA_LOGI("ActiveDwell %d, PassiveDwell %d, ScanFlags 0x%x NumChan %d",
|
WMA_LOGD("ActiveDwell %d, PassiveDwell %d, ScanFlags 0x%x NumChan %d",
|
||||||
cmd.dwell_time_active, cmd.dwell_time_passive,
|
cmd.dwell_time_active, cmd.dwell_time_passive,
|
||||||
cmd.scan_flags, cmd.num_chan);
|
cmd.scan_flags, cmd.num_chan);
|
||||||
|
|
||||||
@@ -566,7 +566,7 @@ QDF_STATUS wma_start_scan(tp_wma_handle wma_handle,
|
|||||||
goto dec_scans;
|
goto dec_scans;
|
||||||
}
|
}
|
||||||
|
|
||||||
WMA_LOGI("WMA --> WMI_START_SCAN_CMDID");
|
WMA_LOGD("WMA --> WMI_START_SCAN_CMDID");
|
||||||
|
|
||||||
return QDF_STATUS_SUCCESS;
|
return QDF_STATUS_SUCCESS;
|
||||||
|
|
||||||
@@ -815,7 +815,7 @@ QDF_STATUS wma_roam_scan_offload_mode(tp_wma_handle wma_handle,
|
|||||||
if (QDF_IS_STATUS_ERROR(status))
|
if (QDF_IS_STATUS_ERROR(status))
|
||||||
return status;
|
return status;
|
||||||
|
|
||||||
WMA_LOGI("%s: WMA --> WMI_ROAM_SCAN_MODE", __func__);
|
WMA_LOGD("%s: WMA --> WMI_ROAM_SCAN_MODE", __func__);
|
||||||
qdf_mem_free(params);
|
qdf_mem_free(params);
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
@@ -923,12 +923,12 @@ QDF_STATUS wma_roam_scan_offload_rssi_thresh(tp_wma_handle wma_handle,
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
WMA_LOGI(FL("roam_scan_rssi_thresh=%d, roam_rssi_thresh_diff=%d"),
|
WMA_LOGD(FL("roam_scan_rssi_thresh=%d, roam_rssi_thresh_diff=%d"),
|
||||||
rssi_thresh, rssi_thresh_diff);
|
rssi_thresh, rssi_thresh_diff);
|
||||||
WMA_LOGI(
|
WMA_LOGD(
|
||||||
FL("hirssi_scan max_count=%d, delta=%d, hirssi_upper_bound=%d"),
|
FL("hirssi_scan max_count=%d, delta=%d, hirssi_upper_bound=%d"),
|
||||||
hirssi_scan_max_count, hirssi_scan_delta, hirssi_upper_bound);
|
hirssi_scan_max_count, hirssi_scan_delta, hirssi_upper_bound);
|
||||||
WMA_LOGI(
|
WMA_LOGD(
|
||||||
FL("dense_rssi_thresh_offset=%d, dense_min_aps_cnt=%d, traffic_threshold=%d initial_dense_status=%d"),
|
FL("dense_rssi_thresh_offset=%d, dense_min_aps_cnt=%d, traffic_threshold=%d initial_dense_status=%d"),
|
||||||
roam_params->dense_rssi_thresh_offset,
|
roam_params->dense_rssi_thresh_offset,
|
||||||
roam_params->dense_min_aps_cnt,
|
roam_params->dense_min_aps_cnt,
|
||||||
@@ -1021,7 +1021,7 @@ QDF_STATUS wma_roam_scan_offload_chan_list(tp_wma_handle wma_handle,
|
|||||||
for (i = 0; ((i < chan_count) &&
|
for (i = 0; ((i < chan_count) &&
|
||||||
(i < SIR_ROAM_MAX_CHANNELS)); i++) {
|
(i < SIR_ROAM_MAX_CHANNELS)); i++) {
|
||||||
chan_list_mhz[i] = cds_chan_to_freq(chan_list[i]);
|
chan_list_mhz[i] = cds_chan_to_freq(chan_list[i]);
|
||||||
WMA_LOGI("%d,", chan_list_mhz[i]);
|
WMA_LOGD("%d,", chan_list_mhz[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
status = wmi_unified_roam_scan_offload_chan_list_cmd(wma_handle->wmi_handle,
|
status = wmi_unified_roam_scan_offload_chan_list_cmd(wma_handle->wmi_handle,
|
||||||
@@ -1367,13 +1367,13 @@ void wma_roam_scan_fill_scan_params(tp_wma_handle wma_handle,
|
|||||||
WMI_SCAN_ADD_DS_IE_IN_PROBE_REQ;
|
WMI_SCAN_ADD_DS_IE_IN_PROBE_REQ;
|
||||||
if (roam_req != NULL) {
|
if (roam_req != NULL) {
|
||||||
/* Parameters updated after association is complete */
|
/* Parameters updated after association is complete */
|
||||||
WMA_LOGI("%s: Input parameters: NeighborScanChannelMinTime"
|
WMA_LOGD("%s: NeighborScanChannelMinTime: %d"
|
||||||
" = %d, NeighborScanChannelMaxTime = %d",
|
" NeighborScanChannelMaxTime: %d",
|
||||||
__func__,
|
__func__,
|
||||||
roam_req->NeighborScanChannelMinTime,
|
roam_req->NeighborScanChannelMinTime,
|
||||||
roam_req->NeighborScanChannelMaxTime);
|
roam_req->NeighborScanChannelMaxTime);
|
||||||
WMA_LOGI("%s: Input parameters: NeighborScanTimerPeriod ="
|
WMA_LOGD("%s: NeighborScanTimerPeriod: %d"
|
||||||
" %d, HomeAwayTime = %d, nProbes = %d",
|
" HomeAwayTime: %d nProbes: %d",
|
||||||
__func__,
|
__func__,
|
||||||
roam_req->NeighborScanTimerPeriod,
|
roam_req->NeighborScanTimerPeriod,
|
||||||
roam_req->HomeAwayTime, roam_req->nProbes);
|
roam_req->HomeAwayTime, roam_req->nProbes);
|
||||||
@@ -1506,18 +1506,18 @@ void wma_roam_scan_fill_scan_params(tp_wma_handle wma_handle,
|
|||||||
scan_params->n_probes = 0;
|
scan_params->n_probes = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
WMA_LOGI("%s: Rome roam scan parameters:"
|
WMA_LOGD("%s: Rome roam scan parameters:"
|
||||||
" dwell_time_active = %d, dwell_time_passive = %d",
|
" dwell_time_active = %d, dwell_time_passive = %d",
|
||||||
__func__,
|
__func__,
|
||||||
scan_params->dwell_time_active,
|
scan_params->dwell_time_active,
|
||||||
scan_params->dwell_time_passive);
|
scan_params->dwell_time_passive);
|
||||||
WMA_LOGI("%s: min_rest_time = %d, max_rest_time = %d,"
|
WMA_LOGD("%s: min_rest_time = %d, max_rest_time = %d,"
|
||||||
" repeat_probe_time = %d n_probes = %d",
|
" repeat_probe_time = %d n_probes = %d",
|
||||||
__func__,
|
__func__,
|
||||||
scan_params->min_rest_time,
|
scan_params->min_rest_time,
|
||||||
scan_params->max_rest_time,
|
scan_params->max_rest_time,
|
||||||
scan_params->repeat_probe_time, scan_params->n_probes);
|
scan_params->repeat_probe_time, scan_params->n_probes);
|
||||||
WMA_LOGI("%s: max_scan_time = %d, idle_time = %d,"
|
WMA_LOGD("%s: max_scan_time = %d, idle_time = %d,"
|
||||||
" burst_duration = %d, scan_ctrl_flags = 0x%x",
|
" burst_duration = %d, scan_ctrl_flags = 0x%x",
|
||||||
__func__,
|
__func__,
|
||||||
scan_params->max_scan_time,
|
scan_params->max_scan_time,
|
||||||
@@ -1666,7 +1666,7 @@ QDF_STATUS wma_roam_scan_bmiss_cnt(tp_wma_handle wma_handle,
|
|||||||
{
|
{
|
||||||
QDF_STATUS status;
|
QDF_STATUS status;
|
||||||
|
|
||||||
WMA_LOGI("%s: first_bcnt=%d, final_bcnt=%d", __func__, first_bcnt,
|
WMA_LOGD("%s: first_bcnt: %d, final_bcnt: %d", __func__, first_bcnt,
|
||||||
final_bcnt);
|
final_bcnt);
|
||||||
|
|
||||||
status = wma_vdev_set_param(wma_handle->wmi_handle,
|
status = wma_vdev_set_param(wma_handle->wmi_handle,
|
||||||
@@ -1728,7 +1728,7 @@ QDF_STATUS wma_process_roaming_config(tp_wma_handle wma_handle,
|
|||||||
uint32_t mode = 0;
|
uint32_t mode = 0;
|
||||||
struct wma_txrx_node *intr = NULL;
|
struct wma_txrx_node *intr = NULL;
|
||||||
|
|
||||||
WMA_LOGI("%s: command 0x%x, reason %d", __func__, roam_req->Command,
|
WMA_LOGD("%s: command 0x%x, reason %d", __func__, roam_req->Command,
|
||||||
roam_req->reason);
|
roam_req->reason);
|
||||||
|
|
||||||
if (NULL == pMac) {
|
if (NULL == pMac) {
|
||||||
@@ -4006,7 +4006,6 @@ int wma_extscan_capabilities_event_handler(void *handle,
|
|||||||
|
|
||||||
pMac->sme.pExtScanIndCb(pMac->hHdd,
|
pMac->sme.pExtScanIndCb(pMac->hHdd,
|
||||||
eSIR_EXTSCAN_GET_CAPABILITIES_IND, dest_capab);
|
eSIR_EXTSCAN_GET_CAPABILITIES_IND, dest_capab);
|
||||||
WMA_LOGI("%s: sending capabilities event to hdd", __func__);
|
|
||||||
qdf_mem_free(dest_capab);
|
qdf_mem_free(dest_capab);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@@ -5605,7 +5604,7 @@ int wma_scan_event_callback(WMA_HANDLE handle, uint8_t *data,
|
|||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
}
|
}
|
||||||
|
|
||||||
WMA_LOGI("scan event %u, id 0x%x, requestor 0x%x, freq %u, reason %u",
|
WMA_LOGD("scan_event: %u, id: 0x%x, requestor: 0x%x, freq: %u, reason: %u",
|
||||||
wmi_event->event, wmi_event->scan_id, wmi_event->requestor,
|
wmi_event->event, wmi_event->scan_id, wmi_event->requestor,
|
||||||
wmi_event->channel_freq, wmi_event->reason);
|
wmi_event->channel_freq, wmi_event->reason);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user