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>
This commit is contained in:
Gabor Juhos
2013-07-08 11:25:56 +02:00
committed by John W. Linville
parent 379448fe34
commit fa31d157f8
2 changed files with 53 additions and 1 deletions

View File

@@ -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
};