qcacld-3.0: Enhance logging related to scan

Enhance debug information related to scan results
like adding SSID and time stamp of beacon in logs

Change-Id: Ib85dffff39d0db69a695e8167b6a221b51ef7d45
CRs-Fixed: 1013236
This commit is contained in:
Sandeep Puligilla 2016-05-06 01:26:29 -07:00 committed by Vishwajith Upendra
parent 1cc23f6e37
commit 394da5dde7
4 changed files with 9 additions and 7 deletions

View File

@ -462,7 +462,6 @@ static int cds_mc_thread(void *Arg)
QDF_ASSERT(0);
break;
}
/* Need some optimization */
pMacContext =
cds_get_context(QDF_MODULE_ID_PE);
@ -504,7 +503,6 @@ static int cds_mc_thread(void *Arg)
QDF_ASSERT(0);
break;
}
/* Need some optimization */
pMacContext =
cds_get_context(QDF_MODULE_ID_SME);

View File

@ -8207,9 +8207,10 @@ wlan_hdd_cfg80211_inform_bss_frame(hdd_adapter_t *pAdapter,
/* Supplicant takes the signal strength in terms of mBm(100*dBm) */
rssi = QDF_MIN(rssi, 0) * 100;
hddLog(LOG1, FL("BSSID: " MAC_ADDRESS_STR " Channel:%d RSSI:%d"),
hddLog(LOG1, FL("BSSID: " MAC_ADDRESS_STR " Channel:%d RSSI:%d TSF %u"),
MAC_ADDR_ARRAY(mgmt->bssid), chan->center_freq,
(int)(rssi / 100));
(int)(rssi / 100),
bss_desc->timeStamp[0]);
bss_status =
cfg80211_inform_bss_frame(wiphy, chan, mgmt, frame_len, rssi,

View File

@ -180,8 +180,11 @@ lim_collect_bss_description(tpAniSirGlobal pMac,
pBssDescr->nReceivedTime = (uint32_t) qdf_mc_timer_get_system_ticks();
pBssDescr->tsf_delta = WMA_GET_RX_TSF_DELTA(pRxPacketInfo);
lim_log(pMac, LOG2, FL("BSSID: "MAC_ADDRESS_STR " tsf_delta = %u"),
MAC_ADDR_ARRAY(pHdr->bssId), pBssDescr->tsf_delta);
lim_log(pMac, LOG1,
FL("BSSID: "MAC_ADDRESS_STR " tsf_delta = %u ReceivedTime = %u ssid = %s"),
MAC_ADDR_ARRAY(pHdr->bssId), pBssDescr->tsf_delta,
pBssDescr->nReceivedTime,
((pBPR->ssidPresent) ? (char *)pBPR->ssId.ssId : ""));
if (fScanning) {
rrm_get_start_tsf(pMac, pBssDescr->startTSF);

View File

@ -1141,7 +1141,7 @@ static void wma_update_vdev_stats(tp_wma_handle wma,
}
}
WMA_LOGD("vdev id %d beancon snr %d data snr %d",
WMA_LOGD("vdev id %d beacon snr %d data snr %d",
vdev_stats->vdev_id,
vdev_stats->vdev_snr.bcn_snr, vdev_stats->vdev_snr.dat_snr);