From 366fa8e29f16404dbf3a89cd46a4648a2f7a0df0 Mon Sep 17 00:00:00 2001 From: Hanumanth Reddy Pothula Date: Wed, 7 Sep 2016 15:05:17 +0530 Subject: 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) --- config/WCNSS_qcom_cfg.ini | 4 ---- core/hdd/inc/wlan_hdd_cfg.h | 4 ++-- 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" -- cgit v1.2.3