diff options
| author | Amar Singhal <asinghal@qca.qualcomm.com> | 2015-06-25 15:18:38 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2015-06-29 07:22:08 -0700 |
| commit | d99ea4a3697d7dc620010e87e7e67847facf962e (patch) | |
| tree | 31f135a5a3a17a6b50b745fb116bd047e8459f91 | |
| parent | df04443e4887f5a9044a9164f21d58c607e2483f (diff) | |
qcacld-2.0: llstats: indicate peer type in peer stats
prima to qcacld-2.0 propagation
Peer stats expect the peer type. So fill up the peer type.
Change-Id: I03cf5567c6211441be123b26c045b7716a5b7107
CRs-Fixed: 741748
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_cfg80211.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CORE/HDD/src/wlan_hdd_cfg80211.c b/CORE/HDD/src/wlan_hdd_cfg80211.c index f3778ff94603..e2d7229e0395 100644 --- a/CORE/HDD/src/wlan_hdd_cfg80211.c +++ b/CORE/HDD/src/wlan_hdd_cfg80211.c @@ -5130,6 +5130,14 @@ static void hdd_link_layer_process_peer_stats(hdd_adapter_t *pAdapter, ((uint8 *)pWifiPeerStat->peerInfo + ( i * sizeof(tSirWifiPeerInfo))); + if (WLAN_HDD_INFRA_STATION == pAdapter->device_mode) { + pWifiPeerInfo->type = WIFI_PEER_AP; + } + + if (WLAN_HDD_P2P_CLIENT == pAdapter->device_mode) { + pWifiPeerInfo->type = WIFI_PEER_P2P_GO; + } + hddLog(VOS_TRACE_LEVEL_INFO, " %d) LL_STATS Channel Stats " " Peer Type %u " |
