1 /*
2  * Driver interaction with extended Linux Wireless Extensions
3  *
4  * This software is distributed under the terms of BSD license.
5  *
6  */
7 #ifndef DRIVER_CMD_WEXT_H
8 #define DRIVER_CMD_WEXT_H
9 
10 #define WEXT_NUMBER_SCAN_CHANNELS_FCC	11
11 #define WEXT_NUMBER_SCAN_CHANNELS_ETSI	13
12 #define WEXT_NUMBER_SCAN_CHANNELS_MKK1	14
13 
14 #define WPA_DRIVER_WEXT_WAIT_US		400000
15 #define WEXT_CSCAN_BUF_LEN		360
16 #define WEXT_CSCAN_HEADER		"CSCAN S\x01\x00\x00S\x00"
17 #define WEXT_CSCAN_HEADER_SIZE		12
18 #define WEXT_CSCAN_SSID_SECTION		'S'
19 #define WEXT_CSCAN_CHANNEL_SECTION	'C'
20 #define WEXT_CSCAN_NPROBE_SECTION	'N'
21 #define WEXT_CSCAN_ACTV_DWELL_SECTION	'A'
22 #define WEXT_CSCAN_PASV_DWELL_SECTION	'P'
23 #define WEXT_CSCAN_HOME_DWELL_SECTION	'H'
24 #define WEXT_CSCAN_TYPE_SECTION		'T'
25 #define WEXT_CSCAN_TYPE_DEFAULT		0
26 #define WEXT_CSCAN_TYPE_PASSIVE		1
27 #define WEXT_CSCAN_PASV_DWELL_TIME	130
28 #define WEXT_CSCAN_PASV_DWELL_TIME_DEF	250
29 #define WEXT_CSCAN_PASV_DWELL_TIME_MAX	3000
30 #define WEXT_CSCAN_HOME_DWELL_TIME	130
31 
32 #endif /* DRIVER_CMD_WEXT_H */
33