summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/iwl-config.h
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2014-08-26 12:23:11 +0400
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2014-09-08 10:17:19 +0400
commit22d059a5c7c5de61e53c88e30b65e55fbfd91e91 (patch)
treec666b2bf19044cfacae1eaf7962ded3b9e3f7160 /drivers/net/wireless/iwlwifi/iwl-config.h
parent86974bff066dd8b98be46d7c7d3aba89034f0833 (diff)
downloadlinux-22d059a5c7c5de61e53c88e30b65e55fbfd91e91.tar.xz
iwlwifi: increase DEFAULT_MAX_TX_POWER
The chip is able to transmit up to 22dBm, so set the constant appropriately. CC: <stable@vger.kernel.org> [3.13+] Signed-off-by: Eliad Peller <eliadx.peller@intel.com> Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-config.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-config.h b/drivers/net/wireless/iwlwifi/iwl-config.h
index 8da596db9abe..942c99bc403d 100644
--- a/drivers/net/wireless/iwlwifi/iwl-config.h
+++ b/drivers/net/wireless/iwlwifi/iwl-config.h
@@ -120,6 +120,8 @@ enum iwl_led_mode {
#define IWL_LONG_WD_TIMEOUT 10000
#define IWL_MAX_WD_TIMEOUT 120000
+#define IWL_DEFAULT_MAX_TX_POWER 22
+
/* Antenna presence definitions */
#define ANT_NONE 0x0
#define ANT_A BIT(0)