Go to the documentation of this file. 1 #ifndef __WINBOND_LOCALPARA_H
2 #define __WINBOND_LOCALPARA_H
14 #define LOCAL_DEFAULT_BEACON_PERIOD 100
15 #define LOCAL_DEFAULT_ATIM_WINDOW 0
16 #define LOCAL_DEFAULT_ERP_CAPABILITY 0x0431
22 #define LOCAL_DEFAULT_LISTEN_INTERVAL 5
24 #define LOCAL_DEFAULT_24_CHANNEL_NUM 13
25 #define LOCAL_DEFAULT_5_CHANNEL_NUM 8
27 #define LOCAL_USA_24_CHANNEL_NUM 11
28 #define LOCAL_USA_5_CHANNEL_NUM 12
29 #define LOCAL_EUROPE_24_CHANNEL_NUM 13
30 #define LOCAL_EUROPE_5_CHANNEL_NUM 19
31 #define LOCAL_JAPAN_24_CHANNEL_NUM 14
32 #define LOCAL_JAPAN_5_CHANNEL_NUM 11
33 #define LOCAL_UNKNOWN_24_CHANNEL_NUM 14
34 #define LOCAL_UNKNOWN_5_CHANNEL_NUM 34
36 #define psLOCAL (&(adapter->sLocalPara))
38 #define MODE_802_11_BG 0
39 #define MODE_802_11_A 1
40 #define MODE_802_11_ABG 2
41 #define MODE_802_11_BG_IBSS 3
42 #define MODE_802_11_B 4
45 #define BAND_TYPE_DSSS 0
46 #define BAND_TYPE_OFDM_24 1
47 #define BAND_TYPE_OFDM_5 2
53 #define LOCAL_ALL_SUPPORTED_RATES_BITMAP 0x130c1a66
56 #define LOCAL_OFDM_SUPPORTED_RATES_BITMAP 0x130c1240
57 #define LOCAL_11B_SUPPORTED_RATE_BITMAP 0x826
58 #define LOCAL_11B_BASIC_RATE_BITMAP 0x826
59 #define LOCAL_11B_OPERATION_RATE_BITMAP 0x826
60 #define LOCAL_11G_BASIC_RATE_BITMAP 0x826
61 #define LOCAL_11G_OPERATION_RATE_BITMAP 0x130c1240
62 #define LOCAL_11A_BASIC_RATE_BITMAP 0x01001040
63 #define LOCAL_11A_OPERATION_RATE_BITMAP 0x120c0200
68 #define PWR_TX_IDLE_CYCLE 6
75 #define REGION_AUTO 0xff
76 #define REGION_UNKNOWN 0
77 #define REGION_EUROPE 1
78 #define REGION_JAPAN 2
80 #define REGION_FRANCE 4
81 #define REGION_SPAIN 5
82 #define REGION_ISRAEL 6
84 #define MAX_BSS_DESCRIPT_ELEMENT 32
85 #define MAX_PMKID_CandidateList 16
92 #define EVENT_RCV_DEAUTH 0x0100
93 #define EVENT_JOIN_FAIL 0x0200
94 #define EVENT_AUTH_FAIL 0x0300
95 #define EVENT_ASSOC_FAIL 0x0400
96 #define EVENT_LOST_SIGNAL 0x0500
97 #define EVENT_BSS_DESCRIPT_LACK 0x0600
98 #define EVENT_COUNTERMEASURE 0x0700
99 #define EVENT_JOIN_FILTER 0x0800
101 #define EVENT_RX_BUFF_UNAVAILABLE 0x4100
103 #define EVENT_CONNECT 0x8100
104 #define EVENT_DISCONNECT 0x8200
105 #define EVENT_SCAN_REQ 0x8300
108 #define EVENT_REASON_FILTER_BASIC_RATE 0x0001
109 #define EVENT_REASON_FILTER_PRIVACY 0x0002
110 #define EVENT_REASON_FILTER_AUTH_MODE 0x0003
111 #define EVENT_REASON_TIMEOUT 0x00ff
114 #define MAX_IE_APPEND_SIZE (256 + 4)