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

Go to the source code of this file.

Macros

#define FIRMWARE_RT2870   "rt2870.bin"
 
#define FIRMWARE_IMAGE_BASE   0x3000
 
#define TXINFO_DESC_SIZE   (1 * sizeof(__le32))
 
#define RXINFO_DESC_SIZE   (1 * sizeof(__le32))
 
#define TXINFO_W0_USB_DMA_TX_PKT_LEN   FIELD32(0x0000ffff)
 
#define TXINFO_W0_WIV   FIELD32(0x01000000)
 
#define TXINFO_W0_QSEL   FIELD32(0x06000000)
 
#define TXINFO_W0_SW_USE_LAST_ROUND   FIELD32(0x08000000)
 
#define TXINFO_W0_USB_DMA_NEXT_VALID   FIELD32(0x40000000)
 
#define TXINFO_W0_USB_DMA_TX_BURST   FIELD32(0x80000000)
 
#define RXINFO_W0_USB_DMA_RX_PKT_LEN   FIELD32(0x0000ffff)
 
#define RXD_W0_BA   FIELD32(0x00000001)
 
#define RXD_W0_DATA   FIELD32(0x00000002)
 
#define RXD_W0_NULLDATA   FIELD32(0x00000004)
 
#define RXD_W0_FRAG   FIELD32(0x00000008)
 
#define RXD_W0_UNICAST_TO_ME   FIELD32(0x00000010)
 
#define RXD_W0_MULTICAST   FIELD32(0x00000020)
 
#define RXD_W0_BROADCAST   FIELD32(0x00000040)
 
#define RXD_W0_MY_BSS   FIELD32(0x00000080)
 
#define RXD_W0_CRC_ERROR   FIELD32(0x00000100)
 
#define RXD_W0_CIPHER_ERROR   FIELD32(0x00000600)
 
#define RXD_W0_AMSDU   FIELD32(0x00000800)
 
#define RXD_W0_HTC   FIELD32(0x00001000)
 
#define RXD_W0_RSSI   FIELD32(0x00002000)
 
#define RXD_W0_L2PAD   FIELD32(0x00004000)
 
#define RXD_W0_AMPDU   FIELD32(0x00008000)
 
#define RXD_W0_DECRYPTED   FIELD32(0x00010000)
 
#define RXD_W0_PLCP_RSSI   FIELD32(0x00020000)
 
#define RXD_W0_CIPHER_ALG   FIELD32(0x00040000)
 
#define RXD_W0_LAST_AMSDU   FIELD32(0x00080000)
 
#define RXD_W0_PLCP_SIGNAL   FIELD32(0xfff00000)
 

Macro Definition Documentation

#define FIRMWARE_IMAGE_BASE   0x3000

Definition at line 38 of file rt2800usb.h.

#define FIRMWARE_RT2870   "rt2870.bin"

Definition at line 37 of file rt2800usb.h.

#define RXD_W0_AMPDU   FIELD32(0x00008000)

Definition at line 105 of file rt2800usb.h.

#define RXD_W0_AMSDU   FIELD32(0x00000800)

Definition at line 101 of file rt2800usb.h.

#define RXD_W0_BA   FIELD32(0x00000001)

Definition at line 91 of file rt2800usb.h.

#define RXD_W0_BROADCAST   FIELD32(0x00000040)

Definition at line 97 of file rt2800usb.h.

#define RXD_W0_CIPHER_ALG   FIELD32(0x00040000)

Definition at line 108 of file rt2800usb.h.

#define RXD_W0_CIPHER_ERROR   FIELD32(0x00000600)

Definition at line 100 of file rt2800usb.h.

#define RXD_W0_CRC_ERROR   FIELD32(0x00000100)

Definition at line 99 of file rt2800usb.h.

#define RXD_W0_DATA   FIELD32(0x00000002)

Definition at line 92 of file rt2800usb.h.

#define RXD_W0_DECRYPTED   FIELD32(0x00010000)

Definition at line 106 of file rt2800usb.h.

#define RXD_W0_FRAG   FIELD32(0x00000008)

Definition at line 94 of file rt2800usb.h.

#define RXD_W0_HTC   FIELD32(0x00001000)

Definition at line 102 of file rt2800usb.h.

#define RXD_W0_L2PAD   FIELD32(0x00004000)

Definition at line 104 of file rt2800usb.h.

#define RXD_W0_LAST_AMSDU   FIELD32(0x00080000)

Definition at line 109 of file rt2800usb.h.

#define RXD_W0_MULTICAST   FIELD32(0x00000020)

Definition at line 96 of file rt2800usb.h.

#define RXD_W0_MY_BSS   FIELD32(0x00000080)

Definition at line 98 of file rt2800usb.h.

#define RXD_W0_NULLDATA   FIELD32(0x00000004)

Definition at line 93 of file rt2800usb.h.

#define RXD_W0_PLCP_RSSI   FIELD32(0x00020000)

Definition at line 107 of file rt2800usb.h.

#define RXD_W0_PLCP_SIGNAL   FIELD32(0xfff00000)

Definition at line 110 of file rt2800usb.h.

#define RXD_W0_RSSI   FIELD32(0x00002000)

Definition at line 103 of file rt2800usb.h.

#define RXD_W0_UNICAST_TO_ME   FIELD32(0x00000010)

Definition at line 95 of file rt2800usb.h.

#define RXINFO_DESC_SIZE   (1 * sizeof(__le32))

Definition at line 44 of file rt2800usb.h.

#define RXINFO_W0_USB_DMA_RX_PKT_LEN   FIELD32(0x0000ffff)

Definition at line 74 of file rt2800usb.h.

#define TXINFO_DESC_SIZE   (1 * sizeof(__le32))

Definition at line 43 of file rt2800usb.h.

#define TXINFO_W0_QSEL   FIELD32(0x06000000)

Definition at line 61 of file rt2800usb.h.

#define TXINFO_W0_SW_USE_LAST_ROUND   FIELD32(0x08000000)

Definition at line 62 of file rt2800usb.h.

#define TXINFO_W0_USB_DMA_NEXT_VALID   FIELD32(0x40000000)

Definition at line 63 of file rt2800usb.h.

#define TXINFO_W0_USB_DMA_TX_BURST   FIELD32(0x80000000)

Definition at line 64 of file rt2800usb.h.

#define TXINFO_W0_USB_DMA_TX_PKT_LEN   FIELD32(0x0000ffff)

Definition at line 59 of file rt2800usb.h.

#define TXINFO_W0_WIV   FIELD32(0x01000000)

Definition at line 60 of file rt2800usb.h.