aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-eeprom.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-eeprom.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-eeprom.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-eeprom.h b/drivers/net/wireless/iwlwifi/iwl-eeprom.h
index 05d4fc4451dc..ca7920a8f52f 100644
--- a/drivers/net/wireless/iwlwifi/iwl-eeprom.h
+++ b/drivers/net/wireless/iwlwifi/iwl-eeprom.h
@@ -180,8 +180,14 @@ struct iwl_eeprom_channel {
180#define EEPROM_5050_EEPROM_VERSION (0x21E) 180#define EEPROM_5050_EEPROM_VERSION (0x21E)
181 181
182/* OTP */ 182/* OTP */
183#define OTP_LOWER_BLOCKS_TOTAL (3) 183/* lower blocks contain EEPROM image and calibration data */
184#define OTP_BLOCK_SIZE (0x400) 184#define OTP_LOW_IMAGE_SIZE (2 * 512 * sizeof(u16)) /* 2 KB */
185/* high blocks contain PAPD data */
186#define OTP_HIGH_IMAGE_SIZE_6x00 (6 * 512 * sizeof(u16)) /* 6 KB */
187#define OTP_HIGH_IMAGE_SIZE_1000 (0x200 * sizeof(u16)) /* 1024 bytes */
188#define OTP_MAX_LL_ITEMS_1000 (3) /* OTP blocks for 1000 */
189#define OTP_MAX_LL_ITEMS_6x00 (4) /* OTP blocks for 6x00 */
190#define OTP_MAX_LL_ITEMS_6x50 (7) /* OTP blocks for 6x50 */
185 191
186/* 2.4 GHz */ 192/* 2.4 GHz */
187extern const u8 iwl_eeprom_band_1[14]; 193extern const u8 iwl_eeprom_band_1[14];