staging: w35und: Remove remaining typedef declarations
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / drivers / staging / winbond / scan_s.h
blob85cdf3bc8e650276155596c31cbc3e86ae27d177
1 #ifndef __WINBOND_SCAN_S_H
2 #define __WINBOND_SCAN_S_H
4 #include <linux/types.h>
5 #include "localpara.h"
7 /*
8 * SCAN task global CONSTANTS, STRUCTURES, variables
9 */
11 /* define the msg type of SCAN module */
12 #define SCANMSG_SCAN_REQ 0x01
13 #define SCANMSG_BEACON 0x02
14 #define SCANMSG_PROBE_RESPONSE 0x03
15 #define SCANMSG_TIMEOUT 0x04
16 #define SCANMSG_TXPROBE_FAIL 0x05
17 #define SCANMSG_ENABLE_BGSCAN 0x06
18 #define SCANMSG_STOP_SCAN 0x07
21 * BSS Type =>conform to
22 * IBSS : ToDS/FromDS = 00
23 * Infrastructure : ToDS/FromDS = 01
25 #define IBSS_NET 0
26 #define ESS_NET 1
27 #define ANYBSS_NET 2
29 /* Scan Type */
30 #define ACTIVE_SCAN 0
31 #define PASSIVE_SCAN 1
34 * ===========================================================
35 * scan.h
36 * Define the related definitions of scan module
38 * ===========================================================
41 /* Define the state of scan module */
42 #define SCAN_INACTIVE 0
43 #define WAIT_PROBE_DELAY 1
44 #define WAIT_RESPONSE_MIN 2
45 #define WAIT_RESPONSE_MAX_ACTIVE 3
46 #define WAIT_BEACON_MAX_PASSIVE 4
47 #define SCAN_COMPLETE 5
48 #define BG_SCAN 6
49 #define BG_SCANNING 7
53 * The value will load from EEPROM
54 * If 0xff is set in EEPOM, the driver will use SCAN_MAX_CHNL_TIME instead.
55 * The definition is in WbHal.h
57 #endif