Jelajahi Sumber

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)
Hanumanth Reddy Pothula 8 tahun lalu
induk
melakukan
366fa8e29f
2 mengubah file dengan 2 tambahan dan 6 penghapusan
  1. 0 4
      config/WCNSS_qcom_cfg.ini
  2. 2 2
      core/hdd/inc/wlan_hdd_cfg.h

+ 0 - 4
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
 

+ 2 - 2
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"