aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/orinoco.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/orinoco.h')
-rw-r--r--drivers/net/wireless/orinoco.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/drivers/net/wireless/orinoco.h b/drivers/net/wireless/orinoco.h
index 4720fb20d66d..c6b1858abde8 100644
--- a/drivers/net/wireless/orinoco.h
+++ b/drivers/net/wireless/orinoco.h
@@ -36,6 +36,12 @@ typedef enum {
36 FIRMWARE_TYPE_SYMBOL 36 FIRMWARE_TYPE_SYMBOL
37} fwtype_t; 37} fwtype_t;
38 38
39typedef struct {
40 union hermes_scan_info bss;
41 unsigned long last_scanned;
42 struct list_head list;
43} bss_element;
44
39struct orinoco_private { 45struct orinoco_private {
40 void *card; /* Pointer to card dependent structure */ 46 void *card; /* Pointer to card dependent structure */
41 int (*hard_reset)(struct orinoco_private *); 47 int (*hard_reset)(struct orinoco_private *);
@@ -105,10 +111,12 @@ struct orinoco_private {
105 int promiscuous, mc_count; 111 int promiscuous, mc_count;
106 112
107 /* Scanning support */ 113 /* Scanning support */
114 struct list_head bss_list;
115 struct list_head bss_free_list;
116 bss_element *bss_data;
117
108 int scan_inprogress; /* Scan pending... */ 118 int scan_inprogress; /* Scan pending... */
109 u32 scan_mode; /* Type of scan done */ 119 u32 scan_mode; /* Type of scan done */
110 char * scan_result; /* Result of previous scan */
111 int scan_len; /* Lenght of result */
112}; 120};
113 121
114#ifdef ORINOCO_DEBUG 122#ifdef ORINOCO_DEBUG