diff options
| author | Kapil Gupta <kapgupta@codeaurora.org> | 2016-09-12 15:32:24 +0530 |
|---|---|---|
| committer | Anjaneedevi Kapparapu <akappa@codeaurora.org> | 2016-09-30 12:12:52 +0530 |
| commit | aa1f30a39f97aee7e336a6a95028f3053dffa588 (patch) | |
| tree | 95c30bb5a38808fe3c98bba365ad278216270a25 | |
| parent | 607d44531bc9fcdf4920ca7fe994e082c286d0e0 (diff) | |
qcacld-2.0: Remove excessive logging related to stats
Lot of stats related info logs are periodic and cause log spam.
Add changes to remove excessive logs.
CRs-Fixed: 1066273
Change-Id: I7064630c9ee4e01eafe0b5f00626aa6f20c0403d
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_cfg80211.c | 28 | ||||
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_p2p.c | 3 | ||||
| -rw-r--r-- | CORE/MAC/src/pe/lim/limSession.c | 3 | ||||
| -rw-r--r-- | CORE/SERVICES/WMA/wma.c | 127 | ||||
| -rw-r--r-- | CORE/SME/src/csr/csrApiScan.c | 9 | ||||
| -rw-r--r-- | CORE/SME/src/sme_common/sme_Api.c | 7 |
6 files changed, 18 insertions, 159 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c index d9042e9e3175..0b43625c564b 100644 --- a/CORE/HDD/src/wlan_hdd_cfg80211.c +++ b/CORE/HDD/src/wlan_hdd_cfg80211.c @@ -1428,19 +1428,19 @@ __wlan_hdd_cfg80211_get_supported_features(struct wiphy *wiphy, return -EINVAL; if (wiphy->interface_modes & BIT(NL80211_IFTYPE_STATION)) { - hddLog(LOG1, FL("Infra Station mode is supported by driver")); + hddLog(LOG1, "Infra Station mode is supported by driver"); fset |= WIFI_FEATURE_INFRA; } if (TRUE == hdd_is_5g_supported(pHddCtx)) { - hddLog(LOG1, FL("INFRA_5G is supported by firmware")); + hddLog(LOG1, "INFRA_5G is supported by firmware"); fset |= WIFI_FEATURE_INFRA_5G; } #ifdef WLAN_FEATURE_P2P if ((wiphy->interface_modes & BIT(NL80211_IFTYPE_P2P_CLIENT)) && (wiphy->interface_modes & BIT(NL80211_IFTYPE_P2P_GO))) { - hddLog(LOG1, FL("WiFi-Direct is supported by driver")); + hddLog(LOG1, "WiFi-Direct is supported by driver"); fset |= WIFI_FEATURE_P2P; } #endif @@ -1454,20 +1454,20 @@ __wlan_hdd_cfg80211_get_supported_features(struct wiphy *wiphy, #ifdef FEATURE_WLAN_EXTSCAN if (pHddCtx->cfg_ini->extscan_enabled && sme_IsFeatureSupportedByFW(EXTENDED_SCAN)) { - hddLog(LOG1, FL("EXTScan is supported by firmware")); + hddLog(LOG1, "EXTScan is supported by firmware"); fset |= WIFI_FEATURE_EXTSCAN | WIFI_FEATURE_HAL_EPNO; } #endif #ifdef WLAN_FEATURE_NAN if (sme_IsFeatureSupportedByFW(NAN)) { - hddLog(LOG1, FL("NAN is supported by firmware")); + hddLog(LOG1, "NAN is supported by firmware"); fset |= WIFI_FEATURE_NAN; } #endif if (sme_IsFeatureSupportedByFW(RTT)) { - hddLog(LOG1, FL("RTT is supported by firmware")); + hddLog(LOG1, "RTT is supported by firmware"); fset |= WIFI_FEATURE_D2D_RTT; fset |= WIFI_FEATURE_D2AP_RTT; } @@ -1475,7 +1475,7 @@ __wlan_hdd_cfg80211_get_supported_features(struct wiphy *wiphy, #ifdef FEATURE_WLAN_SCAN_PNO if (pHddCtx->cfg_ini->configPNOScanSupport && sme_IsFeatureSupportedByFW(PNO)) { - hddLog(LOG1, FL("PNO is supported by firmware")); + hddLog(LOG1, "PNO is supported by firmware"); fset |= WIFI_FEATURE_PNO; } #endif @@ -1486,14 +1486,14 @@ __wlan_hdd_cfg80211_get_supported_features(struct wiphy *wiphy, #ifdef FEATURE_WLAN_TDLS if ((TRUE == pHddCtx->cfg_ini->fEnableTDLSSupport) && sme_IsFeatureSupportedByFW(TDLS)) { - hddLog(LOG1, FL("TDLS is supported by firmware")); + hddLog(LOG1, "TDLS is supported by firmware"); fset |= WIFI_FEATURE_TDLS; } if (sme_IsFeatureSupportedByFW(TDLS) && (TRUE == pHddCtx->cfg_ini->fEnableTDLSOffChannel) && sme_IsFeatureSupportedByFW(TDLS_OFF_CHANNEL)) { - hddLog(LOG1, FL("TDLS off-channel is supported by firmware")); + hddLog(LOG1, "TDLS off-channel is supported by firmware"); fset |= WIFI_FEATURE_TDLS_OFFCHANNEL; } #endif @@ -6343,7 +6343,7 @@ static int __wlan_hdd_cfg80211_ll_stats_get(struct wiphy *wiphy, return -EINVAL; } - ENTER(); + /* ENTER() intentionally not used in a frequently invoked API */ status = wlan_hdd_validate_context(pHddCtx); if (0 != status) @@ -6392,12 +6392,6 @@ static int __wlan_hdd_cfg80211_ll_stats_get(struct wiphy *wiphy, LinkLayerStatsGetReq.staId = pAdapter->sessionId; - hddLog(VOS_TRACE_LEVEL_INFO, - "LL_STATS_GET reqId = %d, StaId = %d, paramIdMask = %d", - LinkLayerStatsGetReq.reqId, LinkLayerStatsGetReq.staId, - LinkLayerStatsGetReq.paramIdMask); - - spin_lock(&hdd_context_lock); context = &pHddCtx->ll_stats_context; context->request_id = LinkLayerStatsGetReq.reqId; @@ -17049,7 +17043,7 @@ wlan_hdd_cfg80211_inform_bss_frame( hdd_adapter_t *pAdapter, /* Supplicant takes the signal strength in terms of mBm(100*dBm) */ rssi = (VOS_MIN(rssi, 0)) * 100; - hddLog(LOG1, FL("BSSID: "MAC_ADDRESS_STR" Channel:%d RSSI:%d"), + hddLog(LOG1, "BSSID: "MAC_ADDRESS_STR" Channel:%d RSSI:%d", MAC_ADDR_ARRAY(mgmt->bssid), vos_freq_to_chan(chan->center_freq),(int)(rssi/100)); diff --git a/CORE/HDD/src/wlan_hdd_p2p.c b/CORE/HDD/src/wlan_hdd_p2p.c index 33823433b456..85b1449b0f38 100644 --- a/CORE/HDD/src/wlan_hdd_p2p.c +++ b/CORE/HDD/src/wlan_hdd_p2p.c @@ -894,8 +894,6 @@ static int wlan_hdd_request_remain_on_channel( struct wiphy *wiphy, int ret = 0; int status = 0; - ENTER(); - hddLog(LOG1, FL("Device_mode %s(%d)"), hdd_device_mode_to_string(pAdapter->device_mode), pAdapter->device_mode); @@ -1007,7 +1005,6 @@ static int wlan_hdd_request_remain_on_channel( struct wiphy *wiphy, hddLog(LOG1, FL("scheduling delayed work: no connection/roc active")); schedule_delayed_work(&pHddCtx->rocReqWork, 0); } - EXIT(); return 0; } diff --git a/CORE/MAC/src/pe/lim/limSession.c b/CORE/MAC/src/pe/lim/limSession.c index fc13b7e2e802..7f0ebafc3f2c 100644 --- a/CORE/MAC/src/pe/lim/limSession.c +++ b/CORE/MAC/src/pe/lim/limSession.c @@ -347,8 +347,7 @@ tpPESession peCreateSession(tpAniSirGlobal pMac, VOS_TRACE(VOS_MODULE_ID_PE, VOS_TRACE_LEVEL_DEBUG, "Create a new PE session (%d) with BSSID: " MAC_ADDRESS_STR " Max No. of STA %d", - pMac->lim.gpSession[i].peSessionId, - MAC_ADDR_ARRAY(bssid), numSta); + *sessionId, MAC_ADDR_ARRAY(bssid), numSta); pMac->lim.gpSession[i].roaming_in_progress = false; /* Initialize PMM Ps Offload Module */ diff --git a/CORE/SERVICES/WMA/wma.c b/CORE/SERVICES/WMA/wma.c index 8083baf6622d..a66e278f8756 100644 --- a/CORE/SERVICES/WMA/wma.c +++ b/CORE/SERVICES/WMA/wma.c @@ -2732,17 +2732,11 @@ static void wma_update_peer_stats(tp_wma_handle wma, wmi_peer_stats *peer_stats) * rate flags */ classa_stats->rx_frag_cnt = node->nss; classa_stats->promiscuous_rx_frag_cnt = mcsRateFlags; - WMA_LOGD("Computed mcs_idx:%d mcs_rate_flags:%d", - classa_stats->mcs_index, - mcsRateFlags); } /* FW returns tx power in intervals of 0.5 dBm Convert it back to intervals of 1 dBm */ classa_stats->max_pwr = roundup(classa_stats->max_pwr, 2) >> 1; - WMA_LOGD("peer tx rate flags:%d nss:%d max_txpwr:%d", - node->rate_flags, node->nss, - classa_stats->max_pwr); } } } @@ -3366,8 +3360,6 @@ static void wma_fw_stats_ind(tp_wma_handle wma, u_int8_t *buf) } if (event->num_peer_stats > 0) { - WMA_LOGD("update get rssi %d", - wma->get_sta_rssi); if (wma->get_sta_rssi == TRUE) { wma_handle_sta_rssi(event->num_peer_stats, (wmi_peer_stats *)temp, @@ -3395,8 +3387,6 @@ static void wma_fw_stats_ind(tp_wma_handle wma, u_int8_t *buf) WMITLV_TAG_STRUC_wmi_per_chain_rssi_stats) && ((rssi_event->tlv_header & 0x0000FFFF) == WMITLV_GET_STRUCT_TLVLEN(wmi_per_chain_rssi_stats))) { - WMA_LOGD("%s: num_rssi_stats %u", __func__, - rssi_event->num_per_chain_rssi_stats); if (rssi_event->num_per_chain_rssi_stats > 0) { temp += sizeof(*rssi_event); for (i = 0; i < rssi_event->num_per_chain_rssi_stats; @@ -4521,7 +4511,6 @@ static int wma_unified_link_iface_stats_event_handler(void *handle, return -EINVAL; } - WMA_LOGD("%s: Posting Iface Stats event to HDD", __func__); param_tlvs = (WMI_IFACE_LINK_STATS_EVENTID_param_tlvs *)cmd_param_info; if (!param_tlvs) { WMA_LOGA("%s: Invalid stats event", __func__); @@ -4556,31 +4545,6 @@ static int wma_unified_link_iface_stats_event_handler(void *handle, return -ENOMEM; } - WMA_LOGD("Interface stats Fixed Param:"); - WMA_LOGD("request_id %u vdev_id %u", - fixed_param->request_id,fixed_param->vdev_id); - - WMA_LOGD("Iface Stats:"); - WMA_LOGD("beacon_rx %u mgmt_rx %u mgmt_action_rx %u mgmt_action_tx %u " - "rssi_mgmt %u rssi_data %u rssi_ack %u num_peers %u " - "num_peer_events %u num_ac %u roam_state %u" - " avg_bcn_spread_offset_high %u" - " avg_bcn_spread_offset_low %u" - " is leaky_ap %u" - " avg_rx_frames_leaked %u" - " rx_leak_window %u", - link_stats->beacon_rx, link_stats->mgmt_rx, - link_stats->mgmt_action_rx, link_stats->mgmt_action_tx, - link_stats->rssi_mgmt, link_stats->rssi_data, - link_stats->rssi_ack, link_stats->num_peers, - link_stats->num_peer_events, link_stats->num_ac, - link_stats->roam_state, - link_stats->avg_bcn_spread_offset_high, - link_stats->avg_bcn_spread_offset_low, - link_stats->is_leaky_ap, - link_stats->avg_rx_frms_leaked, - link_stats->rx_leak_window); - vos_mem_zero(link_stats_results, link_stats_results_size); link_stats_results->paramId = WMI_LINK_STATS_IFACE; @@ -4608,22 +4572,7 @@ static int wma_unified_link_iface_stats_event_handler(void *handle, next_res_offset = link_stats_size - WIFI_AC_MAX * ac_stats_size; next_ac_offset = WMI_TLV_HDR_SIZE; - WMA_LOGD("AC Stats:"); for (count = 0; count < link_stats->num_ac; count++) { - WMA_LOGD("ac_type %u tx_mpdu %u rx_mpdu %u tx_mcast %u " - "rx_mcast %u rx_ampdu %u tx_ampdu %u mpdu_lost %u " - "retries %u retries_short %u retries_long %u " - "contention_time_min %u contention_time_max %u " - "contention_time_avg %u contention_num_samples %u", - ac_stats->ac_type, ac_stats->tx_mpdu, ac_stats->rx_mpdu, - ac_stats->tx_mcast, ac_stats->rx_mcast, - ac_stats->rx_ampdu,ac_stats->tx_ampdu, - ac_stats->mpdu_lost, ac_stats->retries, - ac_stats->retries_short, ac_stats->retries_long, - ac_stats->contention_time_min, - ac_stats->contention_time_max, - ac_stats->contention_time_avg, - ac_stats->contention_num_samples); ac_stats++; vos_mem_copy(results + next_res_offset, @@ -4640,7 +4589,6 @@ static int wma_unified_link_iface_stats_event_handler(void *handle, pMac->sme.pLinkLayerStatsIndCallback(pMac->hHdd, WDA_LINK_LAYER_STATS_RESULTS_RSP, link_stats_results); - WMA_LOGD("%s: Iface Stats event posted to HDD", __func__); vos_mem_free(link_stats_results); return 0; @@ -4674,7 +4622,6 @@ static int wma_unified_link_peer_stats_event_handler(void *handle, return -EINVAL; } - WMA_LOGD("%s: Posting Peer Stats event to HDD", __func__); param_tlvs = (WMI_PEER_LINK_STATS_EVENTID_param_tlvs *)cmd_param_info; if (!param_tlvs) { WMA_LOGA("%s: Invalid stats event", __func__); @@ -4720,12 +4667,6 @@ static int wma_unified_link_peer_stats_event_handler(void *handle, return -ENOMEM; } - WMA_LOGD("Peer stats from FW event buf"); - WMA_LOGD("Fixed Param:"); - WMA_LOGD("request_id %u num_peers %u peer_event_number %u more_data %u", - fixed_param->request_id, fixed_param->num_peers, - fixed_param->peer_event_number, fixed_param->more_data); - vos_mem_zero(link_stats_results, link_stats_results_size); link_stats_results->paramId = WMI_LINK_STATS_ALL_PEER; @@ -4745,11 +4686,6 @@ static int wma_unified_link_peer_stats_event_handler(void *handle, next_peer_offset = WMI_TLV_HDR_SIZE; next_rate_offset = WMI_TLV_HDR_SIZE; for (rate_cnt = 0; rate_cnt < fixed_param->num_peers; rate_cnt++) { - WMA_LOGD("Peer Info:"); - WMA_LOGD("peer_type %u capabilities %u num_rates %u", - peer_stats->peer_type, peer_stats->capabilities, - peer_stats->num_rates); - vos_mem_copy(results + next_res_offset, t_peer_stats + next_peer_offset, peer_info_size); @@ -4757,14 +4693,6 @@ static int wma_unified_link_peer_stats_event_handler(void *handle, /* Copy rate stats associated with this peer */ for (count = 0; count < peer_stats->num_rates; count++) { - WMA_LOGD("Rate Stats Info:"); - WMA_LOGD("rate %u bitrate %u tx_mpdu %u rx_mpdu %u " - "mpdu_lost %u retries %u retries_short %u " - "retries_long %u", rate_stats->rate, - rate_stats->bitrate, rate_stats->tx_mpdu, - rate_stats->rx_mpdu, rate_stats->mpdu_lost, - rate_stats->retries, rate_stats->retries_short, - rate_stats->retries_long); rate_stats++; vos_mem_copy(results + next_res_offset, @@ -4784,7 +4712,6 @@ static int wma_unified_link_peer_stats_event_handler(void *handle, pMac->sme.pLinkLayerStatsIndCallback(pMac->hHdd, WDA_LINK_LAYER_STATS_RESULTS_RSP, link_stats_results); - WMA_LOGD("%s: Peer Stats event posted to HDD", __func__); vos_mem_free(link_stats_results); return 0; @@ -4845,11 +4772,6 @@ static int wma_unified_radio_tx_power_level_stats_event_handler(void *handle, rs_results = (tSirWifiRadioStat *) &link_stats_results->results[0]; tx_power_level_values = (uint8 *) param_tlvs->tx_time_per_power_level; - WMA_LOGD("%s: total_num_tx_power_levels: %u num_tx_power_levels: %u power_level_offset: %u", - __func__, fixed_param->total_num_tx_power_levels, - fixed_param->num_tx_power_levels, - fixed_param->power_level_offset); - rs_results->total_num_tx_power_levels = fixed_param->total_num_tx_power_levels; if (!rs_results->total_num_tx_power_levels) @@ -4874,9 +4796,6 @@ static int wma_unified_radio_tx_power_level_stats_event_handler(void *handle, (fixed_param->num_tx_power_levels + fixed_param->power_level_offset)) link_stats_results->moreResultToFollow = 0; - WMA_LOGD("%s: moreResultToFollow: %u", - __func__, link_stats_results->moreResultToFollow); - /* If still data to receive, return from here */ if (link_stats_results->moreResultToFollow) return 0; @@ -4889,7 +4808,6 @@ post_stats: pMac->sme.pLinkLayerStatsIndCallback(pMac->hHdd, WDA_LINK_LAYER_STATS_RESULTS_RSP, link_stats_results); - WMA_LOGD("%s: Radio Stats event posted to HDD", __func__); vos_mem_free(rs_results->tx_time_per_power_level); rs_results->tx_time_per_power_level = NULL; vos_mem_free(wma_handle->link_stats_results); @@ -4963,22 +4881,6 @@ static int wma_unified_link_radio_stats_event_handler(void *handle, return -ENOMEM; } - WMA_LOGD("request_id %u num_radio %u more_radio_events %u", - fixed_param->request_id, fixed_param->num_radio, - fixed_param->more_radio_events); - - WMA_LOGD("Radio Info: radio_id %u on_time %u tx_time %u rx_time %u on_time_scan %u " - "on_time_nbd %u on_time_gscan %u on_time_roam_scan %u " - "on_time_pno_scan %u on_time_hs20 %u num_channels %u", - radio_stats->radio_id, radio_stats->on_time, - radio_stats->tx_time, radio_stats->rx_time, - radio_stats->on_time_scan, radio_stats->on_time_nbd, - radio_stats->on_time_gscan, - radio_stats->on_time_roam_scan, - radio_stats->on_time_pno_scan, - radio_stats->on_time_hs20, - radio_stats->num_channels); - link_stats_results = wma_handle->link_stats_results; vos_mem_zero(link_stats_results, link_stats_results_size); @@ -5019,14 +4921,7 @@ static int wma_unified_link_radio_stats_event_handler(void *handle, chn_results = (tSirWifiChannelStats *) &rs_results->channels[0]; next_chan_offset = WMI_TLV_HDR_SIZE; - WMA_LOGD("Channel Stats Info"); for (count = 0; count < radio_stats->num_channels; count++) { - WMA_LOGD("channel_width %u center_freq %u center_freq0 %u " - "center_freq1 %u radio_awake_time %u cca_busy_time %u", - channel_stats->channel_width, channel_stats->center_freq, - channel_stats->center_freq0, channel_stats->center_freq1, - channel_stats->radio_awake_time, - channel_stats->cca_busy_time); channel_stats++; vos_mem_copy(chn_results, @@ -5045,6 +4940,7 @@ static int wma_unified_link_radio_stats_event_handler(void *handle, WDA_LINK_LAYER_STATS_RESULTS_RSP, link_stats_results); vos_mem_free(wma_handle->link_stats_results); + WMA_LOGD(FL("Radio Stats event posted to HDD")); wma_handle->link_stats_results = NULL; return 0; @@ -5238,7 +5134,6 @@ static void wma_update_probe_resp_noa(tp_wma_handle wma_handle, struct p2p_sub_element_noa *noa_ie) { tSirP2PNoaAttr *noa_attr = (tSirP2PNoaAttr *) vos_mem_malloc(sizeof(tSirP2PNoaAttr)); - WMA_LOGD("Received update NoA event"); if (!noa_attr) { WMA_LOGE("Failed to allocate memory for tSirP2PNoaAttr"); return; @@ -5253,7 +5148,6 @@ static void wma_update_probe_resp_noa(tp_wma_handle wma_handle, WMA_LOGD("Zero NoA descriptors"); } else { - WMA_LOGD("%d NoA descriptors", noa_ie->num_descriptors); noa_attr->uNoa1IntervalCnt = noa_ie->noa_descriptors[0].type_count; noa_attr->uNoa1Duration = @@ -5273,8 +5167,7 @@ static 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_send_msg(wma_handle, SIR_HAL_P2P_NOA_ATTR_IND, (void *)noa_attr , + wma_send_msg(wma_handle, SIR_HAL_P2P_NOA_ATTR_IND, (void *)noa_attr, 0); } @@ -9818,8 +9711,6 @@ VOS_STATUS wma_start_scan(tp_wma_handle wma_handle, goto error; } - WMA_LOGI("WMA --> WMI_START_SCAN_CMDID"); - /* Update the scan parameters for handler */ wma_handle->wma_scan_timer_info.vdev_id = vdev_id; wma_handle->wma_scan_timer_info.scan_id = scan_id; @@ -26967,12 +26858,6 @@ static VOS_STATUS wma_process_ll_stats_clearReq WMI_CHAR_ARRAY_TO_MAC_ADDR(wma->interfaces[clearReq->staId].addr, &cmd->peer_macaddr); - WMA_LOGD("LINK_LAYER_STATS - Clear Request Params"); - WMA_LOGD("StopReq : %d", cmd->stop_stats_collection_req); - WMA_LOGD("Vdev Id : %d", cmd->vdev_id); - WMA_LOGD("Clear Stat Mask : %d", cmd->stats_clear_req_mask); - WMA_LOGD("Peer MAC Addr : %pM", wma->interfaces[clearReq->staId].addr); - ret = wmi_unified_cmd_send(wma->wmi_handle, buf, len, WMI_CLEAR_LINK_STATS_CMDID); if (ret) { @@ -26981,7 +26866,6 @@ static VOS_STATUS wma_process_ll_stats_clearReq return VOS_STATUS_E_FAILURE; } - WMA_LOGD("Clear Link Layer Stats request sent successfully"); return VOS_STATUS_SUCCESS; } @@ -27082,12 +26966,6 @@ static VOS_STATUS wma_process_ll_stats_getReq WMI_CHAR_ARRAY_TO_MAC_ADDR(wma->interfaces[getReq->staId].addr, &cmd->peer_macaddr); - WMA_LOGD("LINK_LAYER_STATS - Get Request Params"); - WMA_LOGD("Request ID : %d", cmd->request_id); - WMA_LOGD("Stats Type : %d", cmd->stats_type); - WMA_LOGD("Vdev ID : %d", cmd->vdev_id); - WMA_LOGD("Peer MAC Addr : %pM", wma->interfaces[getReq->staId].addr); - ret = wmi_unified_cmd_send(wma->wmi_handle, buf, len, WMI_REQUEST_LINK_STATS_CMDID); if (ret) { @@ -27096,7 +26974,6 @@ static VOS_STATUS wma_process_ll_stats_getReq return VOS_STATUS_E_FAILURE; } - WMA_LOGD("Get Link Layer Stats request sent successfully"); return VOS_STATUS_SUCCESS; } diff --git a/CORE/SME/src/csr/csrApiScan.c b/CORE/SME/src/csr/csrApiScan.c index b2ffc49e78e5..c3eefbff252d 100644 --- a/CORE/SME/src/csr/csrApiScan.c +++ b/CORE/SME/src/csr/csrApiScan.c @@ -5740,9 +5740,6 @@ tANI_BOOLEAN csrScanAgeOutBss(tpAniSirGlobal pMac, tCsrScanResult *pResult) } else { - smsLog(pMac, LOGW, "Aging out BSS "MAC_ADDRESS_STR" Channel %d", - MAC_ADDR_ARRAY(pResult->Result.BssDescriptor.bssId), - pResult->Result.BssDescriptor.channelId); //No need to hold the spin lock because caller should hold the lock for pMac->scan.scanResultList if(csrLLRemoveEntry(&pMac->scan.scanResultList, &pResult->Link, LL_ACCESS_NOLOCK)) @@ -6963,8 +6960,10 @@ static void csrPurgeScanResultByAge(void *pv) if((curTime - pResult->Result.BssDescriptor.nReceivedTime) > ageOutTime) { - smsLog(pMac, LOG1, FL("age out due to time out for BSSID" MAC_ADDRESS_STR), - MAC_ADDR_ARRAY(pResult->Result.BssDescriptor.bssId)); + smsLog(pMac, LOG1, + FL("age out for BSSID" MAC_ADDRESS_STR" Channel %d"), + MAC_ADDR_ARRAY(pResult->Result.BssDescriptor.bssId), + pResult->Result.BssDescriptor.channelId); csrScanAgeOutBss(pMac, pResult); } pEntry = tmpEntry; diff --git a/CORE/SME/src/sme_common/sme_Api.c b/CORE/SME/src/sme_common/sme_Api.c index 26993227ae5b..2f2dc164c990 100644 --- a/CORE/SME/src/sme_common/sme_Api.c +++ b/CORE/SME/src/sme_common/sme_Api.c @@ -16443,13 +16443,6 @@ eHalStatus sme_LLStatsGetReq (tHalHandle hHal, vos_msg_t vosMessage; tSirLLStatsGetReq *get_stats_req; - VOS_TRACE(VOS_MODULE_ID_SME, VOS_TRACE_LEVEL_INFO, - "reqId = %u", pgetStatsReq->reqId); - VOS_TRACE(VOS_MODULE_ID_SME, VOS_TRACE_LEVEL_INFO, - "staId = %u", pgetStatsReq->staId); - VOS_TRACE(VOS_MODULE_ID_SME, VOS_TRACE_LEVEL_INFO, - "Stats Type = %u", pgetStatsReq->paramIdMask); - get_stats_req = vos_mem_malloc(sizeof(*get_stats_req)); if (!get_stats_req) |
