Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
localpara.h File Reference
#include "mac_structures.h"

Go to the source code of this file.

Data Structures

struct  chan_info
 
struct  radio_off
 
struct  wb_local_para
 

Macros

#define LOCAL_DEFAULT_BEACON_PERIOD   100 /* ms */
 
#define LOCAL_DEFAULT_ATIM_WINDOW   0
 
#define LOCAL_DEFAULT_ERP_CAPABILITY
 
#define LOCAL_DEFAULT_LISTEN_INTERVAL   5
 
#define LOCAL_DEFAULT_24_CHANNEL_NUM   13 /* channel 1..13 */
 
#define LOCAL_DEFAULT_5_CHANNEL_NUM   8 /* channel 36..64 */
 
#define LOCAL_USA_24_CHANNEL_NUM   11
 
#define LOCAL_USA_5_CHANNEL_NUM   12
 
#define LOCAL_EUROPE_24_CHANNEL_NUM   13
 
#define LOCAL_EUROPE_5_CHANNEL_NUM   19
 
#define LOCAL_JAPAN_24_CHANNEL_NUM   14
 
#define LOCAL_JAPAN_5_CHANNEL_NUM   11
 
#define LOCAL_UNKNOWN_24_CHANNEL_NUM   14
 
#define LOCAL_UNKNOWN_5_CHANNEL_NUM   34 /* not include 165 */
 
#define psLOCAL   (&(adapter->sLocalPara))
 
#define MODE_802_11_BG   0
 
#define MODE_802_11_A   1
 
#define MODE_802_11_ABG   2
 
#define MODE_802_11_BG_IBSS   3
 
#define MODE_802_11_B   4
 
#define MODE_AUTO   255
 
#define BAND_TYPE_DSSS   0
 
#define BAND_TYPE_OFDM_24   1
 
#define BAND_TYPE_OFDM_5   2
 
#define LOCAL_ALL_SUPPORTED_RATES_BITMAP   0x130c1a66
 
#define LOCAL_OFDM_SUPPORTED_RATES_BITMAP   0x130c1240
 
#define LOCAL_11B_SUPPORTED_RATE_BITMAP   0x826
 
#define LOCAL_11B_BASIC_RATE_BITMAP   0x826
 
#define LOCAL_11B_OPERATION_RATE_BITMAP   0x826
 
#define LOCAL_11G_BASIC_RATE_BITMAP   0x826 /* 1, 2, 5.5, 11 */
 
#define LOCAL_11G_OPERATION_RATE_BITMAP   0x130c1240 /* 6, 9, 12, 18, 24, 36, 48, 54 */
 
#define LOCAL_11A_BASIC_RATE_BITMAP   0x01001040 /* 6, 12, 24 */
 
#define LOCAL_11A_OPERATION_RATE_BITMAP   0x120c0200 /* 9, 18, 36, 48, 54 */
 
#define PWR_ACTIVE   0
 
#define PWR_SAVE   1
 
#define PWR_TX_IDLE_CYCLE   6
 
#define AUTO_MODE   0
 
#define LONG_MODE   1
 
#define REGION_AUTO   0xff
 
#define REGION_UNKNOWN   0
 
#define REGION_EUROPE   1 /* ETSI */
 
#define REGION_JAPAN   2 /* MKK */
 
#define REGION_USA   3 /* FCC */
 
#define REGION_FRANCE   4 /* FRANCE */
 
#define REGION_SPAIN   5 /* SPAIN */
 
#define REGION_ISRAEL   6 /* ISRAEL */
 
#define MAX_BSS_DESCRIPT_ELEMENT   32
 
#define MAX_PMKID_CandidateList   16
 
#define EVENT_RCV_DEAUTH   0x0100
 
#define EVENT_JOIN_FAIL   0x0200
 
#define EVENT_AUTH_FAIL   0x0300
 
#define EVENT_ASSOC_FAIL   0x0400
 
#define EVENT_LOST_SIGNAL   0x0500
 
#define EVENT_BSS_DESCRIPT_LACK   0x0600
 
#define EVENT_COUNTERMEASURE   0x0700
 
#define EVENT_JOIN_FILTER   0x0800
 
#define EVENT_RX_BUFF_UNAVAILABLE   0x4100
 
#define EVENT_CONNECT   0x8100
 
#define EVENT_DISCONNECT   0x8200
 
#define EVENT_SCAN_REQ   0x8300
 
#define EVENT_REASON_FILTER_BASIC_RATE   0x0001
 
#define EVENT_REASON_FILTER_PRIVACY   0x0002
 
#define EVENT_REASON_FILTER_AUTH_MODE   0x0003
 
#define EVENT_REASON_TIMEOUT   0x00ff
 
#define MAX_IE_APPEND_SIZE   (256 + 4)
 

Macro Definition Documentation

#define AUTO_MODE   0

Definition at line 66 of file localpara.h.

#define BAND_TYPE_DSSS   0

Definition at line 40 of file localpara.h.

#define BAND_TYPE_OFDM_24   1

Definition at line 41 of file localpara.h.

#define BAND_TYPE_OFDM_5   2

Definition at line 42 of file localpara.h.

#define EVENT_ASSOC_FAIL   0x0400

Definition at line 90 of file localpara.h.

#define EVENT_AUTH_FAIL   0x0300

Definition at line 89 of file localpara.h.

#define EVENT_BSS_DESCRIPT_LACK   0x0600

Definition at line 92 of file localpara.h.

#define EVENT_CONNECT   0x8100

Definition at line 98 of file localpara.h.

#define EVENT_COUNTERMEASURE   0x0700

Definition at line 93 of file localpara.h.

#define EVENT_DISCONNECT   0x8200

Definition at line 99 of file localpara.h.

#define EVENT_JOIN_FAIL   0x0200

Definition at line 88 of file localpara.h.

#define EVENT_JOIN_FILTER   0x0800

Definition at line 94 of file localpara.h.

#define EVENT_LOST_SIGNAL   0x0500

Definition at line 91 of file localpara.h.

#define EVENT_RCV_DEAUTH   0x0100

Definition at line 87 of file localpara.h.

#define EVENT_REASON_FILTER_AUTH_MODE   0x0003

Definition at line 105 of file localpara.h.

#define EVENT_REASON_FILTER_BASIC_RATE   0x0001

Definition at line 103 of file localpara.h.

#define EVENT_REASON_FILTER_PRIVACY   0x0002

Definition at line 104 of file localpara.h.

#define EVENT_REASON_TIMEOUT   0x00ff

Definition at line 106 of file localpara.h.

#define EVENT_RX_BUFF_UNAVAILABLE   0x4100

Definition at line 96 of file localpara.h.

#define EVENT_SCAN_REQ   0x8300

Definition at line 100 of file localpara.h.

#define LOCAL_11A_BASIC_RATE_BITMAP   0x01001040 /* 6, 12, 24 */

Definition at line 57 of file localpara.h.

#define LOCAL_11A_OPERATION_RATE_BITMAP   0x120c0200 /* 9, 18, 36, 48, 54 */

Definition at line 58 of file localpara.h.

#define LOCAL_11B_BASIC_RATE_BITMAP   0x826

Definition at line 53 of file localpara.h.

#define LOCAL_11B_OPERATION_RATE_BITMAP   0x826

Definition at line 54 of file localpara.h.

#define LOCAL_11B_SUPPORTED_RATE_BITMAP   0x826

Definition at line 52 of file localpara.h.

#define LOCAL_11G_BASIC_RATE_BITMAP   0x826 /* 1, 2, 5.5, 11 */

Definition at line 55 of file localpara.h.

#define LOCAL_11G_OPERATION_RATE_BITMAP   0x130c1240 /* 6, 9, 12, 18, 24, 36, 48, 54 */

Definition at line 56 of file localpara.h.

#define LOCAL_ALL_SUPPORTED_RATES_BITMAP   0x130c1a66

Definition at line 48 of file localpara.h.

#define LOCAL_DEFAULT_24_CHANNEL_NUM   13 /* channel 1..13 */

Definition at line 19 of file localpara.h.

#define LOCAL_DEFAULT_5_CHANNEL_NUM   8 /* channel 36..64 */

Definition at line 20 of file localpara.h.

#define LOCAL_DEFAULT_ATIM_WINDOW   0

Definition at line 15 of file localpara.h.

#define LOCAL_DEFAULT_BEACON_PERIOD   100 /* ms */

Definition at line 14 of file localpara.h.

#define LOCAL_DEFAULT_ERP_CAPABILITY
Value:
0x0431 /*
* 0x0001: ESS
* 0x0010: Privacy
* 0x0020: short preamble
* 0x0400: short slot time
*/

Definition at line 16 of file localpara.h.

#define LOCAL_DEFAULT_LISTEN_INTERVAL   5

Definition at line 17 of file localpara.h.

#define LOCAL_EUROPE_24_CHANNEL_NUM   13

Definition at line 24 of file localpara.h.

#define LOCAL_EUROPE_5_CHANNEL_NUM   19

Definition at line 25 of file localpara.h.

#define LOCAL_JAPAN_24_CHANNEL_NUM   14

Definition at line 26 of file localpara.h.

#define LOCAL_JAPAN_5_CHANNEL_NUM   11

Definition at line 27 of file localpara.h.

#define LOCAL_OFDM_SUPPORTED_RATES_BITMAP   0x130c1240

Definition at line 51 of file localpara.h.

#define LOCAL_UNKNOWN_24_CHANNEL_NUM   14

Definition at line 28 of file localpara.h.

#define LOCAL_UNKNOWN_5_CHANNEL_NUM   34 /* not include 165 */

Definition at line 29 of file localpara.h.

#define LOCAL_USA_24_CHANNEL_NUM   11

Definition at line 22 of file localpara.h.

#define LOCAL_USA_5_CHANNEL_NUM   12

Definition at line 23 of file localpara.h.

#define LONG_MODE   1

Definition at line 67 of file localpara.h.

#define MAX_BSS_DESCRIPT_ELEMENT   32

Definition at line 79 of file localpara.h.

#define MAX_IE_APPEND_SIZE   (256 + 4)

Definition at line 109 of file localpara.h.

#define MAX_PMKID_CandidateList   16

Definition at line 80 of file localpara.h.

#define MODE_802_11_A   1

Definition at line 34 of file localpara.h.

#define MODE_802_11_ABG   2

Definition at line 35 of file localpara.h.

#define MODE_802_11_B   4

Definition at line 37 of file localpara.h.

#define MODE_802_11_BG   0

Definition at line 33 of file localpara.h.

#define MODE_802_11_BG_IBSS   3

Definition at line 36 of file localpara.h.

#define MODE_AUTO   255

Definition at line 38 of file localpara.h.

#define psLOCAL   (&(adapter->sLocalPara))

Definition at line 31 of file localpara.h.

#define PWR_ACTIVE   0

Definition at line 61 of file localpara.h.

#define PWR_SAVE   1

Definition at line 62 of file localpara.h.

#define PWR_TX_IDLE_CYCLE   6

Definition at line 63 of file localpara.h.

#define REGION_AUTO   0xff

Definition at line 70 of file localpara.h.

#define REGION_EUROPE   1 /* ETSI */

Definition at line 72 of file localpara.h.

#define REGION_FRANCE   4 /* FRANCE */

Definition at line 75 of file localpara.h.

#define REGION_ISRAEL   6 /* ISRAEL */

Definition at line 77 of file localpara.h.

#define REGION_JAPAN   2 /* MKK */

Definition at line 73 of file localpara.h.

#define REGION_SPAIN   5 /* SPAIN */

Definition at line 76 of file localpara.h.

#define REGION_UNKNOWN   0

Definition at line 71 of file localpara.h.

#define REGION_USA   3 /* FCC */

Definition at line 74 of file localpara.h.