Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6
[pandora-kernel.git] / drivers / net / wireless / orinoco / scan.h
1 /* Helpers for managing scan queues
2  *
3  * See copyright notice in main.c
4  */
5 #ifndef _ORINOCO_SCAN_H_
6 #define _ORINOCO_SCAN_H_
7
8 /* Forward declarations */
9 struct orinoco_private;
10 struct agere_ext_scan_info;
11
12 /* Setup and free memory for scan results */
13 int orinoco_bss_data_allocate(struct orinoco_private *priv);
14 void orinoco_bss_data_free(struct orinoco_private *priv);
15 void orinoco_bss_data_init(struct orinoco_private *priv);
16
17 /* Add scan results */
18 void orinoco_add_ext_scan_result(struct orinoco_private *priv,
19                                  struct agere_ext_scan_info *atom);
20 int orinoco_process_scan_results(struct orinoco_private *dev,
21                                  unsigned char *buf,
22                                  int len);
23
24 /* Clear scan results */
25 void orinoco_clear_scan_results(struct orinoco_private *priv,
26                                 unsigned long scan_age);
27
28
29 #endif /* _ORINOCO_SCAN_H_ */