summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ipw2100.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2007-10-10 12:28:07 -0400
committerJohn W. Linville <linville@tuxdriver.com>2007-10-18 15:38:24 -0400
commitd20c678a450a25c1c12925f60c1b4cc040acc17d (patch)
treec8209bd0394e5cfb5e7726b07d683dad255abda5 /drivers/net/wireless/ipw2100.h
parent3ba72b25211217de195e3f528dd36132b38a205b (diff)
[PATCH] ipw2100: send WEXT scan events
ipw2100 wasn't sending WEXT scan events at all on scan completion. And like ipw2200, the driver aggressively auto-scans, requiring non-user-requested scan events to be batched together and sent at specific intervals instead of many times per seconds. Signed-off-by: Dan Williams <dcbw@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ipw2100.h')
-rw-r--r--drivers/net/wireless/ipw2100.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ipw2100.h b/drivers/net/wireless/ipw2100.h
index de7d384d38a..1ee3348aedd 100644
--- a/drivers/net/wireless/ipw2100.h
+++ b/drivers/net/wireless/ipw2100.h
@@ -588,6 +588,10 @@ struct ipw2100_priv {
struct delayed_work wx_event_work;
struct delayed_work hang_check;
struct delayed_work rf_kill;
+ struct work_struct scan_event_now;
+ struct delayed_work scan_event_later;
+
+ int user_requested_scan;
u32 interrupts;
int tx_interrupts;