27 #include <linux/module.h>
35 #define IWL5000_UCODE_API_MAX 5
36 #define IWL5150_UCODE_API_MAX 2
39 #define IWL5000_UCODE_API_OK 5
40 #define IWL5150_UCODE_API_OK 2
43 #define IWL5000_UCODE_API_MIN 1
44 #define IWL5150_UCODE_API_MIN 1
47 #define EEPROM_5000_TX_POWER_VERSION (4)
48 #define EEPROM_5000_EEPROM_VERSION (0x11A)
49 #define EEPROM_5050_TX_POWER_VERSION (4)
50 #define EEPROM_5050_EEPROM_VERSION (0x21E)
52 #define IWL5000_FW_PRE "iwlwifi-5000-"
53 #define IWL5000_MODULE_FIRMWARE(api) IWL5000_FW_PRE __stringify(api) ".ucode"
55 #define IWL5150_FW_PRE "iwlwifi-5150-"
56 #define IWL5150_MODULE_FIRMWARE(api) IWL5150_FW_PRE __stringify(api) ".ucode"
62 .led_compensation = 51,
64 .chain_noise_scale = 1000,
66 .max_event_log_size = 512,
67 .no_idle_support =
true,
71 .ht_greenfield_support =
true,
87 #define IWL_DEVICE_5000 \
88 .fw_name_pre = IWL5000_FW_PRE, \
89 .ucode_api_max = IWL5000_UCODE_API_MAX, \
90 .ucode_api_ok = IWL5000_UCODE_API_OK, \
91 .ucode_api_min = IWL5000_UCODE_API_MIN, \
92 .device_family = IWL_DEVICE_FAMILY_5000, \
93 .max_inst_size = IWLAGN_RTC_INST_SIZE, \
94 .max_data_size = IWLAGN_RTC_DATA_SIZE, \
95 .eeprom_ver = EEPROM_5000_EEPROM_VERSION, \
96 .eeprom_calib_ver = EEPROM_5000_TX_POWER_VERSION, \
97 .base_params = &iwl5000_base_params, \
98 .eeprom_params = &iwl5000_eeprom_params, \
99 .led_mode = IWL_LED_BLINK
102 .name =
"Intel(R) Ultimate N WiFi Link 5300 AGN",
107 .ht_params = &iwl5000_ht_params,
111 .name =
"Intel(R) WiFi Link 5100 BGN",
113 .valid_tx_ant =
ANT_B,
115 .ht_params = &iwl5000_ht_params,
119 .name =
"Intel(R) WiFi Link 5100 ABG",
121 .valid_tx_ant =
ANT_B,
126 .name =
"Intel(R) WiFi Link 5100 AGN",
128 .valid_tx_ant =
ANT_B,
130 .ht_params = &iwl5000_ht_params,
134 .name =
"Intel(R) WiMAX/WiFi Link 5350 AGN",
144 .base_params = &iwl5000_base_params,
145 .eeprom_params = &iwl5000_eeprom_params,
146 .ht_params = &iwl5000_ht_params,
148 .internal_wimax_coex =
true,
151 #define IWL_DEVICE_5150 \
152 .fw_name_pre = IWL5150_FW_PRE, \
153 .ucode_api_max = IWL5150_UCODE_API_MAX, \
154 .ucode_api_ok = IWL5150_UCODE_API_OK, \
155 .ucode_api_min = IWL5150_UCODE_API_MIN, \
156 .device_family = IWL_DEVICE_FAMILY_5150, \
157 .max_inst_size = IWLAGN_RTC_INST_SIZE, \
158 .max_data_size = IWLAGN_RTC_DATA_SIZE, \
159 .eeprom_ver = EEPROM_5050_EEPROM_VERSION, \
160 .eeprom_calib_ver = EEPROM_5050_TX_POWER_VERSION, \
161 .base_params = &iwl5000_base_params, \
162 .eeprom_params = &iwl5000_eeprom_params, \
163 .no_xtal_calib = true, \
164 .led_mode = IWL_LED_BLINK, \
165 .internal_wimax_coex = true
168 .name =
"Intel(R) WiMAX/WiFi Link 5150 AGN",
170 .ht_params = &iwl5000_ht_params,
175 .name =
"Intel(R) WiMAX/WiFi Link 5150 ABG",