scan.h 808 B

1234567891011121314151617181920212223242526272829
  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. /* Forward declarations */
  8. struct orinoco_private;
  9. struct agere_ext_scan_info;
  10. /* Setup and free memory for scan results */
  11. int orinoco_bss_data_allocate(struct orinoco_private *priv);
  12. void orinoco_bss_data_free(struct orinoco_private *priv);
  13. void orinoco_bss_data_init(struct orinoco_private *priv);
  14. /* Add scan results */
  15. void orinoco_add_ext_scan_result(struct orinoco_private *priv,
  16. struct agere_ext_scan_info *atom);
  17. int orinoco_process_scan_results(struct orinoco_private *dev,
  18. unsigned char *buf,
  19. int len);
  20. /* Clear scan results */
  21. void orinoco_clear_scan_results(struct orinoco_private *priv,
  22. unsigned long scan_age);
  23. #endif /* _ORINOCO_SCAN_H_ */