summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vthiagar@qti.qualcomm.com>2014-05-29 19:52:11 +0530
committerAkash Patel <c_akashp@qca.qualcomm.com>2014-06-02 19:40:00 -0700
commite70da66caf7457dee58063357de491e0aaaf9a6d (patch)
tree6ed3514ea3eab6c5781192c1445b1eee7cd96775
parent969e62391d0cac46e3305183a90910d8c54b0c18 (diff)
qcacld/pe: Fix low tx power issue
As the max tx power is limitted by MAX_TX_PWR_CAP (19), in some cases the tx power configured in fw is much lower than the allowed EIRP. Make sure to configure the max power (22dBm) to fw. Change-Id: I80f33d86c8db914727670d0d7cc5138c9504bf01 CRs-Fixed: 672391
-rw-r--r--CORE/MAC/src/pe/lim/limProcessSmeReqMessages.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/CORE/MAC/src/pe/lim/limProcessSmeReqMessages.c b/CORE/MAC/src/pe/lim/limProcessSmeReqMessages.c
index 00a5f1242137..4fd234c56288 100644
--- a/CORE/MAC/src/pe/lim/limProcessSmeReqMessages.c
+++ b/CORE/MAC/src/pe/lim/limProcessSmeReqMessages.c
@@ -72,19 +72,11 @@
#endif
#ifdef FEATURE_WLAN_ESE
-#ifdef QCA_WIFI_2_0
-/* These are the min/max tx power (non virtual rates) range
- * supported by rome hardware
- */
-#define MIN_TX_PWR_CAP 8
-#define MAX_TX_PWR_CAP 19
-#else
/* These are the min/max tx power (non virtual rates) range
- * supported by prima hardware
+ * supported by prima/rome hardware
*/
#define MIN_TX_PWR_CAP 8
#define MAX_TX_PWR_CAP 22
-#endif
#endif