OSDN Git Service

private_lib: move WPA_EVENT_DRIVER_STATE to driver_cmd_common.h
[android-x86/external-wpa_supplicant_8.git] / private_lib / driver_cmd_wext.h
1 /*
2  * Driver interaction with extended Linux Wireless Extensions
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  *
8  * Alternatively, this software may be distributed under the terms of BSD
9  * license.
10  *
11  */
12 #ifndef DRIVER_CMD_WEXT_H
13 #define DRIVER_CMD_WEXT_H
14
15 #define WEXT_NUMBER_SCAN_CHANNELS_FCC   11
16 #define WEXT_NUMBER_SCAN_CHANNELS_ETSI  13
17 #define WEXT_NUMBER_SCAN_CHANNELS_MKK1  14
18
19 #define WPA_DRIVER_WEXT_WAIT_US         400000
20 #define WEXT_CSCAN_AMOUNT               9
21 #define WEXT_CSCAN_BUF_LEN              360
22 #define WEXT_CSCAN_HEADER               "CSCAN S\x01\x00\x00S\x00"
23 #define WEXT_CSCAN_HEADER_SIZE          12
24 #define WEXT_CSCAN_SSID_SECTION         'S'
25 #define WEXT_CSCAN_CHANNEL_SECTION      'C'
26 #define WEXT_CSCAN_NPROBE_SECTION       'N'
27 #define WEXT_CSCAN_ACTV_DWELL_SECTION   'A'
28 #define WEXT_CSCAN_PASV_DWELL_SECTION   'P'
29 #define WEXT_CSCAN_HOME_DWELL_SECTION   'H'
30 #define WEXT_CSCAN_TYPE_SECTION         'T'
31 #define WEXT_CSCAN_TYPE_DEFAULT         0
32 #define WEXT_CSCAN_TYPE_PASSIVE         1
33 #define WEXT_CSCAN_PASV_DWELL_TIME      130
34 #define WEXT_CSCAN_PASV_DWELL_TIME_DEF  250
35 #define WEXT_CSCAN_PASV_DWELL_TIME_MAX  3000
36 #define WEXT_CSCAN_HOME_DWELL_TIME      130
37
38 #endif /* DRIVER_CMD_WEXT_H */