summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/orinoco/scan.h
diff options
context:
space:
mode:
authorDavid Kilroy <kilroyd@googlemail.com>2009-02-04 23:05:50 +0000
committerJohn W. Linville <linville@tuxdriver.com>2009-02-11 11:44:28 -0500
commitfb791b1cfb74937332a22d6bf06eed7866fbcc3c (patch)
tree8c593b87e886ed5a5facb7d95aae3db04988d0a2 /drivers/net/wireless/orinoco/scan.h
parentaea48b1529c6c4d39af82fc36728da49668392c6 (diff)
downloadlinux-fb791b1cfb74937332a22d6bf06eed7866fbcc3c.tar.gz
linux-fb791b1cfb74937332a22d6bf06eed7866fbcc3c.tar.bz2
linux-fb791b1cfb74937332a22d6bf06eed7866fbcc3c.zip
orinoco: Move scan helpers to a separate file
No functional change. Signed-off-by: David Kilroy <kilroyd@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/orinoco/scan.h')
-rw-r--r--drivers/net/wireless/orinoco/scan.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/drivers/net/wireless/orinoco/scan.h b/drivers/net/wireless/orinoco/scan.h
new file mode 100644
index 000000000000..f319f7466af1
--- /dev/null
+++ b/drivers/net/wireless/orinoco/scan.h
@@ -0,0 +1,29 @@
+/* Helpers for managing scan queues
+ *
+ * See copyright notice in main.c
+ */
+#ifndef _ORINOCO_SCAN_H_
+#define _ORINOCO_SCAN_H_
+
+/* Forward declarations */
+struct orinoco_private;
+struct agere_ext_scan_info;
+
+/* Setup and free memory for scan results */
+int orinoco_bss_data_allocate(struct orinoco_private *priv);
+void orinoco_bss_data_free(struct orinoco_private *priv);
+void orinoco_bss_data_init(struct orinoco_private *priv);
+
+/* Add scan results */
+void orinoco_add_ext_scan_result(struct orinoco_private *priv,
+ struct agere_ext_scan_info *atom);
+int orinoco_process_scan_results(struct orinoco_private *dev,
+ unsigned char *buf,
+ int len);
+
+/* Clear scan results */
+void orinoco_clear_scan_results(struct orinoco_private *priv,
+ unsigned long scan_age);
+
+
+#endif /* _ORINOCO_SCAN_H_ */