summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanumanth Reddy Pothula <c_hpothu@qti.qualcomm.com>2016-09-07 15:05:17 +0530
committerqcabuildsw <qcabuildsw@localhost>2016-09-10 19:08:00 -0700
commit366fa8e29f16404dbf3a89cd46a4648a2f7a0df0 (patch)
tree11c27d18ad48e2ec518ffcab38ab67ca6d99d9ca
parentadf163ed1ad19562af7badb4485bc2dc350ebd69 (diff)
qcacld-3.0: By default set thermal power limit to 30dbm
This is a qcacld-2.0 to qcacld-3.0 propagation. In present code, Host sets thermal power limits to 10dbm, for both 2g and 5g, leading to connection failure. Set Thermal Power limit to 30dbm for both 2g and 5g. So that FW takes the default values from BDF. Change-Id: I053108babfaa9ac2629cdb107ceb507c2f8891e5 CRs-Fixed: 1011361 (cherry picked from commit b25fb5987e792d286542e09f8d8fa30223115453)
-rw-r--r--config/WCNSS_qcom_cfg.ini4
-rw-r--r--core/hdd/inc/wlan_hdd_cfg.h4
2 files changed, 2 insertions, 6 deletions
diff --git a/config/WCNSS_qcom_cfg.ini b/config/WCNSS_qcom_cfg.ini
index d5b761b6ae7e..7541563b42e6 100644
--- a/config/WCNSS_qcom_cfg.ini
+++ b/config/WCNSS_qcom_cfg.ini
@@ -464,10 +464,6 @@ gEnableMCCAdaptiveScheduler=1
#Enable or Disable p2p device address administered
isP2pDeviceAddrAdministrated=0
-# Set Thermal Power limit
-TxPower2g=10
-TxPower5g=10
-
# Remove Overlap channel restriction
gEnableOverLapCh=0
diff --git a/core/hdd/inc/wlan_hdd_cfg.h b/core/hdd/inc/wlan_hdd_cfg.h
index fcc70e69e4b2..e1e62e9eb6fd 100644
--- a/core/hdd/inc/wlan_hdd_cfg.h
+++ b/core/hdd/inc/wlan_hdd_cfg.h
@@ -2325,12 +2325,12 @@ typedef enum {
#define CFG_SET_TXPOWER_LIMIT2G_NAME "TxPower2g"
#define CFG_SET_TXPOWER_LIMIT2G_MIN (0)
#define CFG_SET_TXPOWER_LIMIT2G_MAX (30)
-#define CFG_SET_TXPOWER_LIMIT2G_DEFAULT (15)
+#define CFG_SET_TXPOWER_LIMIT2G_DEFAULT (30)
#define CFG_SET_TXPOWER_LIMIT5G_NAME "TxPower5g"
#define CFG_SET_TXPOWER_LIMIT5G_MIN (0)
#define CFG_SET_TXPOWER_LIMIT5G_MAX (30)
-#define CFG_SET_TXPOWER_LIMIT5G_DEFAULT (15)
+#define CFG_SET_TXPOWER_LIMIT5G_DEFAULT (30)
#ifdef QCA_LL_LEGACY_TX_FLOW_CONTROL
#define CFG_LL_TX_FLOW_LWM "TxFlowLowWaterMark"