aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-4965.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.h b/drivers/net/wireless/iwlwifi/iwl-4965.h
index 960b53b20df..069e591981b 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965.h
+++ b/drivers/net/wireless/iwlwifi/iwl-4965.h
@@ -45,6 +45,7 @@ extern struct pci_device_id iwl4965_hw_card_ids[];
45#include "iwl-csr.h" 45#include "iwl-csr.h"
46#include "iwl-prph.h" 46#include "iwl-prph.h"
47#include "iwl-debug.h" 47#include "iwl-debug.h"
48#include "iwl-led.h"
48 49
49/* Change firmware file name, using "-" and incrementing number, 50/* Change firmware file name, using "-" and incrementing number,
50 * *only* when uCode interface or architecture changes so that it 51 * *only* when uCode interface or architecture changes so that it
@@ -1050,11 +1051,12 @@ struct iwl_priv {
1050 struct iwl4965_init_alive_resp card_alive_init; 1051 struct iwl4965_init_alive_resp card_alive_init;
1051 struct iwl4965_alive_resp card_alive; 1052 struct iwl4965_alive_resp card_alive;
1052 1053
1053#ifdef LED 1054#ifdef CONFIG_IWL4965_LEDS
1054 /* LED related variables */ 1055 struct iwl4965_led led[IWL_LED_TRG_MAX];
1055 struct iwl4965_activity_blink activity; 1056 unsigned long last_blink_time;
1056 unsigned long led_packets; 1057 u8 last_blink_rate;
1057 int led_state; 1058 u8 allow_blinking;
1059 u64 led_tpt;
1058#endif 1060#endif
1059 1061
1060 u16 active_rate; 1062 u16 active_rate;
@@ -1127,7 +1129,7 @@ struct iwl_priv {
1127 struct iwl4965_station_entry stations[IWL_STATION_COUNT]; 1129 struct iwl4965_station_entry stations[IWL_STATION_COUNT];
1128 1130
1129 /* Indication if ieee80211_ops->open has been called */ 1131 /* Indication if ieee80211_ops->open has been called */
1130 int is_open; 1132 u8 is_open;
1131 1133
1132 u8 mac80211_registered; 1134 u8 mac80211_registered;
1133 1135
@@ -1148,7 +1150,7 @@ struct iwl_priv {
1148 /* eeprom */ 1150 /* eeprom */
1149 struct iwl4965_eeprom eeprom; 1151 struct iwl4965_eeprom eeprom;
1150 1152
1151 int iw_mode; 1153 enum ieee80211_if_types iw_mode;
1152 1154
1153 struct sk_buff *ibss_beacon; 1155 struct sk_buff *ibss_beacon;
1154 1156
@@ -1264,6 +1266,5 @@ extern const struct iwl_channel_info *iwl_get_channel_info(
1264 const struct iwl_priv *priv, enum ieee80211_band band, u16 channel); 1266 const struct iwl_priv *priv, enum ieee80211_band band, u16 channel);
1265 1267
1266/* Requires full declaration of iwl_priv before including */ 1268/* Requires full declaration of iwl_priv before including */
1267#include "iwl-4965-io.h"
1268 1269
1269#endif /* __iwl4965_4965_h__ */ 1270#endif /* __iwl4965_4965_h__ */