Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Variables
at76c50x-usb.h File Reference

Go to the source code of this file.

Data Structures

struct  hwcfg_r505
 
struct  hwcfg_rfmd
 
struct  hwcfg_intersil
 
union  at76_hwcfg
 
struct  at76_card_config
 
struct  at76_command
 
struct  at76_rx_buffer
 
struct  at76_tx_buffer
 
struct  at76_req_scan
 
struct  at76_req_ibss
 
struct  at76_req_join
 
struct  set_mib_buffer
 
struct  mib_local
 
struct  mib_mac_addr
 
struct  mib_mac
 
struct  mib_mac_mgmt
 
struct  mib_mac_wep
 
struct  mib_phy
 
struct  mib_fw_version
 
struct  mib_mdomain
 
struct  at76_fw_header
 
struct  reg_domain
 
struct  fwentry
 
struct  at76_priv
 

Macros

#define CMD_STATUS_IDLE   0x00
 
#define CMD_STATUS_COMPLETE   0x01
 
#define CMD_STATUS_UNKNOWN   0x02
 
#define CMD_STATUS_INVALID_PARAMETER   0x03
 
#define CMD_STATUS_FUNCTION_NOT_SUPPORTED   0x04
 
#define CMD_STATUS_TIME_OUT   0x07
 
#define CMD_STATUS_IN_PROGRESS   0x08
 
#define CMD_STATUS_HOST_FAILURE   0xff
 
#define CMD_STATUS_SCAN_FAILED   0xf0
 
#define OPMODE_NONE   0x00
 
#define OPMODE_NORMAL_NIC_WITH_FLASH   0x01
 
#define OPMODE_HW_CONFIG_MODE   0x02
 
#define OPMODE_DFU_MODE_WITH_FLASH   0x03
 
#define OPMODE_NORMAL_NIC_WITHOUT_FLASH   0x04
 
#define CMD_SET_MIB   0x01
 
#define CMD_GET_MIB   0x02
 
#define CMD_SCAN   0x03
 
#define CMD_JOIN   0x04
 
#define CMD_START_IBSS   0x05
 
#define CMD_RADIO_ON   0x06
 
#define CMD_RADIO_OFF   0x07
 
#define CMD_STARTUP   0x0B
 
#define MIB_LOCAL   0x01
 
#define MIB_MAC_ADDR   0x02
 
#define MIB_MAC   0x03
 
#define MIB_MAC_MGMT   0x05
 
#define MIB_MAC_WEP   0x06
 
#define MIB_PHY   0x07
 
#define MIB_FW_VERSION   0x08
 
#define MIB_MDOMAIN   0x09
 
#define ADHOC_MODE   1
 
#define INFRASTRUCTURE_MODE   2
 
#define PREAMBLE_TYPE_LONG   0
 
#define PREAMBLE_TYPE_SHORT   1
 
#define PREAMBLE_TYPE_AUTO   2
 
#define TX_RATE_1MBIT   0
 
#define TX_RATE_2MBIT   1
 
#define TX_RATE_5_5MBIT   2
 
#define TX_RATE_11MBIT   3
 
#define TX_RATE_AUTO   4
 
#define AT76_PM_OFF   1
 
#define AT76_PM_ON   2
 
#define AT76_PM_SMART   3
 
#define WEP_SMALL_KEY_LEN   (40 / 8)
 
#define WEP_LARGE_KEY_LEN   (104 / 8)
 
#define WEP_KEYS   (4)
 
#define AT76_RX_HDRLEN   offsetof(struct at76_rx_buffer, packet)
 
#define AT76_TX_HDRLEN   offsetof(struct at76_tx_buffer, packet)
 
#define SCAN_TYPE_ACTIVE   0
 
#define SCAN_TYPE_PASSIVE   1
 
#define AT76_SUPPORTED_FILTERS   FIF_PROMISC_IN_BSS
 
#define SCAN_POLL_INTERVAL   (HZ / 4)
 
#define CMD_COMPLETION_TIMEOUT   (5 * HZ)
 
#define DEF_RTS_THRESHOLD   1536
 
#define DEF_FRAG_THRESHOLD   1536
 
#define DEF_SHORT_RETRY_LIMIT   8
 
#define DEF_CHANNEL   10
 
#define DEF_SCAN_MIN_TIME   10
 
#define DEF_SCAN_MAX_TIME   120
 
#define MAX_PADDING_SIZE   53
 

Enumerations

enum  board_type {
  BOARD_503_ISL3861 = 1, BOARD_503_ISL3863 = 2, BOARD_503 = 3, BOARD_503_ACC = 4,
  BOARD_505 = 5, BOARD_505_2958 = 6, BOARD_505A = 7, BOARD_505AMX = 8
}
 

Variables

struct hwcfg_r505 __packed
 

Macro Definition Documentation

#define ADHOC_MODE   1

Definition at line 72 of file at76c50x-usb.h.

#define AT76_PM_OFF   1

Definition at line 88 of file at76c50x-usb.h.

#define AT76_PM_ON   2

Definition at line 89 of file at76c50x-usb.h.

#define AT76_PM_SMART   3

Definition at line 90 of file at76c50x-usb.h.

#define AT76_RX_HDRLEN   offsetof(struct at76_rx_buffer, packet)

Definition at line 162 of file at76c50x-usb.h.

#define AT76_SUPPORTED_FILTERS   FIF_PROMISC_IN_BSS

Definition at line 448 of file at76c50x-usb.h.

#define AT76_TX_HDRLEN   offsetof(struct at76_tx_buffer, packet)

Definition at line 177 of file at76c50x-usb.h.

#define CMD_COMPLETION_TIMEOUT   (5 * HZ)

Definition at line 452 of file at76c50x-usb.h.

#define CMD_GET_MIB   0x02

Definition at line 55 of file at76c50x-usb.h.

#define CMD_JOIN   0x04

Definition at line 57 of file at76c50x-usb.h.

#define CMD_RADIO_OFF   0x07

Definition at line 60 of file at76c50x-usb.h.

#define CMD_RADIO_ON   0x06

Definition at line 59 of file at76c50x-usb.h.

#define CMD_SCAN   0x03

Definition at line 56 of file at76c50x-usb.h.

#define CMD_SET_MIB   0x01

Definition at line 54 of file at76c50x-usb.h.

#define CMD_START_IBSS   0x05

Definition at line 58 of file at76c50x-usb.h.

#define CMD_STARTUP   0x0B

Definition at line 61 of file at76c50x-usb.h.

#define CMD_STATUS_COMPLETE   0x01

Definition at line 38 of file at76c50x-usb.h.

#define CMD_STATUS_FUNCTION_NOT_SUPPORTED   0x04

Definition at line 41 of file at76c50x-usb.h.

#define CMD_STATUS_HOST_FAILURE   0xff

Definition at line 44 of file at76c50x-usb.h.

#define CMD_STATUS_IDLE   0x00

Definition at line 37 of file at76c50x-usb.h.

#define CMD_STATUS_IN_PROGRESS   0x08

Definition at line 43 of file at76c50x-usb.h.

#define CMD_STATUS_INVALID_PARAMETER   0x03

Definition at line 40 of file at76c50x-usb.h.

#define CMD_STATUS_SCAN_FAILED   0xf0

Definition at line 45 of file at76c50x-usb.h.

#define CMD_STATUS_TIME_OUT   0x07

Definition at line 42 of file at76c50x-usb.h.

#define CMD_STATUS_UNKNOWN   0x02

Definition at line 39 of file at76c50x-usb.h.

#define DEF_CHANNEL   10

Definition at line 457 of file at76c50x-usb.h.

#define DEF_FRAG_THRESHOLD   1536

Definition at line 455 of file at76c50x-usb.h.

#define DEF_RTS_THRESHOLD   1536

Definition at line 454 of file at76c50x-usb.h.

#define DEF_SCAN_MAX_TIME   120

Definition at line 459 of file at76c50x-usb.h.

#define DEF_SCAN_MIN_TIME   10

Definition at line 458 of file at76c50x-usb.h.

#define DEF_SHORT_RETRY_LIMIT   8

Definition at line 456 of file at76c50x-usb.h.

#define INFRASTRUCTURE_MODE   2

Definition at line 73 of file at76c50x-usb.h.

#define MAX_PADDING_SIZE   53

Definition at line 462 of file at76c50x-usb.h.

#define MIB_FW_VERSION   0x08

Definition at line 69 of file at76c50x-usb.h.

#define MIB_LOCAL   0x01

Definition at line 63 of file at76c50x-usb.h.

#define MIB_MAC   0x03

Definition at line 65 of file at76c50x-usb.h.

#define MIB_MAC_ADDR   0x02

Definition at line 64 of file at76c50x-usb.h.

#define MIB_MAC_MGMT   0x05

Definition at line 66 of file at76c50x-usb.h.

#define MIB_MAC_WEP   0x06

Definition at line 67 of file at76c50x-usb.h.

#define MIB_MDOMAIN   0x09

Definition at line 70 of file at76c50x-usb.h.

#define MIB_PHY   0x07

Definition at line 68 of file at76c50x-usb.h.

#define OPMODE_DFU_MODE_WITH_FLASH   0x03

Definition at line 51 of file at76c50x-usb.h.

#define OPMODE_HW_CONFIG_MODE   0x02

Definition at line 50 of file at76c50x-usb.h.

#define OPMODE_NONE   0x00

Definition at line 48 of file at76c50x-usb.h.

#define OPMODE_NORMAL_NIC_WITH_FLASH   0x01

Definition at line 49 of file at76c50x-usb.h.

#define OPMODE_NORMAL_NIC_WITHOUT_FLASH   0x04

Definition at line 52 of file at76c50x-usb.h.

#define PREAMBLE_TYPE_AUTO   2

Definition at line 78 of file at76c50x-usb.h.

#define PREAMBLE_TYPE_LONG   0

Definition at line 76 of file at76c50x-usb.h.

#define PREAMBLE_TYPE_SHORT   1

Definition at line 77 of file at76c50x-usb.h.

#define SCAN_POLL_INTERVAL   (HZ / 4)

Definition at line 450 of file at76c50x-usb.h.

#define SCAN_TYPE_ACTIVE   0

Definition at line 188 of file at76c50x-usb.h.

#define SCAN_TYPE_PASSIVE   1

Definition at line 189 of file at76c50x-usb.h.

#define TX_RATE_11MBIT   3

Definition at line 84 of file at76c50x-usb.h.

#define TX_RATE_1MBIT   0

Definition at line 81 of file at76c50x-usb.h.

#define TX_RATE_2MBIT   1

Definition at line 82 of file at76c50x-usb.h.

#define TX_RATE_5_5MBIT   2

Definition at line 83 of file at76c50x-usb.h.

#define TX_RATE_AUTO   4

Definition at line 85 of file at76c50x-usb.h.

#define WEP_KEYS   (4)

Definition at line 133 of file at76c50x-usb.h.

#define WEP_LARGE_KEY_LEN   (104 / 8)

Definition at line 132 of file at76c50x-usb.h.

#define WEP_SMALL_KEY_LEN   (40 / 8)

Definition at line 131 of file at76c50x-usb.h.

Enumeration Type Documentation

enum board_type
Enumerator:
BOARD_503_ISL3861 
BOARD_503_ISL3863 
BOARD_503 
BOARD_503_ACC 
BOARD_505 
BOARD_505_2958 
BOARD_505A 
BOARD_505AMX 

Definition at line 26 of file at76c50x-usb.h.

Variable Documentation