aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-dev.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-04-22 13:15:23 -0400
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2011-04-22 13:18:48 -0400
commitca7966c88e44233fac113579071a6f55e00ef5ac (patch)
treec80674f6237d48ea56b677bc6b409c54afeb9f08 /drivers/net/wireless/iwlwifi/iwl-dev.h
parente74fe2330a5a721610b2b69652d2ec2ebbd302e0 (diff)
iwlagn: implement synchronous firmware load
The current firmware loading mechanism in iwlwifi is very hard to follow, and thus hard to maintain. To make it easier, make the firmware loading synchronous. For now, as a side effect, this removes a number of retry possibilities we had. It isn't typical for this to fail, but if it does happen we restart from scratch which this also makes easier to do should it be necessary. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-dev.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index 03452925bae3..414968c6b7cf 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -794,12 +794,6 @@ struct iwl_calib_result {
794 size_t buf_len; 794 size_t buf_len;
795}; 795};
796 796
797enum ucode_type {
798 UCODE_NONE = 0,
799 UCODE_INIT,
800 UCODE_RT
801};
802
803/* Sensitivity calib data */ 797/* Sensitivity calib data */
804struct iwl_sensitivity_data { 798struct iwl_sensitivity_data {
805 u32 auto_corr_ofdm; 799 u32 auto_corr_ofdm;
@@ -1276,7 +1270,7 @@ struct iwl_priv {
1276 struct fw_desc ucode_data; /* runtime data original */ 1270 struct fw_desc ucode_data; /* runtime data original */
1277 struct fw_desc ucode_init; /* initialization inst */ 1271 struct fw_desc ucode_init; /* initialization inst */
1278 struct fw_desc ucode_init_data; /* initialization data */ 1272 struct fw_desc ucode_init_data; /* initialization data */
1279 enum ucode_type ucode_type; 1273 enum iwlagn_ucode_subtype ucode_type;
1280 u8 ucode_write_complete; /* the image write is complete */ 1274 u8 ucode_write_complete; /* the image write is complete */
1281 char firmware_name[25]; 1275 char firmware_name[25];
1282 1276
@@ -1474,8 +1468,6 @@ struct iwl_priv {
1474 1468
1475 struct tasklet_struct irq_tasklet; 1469 struct tasklet_struct irq_tasklet;
1476 1470
1477 struct delayed_work init_alive_start;
1478 struct delayed_work alive_start;
1479 struct delayed_work scan_check; 1471 struct delayed_work scan_check;
1480 1472
1481 /* TX Power */ 1473 /* TX Power */