aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-4965.h
diff options
context:
space:
mode:
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>2008-04-15 19:01:37 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-04-16 15:59:59 -0400
commit49ea85961cf8b60b5387cc1c1bc06fe4b6a31ee4 (patch)
tree467058c7a44b216a70849ceca7d3acd23f0a4bf4 /drivers/net/wireless/iwlwifi/iwl-4965.h
parentba380013b681e91e059f95b51002f8d43024b371 (diff)
iwlwifi: remove the statistics work
This patch does 3 things 1) It removes the statistics work. The request statistics command is sent in ASYNC mode in this flow, the mutex is uneeded, so the request statistics function can't go to sleep. No need for a workqueue anymore. 2) iwl4965_send_statistics_request has been renamed to iwl_send_statistics_request and moved to iwl-core.c 3) A request for statistics is sent in alive_notify, the makes the uCode sends statistics notification periodically starting from association. Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-4965.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.h b/drivers/net/wireless/iwlwifi/iwl-4965.h
index e5ab4c01ec9..c8e73a5212a 100644
--- a/drivers/net/wireless/iwlwifi/iwl-4965.h
+++ b/drivers/net/wireless/iwlwifi/iwl-4965.h
@@ -638,7 +638,6 @@ extern unsigned int iwl4965_fill_beacon_frame(struct iwl_priv *priv,
638 const u8 *dest, int left); 638 const u8 *dest, int left);
639extern int iwl4965_rx_queue_update_write_ptr(struct iwl_priv *priv, 639extern int iwl4965_rx_queue_update_write_ptr(struct iwl_priv *priv,
640 struct iwl4965_rx_queue *q); 640 struct iwl4965_rx_queue *q);
641extern int iwl4965_send_statistics_request(struct iwl_priv *priv);
642extern void iwl4965_set_decrypted_flag(struct iwl_priv *priv, struct sk_buff *skb, 641extern void iwl4965_set_decrypted_flag(struct iwl_priv *priv, struct sk_buff *skb,
643 u32 decrypt_res, 642 u32 decrypt_res,
644 struct ieee80211_rx_status *stats); 643 struct ieee80211_rx_status *stats);
@@ -1206,7 +1205,6 @@ struct iwl_priv {
1206#ifdef CONFIG_IWL4965_SENSITIVITY 1205#ifdef CONFIG_IWL4965_SENSITIVITY
1207 struct work_struct sensitivity_work; 1206 struct work_struct sensitivity_work;
1208#endif 1207#endif
1209 struct work_struct statistics_work;
1210 struct timer_list statistics_periodic; 1208 struct timer_list statistics_periodic;
1211}; /*iwl_priv */ 1209}; /*iwl_priv */
1212 1210