summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2800.h
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2013-07-08 11:25:56 +0200
committerJohn W. Linville <linville@tuxdriver.com>2013-07-22 22:54:28 +0200
commitfa31d157f83ef71b6530aacf0400bafe7816acbd (patch)
tree42ddb8de5ce2c5b0cf6d88b6e3e3bc03f6635f68 /drivers/net/wireless/rt2x00/rt2800.h
parentrt2x00: rt2800lib: introduce rt2800_eeprom_word_index helper (diff)
downloadlinux-fa31d157f83ef71b6530aacf0400bafe7816acbd.tar.xz
linux-fa31d157f83ef71b6530aacf0400bafe7816acbd.zip
rt2x00: rt2800lib: add EEPROM map for the RT3593 chipset
Three-chain devices are using a different EEPROM layout than the rest of the chipsets. Add a new map which describes the new layout and use that for the RT3593 chipset. The index values has been computed from the EEPROM_EXT_* defines, which can be found in the 'include/chip/rt3593.h' file in the Ralink DPO_RT5572_LinuxSTA_2.6.0.1_20120629 driver. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Acked-by: Stanislaw Gruszka <stf_xl@wp.pl> Acked-by: Gertjan van Wingerde <gwingerde@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800.h')
-rw-r--r--drivers/net/wireless/rt2x00/rt2800.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800.h b/drivers/net/wireless/rt2x00/rt2800.h
index bc5c69558ea2..92168347125b 100644
--- a/drivers/net/wireless/rt2x00/rt2800.h
+++ b/drivers/net/wireless/rt2x00/rt2800.h
@@ -2244,6 +2244,12 @@ enum rt2800_eeprom_word {
EEPROM_TSSI_BOUND_A5,
EEPROM_TXPOWER_BYRATE,
EEPROM_BBP_START,
+
+ /* IDs for extended EEPROM format used by three-chain devices */
+ EEPROM_EXT_LNA2,
+ EEPROM_EXT_TXPOWER_BG3,
+ EEPROM_EXT_TXPOWER_A3,
+
/* New values must be added before this */
EEPROM_WORD_COUNT
};