mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 22:26:12 +00:00 
			
		
		
		
	 c63cdbe8f8
			
		
	
	
		c63cdbe8f8
		
	
	
	
	
		
			
			This removes the custom scan cache used by orinoco. We also have to avoid calling cfg80211_scan_done from the hard interrupt, so we offload the entirety of scan processing to a workqueue. This may behave strangely if you start scanning just prior to suspending... Signed-off-by: David Kilroy <kilroyd@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
		
			
				
	
	
		
			21 lines
		
	
	
		
			487 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			487 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* 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;
 | |
| 
 | |
| /* Add scan results */
 | |
| void orinoco_add_extscan_result(struct orinoco_private *priv,
 | |
| 				struct agere_ext_scan_info *atom,
 | |
| 				size_t len);
 | |
| void orinoco_add_hostscan_results(struct orinoco_private *dev,
 | |
| 				  unsigned char *buf,
 | |
| 				  size_t len);
 | |
| 
 | |
| #endif /* _ORINOCO_SCAN_H_ */
 |