summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhishek Singh <absingh@codeaurora.org>2017-01-05 16:24:23 +0530
committerqcabuildsw <qcabuildsw@localhost>2017-01-09 01:25:48 -0800
commit01c880d8f963c9cfd1f0374ed488e2c9bb44b08f (patch)
tree1e7b095d112705e91eabec3c0780fcb2d4cd1ea4
parent955e1296f1be8af89ea3120f99d0dabd3b08a853 (diff)
qcacld-3.0: Enhance 5/10 MHz feature logging
Add logs to enhance 5/10 MHz feature logging Change-Id: Ied2489185721e3c547ee392a9c46b5a3d733ad74 CRs-Fixed: 1108818
-rw-r--r--core/cds/src/cds_concurrency.c4
-rw-r--r--core/hdd/src/wlan_hdd_hostapd.c6
-rw-r--r--core/sme/src/csr/csr_api_roam.c12
3 files changed, 12 insertions, 10 deletions
diff --git a/core/cds/src/cds_concurrency.c b/core/cds/src/cds_concurrency.c
index 4475cbcb0e2b..d45464c7686a 100644
--- a/core/cds/src/cds_concurrency.c
+++ b/core/cds/src/cds_concurrency.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012-2016 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2017 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -5607,7 +5607,7 @@ bool cds_allow_concurrency(enum cds_con_mode mode,
num_connections = cds_get_connection_count();
if (num_connections && cds_is_sub_20_mhz_enabled()) {
- /* dont allow concurrency if Sub 20 MHz is enabled */
+ cds_err("dont allow concurrency if Sub 20 MHz is enabled");
status = false;
goto done;
}
diff --git a/core/hdd/src/wlan_hdd_hostapd.c b/core/hdd/src/wlan_hdd_hostapd.c
index d92089ac17e0..2d683980b4b9 100644
--- a/core/hdd/src/wlan_hdd_hostapd.c
+++ b/core/hdd/src/wlan_hdd_hostapd.c
@@ -8044,9 +8044,9 @@ static int __wlan_hdd_cfg80211_start_ap(struct wiphy *wiphy,
if (0 != status)
return status;
- hdd_info("pAdapter = %p, Device mode %s(%d)", pAdapter,
- hdd_device_mode_to_string(pAdapter->device_mode),
- pAdapter->device_mode);
+ hdd_info("pAdapter = %p, Device mode %s(%d) sub20 %d",
+ pAdapter, hdd_device_mode_to_string(pAdapter->device_mode),
+ pAdapter->device_mode, cds_is_sub_20_mhz_enabled());
if (cds_is_connection_in_progress()) {
diff --git a/core/sme/src/csr/csr_api_roam.c b/core/sme/src/csr/csr_api_roam.c
index ad00a3f3ec12..f079cf3c8adf 100644
--- a/core/sme/src/csr/csr_api_roam.c
+++ b/core/sme/src/csr/csr_api_roam.c
@@ -775,16 +775,18 @@ QDF_STATUS csr_update_channel_list(tpAniSirGlobal pMac)
else
pChanList->chanParam[num_channel].dfsSet =
true;
- QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_INFO,
- "channel:%d, pwr=%d, DFS=%d\n",
- pChanList->chanParam[num_channel].chanId,
- pChanList->chanParam[num_channel].pwr,
- pChanList->chanParam[num_channel].dfsSet);
if (cds_is_5_mhz_enabled())
pChanList->chanParam[num_channel].quarter_rate
= 1;
else if (cds_is_10_mhz_enabled())
pChanList->chanParam[num_channel].half_rate = 1;
+ QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_INFO,
+ "channel:%d, pwr=%d, DFS=%d qrate %d hrate %d ",
+ pChanList->chanParam[num_channel].chanId,
+ pChanList->chanParam[num_channel].pwr,
+ pChanList->chanParam[num_channel].dfsSet,
+ pChanList->chanParam[num_channel].quarter_rate,
+ pChanList->chanParam[num_channel].half_rate);
num_channel++;
}
}