aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-eeprom.h
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2011-06-06 17:26:42 -0400
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2011-06-11 10:10:57 -0400
commit109a0ac5d8ed35914f5ce5c6d36244c08963c6cb (patch)
tree57254f793f9e4e8123c3d8d320c9c40d77f2dda5 /drivers/net/wireless/iwlwifi/iwl-eeprom.h
parent8d8854d983ab7217d322269c9bd17c1f8c481ae8 (diff)
iwlagn: group similar defines together
No functional changes, just group similar defines together Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-eeprom.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-eeprom.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-eeprom.h b/drivers/net/wireless/iwlwifi/iwl-eeprom.h
index 3dcb0a05d357..19058a6fac48 100644
--- a/drivers/net/wireless/iwlwifi/iwl-eeprom.h
+++ b/drivers/net/wireless/iwlwifi/iwl-eeprom.h
@@ -162,10 +162,6 @@ struct iwl_eeprom_enhanced_txpwr {
162 s8 mimo3_max; 162 s8 mimo3_max;
163} __packed; 163} __packed;
164 164
165/* 5000 Specific */
166#define EEPROM_5000_TX_POWER_VERSION (4)
167#define EEPROM_5000_EEPROM_VERSION (0x11A)
168
169/* calibration */ 165/* calibration */
170#define EEPROM_CALIB_ALL (INDIRECT_ADDRESS | INDIRECT_CALIBRATION) 166#define EEPROM_CALIB_ALL (INDIRECT_ADDRESS | INDIRECT_CALIBRATION)
171#define EEPROM_XTAL ((2*0x128) | EEPROM_CALIB_ALL) 167#define EEPROM_XTAL ((2*0x128) | EEPROM_CALIB_ALL)
@@ -203,6 +199,10 @@ struct iwl_eeprom_enhanced_txpwr {
203#define EEPROM_6000_REG_BAND_24_HT40_CHANNELS ((0x80)\ 199#define EEPROM_6000_REG_BAND_24_HT40_CHANNELS ((0x80)\
204 | INDIRECT_ADDRESS | INDIRECT_REGULATORY) /* 14 bytes */ 200 | INDIRECT_ADDRESS | INDIRECT_REGULATORY) /* 14 bytes */
205 201
202/* 5000 Specific */
203#define EEPROM_5000_TX_POWER_VERSION (4)
204#define EEPROM_5000_EEPROM_VERSION (0x11A)
205
206/* 5050 Specific */ 206/* 5050 Specific */
207#define EEPROM_5050_TX_POWER_VERSION (4) 207#define EEPROM_5050_TX_POWER_VERSION (4)
208#define EEPROM_5050_EEPROM_VERSION (0x21E) 208#define EEPROM_5050_EEPROM_VERSION (0x21E)