FreeBSD kernel usb device Code
if_urtwreg.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  urtw_8187b_rxhdr
 
struct  urtw_8187b_txhdr
 
struct  urtw_8187l_rxhdr
 
struct  urtw_8187l_txhdr
 

Macros

#define URTW_CONFIG_INDEX   0
 
#define URTW_IFACE_INDEX   0
 
#define URTW_MAC0   0x0000 /* 1 byte */
 
#define URTW_MAC1   0x0001 /* 1 byte */
 
#define URTW_MAC2   0x0002 /* 1 byte */
 
#define URTW_MAC3   0x0003 /* 1 byte */
 
#define URTW_MAC4   0x0004 /* 1 byte */
 
#define URTW_MAC5   0x0005 /* 1 byte */
 
#define URTW_MAR   0x0008 /* 6 byte */
 
#define URTW_RXFIFO_CNT   0x0010 /* 1 byte */
 
#define URTW_TXFIFO_CNT   0x0012 /* 1 byte */
 
#define URTW_BQREQ   0x0013 /* 1 byte */
 
#define URTW_TSFT   0x0018 /* 6 byte */
 
#define URTW_TLPDA   0x0020 /* 4 byte */
 
#define URTW_TNPDA   0x0024 /* 4 byte */
 
#define URTW_THPDA   0x0028 /* 4 byte */
 
#define URTW_BRSR   0x002c /* 2 byte */
 
#define URTW_BRSR_MBR_8185   (0x0fff)
 
#define URTW_8187B_EIFS   0x002d /* 1 byte for 8187B */
 
#define URTW_BSSID   0x002e /* 6 byte */
 
#define URTW_BRSR_8187B   0x0034 /* 2 byte for 8187B */
 
#define URTW_RESP_RATE   0x0034 /* 1 byte for 8187L */
 
#define URTW_RESP_MAX_RATE_SHIFT   (4)
 
#define URTW_RESP_MIN_RATE_SHIFT   (0)
 
#define URTW_EIFS   0x0035 /* 1 byte */
 
#define URTW_CMD   0x0037 /* 1 byte */
 
#define URTW_CMD_TX_ENABLE   (0x4)
 
#define URTW_CMD_RX_ENABLE   (0x8)
 
#define URTW_CMD_RST   (0x10)
 
#define URTW_INTR_MASK   0x003c /* 2 byte */
 
#define URTW_INTR_STATUS   0x003e /* 2 byte */
 
#define URTW_TX_CONF   0x0040 /* 4 byte */
 
#define URTW_TX_LOOPBACK_SHIFT   (17)
 
#define URTW_TX_LOOPBACK_NONE   (0 << URTW_TX_LOOPBACK_SHIFT)
 
#define URTW_TX_LOOPBACK_MAC   (1 << URTW_TX_LOOPBACK_SHIFT)
 
#define URTW_TX_LOOPBACK_BASEBAND   (2 << URTW_TX_LOOPBACK_SHIFT)
 
#define URTW_TX_LOOPBACK_CONTINUE   (3 << URTW_TX_LOOPBACK_SHIFT)
 
#define URTW_TX_LOOPBACK_MASK   (0x60000)
 
#define URTW_TX_DPRETRY_MASK   (0xff00)
 
#define URTW_TX_RTSRETRY_MASK   (0xff)
 
#define URTW_TX_DPRETRY_SHIFT   (0)
 
#define URTW_TX_RTSRETRY_SHIFT   (8)
 
#define URTW_TX_NOCRC   (0x10000)
 
#define URTW_TX_MXDMA_MASK   (0xe00000)
 
#define URTW_TX_MXDMA_1024   (6 << URTW_TX_MXDMA_SHIFT)
 
#define URTW_TX_MXDMA_2048   (7 << URTW_TX_MXDMA_SHIFT)
 
#define URTW_TX_MXDMA_SHIFT   (21)
 
#define URTW_TX_DISCW   (1 << 20)
 
#define URTW_TX_SWPLCPLEN   (1 << 24)
 
#define URTW_TX_R8187vD   (5 << 25)
 
#define URTW_TX_R8187vD_B   (6 << 25)
 
#define URTW_TX_HWMASK   (7 << 25)
 
#define URTW_TX_DISREQQSIZE   (1 << 28)
 
#define URTW_TX_HW_SEQNUM   (1 << 30)
 
#define URTW_TX_CWMIN   (1U << 31)
 
#define URTW_TX_NOICV   (0x80000)
 
#define URTW_RX   0x0044 /* 4 byte */
 
#define URTW_RX_9356SEL   (1 << 6)
 
#define URTW_RX_FILTER_MASK
 
#define URTW_RX_FILTER_ALLMAC   (0x00000001)
 
#define URTW_RX_FILTER_NICMAC   (0x00000002)
 
#define URTW_RX_FILTER_MCAST   (0x00000004)
 
#define URTW_RX_FILTER_BCAST   (0x00000008)
 
#define URTW_RX_FILTER_CRCERR   (0x00000020)
 
#define URTW_RX_FILTER_ICVERR   (0x00001000)
 
#define URTW_RX_FILTER_DATA   (0x00040000)
 
#define URTW_RX_FILTER_CTL   (0x00080000)
 
#define URTW_RX_FILTER_MNG   (0x00100000)
 
#define URTW_RX_FILTER_PWR   (0x00400000)
 
#define URTW_RX_CHECK_BSSID   (0x00800000)
 
#define URTW_RX_FIFO_THRESHOLD_MASK   ((1 << 13) | (1 << 14) | (1 << 15))
 
#define URTW_RX_FIFO_THRESHOLD_SHIFT   (13)
 
#define URTW_RX_FIFO_THRESHOLD_128   (3)
 
#define URTW_RX_FIFO_THRESHOLD_256   (4)
 
#define URTW_RX_FIFO_THRESHOLD_512   (5)
 
#define URTW_RX_FIFO_THRESHOLD_1024   (6)
 
#define URTW_RX_FIFO_THRESHOLD_NONE   (7 << URTW_RX_FIFO_THRESHOLD_SHIFT)
 
#define URTW_RX_AUTORESETPHY   (1 << URTW_RX_AUTORESETPHY_SHIFT)
 
#define URTW_RX_AUTORESETPHY_SHIFT   (28)
 
#define URTW_MAX_RX_DMA_MASK   ((1<<8) | (1<<9) | (1<<10))
 
#define URTW_MAX_RX_DMA_2048   (7 << URTW_MAX_RX_DMA_SHIFT)
 
#define URTW_MAX_RX_DMA_1024   (6)
 
#define URTW_MAX_RX_DMA_SHIFT   (10)
 
#define URTW_RCR_ONLYERLPKT   (1U << 31)
 
#define URTW_INT_TIMEOUT   0x0048 /* 4 byte */
 
#define URTW_INT_TBDA   0x004c /* 4 byte */
 
#define URTW_EPROM_CMD   0x0050 /* 1 byte */
 
#define URTW_EPROM_CMD_NORMAL   (0x0)
 
#define URTW_EPROM_CMD_NORMAL_MODE    (URTW_EPROM_CMD_NORMAL << URTW_EPROM_CMD_SHIFT)
 
#define URTW_EPROM_CMD_LOAD   (0x1)
 
#define URTW_EPROM_CMD_PROGRAM   (0x2)
 
#define URTW_EPROM_CMD_PROGRAM_MODE    (URTW_EPROM_CMD_PROGRAM << URTW_EPROM_CMD_SHIFT)
 
#define URTW_EPROM_CMD_CONFIG   (0x3)
 
#define URTW_EPROM_CMD_SHIFT   (6)
 
#define URTW_EPROM_CMD_MASK   ((1 << 7) | (1 << 6))
 
#define URTW_EPROM_READBIT   (0x1)
 
#define URTW_EPROM_WRITEBIT   (0x2)
 
#define URTW_EPROM_CK   (0x4)
 
#define URTW_EPROM_CS   (0x8)
 
#define URTW_CONFIG0   0x0051 /* 1 byte */
 
#define URTW_CONFIG1   0x0052 /* 1 byte */
 
#define URTW_CONFIG2   0x0053 /* 1 byte */
 
#define URTW_ANAPARAM   0x0054 /* 4 byte */
 
#define URTW_8225_ANAPARAM_ON   (0xa0000a59)
 
#define URTW_8225_ANAPARAM_OFF   (0xa00beb59)
 
#define URTW_8187B_8225_ANAPARAM_ON   (0x45090658)
 
#define URTW_8187B_8225_ANAPARAM_OFF   (0x55480658)
 
#define URTW_MSR   0x0058 /* 1 byte */
 
#define URTW_MSR_LINK_MASK   ((1 << 2) | (1 << 3))
 
#define URTW_MSR_LINK_SHIFT   (2)
 
#define URTW_MSR_LINK_NONE   (0 << URTW_MSR_LINK_SHIFT)
 
#define URTW_MSR_LINK_ADHOC   (1 << URTW_MSR_LINK_SHIFT)
 
#define URTW_MSR_LINK_STA   (2 << URTW_MSR_LINK_SHIFT)
 
#define URTW_MSR_LINK_HOSTAP   (3 << URTW_MSR_LINK_SHIFT)
 
#define URTW_MSR_LINK_ENEDCA   (1 << 4)
 
#define URTW_CONFIG3   0x0059 /* 1 byte */
 
#define URTW_CONFIG3_ANAPARAM_WRITE   (0x40)
 
#define URTW_CONFIG3_GNT_SELECT   (0x80)
 
#define URTW_CONFIG3_ANAPARAM_W_SHIFT   (6)
 
#define URTW_CONFIG4   0x005a /* 1 byte */
 
#define URTW_CONFIG4_VCOOFF   (1 << 7)
 
#define URTW_TESTR   0x005b /* 1 byte */
 
#define URTW_PSR   0x005e /* 1 byte */
 
#define URTW_SECURITY   0x005f /* 1 byte */
 
#define URTW_ANAPARAM2   0x0060 /* 4 byte */
 
#define URTW_8225_ANAPARAM2_ON   (0x860c7312)
 
#define URTW_8225_ANAPARAM2_OFF   (0x840dec11)
 
#define URTW_8187B_8225_ANAPARAM2_ON   (0x727f3f52)
 
#define URTW_8187B_8225_ANAPARAM2_OFF   (0x72003f50)
 
#define URTW_BEACON_INTERVAL   0x0070 /* 2 byte */
 
#define URTW_ATIM_WND   0x0072 /* 2 byte */
 
#define URTW_BEACON_INTERVAL_TIME   0x0074 /* 2 byte */
 
#define URTW_ATIM_TR_ITV   0x0076 /* 2 byte */
 
#define URTW_PHY_DELAY   0x0078 /* 1 byte */
 
#define URTW_CARRIER_SCOUNT   0x0079 /* 1 byte */
 
#define URTW_PHY_MAGIC1   0x007c /* 1 byte */
 
#define URTW_PHY_MAGIC2   0x007d /* 1 byte */
 
#define URTW_PHY_MAGIC3   0x007e /* 1 byte */
 
#define URTW_PHY_MAGIC4   0x007f /* 1 byte */
 
#define URTW_RF_PINS_OUTPUT   0x0080 /* 2 byte */
 
#define URTW_RF_PINS_OUTPUT_MAGIC1   (0x3a0)
 
#define URTW_BB_HOST_BANG_CLK   (1 << 1)
 
#define URTW_BB_HOST_BANG_EN   (1 << 2)
 
#define URTW_BB_HOST_BANG_RW   (1 << 3)
 
#define URTW_RF_PINS_ENABLE   0x0082 /* 2 byte */
 
#define URTW_RF_PINS_SELECT   0x0084 /* 2 byte */
 
#define URTW_ADDR_MAGIC1   0x0085 /* broken? */
 
#define URTW_RF_PINS_INPUT   0x0086 /* 2 byte */
 
#define URTW_RF_PINS_MAGIC1   (0xfff3)
 
#define URTW_RF_PINS_MAGIC2   (0xfff0)
 
#define URTW_RF_PINS_MAGIC3   (0x0007)
 
#define URTW_RF_PINS_MAGIC4   (0xf)
 
#define URTW_RF_PINS_MAGIC5   (0x0080)
 
#define URTW_RF_PARA   0x0088 /* 4 byte */
 
#define URTW_RF_TIMING   0x008c /* 4 byte */
 
#define URTW_GP_ENABLE   0x0090 /* 1 byte */
 
#define URTW_GP_ENABLE_DATA_MAGIC1   (0x1)
 
#define URTW_GPIO   0x0091 /* 1 byte */
 
#define URTW_GPIO_DATA_MAGIC1   (0x1)
 
#define URTW_HSSI_PARA   0x0094 /* 4 byte */
 
#define URTW_TX_AGC_CTL   0x009c /* 1 byte */
 
#define URTW_TX_AGC_CTL_PERPACKET_GAIN   (0x1)
 
#define URTW_TX_AGC_CTL_PERPACKET_ANTSEL   (0x2)
 
#define URTW_TX_AGC_CTL_FEEDBACK_ANT   (0x4)
 
#define URTW_TX_GAIN_CCK   0x009d /* 1 byte */
 
#define URTW_TX_GAIN_OFDM   0x009e /* 1 byte */
 
#define URTW_TX_ANTENNA   0x009f /* 1 byte */
 
#define URTW_WPA_CONFIG   0x00b0 /* 1 byte */
 
#define URTW_SIFS   0x00b4 /* 1 byte */
 
#define URTW_DIFS   0x00b5 /* 1 byte */
 
#define URTW_SLOT   0x00b6 /* 1 byte */
 
#define URTW_CW_CONF   0x00bc /* 1 byte */
 
#define URTW_CW_CONF_PERPACKET_RETRY   (0x2)
 
#define URTW_CW_CONF_PERPACKET_CW   (0x1)
 
#define URTW_CW_VAL   0x00bd /* 1 byte */
 
#define URTW_RATE_FALLBACK   0x00be /* 1 byte */
 
#define URTW_RATE_FALLBACK_ENABLE   (0x80)
 
#define URTW_ACM_CONTROL   0x00bf /* 1 byte */
 
#define URTW_CONFIG5   0x00d8 /* 1 byte */
 
#define URTW_TXDMA_POLLING   0x00d9 /* 1 byte */
 
#define URTW_CWR   0x00dc /* 2 byte */
 
#define URTW_RETRY_CTR   0x00de /* 1 byte */
 
#define URTW_INT_MIG   0x00e2 /* 2 byte */
 
#define URTW_RDSAR   0x00e4 /* 4 byte */
 
#define URTW_TID_AC_MAP   0x00e8 /* 2 byte */
 
#define URTW_ANAPARAM3   0x00ee /* 1 byte */
 
#define URTW_8187B_8225_ANAPARAM3_ON   (0x0)
 
#define URTW_8187B_8225_ANAPARAM3_OFF   (0x0)
 
#define URTW_8187B_AC_VO   0x00f0 /* 4 byte for 8187B */
 
#define URTW_FEMR   0x00f4 /* 2 byte */
 
#define URTW_8187B_AC_VI   0x00f4 /* 4 byte for 8187B */
 
#define URTW_8187B_AC_BE   0x00f8 /* 4 byte for 8187B */
 
#define URTW_TALLY_CNT   0x00fa /* 2 byte */
 
#define URTW_TALLY_SEL   0x00fc /* 1 byte */
 
#define URTW_8187B_AC_BK   0x00fc /* 4 byte for 8187B */
 
#define URTW_ADDR_MAGIC2   0x00fe /* 2 byte */
 
#define URTW_ADDR_MAGIC3   0x00ff /* 1 byte */
 
#define URTW_8225_ADDR_0_MAGIC   0x0
 
#define URTW_8225_ADDR_0_DATA_MAGIC1   (0x1b7)
 
#define URTW_8225_ADDR_0_DATA_MAGIC2   (0x0b7)
 
#define URTW_8225_ADDR_0_DATA_MAGIC3   (0x127)
 
#define URTW_8225_ADDR_0_DATA_MAGIC4   (0x027)
 
#define URTW_8225_ADDR_0_DATA_MAGIC5   (0x22f)
 
#define URTW_8225_ADDR_0_DATA_MAGIC6   (0x2bf)
 
#define URTW_8225_ADDR_1_MAGIC   0x1
 
#define URTW_8225_ADDR_2_MAGIC   0x2
 
#define URTW_8225_ADDR_2_DATA_MAGIC1   (0xc4d)
 
#define URTW_8225_ADDR_2_DATA_MAGIC2   (0x44d)
 
#define URTW_8225_ADDR_3_MAGIC   0x3
 
#define URTW_8225_ADDR_3_DATA_MAGIC1   (0x2)
 
#define URTW_8225_ADDR_5_MAGIC   0x5
 
#define URTW_8225_ADDR_5_DATA_MAGIC1   (0x4)
 
#define URTW_8225_ADDR_6_MAGIC   0x6
 
#define URTW_8225_ADDR_6_DATA_MAGIC1   (0xe6)
 
#define URTW_8225_ADDR_6_DATA_MAGIC2   (0x80)
 
#define URTW_8225_ADDR_7_MAGIC   0x7
 
#define URTW_8225_ADDR_8_MAGIC   0x8
 
#define URTW_8225_ADDR_8_DATA_MAGIC1   (0x588)
 
#define URTW_8225_ADDR_9_MAGIC   0x9
 
#define URTW_8225_ADDR_9_DATA_MAGIC1   (0x700)
 
#define URTW_8225_ADDR_C_MAGIC   0xc
 
#define URTW_8225_ADDR_C_DATA_MAGIC1   (0x850)
 
#define URTW_8225_ADDR_C_DATA_MAGIC2   (0x050)
 
#define URTW_EPROM_CHANPLAN   0x03
 
#define URTW_EPROM_CHANPLAN_BY_HW   (0x80)
 
#define URTW_EPROM_TXPW_BASE   0x05
 
#define URTW_EPROM_RFCHIPID   0x06
 
#define URTW_EPROM_RFCHIPID_RTL8225U   (5)
 
#define URTW_EPROM_RFCHIPID_RTL8225Z2   (6)
 
#define URTW_EPROM_MACADDR   0x07
 
#define URTW_EPROM_TXPW0   0x16
 
#define URTW_EPROM_TXPW2   0x1b
 
#define URTW_EPROM_TXPW1   0x3d
 
#define URTW_EPROM_SWREV   0x3f
 
#define URTW_EPROM_CID_MASK   (0xff)
 
#define URTW_EPROM_CID_RSVD0   (0x00)
 
#define URTW_EPROM_CID_RSVD1   (0xff)
 
#define URTW_EPROM_CID_ALPHA0   (0x01)
 
#define URTW_EPROM_CID_SERCOMM_PS   (0x02)
 
#define URTW_EPROM_CID_HW_LED   (0x03)
 
#define URTW_CID_DEFAULT   0
 
#define URTW_CID_8187_ALPHA0   1
 
#define URTW_CID_8187_SERCOMM_PS   2
 
#define URTW_CID_8187_HW_LED   3
 
#define URTW_SW_LED_MODE0   0
 
#define URTW_SW_LED_MODE1   1
 
#define URTW_SW_LED_MODE2   2
 
#define URTW_SW_LED_MODE3   3
 
#define URTW_HW_LED   4
 
#define URTW_LED_CTL_POWER_ON   0
 
#define URTW_LED_CTL_LINK   2
 
#define URTW_LED_CTL_TX   4
 
#define URTW_LED_PIN_GPIO0   0
 
#define URTW_LED_PIN_LED0   1
 
#define URTW_LED_PIN_LED1   2
 
#define URTW_LED_UNKNOWN   0
 
#define URTW_LED_ON   1
 
#define URTW_LED_OFF   2
 
#define URTW_LED_BLINK_NORMAL   3
 
#define URTW_LED_BLINK_SLOWLY   4
 
#define URTW_LED_POWER_ON_BLINK   5
 
#define URTW_LED_SCAN_BLINK   6
 
#define URTW_LED_NO_LINK_BLINK   7
 
#define URTW_LED_BLINK_CM3   8
 
#define URTW_EPROM_DISABLE   0
 
#define URTW_EPROM_ENABLE   1
 
#define URTW_EPROM_DELAY   10
 
#define URTW_8187_GETREGS_REQ   5
 
#define URTW_8187_SETREGS_REQ   5
 
#define URTW_8225_RF_MAX_SENS   6
 
#define URTW_8225_RF_DEF_SENS   4
 
#define URTW_DEFAULT_RTS_RETRY   7
 
#define URTW_DEFAULT_TX_RETRY   7
 
#define URTW_DEFAULT_RTS_THRESHOLD   2342U
 
#define URTW_ASIFS_TIME   10
 
#define URTW_ACKCTS_LEN   14 /* len for ACK and CTS */
 
#define URTW_RX_FLAG_LEN   /* 0 ~ 11 bits */
 
#define URTW_RX_FLAG_ICV_ERR   (1 << 12)
 
#define URTW_RX_FLAG_CRC32_ERR   (1 << 13)
 
#define URTW_RX_FLAG_PM   (1 << 14)
 
#define URTW_RX_FLAG_RX_ERR   (1 << 15)
 
#define URTW_RX_FLAG_BCAST   (1 << 16)
 
#define URTW_RX_FLAG_PAM   (1 << 17)
 
#define URTW_RX_FLAG_MCAST   (1 << 18)
 
#define URTW_RX_FLAG_QOS   (1 << 19) /* only for RTL8187B */
 
#define URTW_RX_FLAG_RXRATE   /* 20 ~ 23 bits */
 
#define URTW_RX_FLAG_RXRATE_SHIFT   20
 
#define URTW_RX_FLAG_TRSW   (1 << 24) /* only for RTL8187B */
 
#define URTW_RX_FLAG_SPLCP   (1 << 25)
 
#define URTW_RX_FLAG_FOF   (1 << 26)
 
#define URTW_RX_FLAG_DMA_FAIL   (1 << 27)
 
#define URTW_RX_FLAG_LAST   (1 << 28)
 
#define URTW_RX_FLAG_FIRST   (1 << 29)
 
#define URTW_RX_FLAG_EOR   (1 << 30)
 
#define URTW_RX_FLAG_OWN   (1U << 31)
 
#define URTW_RX_RSSI   /* 0 ~ 6 bits */
 
#define URTW_RX_RSSI_MASK   0x3f
 
#define URTW_RX_ANTENNA   (1 << 7)
 
#define URTW_RX_FLAG2_DECRYPTED   (1 << 0)
 
#define URTW_RX_FLAG2_WAKUP   (1 << 1)
 
#define URTW_RX_FLAG2_SHIFT   (1 << 2)
 
#define URTW_RX_FLAG2_RSVD0   /* 3 ~ 7 bits */
 
#define URTW_RX_FLAG3_NUMMCSI   /* 0 ~ 3 bits */
 
#define URTW_RX_FLAG3_SNR_L2E   /* 4 ~ 9 bits */
 
#define URTW_RX_FLAG3_CFO_BIAS   /* 10 ~ 15 bits */
 
#define URTW_TX_FLAG_PKTLEN   /* 0 ~ 11 bits */
 
#define URTW_TX_FLAG_RSVD0   /* 12 ~ 14 bits */
 
#define URTW_TX_FLAG_NO_ENC   (1 << 15)
 
#define URTW_TX_FLAG_SPLCP   (1 << 16)
 
#define URTW_TX_FLAG_MOREFRAG   (1 << 17)
 
#define URTW_TX_FLAG_CTS   (1 << 18)
 
#define URTW_TX_FLAG_RTSRATE   /* 19 ~ 22 bits */
 
#define URTW_TX_FLAG_RTSRATE_SHIFT   19
 
#define URTW_TX_FLAG_RTS   (1 << 23)
 
#define URTW_TX_FLAG_TXRATE   /* 24 ~ 27 bits */
 
#define URTW_TX_FLAG_TXRATE_SHIFT   24
 
#define URTW_TX_FLAG_LAST   (1 << 28)
 
#define URTW_TX_FLAG_FIRST   (1 << 29)
 
#define URTW_TX_FLAG_DMA   (1 << 30)
 
#define URTW_TX_FLAG_OWN   (1U << 31)
 
#define URTW_TX_LEN   /* 0 ~ 14 bits */
 
#define URTW_TX_LEN_EXT   (1 << 15)
 
#define URTW_TX_FLAG1_RXLEN   /* 0 ~ 11 bits */
 
#define URTW_TX_FLAG1_RSVD0   /* 12 ~ 14 bits */
 
#define URTW_TX_FLAG1_MICCAL   (1 << 15)
 
#define URTW_TX_FLAG2_RTDB   (1 << 0)
 
#define URTW_TX_FLAG2_NOACM   (1 << 1)
 
#define URTW_TX_FLAG2_PIFS   (1 << 2)
 
#define URTW_TX_FLAG2_RSVD0   /* 3 ~ 6 bits */
 
#define URTW_TX_FLAG2_RTSRATEFALLBACK   /* 7 ~ 10 bits */
 
#define URTW_TX_FLAG2_RATEFALLBACK   /* 11 ~ 15 bits */
 
#define URTW_TX_FLAG3_RSVD0   /* 0 ~ 3 bits */
 
#define URTW_TX_FLAG3_AGC   /* 4 ~ 11 bits */
 
#define URTW_TX_FLAG3_ANTENNA   (1 << 12)
 
#define URTW_TX_FLAG3_SPC   /* 13 ~ 14 bits */
 
#define URTW_TX_FLAG3_RSVD1   (1 << 15)
 
#define URTW_TX_FLAG4_LENADJUST   /* 0 ~ 1 bits */
 
#define URTW_TX_FLAG4_RSVD0   (1 << 2)
 
#define URTW_TX_FLAG4_TPCDESEN   (1 << 3)
 
#define URTW_TX_FLAG4_TPCPOLARITY   /* 4 ~ 5 bits */
 
#define URTW_TX_FLAG4_TPCEN   (1 << 6)
 
#define URTW_TX_FLAG4_PTEN   (1 << 7)
 
#define URTW_TX_FLAG4_BCKEY   /* 8 ~ 13 bits */
 
#define URTW_TX_FLAG4_ENBCKEY   (1 << 14)
 
#define URTW_TX_FLAG4_ENPMPD   (1 << 15)
 
#define URTW_TX_FLAG4_FRAGQSZ   /* 16 ~ 31 bits */
 
#define URTW_RX_8187L_RSSI   /* 0 ~ 6 bits */
 
#define URTW_RX_8187L_RSSI_MASK   0x3f
 
#define URTW_RX_8187L_ANTENNA   (1 << 7)
 
#define URTW_RX_8187L_DECRYPTED   (1 << 0)
 
#define URTW_RX_8187L_WAKEUP   (1 << 1)
 
#define URTW_RX_8187L_SHIFT   (1 << 2)
 
#define URTW_RX_8187L_RSVD0   /* 3 ~ 7 bits */
 

Variables

struct urtw_8187b_rxhdr __packed
 

Macro Definition Documentation

◆ URTW_8187_GETREGS_REQ

#define URTW_8187_GETREGS_REQ   5

Definition at line 303 of file if_urtwreg.h.

◆ URTW_8187_SETREGS_REQ

#define URTW_8187_SETREGS_REQ   5

Definition at line 304 of file if_urtwreg.h.

◆ URTW_8187B_8225_ANAPARAM2_OFF

#define URTW_8187B_8225_ANAPARAM2_OFF   (0x72003f50)

Definition at line 156 of file if_urtwreg.h.

◆ URTW_8187B_8225_ANAPARAM2_ON

#define URTW_8187B_8225_ANAPARAM2_ON   (0x727f3f52)

Definition at line 155 of file if_urtwreg.h.

◆ URTW_8187B_8225_ANAPARAM3_OFF

#define URTW_8187B_8225_ANAPARAM3_OFF   (0x0)

Definition at line 215 of file if_urtwreg.h.

◆ URTW_8187B_8225_ANAPARAM3_ON

#define URTW_8187B_8225_ANAPARAM3_ON   (0x0)

Definition at line 214 of file if_urtwreg.h.

◆ URTW_8187B_8225_ANAPARAM_OFF

#define URTW_8187B_8225_ANAPARAM_OFF   (0x55480658)

Definition at line 134 of file if_urtwreg.h.

◆ URTW_8187B_8225_ANAPARAM_ON

#define URTW_8187B_8225_ANAPARAM_ON   (0x45090658)

Definition at line 133 of file if_urtwreg.h.

◆ URTW_8187B_AC_BE

#define URTW_8187B_AC_BE   0x00f8 /* 4 byte for 8187B */

Definition at line 219 of file if_urtwreg.h.

◆ URTW_8187B_AC_BK

#define URTW_8187B_AC_BK   0x00fc /* 4 byte for 8187B */

Definition at line 222 of file if_urtwreg.h.

◆ URTW_8187B_AC_VI

#define URTW_8187B_AC_VI   0x00f4 /* 4 byte for 8187B */

Definition at line 218 of file if_urtwreg.h.

◆ URTW_8187B_AC_VO

#define URTW_8187B_AC_VO   0x00f0 /* 4 byte for 8187B */

Definition at line 216 of file if_urtwreg.h.

◆ URTW_8187B_EIFS

#define URTW_8187B_EIFS   0x002d /* 1 byte for 8187B */

Definition at line 39 of file if_urtwreg.h.

◆ URTW_8225_ADDR_0_DATA_MAGIC1

#define URTW_8225_ADDR_0_DATA_MAGIC1   (0x1b7)

Definition at line 228 of file if_urtwreg.h.

◆ URTW_8225_ADDR_0_DATA_MAGIC2

#define URTW_8225_ADDR_0_DATA_MAGIC2   (0x0b7)

Definition at line 229 of file if_urtwreg.h.

◆ URTW_8225_ADDR_0_DATA_MAGIC3

#define URTW_8225_ADDR_0_DATA_MAGIC3   (0x127)

Definition at line 230 of file if_urtwreg.h.

◆ URTW_8225_ADDR_0_DATA_MAGIC4

#define URTW_8225_ADDR_0_DATA_MAGIC4   (0x027)

Definition at line 231 of file if_urtwreg.h.

◆ URTW_8225_ADDR_0_DATA_MAGIC5

#define URTW_8225_ADDR_0_DATA_MAGIC5   (0x22f)

Definition at line 232 of file if_urtwreg.h.

◆ URTW_8225_ADDR_0_DATA_MAGIC6

#define URTW_8225_ADDR_0_DATA_MAGIC6   (0x2bf)

Definition at line 233 of file if_urtwreg.h.

◆ URTW_8225_ADDR_0_MAGIC

#define URTW_8225_ADDR_0_MAGIC   0x0

Definition at line 227 of file if_urtwreg.h.

◆ URTW_8225_ADDR_1_MAGIC

#define URTW_8225_ADDR_1_MAGIC   0x1

Definition at line 234 of file if_urtwreg.h.

◆ URTW_8225_ADDR_2_DATA_MAGIC1

#define URTW_8225_ADDR_2_DATA_MAGIC1   (0xc4d)

Definition at line 236 of file if_urtwreg.h.

◆ URTW_8225_ADDR_2_DATA_MAGIC2

#define URTW_8225_ADDR_2_DATA_MAGIC2   (0x44d)

Definition at line 237 of file if_urtwreg.h.

◆ URTW_8225_ADDR_2_MAGIC

#define URTW_8225_ADDR_2_MAGIC   0x2

Definition at line 235 of file if_urtwreg.h.

◆ URTW_8225_ADDR_3_DATA_MAGIC1

#define URTW_8225_ADDR_3_DATA_MAGIC1   (0x2)

Definition at line 239 of file if_urtwreg.h.

◆ URTW_8225_ADDR_3_MAGIC

#define URTW_8225_ADDR_3_MAGIC   0x3

Definition at line 238 of file if_urtwreg.h.

◆ URTW_8225_ADDR_5_DATA_MAGIC1

#define URTW_8225_ADDR_5_DATA_MAGIC1   (0x4)

Definition at line 241 of file if_urtwreg.h.

◆ URTW_8225_ADDR_5_MAGIC

#define URTW_8225_ADDR_5_MAGIC   0x5

Definition at line 240 of file if_urtwreg.h.

◆ URTW_8225_ADDR_6_DATA_MAGIC1

#define URTW_8225_ADDR_6_DATA_MAGIC1   (0xe6)

Definition at line 243 of file if_urtwreg.h.

◆ URTW_8225_ADDR_6_DATA_MAGIC2

#define URTW_8225_ADDR_6_DATA_MAGIC2   (0x80)

Definition at line 244 of file if_urtwreg.h.

◆ URTW_8225_ADDR_6_MAGIC

#define URTW_8225_ADDR_6_MAGIC   0x6

Definition at line 242 of file if_urtwreg.h.

◆ URTW_8225_ADDR_7_MAGIC

#define URTW_8225_ADDR_7_MAGIC   0x7

Definition at line 245 of file if_urtwreg.h.

◆ URTW_8225_ADDR_8_DATA_MAGIC1

#define URTW_8225_ADDR_8_DATA_MAGIC1   (0x588)

Definition at line 247 of file if_urtwreg.h.

◆ URTW_8225_ADDR_8_MAGIC

#define URTW_8225_ADDR_8_MAGIC   0x8

Definition at line 246 of file if_urtwreg.h.

◆ URTW_8225_ADDR_9_DATA_MAGIC1

#define URTW_8225_ADDR_9_DATA_MAGIC1   (0x700)

Definition at line 249 of file if_urtwreg.h.

◆ URTW_8225_ADDR_9_MAGIC

#define URTW_8225_ADDR_9_MAGIC   0x9

Definition at line 248 of file if_urtwreg.h.

◆ URTW_8225_ADDR_C_DATA_MAGIC1

#define URTW_8225_ADDR_C_DATA_MAGIC1   (0x850)

Definition at line 251 of file if_urtwreg.h.

◆ URTW_8225_ADDR_C_DATA_MAGIC2

#define URTW_8225_ADDR_C_DATA_MAGIC2   (0x050)

Definition at line 252 of file if_urtwreg.h.

◆ URTW_8225_ADDR_C_MAGIC

#define URTW_8225_ADDR_C_MAGIC   0xc

Definition at line 250 of file if_urtwreg.h.

◆ URTW_8225_ANAPARAM2_OFF

#define URTW_8225_ANAPARAM2_OFF   (0x840dec11)

Definition at line 154 of file if_urtwreg.h.

◆ URTW_8225_ANAPARAM2_ON

#define URTW_8225_ANAPARAM2_ON   (0x860c7312)

Definition at line 153 of file if_urtwreg.h.

◆ URTW_8225_ANAPARAM_OFF

#define URTW_8225_ANAPARAM_OFF   (0xa00beb59)

Definition at line 132 of file if_urtwreg.h.

◆ URTW_8225_ANAPARAM_ON

#define URTW_8225_ANAPARAM_ON   (0xa0000a59)

Definition at line 131 of file if_urtwreg.h.

◆ URTW_8225_RF_DEF_SENS

#define URTW_8225_RF_DEF_SENS   4

Definition at line 306 of file if_urtwreg.h.

◆ URTW_8225_RF_MAX_SENS

#define URTW_8225_RF_MAX_SENS   6

Definition at line 305 of file if_urtwreg.h.

◆ URTW_ACKCTS_LEN

#define URTW_ACKCTS_LEN   14 /* len for ACK and CTS */

Definition at line 312 of file if_urtwreg.h.

◆ URTW_ACM_CONTROL

#define URTW_ACM_CONTROL   0x00bf /* 1 byte */

Definition at line 205 of file if_urtwreg.h.

◆ URTW_ADDR_MAGIC1

#define URTW_ADDR_MAGIC1   0x0085 /* broken? */

Definition at line 174 of file if_urtwreg.h.

◆ URTW_ADDR_MAGIC2

#define URTW_ADDR_MAGIC2   0x00fe /* 2 byte */

Definition at line 223 of file if_urtwreg.h.

◆ URTW_ADDR_MAGIC3

#define URTW_ADDR_MAGIC3   0x00ff /* 1 byte */

Definition at line 224 of file if_urtwreg.h.

◆ URTW_ANAPARAM

#define URTW_ANAPARAM   0x0054 /* 4 byte */

Definition at line 130 of file if_urtwreg.h.

◆ URTW_ANAPARAM2

#define URTW_ANAPARAM2   0x0060 /* 4 byte */

Definition at line 152 of file if_urtwreg.h.

◆ URTW_ANAPARAM3

#define URTW_ANAPARAM3   0x00ee /* 1 byte */

Definition at line 213 of file if_urtwreg.h.

◆ URTW_ASIFS_TIME

#define URTW_ASIFS_TIME   10

Definition at line 311 of file if_urtwreg.h.

◆ URTW_ATIM_TR_ITV

#define URTW_ATIM_TR_ITV   0x0076 /* 2 byte */

Definition at line 160 of file if_urtwreg.h.

◆ URTW_ATIM_WND

#define URTW_ATIM_WND   0x0072 /* 2 byte */

Definition at line 158 of file if_urtwreg.h.

◆ URTW_BB_HOST_BANG_CLK

#define URTW_BB_HOST_BANG_CLK   (1 << 1)

Definition at line 169 of file if_urtwreg.h.

◆ URTW_BB_HOST_BANG_EN

#define URTW_BB_HOST_BANG_EN   (1 << 2)

Definition at line 170 of file if_urtwreg.h.

◆ URTW_BB_HOST_BANG_RW

#define URTW_BB_HOST_BANG_RW   (1 << 3)

Definition at line 171 of file if_urtwreg.h.

◆ URTW_BEACON_INTERVAL

#define URTW_BEACON_INTERVAL   0x0070 /* 2 byte */

Definition at line 157 of file if_urtwreg.h.

◆ URTW_BEACON_INTERVAL_TIME

#define URTW_BEACON_INTERVAL_TIME   0x0074 /* 2 byte */

Definition at line 159 of file if_urtwreg.h.

◆ URTW_BQREQ

#define URTW_BQREQ   0x0013 /* 1 byte */

Definition at line 32 of file if_urtwreg.h.

◆ URTW_BRSR

#define URTW_BRSR   0x002c /* 2 byte */

Definition at line 37 of file if_urtwreg.h.

◆ URTW_BRSR_8187B

#define URTW_BRSR_8187B   0x0034 /* 2 byte for 8187B */

Definition at line 41 of file if_urtwreg.h.

◆ URTW_BRSR_MBR_8185

#define URTW_BRSR_MBR_8185   (0x0fff)

Definition at line 38 of file if_urtwreg.h.

◆ URTW_BSSID

#define URTW_BSSID   0x002e /* 6 byte */

Definition at line 40 of file if_urtwreg.h.

◆ URTW_CARRIER_SCOUNT

#define URTW_CARRIER_SCOUNT   0x0079 /* 1 byte */

Definition at line 162 of file if_urtwreg.h.

◆ URTW_CID_8187_ALPHA0

#define URTW_CID_8187_ALPHA0   1

Definition at line 275 of file if_urtwreg.h.

◆ URTW_CID_8187_HW_LED

#define URTW_CID_8187_HW_LED   3

Definition at line 277 of file if_urtwreg.h.

◆ URTW_CID_8187_SERCOMM_PS

#define URTW_CID_8187_SERCOMM_PS   2

Definition at line 276 of file if_urtwreg.h.

◆ URTW_CID_DEFAULT

#define URTW_CID_DEFAULT   0

Definition at line 274 of file if_urtwreg.h.

◆ URTW_CMD

#define URTW_CMD   0x0037 /* 1 byte */

Definition at line 46 of file if_urtwreg.h.

◆ URTW_CMD_RST

#define URTW_CMD_RST   (0x10)

Definition at line 49 of file if_urtwreg.h.

◆ URTW_CMD_RX_ENABLE

#define URTW_CMD_RX_ENABLE   (0x8)

Definition at line 48 of file if_urtwreg.h.

◆ URTW_CMD_TX_ENABLE

#define URTW_CMD_TX_ENABLE   (0x4)

Definition at line 47 of file if_urtwreg.h.

◆ URTW_CONFIG0

#define URTW_CONFIG0   0x0051 /* 1 byte */

Definition at line 127 of file if_urtwreg.h.

◆ URTW_CONFIG1

#define URTW_CONFIG1   0x0052 /* 1 byte */

Definition at line 128 of file if_urtwreg.h.

◆ URTW_CONFIG2

#define URTW_CONFIG2   0x0053 /* 1 byte */

Definition at line 129 of file if_urtwreg.h.

◆ URTW_CONFIG3

#define URTW_CONFIG3   0x0059 /* 1 byte */

Definition at line 143 of file if_urtwreg.h.

◆ URTW_CONFIG3_ANAPARAM_W_SHIFT

#define URTW_CONFIG3_ANAPARAM_W_SHIFT   (6)

Definition at line 146 of file if_urtwreg.h.

◆ URTW_CONFIG3_ANAPARAM_WRITE

#define URTW_CONFIG3_ANAPARAM_WRITE   (0x40)

Definition at line 144 of file if_urtwreg.h.

◆ URTW_CONFIG3_GNT_SELECT

#define URTW_CONFIG3_GNT_SELECT   (0x80)

Definition at line 145 of file if_urtwreg.h.

◆ URTW_CONFIG4

#define URTW_CONFIG4   0x005a /* 1 byte */

Definition at line 147 of file if_urtwreg.h.

◆ URTW_CONFIG4_VCOOFF

#define URTW_CONFIG4_VCOOFF   (1 << 7)

Definition at line 148 of file if_urtwreg.h.

◆ URTW_CONFIG5

#define URTW_CONFIG5   0x00d8 /* 1 byte */

Definition at line 206 of file if_urtwreg.h.

◆ URTW_CONFIG_INDEX

#define URTW_CONFIG_INDEX   0

Definition at line 19 of file if_urtwreg.h.

◆ URTW_CW_CONF

#define URTW_CW_CONF   0x00bc /* 1 byte */

Definition at line 199 of file if_urtwreg.h.

◆ URTW_CW_CONF_PERPACKET_CW

#define URTW_CW_CONF_PERPACKET_CW   (0x1)

Definition at line 201 of file if_urtwreg.h.

◆ URTW_CW_CONF_PERPACKET_RETRY

#define URTW_CW_CONF_PERPACKET_RETRY   (0x2)

Definition at line 200 of file if_urtwreg.h.

◆ URTW_CW_VAL

#define URTW_CW_VAL   0x00bd /* 1 byte */

Definition at line 202 of file if_urtwreg.h.

◆ URTW_CWR

#define URTW_CWR   0x00dc /* 2 byte */

Definition at line 208 of file if_urtwreg.h.

◆ URTW_DEFAULT_RTS_RETRY

#define URTW_DEFAULT_RTS_RETRY   7

Definition at line 307 of file if_urtwreg.h.

◆ URTW_DEFAULT_RTS_THRESHOLD

#define URTW_DEFAULT_RTS_THRESHOLD   2342U

Definition at line 309 of file if_urtwreg.h.

◆ URTW_DEFAULT_TX_RETRY

#define URTW_DEFAULT_TX_RETRY   7

Definition at line 308 of file if_urtwreg.h.

◆ URTW_DIFS

#define URTW_DIFS   0x00b5 /* 1 byte */

Definition at line 197 of file if_urtwreg.h.

◆ URTW_EIFS

#define URTW_EIFS   0x0035 /* 1 byte */

Definition at line 45 of file if_urtwreg.h.

◆ URTW_EPROM_CHANPLAN

#define URTW_EPROM_CHANPLAN   0x03

Definition at line 255 of file if_urtwreg.h.

◆ URTW_EPROM_CHANPLAN_BY_HW

#define URTW_EPROM_CHANPLAN_BY_HW   (0x80)

Definition at line 256 of file if_urtwreg.h.

◆ URTW_EPROM_CID_ALPHA0

#define URTW_EPROM_CID_ALPHA0   (0x01)

Definition at line 269 of file if_urtwreg.h.

◆ URTW_EPROM_CID_HW_LED

#define URTW_EPROM_CID_HW_LED   (0x03)

Definition at line 271 of file if_urtwreg.h.

◆ URTW_EPROM_CID_MASK

#define URTW_EPROM_CID_MASK   (0xff)

Definition at line 266 of file if_urtwreg.h.

◆ URTW_EPROM_CID_RSVD0

#define URTW_EPROM_CID_RSVD0   (0x00)

Definition at line 267 of file if_urtwreg.h.

◆ URTW_EPROM_CID_RSVD1

#define URTW_EPROM_CID_RSVD1   (0xff)

Definition at line 268 of file if_urtwreg.h.

◆ URTW_EPROM_CID_SERCOMM_PS

#define URTW_EPROM_CID_SERCOMM_PS   (0x02)

Definition at line 270 of file if_urtwreg.h.

◆ URTW_EPROM_CK

#define URTW_EPROM_CK   (0x4)

Definition at line 125 of file if_urtwreg.h.

◆ URTW_EPROM_CMD

#define URTW_EPROM_CMD   0x0050 /* 1 byte */

Definition at line 112 of file if_urtwreg.h.

◆ URTW_EPROM_CMD_CONFIG

#define URTW_EPROM_CMD_CONFIG   (0x3)

Definition at line 120 of file if_urtwreg.h.

◆ URTW_EPROM_CMD_LOAD

#define URTW_EPROM_CMD_LOAD   (0x1)

Definition at line 116 of file if_urtwreg.h.

◆ URTW_EPROM_CMD_MASK

#define URTW_EPROM_CMD_MASK   ((1 << 7) | (1 << 6))

Definition at line 122 of file if_urtwreg.h.

◆ URTW_EPROM_CMD_NORMAL

#define URTW_EPROM_CMD_NORMAL   (0x0)

Definition at line 113 of file if_urtwreg.h.

◆ URTW_EPROM_CMD_NORMAL_MODE

#define URTW_EPROM_CMD_NORMAL_MODE    (URTW_EPROM_CMD_NORMAL << URTW_EPROM_CMD_SHIFT)

Definition at line 114 of file if_urtwreg.h.

◆ URTW_EPROM_CMD_PROGRAM

#define URTW_EPROM_CMD_PROGRAM   (0x2)

Definition at line 117 of file if_urtwreg.h.

◆ URTW_EPROM_CMD_PROGRAM_MODE

#define URTW_EPROM_CMD_PROGRAM_MODE    (URTW_EPROM_CMD_PROGRAM << URTW_EPROM_CMD_SHIFT)

Definition at line 118 of file if_urtwreg.h.

◆ URTW_EPROM_CMD_SHIFT

#define URTW_EPROM_CMD_SHIFT   (6)

Definition at line 121 of file if_urtwreg.h.

◆ URTW_EPROM_CS

#define URTW_EPROM_CS   (0x8)

Definition at line 126 of file if_urtwreg.h.

◆ URTW_EPROM_DELAY

#define URTW_EPROM_DELAY   10

Definition at line 302 of file if_urtwreg.h.

◆ URTW_EPROM_DISABLE

#define URTW_EPROM_DISABLE   0

Definition at line 300 of file if_urtwreg.h.

◆ URTW_EPROM_ENABLE

#define URTW_EPROM_ENABLE   1

Definition at line 301 of file if_urtwreg.h.

◆ URTW_EPROM_MACADDR

#define URTW_EPROM_MACADDR   0x07

Definition at line 261 of file if_urtwreg.h.

◆ URTW_EPROM_READBIT

#define URTW_EPROM_READBIT   (0x1)

Definition at line 123 of file if_urtwreg.h.

◆ URTW_EPROM_RFCHIPID

#define URTW_EPROM_RFCHIPID   0x06

Definition at line 258 of file if_urtwreg.h.

◆ URTW_EPROM_RFCHIPID_RTL8225U

#define URTW_EPROM_RFCHIPID_RTL8225U   (5)

Definition at line 259 of file if_urtwreg.h.

◆ URTW_EPROM_RFCHIPID_RTL8225Z2

#define URTW_EPROM_RFCHIPID_RTL8225Z2   (6)

Definition at line 260 of file if_urtwreg.h.

◆ URTW_EPROM_SWREV

#define URTW_EPROM_SWREV   0x3f

Definition at line 265 of file if_urtwreg.h.

◆ URTW_EPROM_TXPW0

#define URTW_EPROM_TXPW0   0x16

Definition at line 262 of file if_urtwreg.h.

◆ URTW_EPROM_TXPW1

#define URTW_EPROM_TXPW1   0x3d

Definition at line 264 of file if_urtwreg.h.

◆ URTW_EPROM_TXPW2

#define URTW_EPROM_TXPW2   0x1b

Definition at line 263 of file if_urtwreg.h.

◆ URTW_EPROM_TXPW_BASE

#define URTW_EPROM_TXPW_BASE   0x05

Definition at line 257 of file if_urtwreg.h.

◆ URTW_EPROM_WRITEBIT

#define URTW_EPROM_WRITEBIT   (0x2)

Definition at line 124 of file if_urtwreg.h.

◆ URTW_FEMR

#define URTW_FEMR   0x00f4 /* 2 byte */

Definition at line 217 of file if_urtwreg.h.

◆ URTW_GP_ENABLE

#define URTW_GP_ENABLE   0x0090 /* 1 byte */

Definition at line 183 of file if_urtwreg.h.

◆ URTW_GP_ENABLE_DATA_MAGIC1

#define URTW_GP_ENABLE_DATA_MAGIC1   (0x1)

Definition at line 184 of file if_urtwreg.h.

◆ URTW_GPIO

#define URTW_GPIO   0x0091 /* 1 byte */

Definition at line 185 of file if_urtwreg.h.

◆ URTW_GPIO_DATA_MAGIC1

#define URTW_GPIO_DATA_MAGIC1   (0x1)

Definition at line 186 of file if_urtwreg.h.

◆ URTW_HSSI_PARA

#define URTW_HSSI_PARA   0x0094 /* 4 byte */

Definition at line 187 of file if_urtwreg.h.

◆ URTW_HW_LED

#define URTW_HW_LED   4

Definition at line 282 of file if_urtwreg.h.

◆ URTW_IFACE_INDEX

#define URTW_IFACE_INDEX   0

Definition at line 20 of file if_urtwreg.h.

◆ URTW_INT_MIG

#define URTW_INT_MIG   0x00e2 /* 2 byte */

Definition at line 210 of file if_urtwreg.h.

◆ URTW_INT_TBDA

#define URTW_INT_TBDA   0x004c /* 4 byte */

Definition at line 111 of file if_urtwreg.h.

◆ URTW_INT_TIMEOUT

#define URTW_INT_TIMEOUT   0x0048 /* 4 byte */

Definition at line 110 of file if_urtwreg.h.

◆ URTW_INTR_MASK

#define URTW_INTR_MASK   0x003c /* 2 byte */

Definition at line 50 of file if_urtwreg.h.

◆ URTW_INTR_STATUS

#define URTW_INTR_STATUS   0x003e /* 2 byte */

Definition at line 51 of file if_urtwreg.h.

◆ URTW_LED_BLINK_CM3

#define URTW_LED_BLINK_CM3   8

Definition at line 297 of file if_urtwreg.h.

◆ URTW_LED_BLINK_NORMAL

#define URTW_LED_BLINK_NORMAL   3

Definition at line 292 of file if_urtwreg.h.

◆ URTW_LED_BLINK_SLOWLY

#define URTW_LED_BLINK_SLOWLY   4

Definition at line 293 of file if_urtwreg.h.

◆ URTW_LED_CTL_LINK

#define URTW_LED_CTL_LINK   2

Definition at line 284 of file if_urtwreg.h.

◆ URTW_LED_CTL_POWER_ON

#define URTW_LED_CTL_POWER_ON   0

Definition at line 283 of file if_urtwreg.h.

◆ URTW_LED_CTL_TX

#define URTW_LED_CTL_TX   4

Definition at line 285 of file if_urtwreg.h.

◆ URTW_LED_NO_LINK_BLINK

#define URTW_LED_NO_LINK_BLINK   7

Definition at line 296 of file if_urtwreg.h.

◆ URTW_LED_OFF

#define URTW_LED_OFF   2

Definition at line 291 of file if_urtwreg.h.

◆ URTW_LED_ON

#define URTW_LED_ON   1

Definition at line 290 of file if_urtwreg.h.

◆ URTW_LED_PIN_GPIO0

#define URTW_LED_PIN_GPIO0   0

Definition at line 286 of file if_urtwreg.h.

◆ URTW_LED_PIN_LED0

#define URTW_LED_PIN_LED0   1

Definition at line 287 of file if_urtwreg.h.

◆ URTW_LED_PIN_LED1

#define URTW_LED_PIN_LED1   2

Definition at line 288 of file if_urtwreg.h.

◆ URTW_LED_POWER_ON_BLINK

#define URTW_LED_POWER_ON_BLINK   5

Definition at line 294 of file if_urtwreg.h.

◆ URTW_LED_SCAN_BLINK

#define URTW_LED_SCAN_BLINK   6

Definition at line 295 of file if_urtwreg.h.

◆ URTW_LED_UNKNOWN

#define URTW_LED_UNKNOWN   0

Definition at line 289 of file if_urtwreg.h.

◆ URTW_MAC0

#define URTW_MAC0   0x0000 /* 1 byte */

Definition at line 23 of file if_urtwreg.h.

◆ URTW_MAC1

#define URTW_MAC1   0x0001 /* 1 byte */

Definition at line 24 of file if_urtwreg.h.

◆ URTW_MAC2

#define URTW_MAC2   0x0002 /* 1 byte */

Definition at line 25 of file if_urtwreg.h.

◆ URTW_MAC3

#define URTW_MAC3   0x0003 /* 1 byte */

Definition at line 26 of file if_urtwreg.h.

◆ URTW_MAC4

#define URTW_MAC4   0x0004 /* 1 byte */

Definition at line 27 of file if_urtwreg.h.

◆ URTW_MAC5

#define URTW_MAC5   0x0005 /* 1 byte */

Definition at line 28 of file if_urtwreg.h.

◆ URTW_MAR

#define URTW_MAR   0x0008 /* 6 byte */

Definition at line 29 of file if_urtwreg.h.

◆ URTW_MAX_RX_DMA_1024

#define URTW_MAX_RX_DMA_1024   (6)

Definition at line 107 of file if_urtwreg.h.

◆ URTW_MAX_RX_DMA_2048

#define URTW_MAX_RX_DMA_2048   (7 << URTW_MAX_RX_DMA_SHIFT)

Definition at line 106 of file if_urtwreg.h.

◆ URTW_MAX_RX_DMA_MASK

#define URTW_MAX_RX_DMA_MASK   ((1<<8) | (1<<9) | (1<<10))

Definition at line 105 of file if_urtwreg.h.

◆ URTW_MAX_RX_DMA_SHIFT

#define URTW_MAX_RX_DMA_SHIFT   (10)

Definition at line 108 of file if_urtwreg.h.

◆ URTW_MSR

#define URTW_MSR   0x0058 /* 1 byte */

Definition at line 135 of file if_urtwreg.h.

◆ URTW_MSR_LINK_ADHOC

#define URTW_MSR_LINK_ADHOC   (1 << URTW_MSR_LINK_SHIFT)

Definition at line 139 of file if_urtwreg.h.

◆ URTW_MSR_LINK_ENEDCA

#define URTW_MSR_LINK_ENEDCA   (1 << 4)

Definition at line 142 of file if_urtwreg.h.

◆ URTW_MSR_LINK_HOSTAP

#define URTW_MSR_LINK_HOSTAP   (3 << URTW_MSR_LINK_SHIFT)

Definition at line 141 of file if_urtwreg.h.

◆ URTW_MSR_LINK_MASK

#define URTW_MSR_LINK_MASK   ((1 << 2) | (1 << 3))

Definition at line 136 of file if_urtwreg.h.

◆ URTW_MSR_LINK_NONE

#define URTW_MSR_LINK_NONE   (0 << URTW_MSR_LINK_SHIFT)

Definition at line 138 of file if_urtwreg.h.

◆ URTW_MSR_LINK_SHIFT

#define URTW_MSR_LINK_SHIFT   (2)

Definition at line 137 of file if_urtwreg.h.

◆ URTW_MSR_LINK_STA

#define URTW_MSR_LINK_STA   (2 << URTW_MSR_LINK_SHIFT)

Definition at line 140 of file if_urtwreg.h.

◆ URTW_PHY_DELAY

#define URTW_PHY_DELAY   0x0078 /* 1 byte */

Definition at line 161 of file if_urtwreg.h.

◆ URTW_PHY_MAGIC1

#define URTW_PHY_MAGIC1   0x007c /* 1 byte */

Definition at line 163 of file if_urtwreg.h.

◆ URTW_PHY_MAGIC2

#define URTW_PHY_MAGIC2   0x007d /* 1 byte */

Definition at line 164 of file if_urtwreg.h.

◆ URTW_PHY_MAGIC3

#define URTW_PHY_MAGIC3   0x007e /* 1 byte */

Definition at line 165 of file if_urtwreg.h.

◆ URTW_PHY_MAGIC4

#define URTW_PHY_MAGIC4   0x007f /* 1 byte */

Definition at line 166 of file if_urtwreg.h.

◆ URTW_PSR

#define URTW_PSR   0x005e /* 1 byte */

Definition at line 150 of file if_urtwreg.h.

◆ URTW_RATE_FALLBACK

#define URTW_RATE_FALLBACK   0x00be /* 1 byte */

Definition at line 203 of file if_urtwreg.h.

◆ URTW_RATE_FALLBACK_ENABLE

#define URTW_RATE_FALLBACK_ENABLE   (0x80)

Definition at line 204 of file if_urtwreg.h.

◆ URTW_RCR_ONLYERLPKT

#define URTW_RCR_ONLYERLPKT   (1U << 31)

Definition at line 109 of file if_urtwreg.h.

◆ URTW_RDSAR

#define URTW_RDSAR   0x00e4 /* 4 byte */

Definition at line 211 of file if_urtwreg.h.

◆ URTW_RESP_MAX_RATE_SHIFT

#define URTW_RESP_MAX_RATE_SHIFT   (4)

Definition at line 43 of file if_urtwreg.h.

◆ URTW_RESP_MIN_RATE_SHIFT

#define URTW_RESP_MIN_RATE_SHIFT   (0)

Definition at line 44 of file if_urtwreg.h.

◆ URTW_RESP_RATE

#define URTW_RESP_RATE   0x0034 /* 1 byte for 8187L */

Definition at line 42 of file if_urtwreg.h.

◆ URTW_RETRY_CTR

#define URTW_RETRY_CTR   0x00de /* 1 byte */

Definition at line 209 of file if_urtwreg.h.

◆ URTW_RF_PARA

#define URTW_RF_PARA   0x0088 /* 4 byte */

Definition at line 181 of file if_urtwreg.h.

◆ URTW_RF_PINS_ENABLE

#define URTW_RF_PINS_ENABLE   0x0082 /* 2 byte */

Definition at line 172 of file if_urtwreg.h.

◆ URTW_RF_PINS_INPUT

#define URTW_RF_PINS_INPUT   0x0086 /* 2 byte */

Definition at line 175 of file if_urtwreg.h.

◆ URTW_RF_PINS_MAGIC1

#define URTW_RF_PINS_MAGIC1   (0xfff3)

Definition at line 176 of file if_urtwreg.h.

◆ URTW_RF_PINS_MAGIC2

#define URTW_RF_PINS_MAGIC2   (0xfff0)

Definition at line 177 of file if_urtwreg.h.

◆ URTW_RF_PINS_MAGIC3

#define URTW_RF_PINS_MAGIC3   (0x0007)

Definition at line 178 of file if_urtwreg.h.

◆ URTW_RF_PINS_MAGIC4

#define URTW_RF_PINS_MAGIC4   (0xf)

Definition at line 179 of file if_urtwreg.h.

◆ URTW_RF_PINS_MAGIC5

#define URTW_RF_PINS_MAGIC5   (0x0080)

Definition at line 180 of file if_urtwreg.h.

◆ URTW_RF_PINS_OUTPUT

#define URTW_RF_PINS_OUTPUT   0x0080 /* 2 byte */

Definition at line 167 of file if_urtwreg.h.

◆ URTW_RF_PINS_OUTPUT_MAGIC1

#define URTW_RF_PINS_OUTPUT_MAGIC1   (0x3a0)

Definition at line 168 of file if_urtwreg.h.

◆ URTW_RF_PINS_SELECT

#define URTW_RF_PINS_SELECT   0x0084 /* 2 byte */

Definition at line 173 of file if_urtwreg.h.

◆ URTW_RF_TIMING

#define URTW_RF_TIMING   0x008c /* 4 byte */

Definition at line 182 of file if_urtwreg.h.

◆ URTW_RX

#define URTW_RX   0x0044 /* 4 byte */

Definition at line 77 of file if_urtwreg.h.

◆ URTW_RX_8187L_ANTENNA

#define URTW_RX_8187L_ANTENNA   (1 << 7)

Definition at line 418 of file if_urtwreg.h.

◆ URTW_RX_8187L_DECRYPTED

#define URTW_RX_8187L_DECRYPTED   (1 << 0)

Definition at line 421 of file if_urtwreg.h.

◆ URTW_RX_8187L_RSSI

#define URTW_RX_8187L_RSSI   /* 0 ~ 6 bits */

Definition at line 416 of file if_urtwreg.h.

◆ URTW_RX_8187L_RSSI_MASK

#define URTW_RX_8187L_RSSI_MASK   0x3f

Definition at line 417 of file if_urtwreg.h.

◆ URTW_RX_8187L_RSVD0

#define URTW_RX_8187L_RSVD0   /* 3 ~ 7 bits */

Definition at line 424 of file if_urtwreg.h.

◆ URTW_RX_8187L_SHIFT

#define URTW_RX_8187L_SHIFT   (1 << 2)

Definition at line 423 of file if_urtwreg.h.

◆ URTW_RX_8187L_WAKEUP

#define URTW_RX_8187L_WAKEUP   (1 << 1)

Definition at line 422 of file if_urtwreg.h.

◆ URTW_RX_9356SEL

#define URTW_RX_9356SEL   (1 << 6)

Definition at line 78 of file if_urtwreg.h.

◆ URTW_RX_ANTENNA

#define URTW_RX_ANTENNA   (1 << 7)

Definition at line 340 of file if_urtwreg.h.

◆ URTW_RX_AUTORESETPHY

#define URTW_RX_AUTORESETPHY   (1 << URTW_RX_AUTORESETPHY_SHIFT)

Definition at line 103 of file if_urtwreg.h.

◆ URTW_RX_AUTORESETPHY_SHIFT

#define URTW_RX_AUTORESETPHY_SHIFT   (28)

Definition at line 104 of file if_urtwreg.h.

◆ URTW_RX_CHECK_BSSID

#define URTW_RX_CHECK_BSSID   (0x00800000)

Definition at line 95 of file if_urtwreg.h.

◆ URTW_RX_FIFO_THRESHOLD_1024

#define URTW_RX_FIFO_THRESHOLD_1024   (6)

Definition at line 101 of file if_urtwreg.h.

◆ URTW_RX_FIFO_THRESHOLD_128

#define URTW_RX_FIFO_THRESHOLD_128   (3)

Definition at line 98 of file if_urtwreg.h.

◆ URTW_RX_FIFO_THRESHOLD_256

#define URTW_RX_FIFO_THRESHOLD_256   (4)

Definition at line 99 of file if_urtwreg.h.

◆ URTW_RX_FIFO_THRESHOLD_512

#define URTW_RX_FIFO_THRESHOLD_512   (5)

Definition at line 100 of file if_urtwreg.h.

◆ URTW_RX_FIFO_THRESHOLD_MASK

#define URTW_RX_FIFO_THRESHOLD_MASK   ((1 << 13) | (1 << 14) | (1 << 15))

Definition at line 96 of file if_urtwreg.h.

◆ URTW_RX_FIFO_THRESHOLD_NONE

#define URTW_RX_FIFO_THRESHOLD_NONE   (7 << URTW_RX_FIFO_THRESHOLD_SHIFT)

Definition at line 102 of file if_urtwreg.h.

◆ URTW_RX_FIFO_THRESHOLD_SHIFT

#define URTW_RX_FIFO_THRESHOLD_SHIFT   (13)

Definition at line 97 of file if_urtwreg.h.

◆ URTW_RX_FILTER_ALLMAC

#define URTW_RX_FILTER_ALLMAC   (0x00000001)

Definition at line 85 of file if_urtwreg.h.

◆ URTW_RX_FILTER_BCAST

#define URTW_RX_FILTER_BCAST   (0x00000008)

Definition at line 88 of file if_urtwreg.h.

◆ URTW_RX_FILTER_CRCERR

#define URTW_RX_FILTER_CRCERR   (0x00000020)

Definition at line 89 of file if_urtwreg.h.

◆ URTW_RX_FILTER_CTL

#define URTW_RX_FILTER_CTL   (0x00080000)

Definition at line 92 of file if_urtwreg.h.

◆ URTW_RX_FILTER_DATA

#define URTW_RX_FILTER_DATA   (0x00040000)

Definition at line 91 of file if_urtwreg.h.

◆ URTW_RX_FILTER_ICVERR

#define URTW_RX_FILTER_ICVERR   (0x00001000)

Definition at line 90 of file if_urtwreg.h.

◆ URTW_RX_FILTER_MASK

#define URTW_RX_FILTER_MASK
Value:
URTW_RX_FILTER_BCAST | URTW_RX_FILTER_CRCERR | URTW_RX_FILTER_ICVERR | \
URTW_RX_FILTER_DATA | URTW_RX_FILTER_CTL | URTW_RX_FILTER_MNG | \
(1 << 21) | \
#define URTW_RX_FILTER_PWR
Definition: if_urtwreg.h:94
#define URTW_RX_FILTER_CRCERR
Definition: if_urtwreg.h:89
#define URTW_RX_FILTER_MCAST
Definition: if_urtwreg.h:87
#define URTW_RX_FILTER_CTL
Definition: if_urtwreg.h:92
#define URTW_RX_FILTER_ICVERR
Definition: if_urtwreg.h:90
#define URTW_RX_CHECK_BSSID
Definition: if_urtwreg.h:95
#define URTW_RX_FILTER_MNG
Definition: if_urtwreg.h:93
#define URTW_RX_FILTER_NICMAC
Definition: if_urtwreg.h:86
#define URTW_RX_FILTER_ALLMAC
Definition: if_urtwreg.h:85

Definition at line 79 of file if_urtwreg.h.

◆ URTW_RX_FILTER_MCAST

#define URTW_RX_FILTER_MCAST   (0x00000004)

Definition at line 87 of file if_urtwreg.h.

◆ URTW_RX_FILTER_MNG

#define URTW_RX_FILTER_MNG   (0x00100000)

Definition at line 93 of file if_urtwreg.h.

◆ URTW_RX_FILTER_NICMAC

#define URTW_RX_FILTER_NICMAC   (0x00000002)

Definition at line 86 of file if_urtwreg.h.

◆ URTW_RX_FILTER_PWR

#define URTW_RX_FILTER_PWR   (0x00400000)

Definition at line 94 of file if_urtwreg.h.

◆ URTW_RX_FLAG2_DECRYPTED

#define URTW_RX_FLAG2_DECRYPTED   (1 << 0)

Definition at line 343 of file if_urtwreg.h.

◆ URTW_RX_FLAG2_RSVD0

#define URTW_RX_FLAG2_RSVD0   /* 3 ~ 7 bits */

Definition at line 346 of file if_urtwreg.h.

◆ URTW_RX_FLAG2_SHIFT

#define URTW_RX_FLAG2_SHIFT   (1 << 2)

Definition at line 345 of file if_urtwreg.h.

◆ URTW_RX_FLAG2_WAKUP

#define URTW_RX_FLAG2_WAKUP   (1 << 1)

Definition at line 344 of file if_urtwreg.h.

◆ URTW_RX_FLAG3_CFO_BIAS

#define URTW_RX_FLAG3_CFO_BIAS   /* 10 ~ 15 bits */

Definition at line 350 of file if_urtwreg.h.

◆ URTW_RX_FLAG3_NUMMCSI

#define URTW_RX_FLAG3_NUMMCSI   /* 0 ~ 3 bits */

Definition at line 348 of file if_urtwreg.h.

◆ URTW_RX_FLAG3_SNR_L2E

#define URTW_RX_FLAG3_SNR_L2E   /* 4 ~ 9 bits */

Definition at line 349 of file if_urtwreg.h.

◆ URTW_RX_FLAG_BCAST

#define URTW_RX_FLAG_BCAST   (1 << 16)

Definition at line 321 of file if_urtwreg.h.

◆ URTW_RX_FLAG_CRC32_ERR

#define URTW_RX_FLAG_CRC32_ERR   (1 << 13)

Definition at line 318 of file if_urtwreg.h.

◆ URTW_RX_FLAG_DMA_FAIL

#define URTW_RX_FLAG_DMA_FAIL   (1 << 27)

Definition at line 330 of file if_urtwreg.h.

◆ URTW_RX_FLAG_EOR

#define URTW_RX_FLAG_EOR   (1 << 30)

Definition at line 333 of file if_urtwreg.h.

◆ URTW_RX_FLAG_FIRST

#define URTW_RX_FLAG_FIRST   (1 << 29)

Definition at line 332 of file if_urtwreg.h.

◆ URTW_RX_FLAG_FOF

#define URTW_RX_FLAG_FOF   (1 << 26)

Definition at line 329 of file if_urtwreg.h.

◆ URTW_RX_FLAG_ICV_ERR

#define URTW_RX_FLAG_ICV_ERR   (1 << 12)

Definition at line 317 of file if_urtwreg.h.

◆ URTW_RX_FLAG_LAST

#define URTW_RX_FLAG_LAST   (1 << 28)

Definition at line 331 of file if_urtwreg.h.

◆ URTW_RX_FLAG_LEN

#define URTW_RX_FLAG_LEN   /* 0 ~ 11 bits */

Definition at line 316 of file if_urtwreg.h.

◆ URTW_RX_FLAG_MCAST

#define URTW_RX_FLAG_MCAST   (1 << 18)

Definition at line 323 of file if_urtwreg.h.

◆ URTW_RX_FLAG_OWN

#define URTW_RX_FLAG_OWN   (1U << 31)

Definition at line 334 of file if_urtwreg.h.

◆ URTW_RX_FLAG_PAM

#define URTW_RX_FLAG_PAM   (1 << 17)

Definition at line 322 of file if_urtwreg.h.

◆ URTW_RX_FLAG_PM

#define URTW_RX_FLAG_PM   (1 << 14)

Definition at line 319 of file if_urtwreg.h.

◆ URTW_RX_FLAG_QOS

#define URTW_RX_FLAG_QOS   (1 << 19) /* only for RTL8187B */

Definition at line 324 of file if_urtwreg.h.

◆ URTW_RX_FLAG_RX_ERR

#define URTW_RX_FLAG_RX_ERR   (1 << 15)

Definition at line 320 of file if_urtwreg.h.

◆ URTW_RX_FLAG_RXRATE

#define URTW_RX_FLAG_RXRATE   /* 20 ~ 23 bits */

Definition at line 325 of file if_urtwreg.h.

◆ URTW_RX_FLAG_RXRATE_SHIFT

#define URTW_RX_FLAG_RXRATE_SHIFT   20

Definition at line 326 of file if_urtwreg.h.

◆ URTW_RX_FLAG_SPLCP

#define URTW_RX_FLAG_SPLCP   (1 << 25)

Definition at line 328 of file if_urtwreg.h.

◆ URTW_RX_FLAG_TRSW

#define URTW_RX_FLAG_TRSW   (1 << 24) /* only for RTL8187B */

Definition at line 327 of file if_urtwreg.h.

◆ URTW_RX_RSSI

#define URTW_RX_RSSI   /* 0 ~ 6 bits */

Definition at line 338 of file if_urtwreg.h.

◆ URTW_RX_RSSI_MASK

#define URTW_RX_RSSI_MASK   0x3f

Definition at line 339 of file if_urtwreg.h.

◆ URTW_RXFIFO_CNT

#define URTW_RXFIFO_CNT   0x0010 /* 1 byte */

Definition at line 30 of file if_urtwreg.h.

◆ URTW_SECURITY

#define URTW_SECURITY   0x005f /* 1 byte */

Definition at line 151 of file if_urtwreg.h.

◆ URTW_SIFS

#define URTW_SIFS   0x00b4 /* 1 byte */

Definition at line 196 of file if_urtwreg.h.

◆ URTW_SLOT

#define URTW_SLOT   0x00b6 /* 1 byte */

Definition at line 198 of file if_urtwreg.h.

◆ URTW_SW_LED_MODE0

#define URTW_SW_LED_MODE0   0

Definition at line 278 of file if_urtwreg.h.

◆ URTW_SW_LED_MODE1

#define URTW_SW_LED_MODE1   1

Definition at line 279 of file if_urtwreg.h.

◆ URTW_SW_LED_MODE2

#define URTW_SW_LED_MODE2   2

Definition at line 280 of file if_urtwreg.h.

◆ URTW_SW_LED_MODE3

#define URTW_SW_LED_MODE3   3

Definition at line 281 of file if_urtwreg.h.

◆ URTW_TALLY_CNT

#define URTW_TALLY_CNT   0x00fa /* 2 byte */

Definition at line 220 of file if_urtwreg.h.

◆ URTW_TALLY_SEL

#define URTW_TALLY_SEL   0x00fc /* 1 byte */

Definition at line 221 of file if_urtwreg.h.

◆ URTW_TESTR

#define URTW_TESTR   0x005b /* 1 byte */

Definition at line 149 of file if_urtwreg.h.

◆ URTW_THPDA

#define URTW_THPDA   0x0028 /* 4 byte */

Definition at line 36 of file if_urtwreg.h.

◆ URTW_TID_AC_MAP

#define URTW_TID_AC_MAP   0x00e8 /* 2 byte */

Definition at line 212 of file if_urtwreg.h.

◆ URTW_TLPDA

#define URTW_TLPDA   0x0020 /* 4 byte */

Definition at line 34 of file if_urtwreg.h.

◆ URTW_TNPDA

#define URTW_TNPDA   0x0024 /* 4 byte */

Definition at line 35 of file if_urtwreg.h.

◆ URTW_TSFT

#define URTW_TSFT   0x0018 /* 6 byte */

Definition at line 33 of file if_urtwreg.h.

◆ URTW_TX_AGC_CTL

#define URTW_TX_AGC_CTL   0x009c /* 1 byte */

Definition at line 188 of file if_urtwreg.h.

◆ URTW_TX_AGC_CTL_FEEDBACK_ANT

#define URTW_TX_AGC_CTL_FEEDBACK_ANT   (0x4)

Definition at line 191 of file if_urtwreg.h.

◆ URTW_TX_AGC_CTL_PERPACKET_ANTSEL

#define URTW_TX_AGC_CTL_PERPACKET_ANTSEL   (0x2)

Definition at line 190 of file if_urtwreg.h.

◆ URTW_TX_AGC_CTL_PERPACKET_GAIN

#define URTW_TX_AGC_CTL_PERPACKET_GAIN   (0x1)

Definition at line 189 of file if_urtwreg.h.

◆ URTW_TX_ANTENNA

#define URTW_TX_ANTENNA   0x009f /* 1 byte */

Definition at line 194 of file if_urtwreg.h.

◆ URTW_TX_CONF

#define URTW_TX_CONF   0x0040 /* 4 byte */

Definition at line 52 of file if_urtwreg.h.

◆ URTW_TX_CWMIN

#define URTW_TX_CWMIN   (1U << 31)

Definition at line 75 of file if_urtwreg.h.

◆ URTW_TX_DISCW

#define URTW_TX_DISCW   (1 << 20)

Definition at line 68 of file if_urtwreg.h.

◆ URTW_TX_DISREQQSIZE

#define URTW_TX_DISREQQSIZE   (1 << 28)

Definition at line 73 of file if_urtwreg.h.

◆ URTW_TX_DPRETRY_MASK

#define URTW_TX_DPRETRY_MASK   (0xff00)

Definition at line 59 of file if_urtwreg.h.

◆ URTW_TX_DPRETRY_SHIFT

#define URTW_TX_DPRETRY_SHIFT   (0)

Definition at line 61 of file if_urtwreg.h.

◆ URTW_TX_FLAG1_MICCAL

#define URTW_TX_FLAG1_MICCAL   (1 << 15)

Definition at line 380 of file if_urtwreg.h.

◆ URTW_TX_FLAG1_RSVD0

#define URTW_TX_FLAG1_RSVD0   /* 12 ~ 14 bits */

Definition at line 379 of file if_urtwreg.h.

◆ URTW_TX_FLAG1_RXLEN

#define URTW_TX_FLAG1_RXLEN   /* 0 ~ 11 bits */

Definition at line 378 of file if_urtwreg.h.

◆ URTW_TX_FLAG2_NOACM

#define URTW_TX_FLAG2_NOACM   (1 << 1)

Definition at line 387 of file if_urtwreg.h.

◆ URTW_TX_FLAG2_PIFS

#define URTW_TX_FLAG2_PIFS   (1 << 2)

Definition at line 388 of file if_urtwreg.h.

◆ URTW_TX_FLAG2_RATEFALLBACK

#define URTW_TX_FLAG2_RATEFALLBACK   /* 11 ~ 15 bits */

Definition at line 391 of file if_urtwreg.h.

◆ URTW_TX_FLAG2_RSVD0

#define URTW_TX_FLAG2_RSVD0   /* 3 ~ 6 bits */

Definition at line 389 of file if_urtwreg.h.

◆ URTW_TX_FLAG2_RTDB

#define URTW_TX_FLAG2_RTDB   (1 << 0)

Definition at line 386 of file if_urtwreg.h.

◆ URTW_TX_FLAG2_RTSRATEFALLBACK

#define URTW_TX_FLAG2_RTSRATEFALLBACK   /* 7 ~ 10 bits */

Definition at line 390 of file if_urtwreg.h.

◆ URTW_TX_FLAG3_AGC

#define URTW_TX_FLAG3_AGC   /* 4 ~ 11 bits */

Definition at line 395 of file if_urtwreg.h.

◆ URTW_TX_FLAG3_ANTENNA

#define URTW_TX_FLAG3_ANTENNA   (1 << 12)

Definition at line 396 of file if_urtwreg.h.

◆ URTW_TX_FLAG3_RSVD0

#define URTW_TX_FLAG3_RSVD0   /* 0 ~ 3 bits */

Definition at line 394 of file if_urtwreg.h.

◆ URTW_TX_FLAG3_RSVD1

#define URTW_TX_FLAG3_RSVD1   (1 << 15)

Definition at line 398 of file if_urtwreg.h.

◆ URTW_TX_FLAG3_SPC

#define URTW_TX_FLAG3_SPC   /* 13 ~ 14 bits */

Definition at line 397 of file if_urtwreg.h.

◆ URTW_TX_FLAG4_BCKEY

#define URTW_TX_FLAG4_BCKEY   /* 8 ~ 13 bits */

Definition at line 406 of file if_urtwreg.h.

◆ URTW_TX_FLAG4_ENBCKEY

#define URTW_TX_FLAG4_ENBCKEY   (1 << 14)

Definition at line 407 of file if_urtwreg.h.

◆ URTW_TX_FLAG4_ENPMPD

#define URTW_TX_FLAG4_ENPMPD   (1 << 15)

Definition at line 408 of file if_urtwreg.h.

◆ URTW_TX_FLAG4_FRAGQSZ

#define URTW_TX_FLAG4_FRAGQSZ   /* 16 ~ 31 bits */

Definition at line 409 of file if_urtwreg.h.

◆ URTW_TX_FLAG4_LENADJUST

#define URTW_TX_FLAG4_LENADJUST   /* 0 ~ 1 bits */

Definition at line 400 of file if_urtwreg.h.

◆ URTW_TX_FLAG4_PTEN

#define URTW_TX_FLAG4_PTEN   (1 << 7)

Definition at line 405 of file if_urtwreg.h.

◆ URTW_TX_FLAG4_RSVD0

#define URTW_TX_FLAG4_RSVD0   (1 << 2)

Definition at line 401 of file if_urtwreg.h.

◆ URTW_TX_FLAG4_TPCDESEN

#define URTW_TX_FLAG4_TPCDESEN   (1 << 3)

Definition at line 402 of file if_urtwreg.h.

◆ URTW_TX_FLAG4_TPCEN

#define URTW_TX_FLAG4_TPCEN   (1 << 6)

Definition at line 404 of file if_urtwreg.h.

◆ URTW_TX_FLAG4_TPCPOLARITY

#define URTW_TX_FLAG4_TPCPOLARITY   /* 4 ~ 5 bits */

Definition at line 403 of file if_urtwreg.h.

◆ URTW_TX_FLAG_CTS

#define URTW_TX_FLAG_CTS   (1 << 18)

Definition at line 362 of file if_urtwreg.h.

◆ URTW_TX_FLAG_DMA

#define URTW_TX_FLAG_DMA   (1 << 30)

Definition at line 370 of file if_urtwreg.h.

◆ URTW_TX_FLAG_FIRST

#define URTW_TX_FLAG_FIRST   (1 << 29)

Definition at line 369 of file if_urtwreg.h.

◆ URTW_TX_FLAG_LAST

#define URTW_TX_FLAG_LAST   (1 << 28)

Definition at line 368 of file if_urtwreg.h.

◆ URTW_TX_FLAG_MOREFRAG

#define URTW_TX_FLAG_MOREFRAG   (1 << 17)

Definition at line 361 of file if_urtwreg.h.

◆ URTW_TX_FLAG_NO_ENC

#define URTW_TX_FLAG_NO_ENC   (1 << 15)

Definition at line 359 of file if_urtwreg.h.

◆ URTW_TX_FLAG_OWN

#define URTW_TX_FLAG_OWN   (1U << 31)

Definition at line 371 of file if_urtwreg.h.

◆ URTW_TX_FLAG_PKTLEN

#define URTW_TX_FLAG_PKTLEN   /* 0 ~ 11 bits */

Definition at line 357 of file if_urtwreg.h.

◆ URTW_TX_FLAG_RSVD0

#define URTW_TX_FLAG_RSVD0   /* 12 ~ 14 bits */

Definition at line 358 of file if_urtwreg.h.

◆ URTW_TX_FLAG_RTS

#define URTW_TX_FLAG_RTS   (1 << 23)

Definition at line 365 of file if_urtwreg.h.

◆ URTW_TX_FLAG_RTSRATE

#define URTW_TX_FLAG_RTSRATE   /* 19 ~ 22 bits */

Definition at line 363 of file if_urtwreg.h.

◆ URTW_TX_FLAG_RTSRATE_SHIFT

#define URTW_TX_FLAG_RTSRATE_SHIFT   19

Definition at line 364 of file if_urtwreg.h.

◆ URTW_TX_FLAG_SPLCP

#define URTW_TX_FLAG_SPLCP   (1 << 16)

Definition at line 360 of file if_urtwreg.h.

◆ URTW_TX_FLAG_TXRATE

#define URTW_TX_FLAG_TXRATE   /* 24 ~ 27 bits */

Definition at line 366 of file if_urtwreg.h.

◆ URTW_TX_FLAG_TXRATE_SHIFT

#define URTW_TX_FLAG_TXRATE_SHIFT   24

Definition at line 367 of file if_urtwreg.h.

◆ URTW_TX_GAIN_CCK

#define URTW_TX_GAIN_CCK   0x009d /* 1 byte */

Definition at line 192 of file if_urtwreg.h.

◆ URTW_TX_GAIN_OFDM

#define URTW_TX_GAIN_OFDM   0x009e /* 1 byte */

Definition at line 193 of file if_urtwreg.h.

◆ URTW_TX_HW_SEQNUM

#define URTW_TX_HW_SEQNUM   (1 << 30)

Definition at line 74 of file if_urtwreg.h.

◆ URTW_TX_HWMASK

#define URTW_TX_HWMASK   (7 << 25)

Definition at line 72 of file if_urtwreg.h.

◆ URTW_TX_LEN

#define URTW_TX_LEN   /* 0 ~ 14 bits */

Definition at line 374 of file if_urtwreg.h.

◆ URTW_TX_LEN_EXT

#define URTW_TX_LEN_EXT   (1 << 15)

Definition at line 375 of file if_urtwreg.h.

◆ URTW_TX_LOOPBACK_BASEBAND

#define URTW_TX_LOOPBACK_BASEBAND   (2 << URTW_TX_LOOPBACK_SHIFT)

Definition at line 56 of file if_urtwreg.h.

◆ URTW_TX_LOOPBACK_CONTINUE

#define URTW_TX_LOOPBACK_CONTINUE   (3 << URTW_TX_LOOPBACK_SHIFT)

Definition at line 57 of file if_urtwreg.h.

◆ URTW_TX_LOOPBACK_MAC

#define URTW_TX_LOOPBACK_MAC   (1 << URTW_TX_LOOPBACK_SHIFT)

Definition at line 55 of file if_urtwreg.h.

◆ URTW_TX_LOOPBACK_MASK

#define URTW_TX_LOOPBACK_MASK   (0x60000)

Definition at line 58 of file if_urtwreg.h.

◆ URTW_TX_LOOPBACK_NONE

#define URTW_TX_LOOPBACK_NONE   (0 << URTW_TX_LOOPBACK_SHIFT)

Definition at line 54 of file if_urtwreg.h.

◆ URTW_TX_LOOPBACK_SHIFT

#define URTW_TX_LOOPBACK_SHIFT   (17)

Definition at line 53 of file if_urtwreg.h.

◆ URTW_TX_MXDMA_1024

#define URTW_TX_MXDMA_1024   (6 << URTW_TX_MXDMA_SHIFT)

Definition at line 65 of file if_urtwreg.h.

◆ URTW_TX_MXDMA_2048

#define URTW_TX_MXDMA_2048   (7 << URTW_TX_MXDMA_SHIFT)

Definition at line 66 of file if_urtwreg.h.

◆ URTW_TX_MXDMA_MASK

#define URTW_TX_MXDMA_MASK   (0xe00000)

Definition at line 64 of file if_urtwreg.h.

◆ URTW_TX_MXDMA_SHIFT

#define URTW_TX_MXDMA_SHIFT   (21)

Definition at line 67 of file if_urtwreg.h.

◆ URTW_TX_NOCRC

#define URTW_TX_NOCRC   (0x10000)

Definition at line 63 of file if_urtwreg.h.

◆ URTW_TX_NOICV

#define URTW_TX_NOICV   (0x80000)

Definition at line 76 of file if_urtwreg.h.

◆ URTW_TX_R8187vD

#define URTW_TX_R8187vD   (5 << 25)

Definition at line 70 of file if_urtwreg.h.

◆ URTW_TX_R8187vD_B

#define URTW_TX_R8187vD_B   (6 << 25)

Definition at line 71 of file if_urtwreg.h.

◆ URTW_TX_RTSRETRY_MASK

#define URTW_TX_RTSRETRY_MASK   (0xff)

Definition at line 60 of file if_urtwreg.h.

◆ URTW_TX_RTSRETRY_SHIFT

#define URTW_TX_RTSRETRY_SHIFT   (8)

Definition at line 62 of file if_urtwreg.h.

◆ URTW_TX_SWPLCPLEN

#define URTW_TX_SWPLCPLEN   (1 << 24)

Definition at line 69 of file if_urtwreg.h.

◆ URTW_TXDMA_POLLING

#define URTW_TXDMA_POLLING   0x00d9 /* 1 byte */

Definition at line 207 of file if_urtwreg.h.

◆ URTW_TXFIFO_CNT

#define URTW_TXFIFO_CNT   0x0012 /* 1 byte */

Definition at line 31 of file if_urtwreg.h.

◆ URTW_WPA_CONFIG

#define URTW_WPA_CONFIG   0x00b0 /* 1 byte */

Definition at line 195 of file if_urtwreg.h.

Variable Documentation

◆ __packed