diff options
author | mukesh agrawal <quiche@google.com> | 2016-04-12 17:32:34 -0700 |
---|---|---|
committer | Mukesh Agrawal <quiche@google.com> | 2016-04-14 18:30:59 +0000 |
commit | b5841f6c19ec690b1fb032a0aee63d5300b19ce4 (patch) | |
tree | eee00d4c5aee0ebe61ab522c20a134fc1a83fef6 /qcwcn | |
parent | 3ff76888e8710c8d3d7153f3dbc1c9057effa183 (diff) | |
download | wlan-b5841f6c19ec690b1fb032a0aee63d5300b19ce4.tar.gz |
Wifi-HAL: demote some messages from DEBUG to VERBOSE
Originally part of
https://partner-android-review.googlesource.com/#/c/558740
BUG=27698661
TEST=compile
Change-Id: I7264dd7a0095c24bf1f183c9f929bb79ef095703
Diffstat (limited to 'qcwcn')
-rw-r--r-- | qcwcn/wifi_hal/gscan.cpp | 26 | ||||
-rw-r--r-- | qcwcn/wifi_hal/gscan_event_handler.cpp | 38 | ||||
-rwxr-xr-x | qcwcn/wifi_hal/ifaceeventhandler.cpp | 18 | ||||
-rw-r--r-- | qcwcn/wifi_hal/nan.cpp | 2 | ||||
-rw-r--r-- | qcwcn/wifi_hal/rssi_monitor.cpp | 2 | ||||
-rwxr-xr-x | qcwcn/wifi_hal/tdls.cpp | 10 | ||||
-rw-r--r-- | qcwcn/wifi_hal/wifi_hal.cpp | 2 | ||||
-rw-r--r-- | qcwcn/wifi_hal/wificonfig.cpp | 10 | ||||
-rw-r--r-- | qcwcn/wifi_hal/wifilogger.cpp | 4 |
9 files changed, 56 insertions, 56 deletions
diff --git a/qcwcn/wifi_hal/gscan.cpp b/qcwcn/wifi_hal/gscan.cpp index 141fc05..b6471d8 100644 --- a/qcwcn/wifi_hal/gscan.cpp +++ b/qcwcn/wifi_hal/gscan.cpp @@ -98,7 +98,7 @@ wifi_error wifi_get_valid_channels(wifi_interface_handle handle, lowiWifiHalApi = getLowiCallbackTable(GSCAN_SUPPORTED); if (lowiWifiHalApi == NULL || lowiWifiHalApi->get_valid_channels == NULL) { - ALOGD("%s: Sending cmd directly to host", __FUNCTION__); + ALOGV("%s: Sending cmd directly to host", __FUNCTION__); } else { ret = lowiWifiHalApi->get_valid_channels(handle, band, max_channels, channels, num_channels); @@ -195,7 +195,7 @@ wifi_error wifi_get_gscan_capabilities(wifi_interface_handle handle, lowiWifiHalApi = getLowiCallbackTable(GSCAN_SUPPORTED); if (lowiWifiHalApi == NULL || lowiWifiHalApi->get_gscan_capabilities == NULL) { - ALOGD("%s: Sending cmd directly to host", __FUNCTION__); + ALOGV("%s: Sending cmd directly to host", __FUNCTION__); } else { ret = lowiWifiHalApi->get_gscan_capabilities(handle, capabilities); @@ -301,7 +301,7 @@ wifi_error wifi_start_gscan(wifi_request_id id, lowiWifiHalApi = getLowiCallbackTable(GSCAN_SUPPORTED); if (lowiWifiHalApi == NULL || lowiWifiHalApi->start_gscan == NULL) { - ALOGD("%s: Sending cmd directly to host", __FUNCTION__); + ALOGV("%s: Sending cmd directly to host", __FUNCTION__); } else { ret = lowiWifiHalApi->start_gscan(id, iface, params, handler); ALOGV("%s: lowi start_gscan " @@ -523,7 +523,7 @@ wifi_error wifi_stop_gscan(wifi_request_id id, lowiWifiHalApi = getLowiCallbackTable(GSCAN_SUPPORTED); if (lowiWifiHalApi == NULL || lowiWifiHalApi->stop_gscan == NULL) { - ALOGD("%s: Sending cmd directly to host", __FUNCTION__); + ALOGV("%s: Sending cmd directly to host", __FUNCTION__); } else { ret = lowiWifiHalApi->stop_gscan(id, iface); ALOGV("%s: lowi stop_gscan " @@ -617,7 +617,7 @@ wifi_error wifi_set_bssid_hotlist(wifi_request_id id, lowiWifiHalApi = getLowiCallbackTable(GSCAN_SUPPORTED); if (lowiWifiHalApi == NULL || lowiWifiHalApi->set_bssid_hotlist == NULL) { - ALOGD("%s: Sending cmd directly to host", __FUNCTION__); + ALOGV("%s: Sending cmd directly to host", __FUNCTION__); } else { ret = lowiWifiHalApi->set_bssid_hotlist(id, iface, params,handler); ALOGV("%s: lowi set_bssid_hotlist " @@ -790,7 +790,7 @@ wifi_error wifi_reset_bssid_hotlist(wifi_request_id id, lowiWifiHalApi = getLowiCallbackTable(GSCAN_SUPPORTED); if (lowiWifiHalApi == NULL || lowiWifiHalApi->reset_bssid_hotlist == NULL) { - ALOGD("%s: Sending cmd directly to host", __FUNCTION__); + ALOGV("%s: Sending cmd directly to host", __FUNCTION__); } else { ret = lowiWifiHalApi->reset_bssid_hotlist(id, iface); ALOGV("%s: lowi reset_bssid_hotlist " @@ -886,7 +886,7 @@ wifi_error wifi_set_significant_change_handler(wifi_request_id id, lowiWifiHalApi = getLowiCallbackTable(GSCAN_SUPPORTED); if (lowiWifiHalApi == NULL || lowiWifiHalApi->set_significant_change_handler == NULL) { - ALOGD("%s: Sending cmd directly to host", __FUNCTION__); + ALOGV("%s: Sending cmd directly to host", __FUNCTION__); } else { ret = lowiWifiHalApi->set_significant_change_handler(id, iface, @@ -1074,7 +1074,7 @@ wifi_error wifi_reset_significant_change_handler(wifi_request_id id, lowiWifiHalApi = getLowiCallbackTable(GSCAN_SUPPORTED); if (lowiWifiHalApi == NULL || lowiWifiHalApi->reset_significant_change_handler == NULL) { - ALOGD("%s: Sending cmd directly to host", __FUNCTION__); + ALOGV("%s: Sending cmd directly to host", __FUNCTION__); } else { ret = lowiWifiHalApi->reset_significant_change_handler(id, iface); ALOGV("%s: lowi reset_significant_change_handler " @@ -1171,7 +1171,7 @@ wifi_error wifi_get_cached_gscan_results(wifi_interface_handle iface, lowiWifiHalApi = getLowiCallbackTable(GSCAN_SUPPORTED); if (lowiWifiHalApi == NULL || lowiWifiHalApi->get_cached_gscan_results == NULL) { - ALOGD("%s: Sending cmd directly to host", __FUNCTION__); + ALOGV("%s: Sending cmd directly to host", __FUNCTION__); } else { ret = lowiWifiHalApi->get_cached_gscan_results(iface, flush, @@ -1274,7 +1274,7 @@ wifi_error wifi_get_cached_gscan_results(wifi_interface_handle iface, if (*num > 0) { /* Mark scan results as incomplete for the last scan_id */ results[(*num)-1].flags = WIFI_SCAN_FLAG_INTERRUPTED; - ALOGD("%s: Timeout happened. Mark scan results as incomplete " + ALOGV("%s: Timeout happened. Mark scan results as incomplete " "for scan_id:%d", __FUNCTION__, results[(*num)-1].scan_id); ret = WIFI_SUCCESS; } else @@ -1885,7 +1885,7 @@ int GScanCommand:: gscan_get_cached_results( cached_results[i].scan_id) { j = 0; /* reset wifi_scan_result counter */ cached_results[i].num_results = 0; - ALOGD("parsing: *lastProcessedScanId [%d] !=" + ALOGV("parsing: *lastProcessedScanId [%d] !=" " cached_results[%d].scan_id:%d, j:%d " "numScanResults: %d", mGetCachedResultsRspParams->lastProcessedScanId, i, @@ -1897,7 +1897,7 @@ int GScanCommand:: gscan_get_cached_results( mGetCachedResultsRspParams->num_cached_results++; } else { j = mGetCachedResultsRspParams->wifiScanResultsStartingIndex; - ALOGD("parsing: *lastProcessedScanId [%d] == " + ALOGV("parsing: *lastProcessedScanId [%d] == " "cached_results[%d].scan_id:%d, j:%d " "numScanResults:%d", mGetCachedResultsRspParams->lastProcessedScanId, i, @@ -2742,7 +2742,7 @@ void GScanCommand::getGetCapabilitiesRspParams( &mGetCapabilitiesRspParams->capabilities, sizeof(wifi_gscan_capabilities)); } else { - ALOGD("%s: mGetCapabilitiesRspParams is NULL", __FUNCTION__); + ALOGV("%s: mGetCapabilitiesRspParams is NULL", __FUNCTION__); } } diff --git a/qcwcn/wifi_hal/gscan_event_handler.cpp b/qcwcn/wifi_hal/gscan_event_handler.cpp index c723c6b..c9fe315 100644 --- a/qcwcn/wifi_hal/gscan_event_handler.cpp +++ b/qcwcn/wifi_hal/gscan_event_handler.cpp @@ -867,7 +867,7 @@ wifi_error GScanCommandEventHandler::gscan_parse_passpoint_network_result( QCA_WLAN_VENDOR_ATTR_GSCAN_PNO_RESULTS_PASSPOINT_MATCH_ANQP]), mPasspointAnqpLen); - ALOGD("%s: ANQP LEN:%d, ANQP IE:", __FUNCTION__, mPasspointAnqpLen); + ALOGV("%s: ANQP LEN:%d, ANQP IE:", __FUNCTION__, mPasspointAnqpLen); hexdump((char*)mPasspointAnqp, mPasspointAnqpLen); /* expecting only one result break out after the first loop */ @@ -1055,7 +1055,7 @@ int GScanCommandEventHandler::handleEvent(WifiEvent &event) if (mEventHandlingEnabled == false) { - ALOGD("%s:Discarding event: %d", + ALOGV("%s:Discarding event: %d", __FUNCTION__, mSubcmd); return NL_SKIP; } @@ -1349,7 +1349,7 @@ int GScanCommandEventHandler::handleEvent(WifiEvent &event) } /* Invoke the callback func to report the number of results. */ - ALOGD("%s: Calling on_scan_event handler", __FUNCTION__); + ALOGV("%s: Calling on_scan_event handler", __FUNCTION__); (*mHandler.on_scan_event)(id, WIFI_SCAN_THRESHOLD_NUM_SCANS); } break; @@ -1379,7 +1379,7 @@ int GScanCommandEventHandler::handleEvent(WifiEvent &event) } numResults = nla_get_u32(tbVendor[ QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_NUM_RESULTS_AVAILABLE]); - ALOGD("%s: number of results:%d", __FUNCTION__, numResults); + ALOGV("%s: number of results:%d", __FUNCTION__, numResults); /* Get the memory size of previous fragments, if any. */ sizeOfObtainedResults = mHotlistApFoundNumResults * @@ -1410,7 +1410,7 @@ int GScanCommandEventHandler::handleEvent(WifiEvent &event) memset((u8 *)mHotlistApFoundResults + sizeOfObtainedResults, 0, resultsBufSize - sizeOfObtainedResults); - ALOGD("%s: Num of AP FOUND results = %d. \n", __FUNCTION__, + ALOGV("%s: Num of AP FOUND results = %d. \n", __FUNCTION__, mHotlistApFoundNumResults); /* To support fragmentation from firmware, monitor the @@ -1432,9 +1432,9 @@ int GScanCommandEventHandler::handleEvent(WifiEvent &event) __FUNCTION__, mHotlistApFoundMoreData); } - ALOGD("%s: Extract hotlist_ap_found results.\n", __FUNCTION__); + ALOGV("%s: Extract hotlist_ap_found results.\n", __FUNCTION__); startingIndex = mHotlistApFoundNumResults - numResults; - ALOGD("%s: starting_index:%d", + ALOGV("%s: starting_index:%d", __FUNCTION__, startingIndex); ret = gscan_parse_hotlist_ap_results(numResults, mHotlistApFoundResults, @@ -1482,7 +1482,7 @@ int GScanCommandEventHandler::handleEvent(WifiEvent &event) } numResults = nla_get_u32(tbVendor[ QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_NUM_RESULTS_AVAILABLE]); - ALOGD("%s: number of results:%d", __FUNCTION__, numResults); + ALOGV("%s: number of results:%d", __FUNCTION__, numResults); /* Get the memory size of previous fragments, if any. */ sizeOfObtainedResults = mHotlistApLostNumResults * @@ -1513,7 +1513,7 @@ int GScanCommandEventHandler::handleEvent(WifiEvent &event) memset((u8 *)mHotlistApLostResults + sizeOfObtainedResults, 0, resultsBufSize - sizeOfObtainedResults); - ALOGD("%s: Num of AP Lost results = %d. \n", __FUNCTION__, + ALOGV("%s: Num of AP Lost results = %d. \n", __FUNCTION__, mHotlistApLostNumResults); /* To support fragmentation from firmware, monitor the @@ -1535,9 +1535,9 @@ int GScanCommandEventHandler::handleEvent(WifiEvent &event) __FUNCTION__, mHotlistApLostMoreData); } - ALOGD("%s: Extract hotlist_ap_Lost results.\n", __FUNCTION__); + ALOGV("%s: Extract hotlist_ap_Lost results.\n", __FUNCTION__); startingIndex = mHotlistApLostNumResults - numResults; - ALOGD("%s: starting_index:%d", + ALOGV("%s: starting_index:%d", __FUNCTION__, startingIndex); ret = gscan_parse_hotlist_ap_results(numResults, mHotlistApLostResults, @@ -1628,7 +1628,7 @@ int GScanCommandEventHandler::handleEvent(WifiEvent &event) memset((u8 *)mSignificantChangeResults + sizeOfObtainedResults, 0, sizeof(wifi_significant_change_result *) * numResults); - ALOGD("%s: mSignificantChangeMoreData = %d", + ALOGV("%s: mSignificantChangeMoreData = %d", __FUNCTION__, mSignificantChangeMoreData); for (scanResultsInfo = (struct nlattr *) nla_data(tbVendor[ @@ -1672,12 +1672,12 @@ int GScanCommandEventHandler::handleEvent(WifiEvent &event) memset((u8 *)mSignificantChangeResults[index], 0, resultsBufSize); - ALOGD("%s: For Significant Change results[%d], num_rssi:%d\n", + ALOGV("%s: For Significant Change results[%d], num_rssi:%d\n", __FUNCTION__, index, num_rssi); index++; } - ALOGD("%s: Extract significant change results.\n", __FUNCTION__); + ALOGV("%s: Extract significant change results.\n", __FUNCTION__); startingIndex = mSignificantChangeNumResults - numResults; ret = gscan_get_significant_change_results(numResults, @@ -1701,12 +1701,12 @@ int GScanCommandEventHandler::handleEvent(WifiEvent &event) mSignificantChangeMoreData = nla_get_u8( tbVendor[ QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_SCAN_RESULT_MORE_DATA]); - ALOGD("%s: More data = %d. \n", + ALOGV("%s: More data = %d. \n", __FUNCTION__, mSignificantChangeMoreData); /* Send the results if no more result fragments are expected */ if (!mSignificantChangeMoreData) { - ALOGD("%s: Invoking the callback. \n", __FUNCTION__); + ALOGV("%s: Invoking the callback. \n", __FUNCTION__); (*mHandler.on_significant_change)(reqId, mSignificantChangeNumResults, mSignificantChangeResults); @@ -1850,13 +1850,13 @@ int GScanCommandEventHandler::handleEvent(WifiEvent &event) mPnoNetworkFoundMoreData = nla_get_u8( tbVendor[ QCA_WLAN_VENDOR_ATTR_GSCAN_RESULTS_SCAN_RESULT_MORE_DATA]); - ALOGD("%s: More data = %d. \n", + ALOGV("%s: More data = %d. \n", __FUNCTION__, mPnoNetworkFoundMoreData); } - ALOGD("%s: Extract PNO_NETWORK_FOUND results.\n", __FUNCTION__); + ALOGV("%s: Extract PNO_NETWORK_FOUND results.\n", __FUNCTION__); startingIndex = mPnoNetworkFoundNumResults - numResults; - ALOGD("%s: starting_index:%d", + ALOGV("%s: starting_index:%d", __FUNCTION__, startingIndex); ret = gscan_parse_pno_network_results(numResults, mPnoNetworkFoundResults, diff --git a/qcwcn/wifi_hal/ifaceeventhandler.cpp b/qcwcn/wifi_hal/ifaceeventhandler.cpp index 9768fe0..812c78d 100755 --- a/qcwcn/wifi_hal/ifaceeventhandler.cpp +++ b/qcwcn/wifi_hal/ifaceeventhandler.cpp @@ -141,7 +141,7 @@ int IfaceEventHandlerCommand::handleEvent(WifiEvent &event) IfaceEventHandlerCommand::IfaceEventHandlerCommand(wifi_handle handle, int id, u32 subcmd) : wifiEventHandler(handle, id, subcmd) { - ALOGD("wifiEventHandler %p constructed", this); + ALOGV("wifiEventHandler %p constructed", this); registerHandler(mSubcmd); memset(&mHandler, 0, sizeof(wifi_event_handler)); mEventData = NULL; @@ -150,7 +150,7 @@ IfaceEventHandlerCommand::IfaceEventHandlerCommand(wifi_handle handle, int id, u IfaceEventHandlerCommand::~IfaceEventHandlerCommand() { - ALOGD("IfaceEventHandlerCommand %p destructor", this); + ALOGV("IfaceEventHandlerCommand %p destructor", this); unregisterHandler(mSubcmd); } @@ -175,12 +175,12 @@ wifiEventHandler::wifiEventHandler(wifi_handle handle, int id, u32 subcmd) mRequestId = id; mSubcmd = subcmd; registerHandler(mSubcmd); - ALOGD("wifiEventHandler %p constructed", this); + ALOGV("wifiEventHandler %p constructed", this); } wifiEventHandler::~wifiEventHandler() { - ALOGD("wifiEventHandler %p destructor", this); + ALOGV("wifiEventHandler %p destructor", this); unregisterHandler(mSubcmd); } @@ -260,7 +260,7 @@ int WifihalGeneric::handleResponse(WifiEvent &reply) tb_vendor[ QCA_WLAN_VENDOR_ATTR_GET_CONCURRENCY_MATRIX_RESULTS_SET_SIZE]); - ALOGD("%s: Num of concurrency combinations: %d", + ALOGV("%s: Num of concurrency combinations: %d", __func__, val); val = val > (unsigned int)mSetSizeMax ? (unsigned int)mSetSizeMax : val; @@ -276,15 +276,15 @@ int WifihalGeneric::handleResponse(WifiEvent &reply) sizeof(feature_set) * (*mSetSizePtr)); } - ALOGD("%s: Get concurrency matrix response received.", + ALOGV("%s: Get concurrency matrix response received.", __func__); - ALOGD("%s: Num of concurrency combinations : %d", + ALOGV("%s: Num of concurrency combinations : %d", __func__, *mSetSizePtr); - ALOGD("%s: List of valid concurrency combinations is: ", + ALOGV("%s: List of valid concurrency combinations is: ", __func__); for(i = 0; i < *mSetSizePtr; i++) { - ALOGD("%x", *(mConcurrencySet + i)); + ALOGV("%x", *(mConcurrencySet + i)); } } } diff --git a/qcwcn/wifi_hal/nan.cpp b/qcwcn/wifi_hal/nan.cpp index d478e23..f6cefaa 100644 --- a/qcwcn/wifi_hal/nan.cpp +++ b/qcwcn/wifi_hal/nan.cpp @@ -696,7 +696,7 @@ out: int NanCommand::handleEvent(WifiEvent &event) { WifiVendorCommand::handleEvent(event); - ALOGD("%s: Subcmd=%u Vendor data len received:%d", + ALOGV("%s: Subcmd=%u Vendor data len received:%d", __FUNCTION__, mSubcmd, mDataLen); hexdump(mVendorData, mDataLen); diff --git a/qcwcn/wifi_hal/rssi_monitor.cpp b/qcwcn/wifi_hal/rssi_monitor.cpp index 33f5522..aadda21 100644 --- a/qcwcn/wifi_hal/rssi_monitor.cpp +++ b/qcwcn/wifi_hal/rssi_monitor.cpp @@ -126,7 +126,7 @@ int RSSIMonitorCommand::handleEvent(WifiEvent &event) * request_id value which we're maintaining. */ if (reqId != id()) { - ALOGD("%s: Event has Req. ID:%d <> Ours:%d, continue...", + ALOGV("%s: Event has Req. ID:%d <> Ours:%d, continue...", __FUNCTION__, reqId, id()); reqId = id(); } diff --git a/qcwcn/wifi_hal/tdls.cpp b/qcwcn/wifi_hal/tdls.cpp index 23b5453..f42d3ef 100755 --- a/qcwcn/wifi_hal/tdls.cpp +++ b/qcwcn/wifi_hal/tdls.cpp @@ -384,14 +384,14 @@ wifi_error wifi_enable_tdls(wifi_interface_handle iface, nl_data = pTdlsCommand->attr_start(NL80211_ATTR_VENDOR_DATA); if (!nl_data) goto cleanup; - ALOGD("%s: MAC_ADDR: " MAC_ADDR_STR, __FUNCTION__, MAC_ADDR_ARRAY(addr)); + ALOGV("%s: MAC_ADDR: " MAC_ADDR_STR, __FUNCTION__, MAC_ADDR_ARRAY(addr)); ret = pTdlsCommand->put_bytes(QCA_WLAN_VENDOR_ATTR_TDLS_ENABLE_MAC_ADDR, (char *)addr, 6); if (ret < 0) goto cleanup; if (params != NULL) { - ALOGD("%s: Channel: %d, Global operating class: %d, " + ALOGV("%s: Channel: %d, Global operating class: %d, " "Max Latency: %dms, Min Bandwidth: %dKbps", __FUNCTION__, params->channel, params->global_operating_class, params->max_latency_ms, params->min_bandwidth_kbps); @@ -458,8 +458,8 @@ wifi_error wifi_disable_tdls(wifi_interface_handle iface, mac_addr addr) ret = pTdlsCommand->set_iface_id(iinfo->name); if (ret < 0) goto cleanup; - ALOGD("%s: ifindex obtained:%d", __FUNCTION__, ret); - ALOGD("%s: MAC_ADDR: " MAC_ADDR_STR, __FUNCTION__, MAC_ADDR_ARRAY(addr)); + ALOGV("%s: ifindex obtained:%d", __FUNCTION__, ret); + ALOGV("%s: MAC_ADDR: " MAC_ADDR_STR, __FUNCTION__, MAC_ADDR_ARRAY(addr)); /* Add the attributes */ nl_data = pTdlsCommand->attr_start(NL80211_ATTR_VENDOR_DATA); @@ -508,7 +508,7 @@ wifi_error wifi_get_tdls_status(wifi_interface_handle iface, mac_addr addr, ret = pTdlsCommand->set_iface_id(iinfo->name); if (ret < 0) goto cleanup; - ALOGD("%s: ifindex obtained:%d", __FUNCTION__, ret); + ALOGV("%s: ifindex obtained:%d", __FUNCTION__, ret); /* Add the attributes */ nl_data = pTdlsCommand->attr_start(NL80211_ATTR_VENDOR_DATA); diff --git a/qcwcn/wifi_hal/wifi_hal.cpp b/qcwcn/wifi_hal/wifi_hal.cpp index 99be626..b02773b 100644 --- a/qcwcn/wifi_hal/wifi_hal.cpp +++ b/qcwcn/wifi_hal/wifi_hal.cpp @@ -158,7 +158,7 @@ int error_handler(struct sockaddr_nl *nla, int *ret = (int *)arg; *ret = err->error; - ALOGD("%s invoked with error: %d", __func__, err->error); + ALOGV("%s invoked with error: %d", __func__, err->error); return NL_SKIP; } static int no_seq_check(struct nl_msg *msg, void *arg) diff --git a/qcwcn/wifi_hal/wificonfig.cpp b/qcwcn/wifi_hal/wificonfig.cpp index e332895..c6a6a7c 100644 --- a/qcwcn/wifi_hal/wificonfig.cpp +++ b/qcwcn/wifi_hal/wificonfig.cpp @@ -46,7 +46,7 @@ wifi_error wifi_extended_dtim_config_set(wifi_request_id id, wifi_handle wifiHandle = getWifiHandle(iface); hal_info *info = getHalInfo(wifiHandle); - ALOGD("%s: extended_dtim:%d", __FUNCTION__, extended_dtim); + ALOGV("%s: extended_dtim:%d", __FUNCTION__, extended_dtim); wifiConfigCommand = new WiFiConfigCommand( wifiHandle, @@ -115,7 +115,7 @@ wifi_error wifi_set_country_code(wifi_interface_handle iface, wifi_handle wifiHandle = getWifiHandle(iface); hal_info *info = getHalInfo(wifiHandle); - ALOGD("%s: %s", __FUNCTION__, country_code); + ALOGV("%s: %s", __FUNCTION__, country_code); /* No request id from caller, so generate one and pass it on to the driver. * Generate it randomly. @@ -170,7 +170,7 @@ wifi_error wifi_set_beacon_wifi_iface_stats_averaging_factor( wifi_handle wifiHandle = getWifiHandle(iface); hal_info *info = getHalInfo(wifiHandle); - ALOGD("%s factor:%u", __FUNCTION__, factor); + ALOGV("%s factor:%u", __FUNCTION__, factor); wifiConfigCommand = new WiFiConfigCommand( wifiHandle, id, @@ -238,7 +238,7 @@ wifi_error wifi_set_guard_time(wifi_request_id id, wifi_handle wifiHandle = getWifiHandle(iface); hal_info *info = getHalInfo(wifiHandle); - ALOGD("%s : guard_time:%u", __FUNCTION__, guard_time); + ALOGV("%s : guard_time:%u", __FUNCTION__, guard_time); wifiConfigCommand = new WiFiConfigCommand( wifiHandle, @@ -415,7 +415,7 @@ int WiFiConfigCommand::requestEvent() { ALOGE("%s: Time out happened.", __FUNCTION__); } - ALOGD("%s: Command invoked return value:%d, mWaitForRsp=%d", + ALOGV("%s: Command invoked return value:%d, mWaitForRsp=%d", __FUNCTION__, res, mWaitforRsp); } out: diff --git a/qcwcn/wifi_hal/wifilogger.cpp b/qcwcn/wifi_hal/wifilogger.cpp index 92c2846..72ba658 100644 --- a/qcwcn/wifi_hal/wifilogger.cpp +++ b/qcwcn/wifi_hal/wifilogger.cpp @@ -612,7 +612,7 @@ wifi_error wifi_start_pkt_fate_monitoring(wifi_interface_handle iface) hal_info *info = getHalInfo(wifiHandle); if (info->fate_monitoring_enabled == true) { - ALOGD("Packet monitoring is already enabled"); + ALOGV("Packet monitoring is already enabled"); return WIFI_SUCCESS; } @@ -1027,7 +1027,7 @@ int WifiLoggerCommand::handleResponse(WifiEvent &reply) { string terminated with '\0' */ len = (len > mVersionLen)? (mVersionLen - 1) : len; memcpy(mVersion, nla_data(tb_vendor[version]), len); - ALOGD("%s: WLAN %s version : %s ", __FUNCTION__, + ALOGV("%s: WLAN %s version : %s ", __FUNCTION__, version_type, mVersion); } } |