diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-eeprom.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-eeprom.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-eeprom.h b/drivers/net/wireless/iwlwifi/iwl-eeprom.h index 0c42e5a1288b..56e0a07b8183 100644 --- a/drivers/net/wireless/iwlwifi/iwl-eeprom.h +++ b/drivers/net/wireless/iwlwifi/iwl-eeprom.h | |||
@@ -140,6 +140,36 @@ struct iwl_eeprom_channel { | |||
140 | #define EEPROM_4965_BOARD_REVISION (2*0x4F) /* 2 bytes */ | 140 | #define EEPROM_4965_BOARD_REVISION (2*0x4F) /* 2 bytes */ |
141 | #define EEPROM_4965_BOARD_PBA (2*0x56+1) /* 9 bytes */ | 141 | #define EEPROM_4965_BOARD_PBA (2*0x56+1) /* 9 bytes */ |
142 | 142 | ||
143 | /*5000 calibrations */ | ||
144 | #define EEPROM_5000_CALIB_ALL (INDIRECT_ADDRESS | INDIRECT_CALIBRATION) | ||
145 | |||
146 | /* 5000 links */ | ||
147 | #define EEPROM_5000_LINK_HOST (2*0x64) | ||
148 | #define EEPROM_5000_LINK_GENERAL (2*0x65) | ||
149 | #define EEPROM_5000_LINK_REGULATORY (2*0x66) | ||
150 | #define EEPROM_5000_LINK_CALIBRATION (2*0x67) | ||
151 | #define EEPROM_5000_LINK_PROCESS_ADJST (2*0x68) | ||
152 | #define EEPROM_5000_LINK_OTHERS (2*0x69) | ||
153 | |||
154 | /* 5000 regulatory - indirect access */ | ||
155 | #define EEPROM_5000_REG_SKU_ID ((0x02)\ | ||
156 | | INDIRECT_ADDRESS | INDIRECT_REGULATORY) /* 4 bytes */ | ||
157 | #define EEPROM_5000_REG_BAND_1_CHANNELS ((0x08)\ | ||
158 | | INDIRECT_ADDRESS | INDIRECT_REGULATORY) /* 28 bytes */ | ||
159 | #define EEPROM_5000_REG_BAND_2_CHANNELS ((0x26)\ | ||
160 | | INDIRECT_ADDRESS | INDIRECT_REGULATORY) /* 26 bytes */ | ||
161 | #define EEPROM_5000_REG_BAND_3_CHANNELS ((0x42)\ | ||
162 | | INDIRECT_ADDRESS | INDIRECT_REGULATORY) /* 24 bytes */ | ||
163 | #define EEPROM_5000_REG_BAND_4_CHANNELS ((0x5C)\ | ||
164 | | INDIRECT_ADDRESS | INDIRECT_REGULATORY) /* 22 bytes */ | ||
165 | #define EEPROM_5000_REG_BAND_5_CHANNELS ((0x74)\ | ||
166 | | INDIRECT_ADDRESS | INDIRECT_REGULATORY) /* 12 bytes */ | ||
167 | #define EEPROM_5000_REG_BAND_24_FAT_CHANNELS ((0x82)\ | ||
168 | | INDIRECT_ADDRESS | INDIRECT_REGULATORY) /* 14 bytes */ | ||
169 | #define EEPROM_5000_REG_BAND_52_FAT_CHANNELS ((0x92)\ | ||
170 | | INDIRECT_ADDRESS | INDIRECT_REGULATORY) /* 22 bytes */ | ||
171 | |||
172 | |||
143 | /* 2.4 GHz */ | 173 | /* 2.4 GHz */ |
144 | extern const u8 iwl_eeprom_band_1[14]; | 174 | extern const u8 iwl_eeprom_band_1[14]; |
145 | 175 | ||