diff options
author | Eran Harary <eran.harary@intel.com> | 2014-04-22 11:47:48 +0400 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-05-06 21:40:01 +0400 |
commit | 300855443ee722e49ebd0d9ca086d68886cf4a83 (patch) | |
tree | 033e8dca7ed395b53a42503fce0d31dd172ab00b /drivers/net/wireless/iwlwifi/iwl-agn-hw.h | |
parent | 7a531741468b7079fcebc0f132ff50f78e168e34 (diff) | |
download | linux-300855443ee722e49ebd0d9ca086d68886cf4a83.tar.xz |
iwlwifi: mvm: fix bug with OTP memory size
OTP size changed in family 7000 and in family 8000.
Signed-off-by: Eran Harary <eran.harary@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn-hw.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-hw.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-hw.h b/drivers/net/wireless/iwlwifi/iwl-agn-hw.h index 7f37fb86837b..04a483d38659 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-hw.h +++ b/drivers/net/wireless/iwlwifi/iwl-agn-hw.h @@ -102,9 +102,7 @@ /* EEPROM */ #define IWLAGN_EEPROM_IMG_SIZE 2048 -/* OTP */ -/* lower blocks contain EEPROM image and calibration data */ -#define OTP_LOW_IMAGE_SIZE (2 * 512 * sizeof(u16)) /* 2 KB */ + /* high blocks contain PAPD data */ #define OTP_HIGH_IMAGE_SIZE_6x00 (6 * 512 * sizeof(u16)) /* 6 KB */ #define OTP_HIGH_IMAGE_SIZE_1000 (0x200 * sizeof(u16)) /* 1024 bytes */ |