diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-1000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-1000.c | 24 |
1 files changed, 3 insertions, 21 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-1000.c b/drivers/net/wireless/iwlwifi/iwl-1000.c index 1b2799291834..baf80111efaf 100644 --- a/drivers/net/wireless/iwlwifi/iwl-1000.c +++ b/drivers/net/wireless/iwlwifi/iwl-1000.c | |||
@@ -45,7 +45,6 @@ | |||
45 | #include "iwl-agn.h" | 45 | #include "iwl-agn.h" |
46 | #include "iwl-helpers.h" | 46 | #include "iwl-helpers.h" |
47 | #include "iwl-agn-hw.h" | 47 | #include "iwl-agn-hw.h" |
48 | #include "iwl-agn-led.h" | ||
49 | #include "iwl-agn-debugfs.h" | 48 | #include "iwl-agn-debugfs.h" |
50 | 49 | ||
51 | /* Highest firmware API version supported */ | 50 | /* Highest firmware API version supported */ |
@@ -57,12 +56,10 @@ | |||
57 | #define IWL100_UCODE_API_MIN 5 | 56 | #define IWL100_UCODE_API_MIN 5 |
58 | 57 | ||
59 | #define IWL1000_FW_PRE "iwlwifi-1000-" | 58 | #define IWL1000_FW_PRE "iwlwifi-1000-" |
60 | #define _IWL1000_MODULE_FIRMWARE(api) IWL1000_FW_PRE #api ".ucode" | 59 | #define IWL1000_MODULE_FIRMWARE(api) IWL1000_FW_PRE #api ".ucode" |
61 | #define IWL1000_MODULE_FIRMWARE(api) _IWL1000_MODULE_FIRMWARE(api) | ||
62 | 60 | ||
63 | #define IWL100_FW_PRE "iwlwifi-100-" | 61 | #define IWL100_FW_PRE "iwlwifi-100-" |
64 | #define _IWL100_MODULE_FIRMWARE(api) IWL100_FW_PRE #api ".ucode" | 62 | #define IWL100_MODULE_FIRMWARE(api) IWL100_FW_PRE #api ".ucode" |
65 | #define IWL100_MODULE_FIRMWARE(api) _IWL100_MODULE_FIRMWARE(api) | ||
66 | 63 | ||
67 | 64 | ||
68 | /* | 65 | /* |
@@ -184,10 +181,6 @@ static struct iwl_lib_ops iwl1000_lib = { | |||
184 | .rx_handler_setup = iwlagn_rx_handler_setup, | 181 | .rx_handler_setup = iwlagn_rx_handler_setup, |
185 | .setup_deferred_work = iwlagn_setup_deferred_work, | 182 | .setup_deferred_work = iwlagn_setup_deferred_work, |
186 | .is_valid_rtc_data_addr = iwlagn_hw_valid_rtc_data_addr, | 183 | .is_valid_rtc_data_addr = iwlagn_hw_valid_rtc_data_addr, |
187 | .dump_nic_event_log = iwl_dump_nic_event_log, | ||
188 | .dump_nic_error_log = iwl_dump_nic_error_log, | ||
189 | .dump_csr = iwl_dump_csr, | ||
190 | .dump_fh = iwl_dump_fh, | ||
191 | .send_tx_power = iwlagn_send_tx_power, | 184 | .send_tx_power = iwlagn_send_tx_power, |
192 | .update_chain_flags = iwl_update_chain_flags, | 185 | .update_chain_flags = iwl_update_chain_flags, |
193 | .apm_ops = { | 186 | .apm_ops = { |
@@ -202,7 +195,7 @@ static struct iwl_lib_ops iwl1000_lib = { | |||
202 | EEPROM_REG_BAND_4_CHANNELS, | 195 | EEPROM_REG_BAND_4_CHANNELS, |
203 | EEPROM_REG_BAND_5_CHANNELS, | 196 | EEPROM_REG_BAND_5_CHANNELS, |
204 | EEPROM_REG_BAND_24_HT40_CHANNELS, | 197 | EEPROM_REG_BAND_24_HT40_CHANNELS, |
205 | EEPROM_REG_BAND_52_HT40_CHANNELS | 198 | EEPROM_REGULATORY_BAND_NO_HT40, |
206 | }, | 199 | }, |
207 | .acquire_semaphore = iwlcore_eeprom_acquire_semaphore, | 200 | .acquire_semaphore = iwlcore_eeprom_acquire_semaphore, |
208 | .release_semaphore = iwlcore_eeprom_release_semaphore, | 201 | .release_semaphore = iwlcore_eeprom_release_semaphore, |
@@ -221,19 +214,12 @@ static struct iwl_lib_ops iwl1000_lib = { | |||
221 | }, | 214 | }, |
222 | .txfifo_flush = iwlagn_txfifo_flush, | 215 | .txfifo_flush = iwlagn_txfifo_flush, |
223 | .dev_txfifo_flush = iwlagn_dev_txfifo_flush, | 216 | .dev_txfifo_flush = iwlagn_dev_txfifo_flush, |
224 | .tt_ops = { | ||
225 | .lower_power_detection = iwl_tt_is_low_power_state, | ||
226 | .tt_power_mode = iwl_tt_current_power_mode, | ||
227 | .ct_kill_check = iwl_check_for_ct_kill, | ||
228 | } | ||
229 | }; | 217 | }; |
230 | 218 | ||
231 | static const struct iwl_ops iwl1000_ops = { | 219 | static const struct iwl_ops iwl1000_ops = { |
232 | .lib = &iwl1000_lib, | 220 | .lib = &iwl1000_lib, |
233 | .hcmd = &iwlagn_hcmd, | 221 | .hcmd = &iwlagn_hcmd, |
234 | .utils = &iwlagn_hcmd_utils, | 222 | .utils = &iwlagn_hcmd_utils, |
235 | .led = &iwlagn_led_ops, | ||
236 | .ieee80211_ops = &iwlagn_hw_ops, | ||
237 | }; | 223 | }; |
238 | 224 | ||
239 | static struct iwl_base_params iwl1000_base_params = { | 225 | static struct iwl_base_params iwl1000_base_params = { |
@@ -241,7 +227,6 @@ static struct iwl_base_params iwl1000_base_params = { | |||
241 | .num_of_ampdu_queues = IWLAGN_NUM_AMPDU_QUEUES, | 227 | .num_of_ampdu_queues = IWLAGN_NUM_AMPDU_QUEUES, |
242 | .eeprom_size = OTP_LOW_IMAGE_SIZE, | 228 | .eeprom_size = OTP_LOW_IMAGE_SIZE, |
243 | .pll_cfg_val = CSR50_ANA_PLL_CFG_VAL, | 229 | .pll_cfg_val = CSR50_ANA_PLL_CFG_VAL, |
244 | .set_l0s = true, | ||
245 | .max_ll_items = OTP_MAX_LL_ITEMS_1000, | 230 | .max_ll_items = OTP_MAX_LL_ITEMS_1000, |
246 | .shadow_ram_support = false, | 231 | .shadow_ram_support = false, |
247 | .led_compensation = 51, | 232 | .led_compensation = 51, |
@@ -251,9 +236,6 @@ static struct iwl_base_params iwl1000_base_params = { | |||
251 | .chain_noise_scale = 1000, | 236 | .chain_noise_scale = 1000, |
252 | .wd_timeout = IWL_DEF_WD_TIMEOUT, | 237 | .wd_timeout = IWL_DEF_WD_TIMEOUT, |
253 | .max_event_log_size = 128, | 238 | .max_event_log_size = 128, |
254 | .ucode_tracing = true, | ||
255 | .sensitivity_calib_by_driver = true, | ||
256 | .chain_noise_calib_by_driver = true, | ||
257 | }; | 239 | }; |
258 | static struct iwl_ht_params iwl1000_ht_params = { | 240 | static struct iwl_ht_params iwl1000_ht_params = { |
259 | .ht_greenfield_support = true, | 241 | .ht_greenfield_support = true, |