FreeBSD kernel usb device Code
if_runreg.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  rt2860_txd
 
struct  rt2870_txd
 
struct  rt2860_txwi
 
struct  rt2860_rxd
 
struct  rt2870_rxd
 
struct  rt2860_rxwi
 
union  run_stats
 

Macros

#define RT2860_CONFIG_NO   1
 
#define RT2860_IFACE_INDEX   0
 
#define RT3070_OPT_14   0x0114
 
#define RT2860_INT_STATUS   0x0200
 
#define RT2860_INT_MASK   0x0204
 
#define RT2860_WPDMA_GLO_CFG   0x0208
 
#define RT2860_WPDMA_RST_IDX   0x020c
 
#define RT2860_DELAY_INT_CFG   0x0210
 
#define RT2860_WMM_AIFSN_CFG   0x0214
 
#define RT2860_WMM_CWMIN_CFG   0x0218
 
#define RT2860_WMM_CWMAX_CFG   0x021c
 
#define RT2860_WMM_TXOP0_CFG   0x0220
 
#define RT2860_WMM_TXOP1_CFG   0x0224
 
#define RT2860_GPIO_CTRL   0x0228
 
#define RT2860_MCU_CMD_REG   0x022c
 
#define RT2860_TX_BASE_PTR(qid)   (0x0230 + (qid) * 16)
 
#define RT2860_TX_MAX_CNT(qid)   (0x0234 + (qid) * 16)
 
#define RT2860_TX_CTX_IDX(qid)   (0x0238 + (qid) * 16)
 
#define RT2860_TX_DTX_IDX(qid)   (0x023c + (qid) * 16)
 
#define RT2860_RX_BASE_PTR   0x0290
 
#define RT2860_RX_MAX_CNT   0x0294
 
#define RT2860_RX_CALC_IDX   0x0298
 
#define RT2860_FS_DRX_IDX   0x029c
 
#define RT2860_USB_DMA_CFG   0x02a0 /* RT2870 only */
 
#define RT2860_US_CYC_CNT   0x02a4
 
#define RT2860_SYS_CTRL   0x0400
 
#define RT2860_HOST_CMD   0x0404
 
#define RT2860_PBF_CFG   0x0408
 
#define RT2860_MAX_PCNT   0x040c
 
#define RT2860_BUF_CTRL   0x0410
 
#define RT2860_MCU_INT_STA   0x0414
 
#define RT2860_MCU_INT_ENA   0x0418
 
#define RT2860_TXQ_IO(qid)   (0x041c + (qid) * 4)
 
#define RT2860_RX0Q_IO   0x0424
 
#define RT2860_BCN_OFFSET0   0x042c
 
#define RT2860_BCN_OFFSET1   0x0430
 
#define RT2860_TXRXQ_STA   0x0434
 
#define RT2860_TXRXQ_PCNT   0x0438
 
#define RT2860_PBF_DBG   0x043c
 
#define RT2860_CAP_CTRL   0x0440
 
#define RT3070_RF_CSR_CFG   0x0500
 
#define RT3070_EFUSE_CTRL   0x0580
 
#define RT3070_EFUSE_DATA0   0x0590
 
#define RT3070_EFUSE_DATA1   0x0594
 
#define RT3070_EFUSE_DATA2   0x0598
 
#define RT3070_EFUSE_DATA3   0x059c
 
#define RT3070_LDO_CFG0   0x05d4
 
#define RT3070_GPIO_SWITCH   0x05dc
 
#define RT5592_DEBUG_INDEX   0x05e8
 
#define RT2860_ASIC_VER_ID   0x1000
 
#define RT2860_MAC_SYS_CTRL   0x1004
 
#define RT2860_MAC_ADDR_DW0   0x1008
 
#define RT2860_MAC_ADDR_DW1   0x100c
 
#define RT2860_MAC_BSSID_DW0   0x1010
 
#define RT2860_MAC_BSSID_DW1   0x1014
 
#define RT2860_MAX_LEN_CFG   0x1018
 
#define RT2860_BBP_CSR_CFG   0x101c
 
#define RT2860_RF_CSR_CFG0   0x1020
 
#define RT2860_RF_CSR_CFG1   0x1024
 
#define RT2860_RF_CSR_CFG2   0x1028
 
#define RT2860_LED_CFG   0x102c
 
#define RT2860_DEBUG   0x10f4
 
#define RT2860_XIFS_TIME_CFG   0x1100
 
#define RT2860_BKOFF_SLOT_CFG   0x1104
 
#define RT2860_NAV_TIME_CFG   0x1108
 
#define RT2860_CH_TIME_CFG   0x110c
 
#define RT2860_PBF_LIFE_TIMER   0x1110
 
#define RT2860_BCN_TIME_CFG   0x1114
 
#define RT2860_TBTT_SYNC_CFG   0x1118
 
#define RT2860_TSF_TIMER_DW0   0x111c
 
#define RT2860_TSF_TIMER_DW1   0x1120
 
#define RT2860_TBTT_TIMER   0x1124
 
#define RT2860_INT_TIMER_CFG   0x1128
 
#define RT2860_INT_TIMER_EN   0x112c
 
#define RT2860_CH_IDLE_TIME   0x1130
 
#define RT2860_MAC_STATUS_REG   0x1200
 
#define RT2860_PWR_PIN_CFG   0x1204
 
#define RT2860_AUTO_WAKEUP_CFG   0x1208
 
#define RT2860_EDCA_AC_CFG(aci)   (0x1300 + (aci) * 4)
 
#define RT2860_EDCA_TID_AC_MAP   0x1310
 
#define RT2860_TX_PWR_CFG(ridx)   (0x1314 + (ridx) * 4)
 
#define RT2860_TX_PIN_CFG   0x1328
 
#define RT2860_TX_BAND_CFG   0x132c
 
#define RT2860_TX_SW_CFG0   0x1330
 
#define RT2860_TX_SW_CFG1   0x1334
 
#define RT2860_TX_SW_CFG2   0x1338
 
#define RT2860_TXOP_THRES_CFG   0x133c
 
#define RT2860_TXOP_CTRL_CFG   0x1340
 
#define RT2860_TX_RTS_CFG   0x1344
 
#define RT2860_TX_TIMEOUT_CFG   0x1348
 
#define RT2860_TX_RTY_CFG   0x134c
 
#define RT2860_TX_LINK_CFG   0x1350
 
#define RT2860_HT_FBK_CFG0   0x1354
 
#define RT2860_HT_FBK_CFG1   0x1358
 
#define RT2860_LG_FBK_CFG0   0x135c
 
#define RT2860_LG_FBK_CFG1   0x1360
 
#define RT2860_CCK_PROT_CFG   0x1364
 
#define RT2860_OFDM_PROT_CFG   0x1368
 
#define RT2860_MM20_PROT_CFG   0x136c
 
#define RT2860_MM40_PROT_CFG   0x1370
 
#define RT2860_GF20_PROT_CFG   0x1374
 
#define RT2860_GF40_PROT_CFG   0x1378
 
#define RT2860_EXP_CTS_TIME   0x137c
 
#define RT2860_EXP_ACK_TIME   0x1380
 
#define RT2860_RX_FILTR_CFG   0x1400
 
#define RT2860_AUTO_RSP_CFG   0x1404
 
#define RT2860_LEGACY_BASIC_RATE   0x1408
 
#define RT2860_HT_BASIC_RATE   0x140c
 
#define RT2860_HT_CTRL_CFG   0x1410
 
#define RT2860_SIFS_COST_CFG   0x1414
 
#define RT2860_RX_PARSER_CFG   0x1418
 
#define RT2860_TX_SEC_CNT0   0x1500
 
#define RT2860_RX_SEC_CNT0   0x1504
 
#define RT2860_CCMP_FC_MUTE   0x1508
 
#define RT2860_TXOP_HLDR_ADDR0   0x1600
 
#define RT2860_TXOP_HLDR_ADDR1   0x1604
 
#define RT2860_TXOP_HLDR_ET   0x1608
 
#define RT2860_QOS_CFPOLL_RA_DW0   0x160c
 
#define RT2860_QOS_CFPOLL_A1_DW1   0x1610
 
#define RT2860_QOS_CFPOLL_QC   0x1614
 
#define RT2860_RX_STA_CNT0   0x1700
 
#define RT2860_RX_STA_CNT1   0x1704
 
#define RT2860_RX_STA_CNT2   0x1708
 
#define RT2860_TX_STA_CNT0   0x170c
 
#define RT2860_TX_STA_CNT1   0x1710
 
#define RT2860_TX_STA_CNT2   0x1714
 
#define RT2860_TX_STAT_FIFO   0x1718
 
#define RT2860_WCID_ENTRY(wcid)   (0x1800 + (wcid) * 8)
 
#define RT2860_FW_BASE   0x2000
 
#define RT2870_FW_BASE   0x3000
 
#define RT2860_PKEY(wcid)   (0x4000 + (wcid) * 32)
 
#define RT2860_IVEIV(wcid)   (0x6000 + (wcid) * 8)
 
#define RT2860_WCID_ATTR(wcid)   (0x6800 + (wcid) * 4)
 
#define RT2860_SKEY(vap, kidx)   (0x6c00 + (vap) * 128 + (kidx) * 32)
 
#define RT2860_SKEY_MODE_0_7   0x7000
 
#define RT2860_SKEY_MODE_8_15   0x7004
 
#define RT2860_SKEY_MODE_16_23   0x7008
 
#define RT2860_SKEY_MODE_24_31   0x700c
 
#define RT2860_H2M_MAILBOX   0x7010
 
#define RT2860_H2M_MAILBOX_CID   0x7014
 
#define RT2860_H2M_MAILBOX_STATUS   0x701c
 
#define RT2860_H2M_INTSRC   0x7024
 
#define RT2860_H2M_BBPAGENT   0x7028
 
#define RT2860_BCN_BASE(vap)   (0x7800 + (vap) * 512)
 
#define RT2860_C   (1 << 0)
 
#define RT2860_S   (1 << 1)
 
#define RT2860_D   (1 << 2)
 
#define RT2860_SHIFT_D   2
 
#define RT2860_Q   (1 << 3)
 
#define RT2860_SHIFT_Q   3
 
#define RT2860_TX_COHERENT   (1 << 17)
 
#define RT2860_RX_COHERENT   (1 << 16)
 
#define RT2860_MAC_INT_4   (1 << 15)
 
#define RT2860_MAC_INT_3   (1 << 14)
 
#define RT2860_MAC_INT_2   (1 << 13)
 
#define RT2860_MAC_INT_1   (1 << 12)
 
#define RT2860_MAC_INT_0   (1 << 11)
 
#define RT2860_TX_RX_COHERENT   (1 << 10)
 
#define RT2860_MCU_CMD_INT   (1 << 9)
 
#define RT2860_TX_DONE_INT5   (1 << 8)
 
#define RT2860_TX_DONE_INT4   (1 << 7)
 
#define RT2860_TX_DONE_INT3   (1 << 6)
 
#define RT2860_TX_DONE_INT2   (1 << 5)
 
#define RT2860_TX_DONE_INT1   (1 << 4)
 
#define RT2860_TX_DONE_INT0   (1 << 3)
 
#define RT2860_RX_DONE_INT   (1 << 2)
 
#define RT2860_TX_DLY_INT   (1 << 1)
 
#define RT2860_RX_DLY_INT   (1 << 0)
 
#define RT2860_HDR_SEG_LEN_SHIFT   8
 
#define RT2860_BIG_ENDIAN   (1 << 7)
 
#define RT2860_TX_WB_DDONE   (1 << 6)
 
#define RT2860_WPDMA_BT_SIZE_SHIFT   4
 
#define RT2860_WPDMA_BT_SIZE16   0
 
#define RT2860_WPDMA_BT_SIZE32   1
 
#define RT2860_WPDMA_BT_SIZE64   2
 
#define RT2860_WPDMA_BT_SIZE128   3
 
#define RT2860_RX_DMA_BUSY   (1 << 3)
 
#define RT2860_RX_DMA_EN   (1 << 2)
 
#define RT2860_TX_DMA_BUSY   (1 << 1)
 
#define RT2860_TX_DMA_EN   (1 << 0)
 
#define RT2860_TXDLY_INT_EN   (1U << 31)
 
#define RT2860_TXMAX_PINT_SHIFT   24
 
#define RT2860_TXMAX_PTIME_SHIFT   16
 
#define RT2860_RXDLY_INT_EN   (1 << 15)
 
#define RT2860_RXMAX_PINT_SHIFT   8
 
#define RT2860_RXMAX_PTIME_SHIFT   0
 
#define RT2860_GPIO_D_SHIFT   8
 
#define RT2860_GPIO_O_SHIFT   0
 
#define RT2860_USB_TX_BUSY   (1U << 31)
 
#define RT2860_USB_RX_BUSY   (1 << 30)
 
#define RT2860_USB_EPOUT_VLD_SHIFT   24
 
#define RT2860_USB_TX_EN   (1 << 23)
 
#define RT2860_USB_RX_EN   (1 << 22)
 
#define RT2860_USB_RX_AGG_EN   (1 << 21)
 
#define RT2860_USB_TXOP_HALT   (1 << 20)
 
#define RT2860_USB_TX_CLEAR   (1 << 19)
 
#define RT2860_USB_PHY_WD_EN   (1 << 16)
 
#define RT2860_USB_RX_AGG_LMT(x)   ((x) << 8) /* in unit of 1KB */
 
#define RT2860_USB_RX_AGG_TO(x)   ((x) & 0xff) /* in unit of 33ns */
 
#define RT2860_TEST_EN   (1 << 24)
 
#define RT2860_TEST_SEL_SHIFT   16
 
#define RT2860_BT_MODE_EN   (1 << 8)
 
#define RT2860_US_CYC_CNT_SHIFT   0
 
#define RT2860_HST_PM_SEL   (1 << 16)
 
#define RT2860_CAP_MODE   (1 << 14)
 
#define RT2860_PME_OEN   (1 << 13)
 
#define RT2860_CLKSELECT   (1 << 12)
 
#define RT2860_PBF_CLK_EN   (1 << 11)
 
#define RT2860_MAC_CLK_EN   (1 << 10)
 
#define RT2860_DMA_CLK_EN   (1 << 9)
 
#define RT2860_MCU_READY   (1 << 7)
 
#define RT2860_ASY_RESET   (1 << 4)
 
#define RT2860_PBF_RESET   (1 << 3)
 
#define RT2860_MAC_RESET   (1 << 2)
 
#define RT2860_DMA_RESET   (1 << 1)
 
#define RT2860_MCU_RESET   (1 << 0)
 
#define RT2860_MCU_CMD_SLEEP   0x30
 
#define RT2860_MCU_CMD_WAKEUP   0x31
 
#define RT2860_MCU_CMD_LEDS   0x50
 
#define RT2860_MCU_CMD_LED_RSSI   0x51
 
#define RT2860_MCU_CMD_LED1   0x52
 
#define RT2860_MCU_CMD_LED2   0x53
 
#define RT2860_MCU_CMD_LED3   0x54
 
#define RT2860_MCU_CMD_RFRESET   0x72
 
#define RT2860_MCU_CMD_ANTSEL   0x73
 
#define RT2860_MCU_CMD_BBP   0x80
 
#define RT2860_MCU_CMD_PSLEVEL   0x83
 
#define RT2860_TX1Q_NUM_SHIFT   21
 
#define RT2860_TX2Q_NUM_SHIFT   16
 
#define RT2860_NULL0_MODE   (1 << 15)
 
#define RT2860_NULL1_MODE   (1 << 14)
 
#define RT2860_RX_DROP_MODE   (1 << 13)
 
#define RT2860_TX0Q_MANUAL   (1 << 12)
 
#define RT2860_TX1Q_MANUAL   (1 << 11)
 
#define RT2860_TX2Q_MANUAL   (1 << 10)
 
#define RT2860_RX0Q_MANUAL   (1 << 9)
 
#define RT2860_HCCA_EN   (1 << 8)
 
#define RT2860_TX0Q_EN   (1 << 4)
 
#define RT2860_TX1Q_EN   (1 << 3)
 
#define RT2860_TX2Q_EN   (1 << 2)
 
#define RT2860_RX0Q_EN   (1 << 1)
 
#define RT2860_WRITE_TXQ(qid)   (1 << (11 - (qid)))
 
#define RT2860_NULL0_KICK   (1 << 7)
 
#define RT2860_NULL1_KICK   (1 << 6)
 
#define RT2860_BUF_RESET   (1 << 5)
 
#define RT2860_READ_TXQ(qid)   (1 << (3 - (qid))
 
#define RT2860_READ_RX0Q   (1 << 0)
 
#define RT2860_MCU_MAC_INT_8   (1 << 24)
 
#define RT2860_MCU_MAC_INT_7   (1 << 23)
 
#define RT2860_MCU_MAC_INT_6   (1 << 22)
 
#define RT2860_MCU_MAC_INT_4   (1 << 20)
 
#define RT2860_MCU_MAC_INT_3   (1 << 19)
 
#define RT2860_MCU_MAC_INT_2   (1 << 18)
 
#define RT2860_MCU_MAC_INT_1   (1 << 17)
 
#define RT2860_MCU_MAC_INT_0   (1 << 16)
 
#define RT2860_DTX0_INT   (1 << 11)
 
#define RT2860_DTX1_INT   (1 << 10)
 
#define RT2860_DTX2_INT   (1 << 9)
 
#define RT2860_DRX0_INT   (1 << 8)
 
#define RT2860_HCMD_INT   (1 << 7)
 
#define RT2860_N0TX_INT   (1 << 6)
 
#define RT2860_N1TX_INT   (1 << 5)
 
#define RT2860_BCNTX_INT   (1 << 4)
 
#define RT2860_MTX0_INT   (1 << 3)
 
#define RT2860_MTX1_INT   (1 << 2)
 
#define RT2860_MTX2_INT   (1 << 1)
 
#define RT2860_MRX0_INT   (1 << 0)
 
#define RT2860_RX0Q_PCNT_MASK   0xff000000
 
#define RT2860_TX2Q_PCNT_MASK   0x00ff0000
 
#define RT2860_TX1Q_PCNT_MASK   0x0000ff00
 
#define RT2860_TX0Q_PCNT_MASK   0x000000ff
 
#define RT2860_CAP_ADC_FEQ   (1U << 31)
 
#define RT2860_CAP_START   (1 << 30)
 
#define RT2860_MAN_TRIG   (1 << 29)
 
#define RT2860_TRIG_OFFSET_SHIFT   16
 
#define RT2860_START_ADDR_SHIFT   0
 
#define RT3070_RF_KICK   (1 << 17)
 
#define RT3070_RF_WRITE   (1 << 16)
 
#define RT3070_SEL_EFUSE   (1U << 31)
 
#define RT3070_EFSROM_KICK   (1 << 30)
 
#define RT3070_EFSROM_AIN_MASK   0x03ff0000
 
#define RT3070_EFSROM_AIN_SHIFT   16
 
#define RT3070_EFSROM_MODE_MASK   0x000000c0
 
#define RT3070_EFUSE_AOUT_MASK   0x0000003f
 
#define RT5592_SEL_XTAL   (1U << 31)
 
#define RT2860_RX_TS_EN   (1 << 7)
 
#define RT2860_WLAN_HALT_EN   (1 << 6)
 
#define RT2860_PBF_LOOP_EN   (1 << 5)
 
#define RT2860_CONT_TX_TEST   (1 << 4)
 
#define RT2860_MAC_RX_EN   (1 << 3)
 
#define RT2860_MAC_TX_EN   (1 << 2)
 
#define RT2860_BBP_HRST   (1 << 1)
 
#define RT2860_MAC_SRST   (1 << 0)
 
#define RT2860_MULTI_BCN_NUM_SHIFT   18
 
#define RT2860_MULTI_BSSID_MODE_SHIFT   16
 
#define RT2860_MIN_MPDU_LEN_SHIFT   16
 
#define RT2860_MAX_PSDU_LEN_SHIFT   12
 
#define RT2860_MAX_PSDU_LEN8K   0
 
#define RT2860_MAX_PSDU_LEN16K   1
 
#define RT2860_MAX_PSDU_LEN32K   2
 
#define RT2860_MAX_PSDU_LEN64K   3
 
#define RT2860_MAX_MPDU_LEN_SHIFT   0
 
#define RT2860_BBP_RW_PARALLEL   (1 << 19)
 
#define RT2860_BBP_PAR_DUR_112_5   (1 << 18)
 
#define RT2860_BBP_CSR_KICK   (1 << 17)
 
#define RT2860_BBP_CSR_READ   (1 << 16)
 
#define RT2860_BBP_ADDR_SHIFT   8
 
#define RT2860_BBP_DATA_SHIFT   0
 
#define RT2860_RF_REG_CTRL   (1U << 31)
 
#define RT2860_RF_LE_SEL1   (1 << 30)
 
#define RT2860_RF_LE_STBY   (1 << 29)
 
#define RT2860_RF_REG_WIDTH_SHIFT   24
 
#define RT2860_RF_REG_0_SHIFT   0
 
#define RT2860_RF_DUR_5   (1 << 24)
 
#define RT2860_RF_REG_1_SHIFT   0
 
#define RT2860_LED_POL   (1 << 30)
 
#define RT2860_Y_LED_MODE_SHIFT   28
 
#define RT2860_G_LED_MODE_SHIFT   26
 
#define RT2860_R_LED_MODE_SHIFT   24
 
#define RT2860_LED_MODE_OFF   0
 
#define RT2860_LED_MODE_BLINK_TX   1
 
#define RT2860_LED_MODE_SLOW_BLINK   2
 
#define RT2860_LED_MODE_ON   3
 
#define RT2860_SLOW_BLK_TIME_SHIFT   16
 
#define RT2860_LED_OFF_TIME_SHIFT   8
 
#define RT2860_LED_ON_TIME_SHIFT   0
 
#define RT2860_BB_RXEND_EN   (1 << 29)
 
#define RT2860_EIFS_TIME_SHIFT   20
 
#define RT2860_OFDM_XIFS_TIME_SHIFT   16
 
#define RT2860_OFDM_SIFS_TIME_SHIFT   8
 
#define RT2860_CCK_SIFS_TIME_SHIFT   0
 
#define RT2860_CC_DELAY_TIME_SHIFT   8
 
#define RT2860_SLOT_TIME   0
 
#define RT2860_NAV_UPD   (1U << 31)
 
#define RT2860_NAV_UPD_VAL_SHIFT   16
 
#define RT2860_NAV_CLR_EN   (1 << 15)
 
#define RT2860_NAV_TIMER_SHIFT   0
 
#define RT2860_EIFS_AS_CH_BUSY   (1 << 4)
 
#define RT2860_NAV_AS_CH_BUSY   (1 << 3)
 
#define RT2860_RX_AS_CH_BUSY   (1 << 2)
 
#define RT2860_TX_AS_CH_BUSY   (1 << 1)
 
#define RT2860_CH_STA_TIMER_EN   (1 << 0)
 
#define RT2860_TSF_INS_COMP_SHIFT   24
 
#define RT2860_BCN_TX_EN   (1 << 20)
 
#define RT2860_TBTT_TIMER_EN   (1 << 19)
 
#define RT2860_TSF_SYNC_MODE_SHIFT   17
 
#define RT2860_TSF_SYNC_MODE_DIS   0
 
#define RT2860_TSF_SYNC_MODE_STA   1
 
#define RT2860_TSF_SYNC_MODE_IBSS   2
 
#define RT2860_TSF_SYNC_MODE_HOSTAP   3
 
#define RT2860_TSF_TIMER_EN   (1 << 16)
 
#define RT2860_BCN_INTVAL_SHIFT   0
 
#define RT2860_BCN_CWMIN_SHIFT   20
 
#define RT2860_BCN_AIFSN_SHIFT   16
 
#define RT2860_BCN_EXP_WIN_SHIFT   8
 
#define RT2860_TBTT_ADJUST_SHIFT   0
 
#define RT2860_GP_TIMER_SHIFT   16
 
#define RT2860_PRE_TBTT_TIMER_SHIFT   0
 
#define RT2860_GP_TIMER_EN   (1 << 1)
 
#define RT2860_PRE_TBTT_INT_EN   (1 << 0)
 
#define RT2860_RX_STATUS_BUSY   (1 << 1)
 
#define RT2860_TX_STATUS_BUSY   (1 << 0)
 
#define RT2860_IO_ADDA_PD   (1 << 3)
 
#define RT2860_IO_PLL_PD   (1 << 2)
 
#define RT2860_IO_RA_PE   (1 << 1)
 
#define RT2860_IO_RF_PE   (1 << 0)
 
#define RT2860_AUTO_WAKEUP_EN   (1 << 15)
 
#define RT2860_SLEEP_TBTT_NUM_SHIFT   8
 
#define RT2860_WAKEUP_LEAD_TIME_SHIFT   0
 
#define RT2860_TRSW_POL   (1 << 19)
 
#define RT2860_TRSW_EN   (1 << 18)
 
#define RT2860_RFTR_POL   (1 << 17)
 
#define RT2860_RFTR_EN   (1 << 16)
 
#define RT2860_LNA_PE_G1_POL   (1 << 15)
 
#define RT2860_LNA_PE_A1_POL   (1 << 14)
 
#define RT2860_LNA_PE_G0_POL   (1 << 13)
 
#define RT2860_LNA_PE_A0_POL   (1 << 12)
 
#define RT2860_LNA_PE_G1_EN   (1 << 11)
 
#define RT2860_LNA_PE_A1_EN   (1 << 10)
 
#define RT2860_LNA_PE1_EN   (RT2860_LNA_PE_A1_EN | RT2860_LNA_PE_G1_EN)
 
#define RT2860_LNA_PE_G0_EN   (1 << 9)
 
#define RT2860_LNA_PE_A0_EN   (1 << 8)
 
#define RT2860_LNA_PE0_EN   (RT2860_LNA_PE_A0_EN | RT2860_LNA_PE_G0_EN)
 
#define RT2860_PA_PE_G1_POL   (1 << 7)
 
#define RT2860_PA_PE_A1_POL   (1 << 6)
 
#define RT2860_PA_PE_G0_POL   (1 << 5)
 
#define RT2860_PA_PE_A0_POL   (1 << 4)
 
#define RT2860_PA_PE_G1_EN   (1 << 3)
 
#define RT2860_PA_PE_A1_EN   (1 << 2)
 
#define RT2860_PA_PE_G0_EN   (1 << 1)
 
#define RT2860_PA_PE_A0_EN   (1 << 0)
 
#define RT2860_5G_BAND_SEL_N   (1 << 2)
 
#define RT2860_5G_BAND_SEL_P   (1 << 1)
 
#define RT2860_TX_BAND_SEL   (1 << 0)
 
#define RT2860_DLY_RFTR_EN_SHIFT   24
 
#define RT2860_DLY_TRSW_EN_SHIFT   16
 
#define RT2860_DLY_PAPE_EN_SHIFT   8
 
#define RT2860_DLY_TXPE_EN_SHIFT   0
 
#define RT2860_DLY_RFTR_DIS_SHIFT   16
 
#define RT2860_DLY_TRSW_DIS_SHIFT   8
 
#define RT2860_DLY_PAPE_DIS   SHIFT 0
 
#define RT2860_DLY_LNA_EN_SHIFT   24
 
#define RT2860_DLY_LNA_DIS_SHIFT   16
 
#define RT2860_DLY_DAC_EN_SHIFT   8
 
#define RT2860_DLY_DAC_DIS_SHIFT   0
 
#define RT2860_TXOP_REM_THRES_SHIFT   24
 
#define RT2860_CF_END_THRES_SHIFT   16
 
#define RT2860_RDG_IN_THRES   8
 
#define RT2860_RDG_OUT_THRES   0
 
#define RT2860_EXT_CW_MIN_SHIFT   16
 
#define RT2860_EXT_CCA_DLY_SHIFT   8
 
#define RT2860_EXT_CCA_EN   (1 << 7)
 
#define RT2860_LSIG_TXOP_EN   (1 << 6)
 
#define RT2860_TXOP_TRUN_EN_MIMOPS   (1 << 4)
 
#define RT2860_TXOP_TRUN_EN_TXOP   (1 << 3)
 
#define RT2860_TXOP_TRUN_EN_RATE   (1 << 2)
 
#define RT2860_TXOP_TRUN_EN_AC   (1 << 1)
 
#define RT2860_TXOP_TRUN_EN_TIMEOUT   (1 << 0)
 
#define RT2860_RTS_FBK_EN   (1 << 24)
 
#define RT2860_RTS_THRES_SHIFT   8
 
#define RT2860_RTS_RTY_LIMIT_SHIFT   0
 
#define RT2860_TXOP_TIMEOUT_SHIFT   16
 
#define RT2860_RX_ACK_TIMEOUT_SHIFT   8
 
#define RT2860_MPDU_LIFE_TIME_SHIFT   4
 
#define RT2860_TX_AUTOFB_EN   (1 << 30)
 
#define RT2860_AGG_RTY_MODE_TIMER   (1 << 29)
 
#define RT2860_NAG_RTY_MODE_TIMER   (1 << 28)
 
#define RT2860_LONG_RTY_THRES_SHIFT   16
 
#define RT2860_LONG_RTY_LIMIT_SHIFT   8
 
#define RT2860_SHORT_RTY_LIMIT_SHIFT   0
 
#define RT2860_REMOTE_MFS_SHIFT   24
 
#define RT2860_REMOTE_MFB_SHIFT   16
 
#define RT2860_TX_CFACK_EN   (1 << 12)
 
#define RT2860_TX_RDG_EN   (1 << 11)
 
#define RT2860_TX_MRQ_EN   (1 << 10)
 
#define RT2860_REMOTE_UMFS_EN   (1 << 9)
 
#define RT2860_TX_MFB_EN   (1 << 8)
 
#define RT2860_REMOTE_MFB_LT_SHIFT   0
 
#define RT2860_RTSTH_EN   (1 << 26)
 
#define RT2860_TXOP_ALLOW_GF40   (1 << 25)
 
#define RT2860_TXOP_ALLOW_GF20   (1 << 24)
 
#define RT2860_TXOP_ALLOW_MM40   (1 << 23)
 
#define RT2860_TXOP_ALLOW_MM20   (1 << 22)
 
#define RT2860_TXOP_ALLOW_OFDM   (1 << 21)
 
#define RT2860_TXOP_ALLOW_CCK   (1 << 20)
 
#define RT2860_TXOP_ALLOW_ALL   (0x3f << 20)
 
#define RT2860_PROT_NAV_SHORT   (1 << 18)
 
#define RT2860_PROT_NAV_LONG   (2 << 18)
 
#define RT2860_PROT_CTRL_RTS_CTS   (1 << 16)
 
#define RT2860_PROT_CTRL_CTS   (2 << 16)
 
#define RT2860_EXP_OFDM_TIME_SHIFT   16
 
#define RT2860_EXP_CCK_TIME_SHIFT   0
 
#define RT2860_DROP_CTRL_RSV   (1 << 16)
 
#define RT2860_DROP_BAR   (1 << 15)
 
#define RT2860_DROP_BA   (1 << 14)
 
#define RT2860_DROP_PSPOLL   (1 << 13)
 
#define RT2860_DROP_RTS   (1 << 12)
 
#define RT2860_DROP_CTS   (1 << 11)
 
#define RT2860_DROP_ACK   (1 << 10)
 
#define RT2860_DROP_CFEND   (1 << 9)
 
#define RT2860_DROP_CFACK   (1 << 8)
 
#define RT2860_DROP_DUPL   (1 << 7)
 
#define RT2860_DROP_BC   (1 << 6)
 
#define RT2860_DROP_MC   (1 << 5)
 
#define RT2860_DROP_VER_ERR   (1 << 4)
 
#define RT2860_DROP_NOT_MYBSS   (1 << 3)
 
#define RT2860_DROP_UC_NOME   (1 << 2)
 
#define RT2860_DROP_PHY_ERR   (1 << 1)
 
#define RT2860_DROP_CRC_ERR   (1 << 0)
 
#define RT2860_CTRL_PWR_BIT   (1 << 7)
 
#define RT2860_BAC_ACK_POLICY   (1 << 6)
 
#define RT2860_CCK_SHORT_EN   (1 << 4)
 
#define RT2860_CTS_40M_REF_EN   (1 << 3)
 
#define RT2860_CTS_40M_MODE_EN   (1 << 2)
 
#define RT2860_BAC_ACKPOLICY_EN   (1 << 1)
 
#define RT2860_AUTO_RSP_EN   (1 << 0)
 
#define RT2860_OFDM_SIFS_COST_SHIFT   8
 
#define RT2860_CCK_SIFS_COST_SHIFT   0
 
#define RT2860_TXOP_ETM1_EN   (1 << 25)
 
#define RT2860_TXOP_ETM0_EN   (1 << 24)
 
#define RT2860_TXOP_ETM_THRES_SHIFT   16
 
#define RT2860_TXOP_ETO_EN   (1 << 8)
 
#define RT2860_TXOP_ETO_THRES_SHIFT   1
 
#define RT2860_PER_RX_RST_EN   (1 << 0)
 
#define RT2860_TXQ_MCS_SHIFT   16
 
#define RT2860_TXQ_WCID_SHIFT   8
 
#define RT2860_TXQ_ACKREQ   (1 << 7)
 
#define RT2860_TXQ_AGG   (1 << 6)
 
#define RT2860_TXQ_OK   (1 << 5)
 
#define RT2860_TXQ_PID_SHIFT   1
 
#define RT2860_TXQ_VLD   (1 << 0)
 
#define RT2860_MODE_NOSEC   0
 
#define RT2860_MODE_WEP40   1
 
#define RT2860_MODE_WEP104   2
 
#define RT2860_MODE_TKIP   3
 
#define RT2860_MODE_AES_CCMP   4
 
#define RT2860_MODE_CKIP40   5
 
#define RT2860_MODE_CKIP104   6
 
#define RT2860_MODE_CKIP128   7
 
#define RT2860_RX_PKEY_EN   (1 << 0)
 
#define RT2860_H2M_BUSY   (1 << 24)
 
#define RT2860_TOKEN_NO_INTR   0xff
 
#define RT2860_LED_RADIO   (1 << 13)
 
#define RT2860_LED_LINK_2GHZ   (1 << 14)
 
#define RT2860_LED_LINK_5GHZ   (1 << 15)
 
#define RT3070_RF_BLOCK   (1 << 0)
 
#define RT3070_PLL_PD   (1 << 1)
 
#define RT3070_RX0_PD   (1 << 2)
 
#define RT3070_TX0_PD   (1 << 3)
 
#define RT3070_RX1_PD   (1 << 4)
 
#define RT3070_TX1_PD   (1 << 5)
 
#define RT3070_RX2_PD   (1 << 6)
 
#define RT3070_TX2_PD   (1 << 7)
 
#define RT3070_TX_LO2   (1 << 3)
 
#define RT3070_TX_LO1   (1 << 3)
 
#define RT3070_RX_LO1   (1 << 3)
 
#define RT3070_RX_LO2   (1 << 3)
 
#define RT3593_AUTOTUNE_BYPASS   (1 << 6)
 
#define RT3593_TX_LO2   (1 << 4)
 
#define RT3593_TX_LO1   (1 << 4)
 
#define RT5390_RESCAL   (1 << 7)
 
#define RT5390_VCOCAL   (1 << 7)
 
#define RT5390_RX_LO1   (1 << 5)
 
#define RT5390_RX_LO2   (1 << 7)
 
#define RT5390_MAC_IF_CTRL   (1 << 6)
 
#define RT5390_MLD   (1 << 2)
 
#define RT5390_EN_SIG_MODULATION   (1 << 3)
 
#define RT2860_TX_BURST   (1 << 15)
 
#define RT2860_TX_LS1   (1 << 14) /* SDP1 is the last segment */
 
#define RT2860_TX_DDONE   (1 << 15)
 
#define RT2860_TX_LS0   (1 << 14) /* SDP0 is the last segment */
 
#define RT2860_TX_QSEL_SHIFT   1
 
#define RT2860_TX_QSEL_MGMT   (0 << 1)
 
#define RT2860_TX_QSEL_HCCA   (1 << 1)
 
#define RT2860_TX_QSEL_EDCA   (2 << 1)
 
#define RT2860_TX_WIV   (1 << 0)
 
#define RT2860_TX_MPDU_DSITY_SHIFT   5
 
#define RT2860_TX_AMPDU   (1 << 4)
 
#define RT2860_TX_TS   (1 << 3)
 
#define RT2860_TX_CFACK   (1 << 2)
 
#define RT2860_TX_MMPS   (1 << 1)
 
#define RT2860_TX_FRAG   (1 << 0)
 
#define RT2860_TX_TXOP_HT   0
 
#define RT2860_TX_TXOP_PIFS   1
 
#define RT2860_TX_TXOP_SIFS   2
 
#define RT2860_TX_TXOP_BACKOFF   3
 
#define RT2860_PHY_MODE   0xc000
 
#define RT2860_PHY_CCK   (0 << 14)
 
#define RT2860_PHY_OFDM   (1 << 14)
 
#define RT2860_PHY_HT_MIX   (2 << 14)
 
#define RT2860_PHY_HT_GF   (3 << 14)
 
#define RT2860_PHY_SGI   (1 << 8)
 
#define RT2860_PHY_BW40   (1 << 7)
 
#define RT2860_PHY_MCS   0x7f
 
#define RT2860_PHY_SHPRE   (1 << 3)
 
#define RT2860_TX_BAWINSIZE_SHIFT   2
 
#define RT2860_TX_NSEQ   (1 << 1)
 
#define RT2860_TX_ACK   (1 << 0)
 
#define RT2860_TX_PID_SHIFT   12
 
#define RT2860_RX_DDONE   (1 << 15)
 
#define RT2860_RX_LS0   (1 << 14)
 
#define RT2860_RX_DEC   (1 << 16)
 
#define RT2860_RX_AMPDU   (1 << 15)
 
#define RT2860_RX_L2PAD   (1 << 14)
 
#define RT2860_RX_RSSI   (1 << 13)
 
#define RT2860_RX_HTC   (1 << 12)
 
#define RT2860_RX_AMSDU   (1 << 11)
 
#define RT2860_RX_MICERR   (1 << 10)
 
#define RT2860_RX_ICVERR   (1 << 9)
 
#define RT2860_RX_CRCERR   (1 << 8)
 
#define RT2860_RX_MYBSS   (1 << 7)
 
#define RT2860_RX_BC   (1 << 6)
 
#define RT2860_RX_MC   (1 << 5)
 
#define RT2860_RX_UC2ME   (1 << 4)
 
#define RT2860_RX_FRAG   (1 << 3)
 
#define RT2860_RX_NULL   (1 << 2)
 
#define RT2860_RX_DATA   (1 << 1)
 
#define RT2860_RX_BA   (1 << 0)
 
#define RT2860_RX_UDF_SHIFT   5
 
#define RT2860_RX_BSS_IDX_SHIFT   2
 
#define RT2860_RX_TID_SHIFT   12
 
#define RT2860_RF_2820   0x0001 /* 2T3R */
 
#define RT2860_RF_2850   0x0002 /* dual-band 2T3R */
 
#define RT2860_RF_2720   0x0003 /* 1T2R */
 
#define RT2860_RF_2750   0x0004 /* dual-band 1T2R */
 
#define RT3070_RF_3020   0x0005 /* 1T1R */
 
#define RT3070_RF_2020   0x0006 /* b/g */
 
#define RT3070_RF_3021   0x0007 /* 1T2R */
 
#define RT3070_RF_3022   0x0008 /* 2T2R */
 
#define RT3070_RF_3052   0x0009 /* dual-band 2T2R */
 
#define RT3593_RF_3053   0x000d /* dual-band 3T3R */
 
#define RT5592_RF_5592   0x000f /* dual-band 2T2R */
 
#define RT5390_RF_5370   0x5370 /* 1T1R */
 
#define RT5390_RF_5372   0x5372 /* 2T2R */
 
#define RT2870_RESET   1
 
#define RT2870_WRITE_2   2
 
#define RT2870_WRITE_REGION_1   6
 
#define RT2870_READ_REGION_1   7
 
#define RT2870_EEPROM_READ   9
 
#define RT2860_EEPROM_DELAY   1 /* minimum hold time (microsecond) */
 
#define RT2860_EEPROM_VERSION   0x01
 
#define RT2860_EEPROM_MAC01   0x02
 
#define RT2860_EEPROM_MAC23   0x03
 
#define RT2860_EEPROM_MAC45   0x04
 
#define RT2860_EEPROM_PCIE_PSLEVEL   0x11
 
#define RT2860_EEPROM_REV   0x12
 
#define RT2860_EEPROM_ANTENNA   0x1a
 
#define RT2860_EEPROM_CONFIG   0x1b
 
#define RT2860_EEPROM_COUNTRY   0x1c
 
#define RT2860_EEPROM_FREQ_LEDS   0x1d
 
#define RT2860_EEPROM_LED1   0x1e
 
#define RT2860_EEPROM_LED2   0x1f
 
#define RT2860_EEPROM_LED3   0x20
 
#define RT2860_EEPROM_LNA   0x22
 
#define RT2860_EEPROM_RSSI1_2GHZ   0x23
 
#define RT2860_EEPROM_RSSI2_2GHZ   0x24
 
#define RT2860_EEPROM_RSSI1_5GHZ   0x25
 
#define RT2860_EEPROM_RSSI2_5GHZ   0x26
 
#define RT2860_EEPROM_DELTAPWR   0x28
 
#define RT2860_EEPROM_PWR2GHZ_BASE1   0x29
 
#define RT2860_EEPROM_PWR2GHZ_BASE2   0x30
 
#define RT2860_EEPROM_TSSI1_2GHZ   0x37
 
#define RT2860_EEPROM_TSSI2_2GHZ   0x38
 
#define RT2860_EEPROM_TSSI3_2GHZ   0x39
 
#define RT2860_EEPROM_TSSI4_2GHZ   0x3a
 
#define RT2860_EEPROM_TSSI5_2GHZ   0x3b
 
#define RT2860_EEPROM_PWR5GHZ_BASE1   0x3c
 
#define RT2860_EEPROM_PWR5GHZ_BASE2   0x53
 
#define RT2860_EEPROM_TSSI1_5GHZ   0x6a
 
#define RT2860_EEPROM_TSSI2_5GHZ   0x6b
 
#define RT2860_EEPROM_TSSI3_5GHZ   0x6c
 
#define RT2860_EEPROM_TSSI4_5GHZ   0x6d
 
#define RT2860_EEPROM_TSSI5_5GHZ   0x6e
 
#define RT2860_EEPROM_RPWR   0x6f
 
#define RT2860_EEPROM_BBP_BASE   0x78
 
#define RT3071_EEPROM_RF_BASE   0x82
 
#define RT3593_EEPROM_FREQ_LEDS   0x21
 
#define RT3593_EEPROM_FREQ   0x22
 
#define RT3593_EEPROM_LED1   0x22
 
#define RT3593_EEPROM_LED2   0x23
 
#define RT3593_EEPROM_LED3   0x24
 
#define RT3593_EEPROM_LNA   0x26
 
#define RT3593_EEPROM_LNA_5GHZ   0x27
 
#define RT3593_EEPROM_RSSI1_2GHZ   0x28
 
#define RT3593_EEPROM_RSSI2_2GHZ   0x29
 
#define RT3593_EEPROM_RSSI1_5GHZ   0x2a
 
#define RT3593_EEPROM_RSSI2_5GHZ   0x2b
 
#define RT3593_EEPROM_PWR2GHZ_BASE1   0x30
 
#define RT3593_EEPROM_PWR2GHZ_BASE2   0x37
 
#define RT3593_EEPROM_PWR2GHZ_BASE3   0x3e
 
#define RT3593_EEPROM_PWR5GHZ_BASE1   0x4b
 
#define RT3593_EEPROM_PWR5GHZ_BASE2   0x65
 
#define RT3593_EEPROM_PWR5GHZ_BASE3   0x7f
 
#define RT5390_EEPROM_IQ_GAIN_CAL_TX0_2GHZ   0x130
 
#define RT5390_EEPROM_IQ_PHASE_CAL_TX0_2GHZ   0x131
 
#define RT5390_EEPROM_IQ_GAIN_CAL_TX1_2GHZ   0x133
 
#define RT5390_EEPROM_IQ_PHASE_CAL_TX1_2GHZ   0x134
 
#define RT5390_EEPROM_RF_IQ_COMPENSATION_CTL   0x13c
 
#define RT5390_EEPROM_RF_IQ_IMBALANCE_COMPENSATION_CTL   0x13d
 
#define RT5390_EEPROM_IQ_GAIN_CAL_TX0_CH36_TO_CH64_5GHZ   0x144
 
#define RT5390_EEPROM_IQ_PHASE_CAL_TX0_CH36_TO_CH64_5GHZ   0x145
 
#define RT5390_EEPROM_IQ_GAIN_CAL_TX0_CH100_TO_CH138_5GHZ   0x146
 
#define RT5390_EEPROM_IQ_PHASE_CAL_TX0_CH100_TO_CH138_5GHZ   0x147
 
#define RT5390_EEPROM_IQ_GAIN_CAL_TX0_CH140_TO_CH165_5GHZ   0x148
 
#define RT5390_EEPROM_IQ_PHASE_CAL_TX0_CH140_TO_CH165_5GHZ   0x149
 
#define RT5390_EEPROM_IQ_GAIN_CAL_TX1_CH36_TO_CH64_5GHZ   0x14a
 
#define RT5390_EEPROM_IQ_PHASE_CAL_TX1_CH36_TO_CH64_5GHZ   0x14b
 
#define RT5390_EEPROM_IQ_GAIN_CAL_TX1_CH100_TO_CH138_5GHZ   0x14c
 
#define RT5390_EEPROM_IQ_PHASE_CAL_TX1_CH100_TO_CH138_5GHZ   0x14d
 
#define RT5390_EEPROM_IQ_GAIN_CAL_TX1_CH140_TO_CH165_5GHZ   0x14e
 
#define RT5390_EEPROM_IQ_PHASE_CAL_TX1_CH140_TO_CH165_5GHZ   0x14f
 
#define RT2860_EEPROM_CTL(sc, val)
 
#define RT2870_DEF_MAC
 
#define RT2860_DEF_BBP
 
#define RT5390_DEF_BBP
 
#define RT5592_DEF_BBP
 
#define RT2860_RF2850
 
#define RT3070_RF3052
 
#define RT5592_RF5592_20MHZ
 
#define RT5592_RF5592_40MHZ
 
#define RT3070_DEF_RF
 
#define RT3572_DEF_RF
 
#define RT3593_DEF_RF
 
#define RT5390_DEF_RF
 
#define RT5392_DEF_RF
 
#define RT5592_DEF_RF
 
#define RT5592_2GHZ_DEF_RF
 
#define RT5592_5GHZ_DEF_RF
 
#define RT5592_CHAN_5GHZ
 

Functions

union run_stats __aligned (4)
 

Variables

struct rt2860_txd __packed
 
static const uint8_t run_chan_5ghz []
 
uint32_t raw
 
struct {
   uint16_t   fail
 
   uint16_t   pad
 
error
 
struct {
   uint16_t   success
 
   uint16_t   retry
 
tx
 

Macro Definition Documentation

◆ RT2860_5G_BAND_SEL_N

#define RT2860_5G_BAND_SEL_N   (1 << 2)

Definition at line 532 of file if_runreg.h.

◆ RT2860_5G_BAND_SEL_P

#define RT2860_5G_BAND_SEL_P   (1 << 1)

Definition at line 533 of file if_runreg.h.

◆ RT2860_AGG_RTY_MODE_TIMER

#define RT2860_AGG_RTY_MODE_TIMER   (1 << 29)

Definition at line 582 of file if_runreg.h.

◆ RT2860_ASIC_VER_ID

#define RT2860_ASIC_VER_ID   0x1000

Definition at line 85 of file if_runreg.h.

◆ RT2860_ASY_RESET

#define RT2860_ASY_RESET   (1 << 4)

Definition at line 294 of file if_runreg.h.

◆ RT2860_AUTO_RSP_CFG

#define RT2860_AUTO_RSP_CFG   0x1404

Definition at line 151 of file if_runreg.h.

◆ RT2860_AUTO_RSP_EN

#define RT2860_AUTO_RSP_EN   (1 << 0)

Definition at line 642 of file if_runreg.h.

◆ RT2860_AUTO_WAKEUP_CFG

#define RT2860_AUTO_WAKEUP_CFG   0x1208

Definition at line 119 of file if_runreg.h.

◆ RT2860_AUTO_WAKEUP_EN

#define RT2860_AUTO_WAKEUP_EN   (1 << 15)

Definition at line 503 of file if_runreg.h.

◆ RT2860_BAC_ACK_POLICY

#define RT2860_BAC_ACK_POLICY   (1 << 6)

Definition at line 637 of file if_runreg.h.

◆ RT2860_BAC_ACKPOLICY_EN

#define RT2860_BAC_ACKPOLICY_EN   (1 << 1)

Definition at line 641 of file if_runreg.h.

◆ RT2860_BB_RXEND_EN

#define RT2860_BB_RXEND_EN   (1 << 29)

Definition at line 443 of file if_runreg.h.

◆ RT2860_BBP_ADDR_SHIFT

#define RT2860_BBP_ADDR_SHIFT   8

Definition at line 415 of file if_runreg.h.

◆ RT2860_BBP_CSR_CFG

#define RT2860_BBP_CSR_CFG   0x101c

Definition at line 92 of file if_runreg.h.

◆ RT2860_BBP_CSR_KICK

#define RT2860_BBP_CSR_KICK   (1 << 17)

Definition at line 413 of file if_runreg.h.

◆ RT2860_BBP_CSR_READ

#define RT2860_BBP_CSR_READ   (1 << 16)

Definition at line 414 of file if_runreg.h.

◆ RT2860_BBP_DATA_SHIFT

#define RT2860_BBP_DATA_SHIFT   0

Definition at line 416 of file if_runreg.h.

◆ RT2860_BBP_HRST

#define RT2860_BBP_HRST   (1 << 1)

Definition at line 394 of file if_runreg.h.

◆ RT2860_BBP_PAR_DUR_112_5

#define RT2860_BBP_PAR_DUR_112_5   (1 << 18)

Definition at line 412 of file if_runreg.h.

◆ RT2860_BBP_RW_PARALLEL

#define RT2860_BBP_RW_PARALLEL   (1 << 19)

Definition at line 411 of file if_runreg.h.

◆ RT2860_BCN_AIFSN_SHIFT

#define RT2860_BCN_AIFSN_SHIFT   16

Definition at line 480 of file if_runreg.h.

◆ RT2860_BCN_BASE

#define RT2860_BCN_BASE (   vap)    (0x7800 + (vap) * 512)

Definition at line 210 of file if_runreg.h.

◆ RT2860_BCN_CWMIN_SHIFT

#define RT2860_BCN_CWMIN_SHIFT   20

Definition at line 479 of file if_runreg.h.

◆ RT2860_BCN_EXP_WIN_SHIFT

#define RT2860_BCN_EXP_WIN_SHIFT   8

Definition at line 481 of file if_runreg.h.

◆ RT2860_BCN_INTVAL_SHIFT

#define RT2860_BCN_INTVAL_SHIFT   0

Definition at line 476 of file if_runreg.h.

◆ RT2860_BCN_OFFSET0

#define RT2860_BCN_OFFSET0   0x042c

Definition at line 64 of file if_runreg.h.

◆ RT2860_BCN_OFFSET1

#define RT2860_BCN_OFFSET1   0x0430

Definition at line 65 of file if_runreg.h.

◆ RT2860_BCN_TIME_CFG

#define RT2860_BCN_TIME_CFG   0x1114

Definition at line 107 of file if_runreg.h.

◆ RT2860_BCN_TX_EN

#define RT2860_BCN_TX_EN   (1 << 20)

Definition at line 468 of file if_runreg.h.

◆ RT2860_BCNTX_INT

#define RT2860_BCNTX_INT   (1 << 4)

Definition at line 353 of file if_runreg.h.

◆ RT2860_BIG_ENDIAN

#define RT2860_BIG_ENDIAN   (1 << 7)

Definition at line 242 of file if_runreg.h.

◆ RT2860_BKOFF_SLOT_CFG

#define RT2860_BKOFF_SLOT_CFG   0x1104

Definition at line 103 of file if_runreg.h.

◆ RT2860_BT_MODE_EN

#define RT2860_BT_MODE_EN   (1 << 8)

Definition at line 282 of file if_runreg.h.

◆ RT2860_BUF_CTRL

#define RT2860_BUF_CTRL   0x0410

Definition at line 59 of file if_runreg.h.

◆ RT2860_BUF_RESET

#define RT2860_BUF_RESET   (1 << 5)

Definition at line 333 of file if_runreg.h.

◆ RT2860_C

#define RT2860_C   (1 << 0)

Definition at line 213 of file if_runreg.h.

◆ RT2860_CAP_ADC_FEQ

#define RT2860_CAP_ADC_FEQ   (1U << 31)

Definition at line 366 of file if_runreg.h.

◆ RT2860_CAP_CTRL

#define RT2860_CAP_CTRL   0x0440

Definition at line 69 of file if_runreg.h.

◆ RT2860_CAP_MODE

#define RT2860_CAP_MODE   (1 << 14)

Definition at line 287 of file if_runreg.h.

◆ RT2860_CAP_START

#define RT2860_CAP_START   (1 << 30)

Definition at line 367 of file if_runreg.h.

◆ RT2860_CC_DELAY_TIME_SHIFT

#define RT2860_CC_DELAY_TIME_SHIFT   8

Definition at line 450 of file if_runreg.h.

◆ RT2860_CCK_PROT_CFG

#define RT2860_CCK_PROT_CFG   0x1364

Definition at line 140 of file if_runreg.h.

◆ RT2860_CCK_SHORT_EN

#define RT2860_CCK_SHORT_EN   (1 << 4)

Definition at line 638 of file if_runreg.h.

◆ RT2860_CCK_SIFS_COST_SHIFT

#define RT2860_CCK_SIFS_COST_SHIFT   0

Definition at line 646 of file if_runreg.h.

◆ RT2860_CCK_SIFS_TIME_SHIFT

#define RT2860_CCK_SIFS_TIME_SHIFT   0

Definition at line 447 of file if_runreg.h.

◆ RT2860_CCMP_FC_MUTE

#define RT2860_CCMP_FC_MUTE   0x1508

Definition at line 161 of file if_runreg.h.

◆ RT2860_CF_END_THRES_SHIFT

#define RT2860_CF_END_THRES_SHIFT   16

Definition at line 555 of file if_runreg.h.

◆ RT2860_CH_IDLE_TIME

#define RT2860_CH_IDLE_TIME   0x1130

Definition at line 114 of file if_runreg.h.

◆ RT2860_CH_STA_TIMER_EN

#define RT2860_CH_STA_TIMER_EN   (1 << 0)

Definition at line 464 of file if_runreg.h.

◆ RT2860_CH_TIME_CFG

#define RT2860_CH_TIME_CFG   0x110c

Definition at line 105 of file if_runreg.h.

◆ RT2860_CLKSELECT

#define RT2860_CLKSELECT   (1 << 12)

Definition at line 289 of file if_runreg.h.

◆ RT2860_CONFIG_NO

#define RT2860_CONFIG_NO   1

Definition at line 25 of file if_runreg.h.

◆ RT2860_CONT_TX_TEST

#define RT2860_CONT_TX_TEST   (1 << 4)

Definition at line 391 of file if_runreg.h.

◆ RT2860_CTRL_PWR_BIT

#define RT2860_CTRL_PWR_BIT   (1 << 7)

Definition at line 636 of file if_runreg.h.

◆ RT2860_CTS_40M_MODE_EN

#define RT2860_CTS_40M_MODE_EN   (1 << 2)

Definition at line 640 of file if_runreg.h.

◆ RT2860_CTS_40M_REF_EN

#define RT2860_CTS_40M_REF_EN   (1 << 3)

Definition at line 639 of file if_runreg.h.

◆ RT2860_D

#define RT2860_D   (1 << 2)

Definition at line 215 of file if_runreg.h.

◆ RT2860_DEBUG

#define RT2860_DEBUG   0x10f4

Definition at line 99 of file if_runreg.h.

◆ RT2860_DEF_BBP

#define RT2860_DEF_BBP
Value:
{ 65, 0x2c }, \
{ 66, 0x38 }, \
{ 68, 0x0b }, \
{ 69, 0x12 }, \
{ 70, 0x0a }, \
{ 73, 0x10 }, \
{ 81, 0x37 }, \
{ 82, 0x62 }, \
{ 83, 0x6a }, \
{ 84, 0x99 }, \
{ 86, 0x00 }, \
{ 91, 0x04 }, \
{ 92, 0x00 }, \
{ 103, 0x00 }, \
{ 105, 0x05 }, \
{ 106, 0x35 }

Definition at line 1006 of file if_runreg.h.

◆ RT2860_DELAY_INT_CFG

#define RT2860_DELAY_INT_CFG   0x0210

Definition at line 35 of file if_runreg.h.

◆ RT2860_DLY_DAC_DIS_SHIFT

#define RT2860_DLY_DAC_DIS_SHIFT   0

Definition at line 551 of file if_runreg.h.

◆ RT2860_DLY_DAC_EN_SHIFT

#define RT2860_DLY_DAC_EN_SHIFT   8

Definition at line 550 of file if_runreg.h.

◆ RT2860_DLY_LNA_DIS_SHIFT

#define RT2860_DLY_LNA_DIS_SHIFT   16

Definition at line 549 of file if_runreg.h.

◆ RT2860_DLY_LNA_EN_SHIFT

#define RT2860_DLY_LNA_EN_SHIFT   24

Definition at line 548 of file if_runreg.h.

◆ RT2860_DLY_PAPE_DIS

#define RT2860_DLY_PAPE_DIS   SHIFT 0

Definition at line 545 of file if_runreg.h.

◆ RT2860_DLY_PAPE_EN_SHIFT

#define RT2860_DLY_PAPE_EN_SHIFT   8

Definition at line 539 of file if_runreg.h.

◆ RT2860_DLY_RFTR_DIS_SHIFT

#define RT2860_DLY_RFTR_DIS_SHIFT   16

Definition at line 543 of file if_runreg.h.

◆ RT2860_DLY_RFTR_EN_SHIFT

#define RT2860_DLY_RFTR_EN_SHIFT   24

Definition at line 537 of file if_runreg.h.

◆ RT2860_DLY_TRSW_DIS_SHIFT

#define RT2860_DLY_TRSW_DIS_SHIFT   8

Definition at line 544 of file if_runreg.h.

◆ RT2860_DLY_TRSW_EN_SHIFT

#define RT2860_DLY_TRSW_EN_SHIFT   16

Definition at line 538 of file if_runreg.h.

◆ RT2860_DLY_TXPE_EN_SHIFT

#define RT2860_DLY_TXPE_EN_SHIFT   0

Definition at line 540 of file if_runreg.h.

◆ RT2860_DMA_CLK_EN

#define RT2860_DMA_CLK_EN   (1 << 9)

Definition at line 292 of file if_runreg.h.

◆ RT2860_DMA_RESET

#define RT2860_DMA_RESET   (1 << 1)

Definition at line 297 of file if_runreg.h.

◆ RT2860_DROP_ACK

#define RT2860_DROP_ACK   (1 << 10)

Definition at line 623 of file if_runreg.h.

◆ RT2860_DROP_BA

#define RT2860_DROP_BA   (1 << 14)

Definition at line 619 of file if_runreg.h.

◆ RT2860_DROP_BAR

#define RT2860_DROP_BAR   (1 << 15)

Definition at line 618 of file if_runreg.h.

◆ RT2860_DROP_BC

#define RT2860_DROP_BC   (1 << 6)

Definition at line 627 of file if_runreg.h.

◆ RT2860_DROP_CFACK

#define RT2860_DROP_CFACK   (1 << 8)

Definition at line 625 of file if_runreg.h.

◆ RT2860_DROP_CFEND

#define RT2860_DROP_CFEND   (1 << 9)

Definition at line 624 of file if_runreg.h.

◆ RT2860_DROP_CRC_ERR

#define RT2860_DROP_CRC_ERR   (1 << 0)

Definition at line 633 of file if_runreg.h.

◆ RT2860_DROP_CTRL_RSV

#define RT2860_DROP_CTRL_RSV   (1 << 16)

Definition at line 617 of file if_runreg.h.

◆ RT2860_DROP_CTS

#define RT2860_DROP_CTS   (1 << 11)

Definition at line 622 of file if_runreg.h.

◆ RT2860_DROP_DUPL

#define RT2860_DROP_DUPL   (1 << 7)

Definition at line 626 of file if_runreg.h.

◆ RT2860_DROP_MC

#define RT2860_DROP_MC   (1 << 5)

Definition at line 628 of file if_runreg.h.

◆ RT2860_DROP_NOT_MYBSS

#define RT2860_DROP_NOT_MYBSS   (1 << 3)

Definition at line 630 of file if_runreg.h.

◆ RT2860_DROP_PHY_ERR

#define RT2860_DROP_PHY_ERR   (1 << 1)

Definition at line 632 of file if_runreg.h.

◆ RT2860_DROP_PSPOLL

#define RT2860_DROP_PSPOLL   (1 << 13)

Definition at line 620 of file if_runreg.h.

◆ RT2860_DROP_RTS

#define RT2860_DROP_RTS   (1 << 12)

Definition at line 621 of file if_runreg.h.

◆ RT2860_DROP_UC_NOME

#define RT2860_DROP_UC_NOME   (1 << 2)

Definition at line 631 of file if_runreg.h.

◆ RT2860_DROP_VER_ERR

#define RT2860_DROP_VER_ERR   (1 << 4)

Definition at line 629 of file if_runreg.h.

◆ RT2860_DRX0_INT

#define RT2860_DRX0_INT   (1 << 8)

Definition at line 349 of file if_runreg.h.

◆ RT2860_DTX0_INT

#define RT2860_DTX0_INT   (1 << 11)

Definition at line 346 of file if_runreg.h.

◆ RT2860_DTX1_INT

#define RT2860_DTX1_INT   (1 << 10)

Definition at line 347 of file if_runreg.h.

◆ RT2860_DTX2_INT

#define RT2860_DTX2_INT   (1 << 9)

Definition at line 348 of file if_runreg.h.

◆ RT2860_EDCA_AC_CFG

#define RT2860_EDCA_AC_CFG (   aci)    (0x1300 + (aci) * 4)

Definition at line 122 of file if_runreg.h.

◆ RT2860_EDCA_TID_AC_MAP

#define RT2860_EDCA_TID_AC_MAP   0x1310

Definition at line 123 of file if_runreg.h.

◆ RT2860_EEPROM_ANTENNA

#define RT2860_EEPROM_ANTENNA   0x1a

Definition at line 885 of file if_runreg.h.

◆ RT2860_EEPROM_BBP_BASE

#define RT2860_EEPROM_BBP_BASE   0x78

Definition at line 913 of file if_runreg.h.

◆ RT2860_EEPROM_CONFIG

#define RT2860_EEPROM_CONFIG   0x1b

Definition at line 886 of file if_runreg.h.

◆ RT2860_EEPROM_COUNTRY

#define RT2860_EEPROM_COUNTRY   0x1c

Definition at line 887 of file if_runreg.h.

◆ RT2860_EEPROM_CTL

#define RT2860_EEPROM_CTL (   sc,
  val 
)
Value:
do { \
RAL_WRITE((sc), RT2860_PCI_EECTRL, (val)); \
RAL_BARRIER_READ_WRITE((sc)); \
} while (/* CONSTCOND */0)
uint32_t val
Definition: if_rum.c:284
#define RT2860_EEPROM_DELAY
Definition: if_runreg.h:877

Definition at line 960 of file if_runreg.h.

◆ RT2860_EEPROM_DELAY

#define RT2860_EEPROM_DELAY   1 /* minimum hold time (microsecond) */

Definition at line 877 of file if_runreg.h.

◆ RT2860_EEPROM_DELTAPWR

#define RT2860_EEPROM_DELTAPWR   0x28

Definition at line 897 of file if_runreg.h.

◆ RT2860_EEPROM_FREQ_LEDS

#define RT2860_EEPROM_FREQ_LEDS   0x1d

Definition at line 888 of file if_runreg.h.

◆ RT2860_EEPROM_LED1

#define RT2860_EEPROM_LED1   0x1e

Definition at line 889 of file if_runreg.h.

◆ RT2860_EEPROM_LED2

#define RT2860_EEPROM_LED2   0x1f

Definition at line 890 of file if_runreg.h.

◆ RT2860_EEPROM_LED3

#define RT2860_EEPROM_LED3   0x20

Definition at line 891 of file if_runreg.h.

◆ RT2860_EEPROM_LNA

#define RT2860_EEPROM_LNA   0x22

Definition at line 892 of file if_runreg.h.

◆ RT2860_EEPROM_MAC01

#define RT2860_EEPROM_MAC01   0x02

Definition at line 880 of file if_runreg.h.

◆ RT2860_EEPROM_MAC23

#define RT2860_EEPROM_MAC23   0x03

Definition at line 881 of file if_runreg.h.

◆ RT2860_EEPROM_MAC45

#define RT2860_EEPROM_MAC45   0x04

Definition at line 882 of file if_runreg.h.

◆ RT2860_EEPROM_PCIE_PSLEVEL

#define RT2860_EEPROM_PCIE_PSLEVEL   0x11

Definition at line 883 of file if_runreg.h.

◆ RT2860_EEPROM_PWR2GHZ_BASE1

#define RT2860_EEPROM_PWR2GHZ_BASE1   0x29

Definition at line 898 of file if_runreg.h.

◆ RT2860_EEPROM_PWR2GHZ_BASE2

#define RT2860_EEPROM_PWR2GHZ_BASE2   0x30

Definition at line 899 of file if_runreg.h.

◆ RT2860_EEPROM_PWR5GHZ_BASE1

#define RT2860_EEPROM_PWR5GHZ_BASE1   0x3c

Definition at line 905 of file if_runreg.h.

◆ RT2860_EEPROM_PWR5GHZ_BASE2

#define RT2860_EEPROM_PWR5GHZ_BASE2   0x53

Definition at line 906 of file if_runreg.h.

◆ RT2860_EEPROM_REV

#define RT2860_EEPROM_REV   0x12

Definition at line 884 of file if_runreg.h.

◆ RT2860_EEPROM_RPWR

#define RT2860_EEPROM_RPWR   0x6f

Definition at line 912 of file if_runreg.h.

◆ RT2860_EEPROM_RSSI1_2GHZ

#define RT2860_EEPROM_RSSI1_2GHZ   0x23

Definition at line 893 of file if_runreg.h.

◆ RT2860_EEPROM_RSSI1_5GHZ

#define RT2860_EEPROM_RSSI1_5GHZ   0x25

Definition at line 895 of file if_runreg.h.

◆ RT2860_EEPROM_RSSI2_2GHZ

#define RT2860_EEPROM_RSSI2_2GHZ   0x24

Definition at line 894 of file if_runreg.h.

◆ RT2860_EEPROM_RSSI2_5GHZ

#define RT2860_EEPROM_RSSI2_5GHZ   0x26

Definition at line 896 of file if_runreg.h.

◆ RT2860_EEPROM_TSSI1_2GHZ

#define RT2860_EEPROM_TSSI1_2GHZ   0x37

Definition at line 900 of file if_runreg.h.

◆ RT2860_EEPROM_TSSI1_5GHZ

#define RT2860_EEPROM_TSSI1_5GHZ   0x6a

Definition at line 907 of file if_runreg.h.

◆ RT2860_EEPROM_TSSI2_2GHZ

#define RT2860_EEPROM_TSSI2_2GHZ   0x38

Definition at line 901 of file if_runreg.h.

◆ RT2860_EEPROM_TSSI2_5GHZ

#define RT2860_EEPROM_TSSI2_5GHZ   0x6b

Definition at line 908 of file if_runreg.h.

◆ RT2860_EEPROM_TSSI3_2GHZ

#define RT2860_EEPROM_TSSI3_2GHZ   0x39

Definition at line 902 of file if_runreg.h.

◆ RT2860_EEPROM_TSSI3_5GHZ

#define RT2860_EEPROM_TSSI3_5GHZ   0x6c

Definition at line 909 of file if_runreg.h.

◆ RT2860_EEPROM_TSSI4_2GHZ

#define RT2860_EEPROM_TSSI4_2GHZ   0x3a

Definition at line 903 of file if_runreg.h.

◆ RT2860_EEPROM_TSSI4_5GHZ

#define RT2860_EEPROM_TSSI4_5GHZ   0x6d

Definition at line 910 of file if_runreg.h.

◆ RT2860_EEPROM_TSSI5_2GHZ

#define RT2860_EEPROM_TSSI5_2GHZ   0x3b

Definition at line 904 of file if_runreg.h.

◆ RT2860_EEPROM_TSSI5_5GHZ

#define RT2860_EEPROM_TSSI5_5GHZ   0x6e

Definition at line 911 of file if_runreg.h.

◆ RT2860_EEPROM_VERSION

#define RT2860_EEPROM_VERSION   0x01

Definition at line 879 of file if_runreg.h.

◆ RT2860_EIFS_AS_CH_BUSY

#define RT2860_EIFS_AS_CH_BUSY   (1 << 4)

Definition at line 460 of file if_runreg.h.

◆ RT2860_EIFS_TIME_SHIFT

#define RT2860_EIFS_TIME_SHIFT   20

Definition at line 444 of file if_runreg.h.

◆ RT2860_EXP_ACK_TIME

#define RT2860_EXP_ACK_TIME   0x1380

Definition at line 147 of file if_runreg.h.

◆ RT2860_EXP_CCK_TIME_SHIFT

#define RT2860_EXP_CCK_TIME_SHIFT   0

Definition at line 614 of file if_runreg.h.

◆ RT2860_EXP_CTS_TIME

#define RT2860_EXP_CTS_TIME   0x137c

Definition at line 146 of file if_runreg.h.

◆ RT2860_EXP_OFDM_TIME_SHIFT

#define RT2860_EXP_OFDM_TIME_SHIFT   16

Definition at line 613 of file if_runreg.h.

◆ RT2860_EXT_CCA_DLY_SHIFT

#define RT2860_EXT_CCA_DLY_SHIFT   8

Definition at line 561 of file if_runreg.h.

◆ RT2860_EXT_CCA_EN

#define RT2860_EXT_CCA_EN   (1 << 7)

Definition at line 562 of file if_runreg.h.

◆ RT2860_EXT_CW_MIN_SHIFT

#define RT2860_EXT_CW_MIN_SHIFT   16

Definition at line 560 of file if_runreg.h.

◆ RT2860_FS_DRX_IDX

#define RT2860_FS_DRX_IDX   0x029c

Definition at line 50 of file if_runreg.h.

◆ RT2860_FW_BASE

#define RT2860_FW_BASE   0x2000

Definition at line 183 of file if_runreg.h.

◆ RT2860_G_LED_MODE_SHIFT

#define RT2860_G_LED_MODE_SHIFT   26

Definition at line 432 of file if_runreg.h.

◆ RT2860_GF20_PROT_CFG

#define RT2860_GF20_PROT_CFG   0x1374

Definition at line 144 of file if_runreg.h.

◆ RT2860_GF40_PROT_CFG

#define RT2860_GF40_PROT_CFG   0x1378

Definition at line 145 of file if_runreg.h.

◆ RT2860_GP_TIMER_EN

#define RT2860_GP_TIMER_EN   (1 << 1)

Definition at line 489 of file if_runreg.h.

◆ RT2860_GP_TIMER_SHIFT

#define RT2860_GP_TIMER_SHIFT   16

Definition at line 485 of file if_runreg.h.

◆ RT2860_GPIO_CTRL

#define RT2860_GPIO_CTRL   0x0228

Definition at line 41 of file if_runreg.h.

◆ RT2860_GPIO_D_SHIFT

#define RT2860_GPIO_D_SHIFT   8

Definition at line 263 of file if_runreg.h.

◆ RT2860_GPIO_O_SHIFT

#define RT2860_GPIO_O_SHIFT   0

Definition at line 264 of file if_runreg.h.

◆ RT2860_H2M_BBPAGENT

#define RT2860_H2M_BBPAGENT   0x7028

Definition at line 209 of file if_runreg.h.

◆ RT2860_H2M_BUSY

#define RT2860_H2M_BUSY   (1 << 24)

Definition at line 677 of file if_runreg.h.

◆ RT2860_H2M_INTSRC

#define RT2860_H2M_INTSRC   0x7024

Definition at line 208 of file if_runreg.h.

◆ RT2860_H2M_MAILBOX

#define RT2860_H2M_MAILBOX   0x7010

Definition at line 205 of file if_runreg.h.

◆ RT2860_H2M_MAILBOX_CID

#define RT2860_H2M_MAILBOX_CID   0x7014

Definition at line 206 of file if_runreg.h.

◆ RT2860_H2M_MAILBOX_STATUS

#define RT2860_H2M_MAILBOX_STATUS   0x701c

Definition at line 207 of file if_runreg.h.

◆ RT2860_HCCA_EN

#define RT2860_HCCA_EN   (1 << 8)

Definition at line 323 of file if_runreg.h.

◆ RT2860_HCMD_INT

#define RT2860_HCMD_INT   (1 << 7)

Definition at line 350 of file if_runreg.h.

◆ RT2860_HDR_SEG_LEN_SHIFT

#define RT2860_HDR_SEG_LEN_SHIFT   8

Definition at line 241 of file if_runreg.h.

◆ RT2860_HOST_CMD

#define RT2860_HOST_CMD   0x0404

Definition at line 56 of file if_runreg.h.

◆ RT2860_HST_PM_SEL

#define RT2860_HST_PM_SEL   (1 << 16)

Definition at line 286 of file if_runreg.h.

◆ RT2860_HT_BASIC_RATE

#define RT2860_HT_BASIC_RATE   0x140c

Definition at line 153 of file if_runreg.h.

◆ RT2860_HT_CTRL_CFG

#define RT2860_HT_CTRL_CFG   0x1410

Definition at line 154 of file if_runreg.h.

◆ RT2860_HT_FBK_CFG0

#define RT2860_HT_FBK_CFG0   0x1354

Definition at line 136 of file if_runreg.h.

◆ RT2860_HT_FBK_CFG1

#define RT2860_HT_FBK_CFG1   0x1358

Definition at line 137 of file if_runreg.h.

◆ RT2860_IFACE_INDEX

#define RT2860_IFACE_INDEX   0

Definition at line 26 of file if_runreg.h.

◆ RT2860_INT_MASK

#define RT2860_INT_MASK   0x0204

Definition at line 32 of file if_runreg.h.

◆ RT2860_INT_STATUS

#define RT2860_INT_STATUS   0x0200

Definition at line 31 of file if_runreg.h.

◆ RT2860_INT_TIMER_CFG

#define RT2860_INT_TIMER_CFG   0x1128

Definition at line 112 of file if_runreg.h.

◆ RT2860_INT_TIMER_EN

#define RT2860_INT_TIMER_EN   0x112c

Definition at line 113 of file if_runreg.h.

◆ RT2860_IO_ADDA_PD

#define RT2860_IO_ADDA_PD   (1 << 3)

Definition at line 497 of file if_runreg.h.

◆ RT2860_IO_PLL_PD

#define RT2860_IO_PLL_PD   (1 << 2)

Definition at line 498 of file if_runreg.h.

◆ RT2860_IO_RA_PE

#define RT2860_IO_RA_PE   (1 << 1)

Definition at line 499 of file if_runreg.h.

◆ RT2860_IO_RF_PE

#define RT2860_IO_RF_PE   (1 << 0)

Definition at line 500 of file if_runreg.h.

◆ RT2860_IVEIV

#define RT2860_IVEIV (   wcid)    (0x6000 + (wcid) * 8)

Definition at line 190 of file if_runreg.h.

◆ RT2860_LED_CFG

#define RT2860_LED_CFG   0x102c

Definition at line 96 of file if_runreg.h.

◆ RT2860_LED_LINK_2GHZ

#define RT2860_LED_LINK_2GHZ   (1 << 14)

Definition at line 682 of file if_runreg.h.

◆ RT2860_LED_LINK_5GHZ

#define RT2860_LED_LINK_5GHZ   (1 << 15)

Definition at line 683 of file if_runreg.h.

◆ RT2860_LED_MODE_BLINK_TX

#define RT2860_LED_MODE_BLINK_TX   1

Definition at line 435 of file if_runreg.h.

◆ RT2860_LED_MODE_OFF

#define RT2860_LED_MODE_OFF   0

Definition at line 434 of file if_runreg.h.

◆ RT2860_LED_MODE_ON

#define RT2860_LED_MODE_ON   3

Definition at line 437 of file if_runreg.h.

◆ RT2860_LED_MODE_SLOW_BLINK

#define RT2860_LED_MODE_SLOW_BLINK   2

Definition at line 436 of file if_runreg.h.

◆ RT2860_LED_OFF_TIME_SHIFT

#define RT2860_LED_OFF_TIME_SHIFT   8

Definition at line 439 of file if_runreg.h.

◆ RT2860_LED_ON_TIME_SHIFT

#define RT2860_LED_ON_TIME_SHIFT   0

Definition at line 440 of file if_runreg.h.

◆ RT2860_LED_POL

#define RT2860_LED_POL   (1 << 30)

Definition at line 430 of file if_runreg.h.

◆ RT2860_LED_RADIO

#define RT2860_LED_RADIO   (1 << 13)

Definition at line 681 of file if_runreg.h.

◆ RT2860_LEGACY_BASIC_RATE

#define RT2860_LEGACY_BASIC_RATE   0x1408

Definition at line 152 of file if_runreg.h.

◆ RT2860_LG_FBK_CFG0

#define RT2860_LG_FBK_CFG0   0x135c

Definition at line 138 of file if_runreg.h.

◆ RT2860_LG_FBK_CFG1

#define RT2860_LG_FBK_CFG1   0x1360

Definition at line 139 of file if_runreg.h.

◆ RT2860_LNA_PE0_EN

#define RT2860_LNA_PE0_EN   (RT2860_LNA_PE_A0_EN | RT2860_LNA_PE_G0_EN)

Definition at line 521 of file if_runreg.h.

◆ RT2860_LNA_PE1_EN

#define RT2860_LNA_PE1_EN   (RT2860_LNA_PE_A1_EN | RT2860_LNA_PE_G1_EN)

Definition at line 518 of file if_runreg.h.

◆ RT2860_LNA_PE_A0_EN

#define RT2860_LNA_PE_A0_EN   (1 << 8)

Definition at line 520 of file if_runreg.h.

◆ RT2860_LNA_PE_A0_POL

#define RT2860_LNA_PE_A0_POL   (1 << 12)

Definition at line 515 of file if_runreg.h.

◆ RT2860_LNA_PE_A1_EN

#define RT2860_LNA_PE_A1_EN   (1 << 10)

Definition at line 517 of file if_runreg.h.

◆ RT2860_LNA_PE_A1_POL

#define RT2860_LNA_PE_A1_POL   (1 << 14)

Definition at line 513 of file if_runreg.h.

◆ RT2860_LNA_PE_G0_EN

#define RT2860_LNA_PE_G0_EN   (1 << 9)

Definition at line 519 of file if_runreg.h.

◆ RT2860_LNA_PE_G0_POL

#define RT2860_LNA_PE_G0_POL   (1 << 13)

Definition at line 514 of file if_runreg.h.

◆ RT2860_LNA_PE_G1_EN

#define RT2860_LNA_PE_G1_EN   (1 << 11)

Definition at line 516 of file if_runreg.h.

◆ RT2860_LNA_PE_G1_POL

#define RT2860_LNA_PE_G1_POL   (1 << 15)

Definition at line 512 of file if_runreg.h.

◆ RT2860_LONG_RTY_LIMIT_SHIFT

#define RT2860_LONG_RTY_LIMIT_SHIFT   8

Definition at line 585 of file if_runreg.h.

◆ RT2860_LONG_RTY_THRES_SHIFT

#define RT2860_LONG_RTY_THRES_SHIFT   16

Definition at line 584 of file if_runreg.h.

◆ RT2860_LSIG_TXOP_EN

#define RT2860_LSIG_TXOP_EN   (1 << 6)

Definition at line 563 of file if_runreg.h.

◆ RT2860_MAC_ADDR_DW0

#define RT2860_MAC_ADDR_DW0   0x1008

Definition at line 87 of file if_runreg.h.

◆ RT2860_MAC_ADDR_DW1

#define RT2860_MAC_ADDR_DW1   0x100c

Definition at line 88 of file if_runreg.h.

◆ RT2860_MAC_BSSID_DW0

#define RT2860_MAC_BSSID_DW0   0x1010

Definition at line 89 of file if_runreg.h.

◆ RT2860_MAC_BSSID_DW1

#define RT2860_MAC_BSSID_DW1   0x1014

Definition at line 90 of file if_runreg.h.

◆ RT2860_MAC_CLK_EN

#define RT2860_MAC_CLK_EN   (1 << 10)

Definition at line 291 of file if_runreg.h.

◆ RT2860_MAC_INT_0

#define RT2860_MAC_INT_0   (1 << 11)

Definition at line 227 of file if_runreg.h.

◆ RT2860_MAC_INT_1

#define RT2860_MAC_INT_1   (1 << 12)

Definition at line 226 of file if_runreg.h.

◆ RT2860_MAC_INT_2

#define RT2860_MAC_INT_2   (1 << 13)

Definition at line 225 of file if_runreg.h.

◆ RT2860_MAC_INT_3

#define RT2860_MAC_INT_3   (1 << 14)

Definition at line 224 of file if_runreg.h.

◆ RT2860_MAC_INT_4

#define RT2860_MAC_INT_4   (1 << 15)

Definition at line 223 of file if_runreg.h.

◆ RT2860_MAC_RESET

#define RT2860_MAC_RESET   (1 << 2)

Definition at line 296 of file if_runreg.h.

◆ RT2860_MAC_RX_EN

#define RT2860_MAC_RX_EN   (1 << 3)

Definition at line 392 of file if_runreg.h.

◆ RT2860_MAC_SRST

#define RT2860_MAC_SRST   (1 << 0)

Definition at line 395 of file if_runreg.h.

◆ RT2860_MAC_STATUS_REG

#define RT2860_MAC_STATUS_REG   0x1200

Definition at line 117 of file if_runreg.h.

◆ RT2860_MAC_SYS_CTRL

#define RT2860_MAC_SYS_CTRL   0x1004

Definition at line 86 of file if_runreg.h.

◆ RT2860_MAC_TX_EN

#define RT2860_MAC_TX_EN   (1 << 2)

Definition at line 393 of file if_runreg.h.

◆ RT2860_MAN_TRIG

#define RT2860_MAN_TRIG   (1 << 29)

Definition at line 368 of file if_runreg.h.

◆ RT2860_MAX_LEN_CFG

#define RT2860_MAX_LEN_CFG   0x1018

Definition at line 91 of file if_runreg.h.

◆ RT2860_MAX_MPDU_LEN_SHIFT

#define RT2860_MAX_MPDU_LEN_SHIFT   0

Definition at line 408 of file if_runreg.h.

◆ RT2860_MAX_PCNT

#define RT2860_MAX_PCNT   0x040c

Definition at line 58 of file if_runreg.h.

◆ RT2860_MAX_PSDU_LEN16K

#define RT2860_MAX_PSDU_LEN16K   1

Definition at line 405 of file if_runreg.h.

◆ RT2860_MAX_PSDU_LEN32K

#define RT2860_MAX_PSDU_LEN32K   2

Definition at line 406 of file if_runreg.h.

◆ RT2860_MAX_PSDU_LEN64K

#define RT2860_MAX_PSDU_LEN64K   3

Definition at line 407 of file if_runreg.h.

◆ RT2860_MAX_PSDU_LEN8K

#define RT2860_MAX_PSDU_LEN8K   0

Definition at line 404 of file if_runreg.h.

◆ RT2860_MAX_PSDU_LEN_SHIFT

#define RT2860_MAX_PSDU_LEN_SHIFT   12

Definition at line 403 of file if_runreg.h.

◆ RT2860_MCU_CMD_ANTSEL

#define RT2860_MCU_CMD_ANTSEL   0x73

Definition at line 309 of file if_runreg.h.

◆ RT2860_MCU_CMD_BBP

#define RT2860_MCU_CMD_BBP   0x80

Definition at line 310 of file if_runreg.h.

◆ RT2860_MCU_CMD_INT

#define RT2860_MCU_CMD_INT   (1 << 9)

Definition at line 229 of file if_runreg.h.

◆ RT2860_MCU_CMD_LED1

#define RT2860_MCU_CMD_LED1   0x52

Definition at line 305 of file if_runreg.h.

◆ RT2860_MCU_CMD_LED2

#define RT2860_MCU_CMD_LED2   0x53

Definition at line 306 of file if_runreg.h.

◆ RT2860_MCU_CMD_LED3

#define RT2860_MCU_CMD_LED3   0x54

Definition at line 307 of file if_runreg.h.

◆ RT2860_MCU_CMD_LED_RSSI

#define RT2860_MCU_CMD_LED_RSSI   0x51

Definition at line 304 of file if_runreg.h.

◆ RT2860_MCU_CMD_LEDS

#define RT2860_MCU_CMD_LEDS   0x50

Definition at line 303 of file if_runreg.h.

◆ RT2860_MCU_CMD_PSLEVEL

#define RT2860_MCU_CMD_PSLEVEL   0x83

Definition at line 311 of file if_runreg.h.

◆ RT2860_MCU_CMD_REG

#define RT2860_MCU_CMD_REG   0x022c

Definition at line 42 of file if_runreg.h.

◆ RT2860_MCU_CMD_RFRESET

#define RT2860_MCU_CMD_RFRESET   0x72

Definition at line 308 of file if_runreg.h.

◆ RT2860_MCU_CMD_SLEEP

#define RT2860_MCU_CMD_SLEEP   0x30

Definition at line 301 of file if_runreg.h.

◆ RT2860_MCU_CMD_WAKEUP

#define RT2860_MCU_CMD_WAKEUP   0x31

Definition at line 302 of file if_runreg.h.

◆ RT2860_MCU_INT_ENA

#define RT2860_MCU_INT_ENA   0x0418

Definition at line 61 of file if_runreg.h.

◆ RT2860_MCU_INT_STA

#define RT2860_MCU_INT_STA   0x0414

Definition at line 60 of file if_runreg.h.

◆ RT2860_MCU_MAC_INT_0

#define RT2860_MCU_MAC_INT_0   (1 << 16)

Definition at line 345 of file if_runreg.h.

◆ RT2860_MCU_MAC_INT_1

#define RT2860_MCU_MAC_INT_1   (1 << 17)

Definition at line 344 of file if_runreg.h.

◆ RT2860_MCU_MAC_INT_2

#define RT2860_MCU_MAC_INT_2   (1 << 18)

Definition at line 343 of file if_runreg.h.

◆ RT2860_MCU_MAC_INT_3

#define RT2860_MCU_MAC_INT_3   (1 << 19)

Definition at line 342 of file if_runreg.h.

◆ RT2860_MCU_MAC_INT_4

#define RT2860_MCU_MAC_INT_4   (1 << 20)

Definition at line 341 of file if_runreg.h.

◆ RT2860_MCU_MAC_INT_6

#define RT2860_MCU_MAC_INT_6   (1 << 22)

Definition at line 340 of file if_runreg.h.

◆ RT2860_MCU_MAC_INT_7

#define RT2860_MCU_MAC_INT_7   (1 << 23)

Definition at line 339 of file if_runreg.h.

◆ RT2860_MCU_MAC_INT_8

#define RT2860_MCU_MAC_INT_8   (1 << 24)

Definition at line 338 of file if_runreg.h.

◆ RT2860_MCU_READY

#define RT2860_MCU_READY   (1 << 7)

Definition at line 293 of file if_runreg.h.

◆ RT2860_MCU_RESET

#define RT2860_MCU_RESET   (1 << 0)

Definition at line 298 of file if_runreg.h.

◆ RT2860_MIN_MPDU_LEN_SHIFT

#define RT2860_MIN_MPDU_LEN_SHIFT   16

Definition at line 402 of file if_runreg.h.

◆ RT2860_MM20_PROT_CFG

#define RT2860_MM20_PROT_CFG   0x136c

Definition at line 142 of file if_runreg.h.

◆ RT2860_MM40_PROT_CFG

#define RT2860_MM40_PROT_CFG   0x1370

Definition at line 143 of file if_runreg.h.

◆ RT2860_MODE_AES_CCMP

#define RT2860_MODE_AES_CCMP   4

Definition at line 670 of file if_runreg.h.

◆ RT2860_MODE_CKIP104

#define RT2860_MODE_CKIP104   6

Definition at line 672 of file if_runreg.h.

◆ RT2860_MODE_CKIP128

#define RT2860_MODE_CKIP128   7

Definition at line 673 of file if_runreg.h.

◆ RT2860_MODE_CKIP40

#define RT2860_MODE_CKIP40   5

Definition at line 671 of file if_runreg.h.

◆ RT2860_MODE_NOSEC

#define RT2860_MODE_NOSEC   0

Definition at line 666 of file if_runreg.h.

◆ RT2860_MODE_TKIP

#define RT2860_MODE_TKIP   3

Definition at line 669 of file if_runreg.h.

◆ RT2860_MODE_WEP104

#define RT2860_MODE_WEP104   2

Definition at line 668 of file if_runreg.h.

◆ RT2860_MODE_WEP40

#define RT2860_MODE_WEP40   1

Definition at line 667 of file if_runreg.h.

◆ RT2860_MPDU_LIFE_TIME_SHIFT

#define RT2860_MPDU_LIFE_TIME_SHIFT   4

Definition at line 578 of file if_runreg.h.

◆ RT2860_MRX0_INT

#define RT2860_MRX0_INT   (1 << 0)

Definition at line 357 of file if_runreg.h.

◆ RT2860_MTX0_INT

#define RT2860_MTX0_INT   (1 << 3)

Definition at line 354 of file if_runreg.h.

◆ RT2860_MTX1_INT

#define RT2860_MTX1_INT   (1 << 2)

Definition at line 355 of file if_runreg.h.

◆ RT2860_MTX2_INT

#define RT2860_MTX2_INT   (1 << 1)

Definition at line 356 of file if_runreg.h.

◆ RT2860_MULTI_BCN_NUM_SHIFT

#define RT2860_MULTI_BCN_NUM_SHIFT   18

Definition at line 398 of file if_runreg.h.

◆ RT2860_MULTI_BSSID_MODE_SHIFT

#define RT2860_MULTI_BSSID_MODE_SHIFT   16

Definition at line 399 of file if_runreg.h.

◆ RT2860_N0TX_INT

#define RT2860_N0TX_INT   (1 << 6)

Definition at line 351 of file if_runreg.h.

◆ RT2860_N1TX_INT

#define RT2860_N1TX_INT   (1 << 5)

Definition at line 352 of file if_runreg.h.

◆ RT2860_NAG_RTY_MODE_TIMER

#define RT2860_NAG_RTY_MODE_TIMER   (1 << 28)

Definition at line 583 of file if_runreg.h.

◆ RT2860_NAV_AS_CH_BUSY

#define RT2860_NAV_AS_CH_BUSY   (1 << 3)

Definition at line 461 of file if_runreg.h.

◆ RT2860_NAV_CLR_EN

#define RT2860_NAV_CLR_EN   (1 << 15)

Definition at line 456 of file if_runreg.h.

◆ RT2860_NAV_TIME_CFG

#define RT2860_NAV_TIME_CFG   0x1108

Definition at line 104 of file if_runreg.h.

◆ RT2860_NAV_TIMER_SHIFT

#define RT2860_NAV_TIMER_SHIFT   0

Definition at line 457 of file if_runreg.h.

◆ RT2860_NAV_UPD

#define RT2860_NAV_UPD   (1U << 31)

Definition at line 454 of file if_runreg.h.

◆ RT2860_NAV_UPD_VAL_SHIFT

#define RT2860_NAV_UPD_VAL_SHIFT   16

Definition at line 455 of file if_runreg.h.

◆ RT2860_NULL0_KICK

#define RT2860_NULL0_KICK   (1 << 7)

Definition at line 331 of file if_runreg.h.

◆ RT2860_NULL0_MODE

#define RT2860_NULL0_MODE   (1 << 15)

Definition at line 316 of file if_runreg.h.

◆ RT2860_NULL1_KICK

#define RT2860_NULL1_KICK   (1 << 6)

Definition at line 332 of file if_runreg.h.

◆ RT2860_NULL1_MODE

#define RT2860_NULL1_MODE   (1 << 14)

Definition at line 317 of file if_runreg.h.

◆ RT2860_OFDM_PROT_CFG

#define RT2860_OFDM_PROT_CFG   0x1368

Definition at line 141 of file if_runreg.h.

◆ RT2860_OFDM_SIFS_COST_SHIFT

#define RT2860_OFDM_SIFS_COST_SHIFT   8

Definition at line 645 of file if_runreg.h.

◆ RT2860_OFDM_SIFS_TIME_SHIFT

#define RT2860_OFDM_SIFS_TIME_SHIFT   8

Definition at line 446 of file if_runreg.h.

◆ RT2860_OFDM_XIFS_TIME_SHIFT

#define RT2860_OFDM_XIFS_TIME_SHIFT   16

Definition at line 445 of file if_runreg.h.

◆ RT2860_PA_PE_A0_EN

#define RT2860_PA_PE_A0_EN   (1 << 0)

Definition at line 529 of file if_runreg.h.

◆ RT2860_PA_PE_A0_POL

#define RT2860_PA_PE_A0_POL   (1 << 4)

Definition at line 525 of file if_runreg.h.

◆ RT2860_PA_PE_A1_EN

#define RT2860_PA_PE_A1_EN   (1 << 2)

Definition at line 527 of file if_runreg.h.

◆ RT2860_PA_PE_A1_POL

#define RT2860_PA_PE_A1_POL   (1 << 6)

Definition at line 523 of file if_runreg.h.

◆ RT2860_PA_PE_G0_EN

#define RT2860_PA_PE_G0_EN   (1 << 1)

Definition at line 528 of file if_runreg.h.

◆ RT2860_PA_PE_G0_POL

#define RT2860_PA_PE_G0_POL   (1 << 5)

Definition at line 524 of file if_runreg.h.

◆ RT2860_PA_PE_G1_EN

#define RT2860_PA_PE_G1_EN   (1 << 3)

Definition at line 526 of file if_runreg.h.

◆ RT2860_PA_PE_G1_POL

#define RT2860_PA_PE_G1_POL   (1 << 7)

Definition at line 522 of file if_runreg.h.

◆ RT2860_PBF_CFG

#define RT2860_PBF_CFG   0x0408

Definition at line 57 of file if_runreg.h.

◆ RT2860_PBF_CLK_EN

#define RT2860_PBF_CLK_EN   (1 << 11)

Definition at line 290 of file if_runreg.h.

◆ RT2860_PBF_DBG

#define RT2860_PBF_DBG   0x043c

Definition at line 68 of file if_runreg.h.

◆ RT2860_PBF_LIFE_TIMER

#define RT2860_PBF_LIFE_TIMER   0x1110

Definition at line 106 of file if_runreg.h.

◆ RT2860_PBF_LOOP_EN

#define RT2860_PBF_LOOP_EN   (1 << 5)

Definition at line 390 of file if_runreg.h.

◆ RT2860_PBF_RESET

#define RT2860_PBF_RESET   (1 << 3)

Definition at line 295 of file if_runreg.h.

◆ RT2860_PER_RX_RST_EN

#define RT2860_PER_RX_RST_EN   (1 << 0)

Definition at line 654 of file if_runreg.h.

◆ RT2860_PHY_BW40

#define RT2860_PHY_BW40   (1 << 7)

Definition at line 786 of file if_runreg.h.

◆ RT2860_PHY_CCK

#define RT2860_PHY_CCK   (0 << 14)

Definition at line 781 of file if_runreg.h.

◆ RT2860_PHY_HT_GF

#define RT2860_PHY_HT_GF   (3 << 14)

Definition at line 784 of file if_runreg.h.

◆ RT2860_PHY_HT_MIX

#define RT2860_PHY_HT_MIX   (2 << 14)

Definition at line 783 of file if_runreg.h.

◆ RT2860_PHY_MCS

#define RT2860_PHY_MCS   0x7f

Definition at line 787 of file if_runreg.h.

◆ RT2860_PHY_MODE

#define RT2860_PHY_MODE   0xc000

Definition at line 780 of file if_runreg.h.

◆ RT2860_PHY_OFDM

#define RT2860_PHY_OFDM   (1 << 14)

Definition at line 782 of file if_runreg.h.

◆ RT2860_PHY_SGI

#define RT2860_PHY_SGI   (1 << 8)

Definition at line 785 of file if_runreg.h.

◆ RT2860_PHY_SHPRE

#define RT2860_PHY_SHPRE   (1 << 3)

Definition at line 788 of file if_runreg.h.

◆ RT2860_PKEY

#define RT2860_PKEY (   wcid)    (0x4000 + (wcid) * 32)

Definition at line 187 of file if_runreg.h.

◆ RT2860_PME_OEN

#define RT2860_PME_OEN   (1 << 13)

Definition at line 288 of file if_runreg.h.

◆ RT2860_PRE_TBTT_INT_EN

#define RT2860_PRE_TBTT_INT_EN   (1 << 0)

Definition at line 490 of file if_runreg.h.

◆ RT2860_PRE_TBTT_TIMER_SHIFT

#define RT2860_PRE_TBTT_TIMER_SHIFT   0

Definition at line 486 of file if_runreg.h.

◆ RT2860_PROT_CTRL_CTS

#define RT2860_PROT_CTRL_CTS   (2 << 16)

Definition at line 610 of file if_runreg.h.

◆ RT2860_PROT_CTRL_RTS_CTS

#define RT2860_PROT_CTRL_RTS_CTS   (1 << 16)

Definition at line 609 of file if_runreg.h.

◆ RT2860_PROT_NAV_LONG

#define RT2860_PROT_NAV_LONG   (2 << 18)

Definition at line 608 of file if_runreg.h.

◆ RT2860_PROT_NAV_SHORT

#define RT2860_PROT_NAV_SHORT   (1 << 18)

Definition at line 607 of file if_runreg.h.

◆ RT2860_PWR_PIN_CFG

#define RT2860_PWR_PIN_CFG   0x1204

Definition at line 118 of file if_runreg.h.

◆ RT2860_Q

#define RT2860_Q   (1 << 3)

Definition at line 217 of file if_runreg.h.

◆ RT2860_QOS_CFPOLL_A1_DW1

#define RT2860_QOS_CFPOLL_A1_DW1   0x1610

Definition at line 168 of file if_runreg.h.

◆ RT2860_QOS_CFPOLL_QC

#define RT2860_QOS_CFPOLL_QC   0x1614

Definition at line 169 of file if_runreg.h.

◆ RT2860_QOS_CFPOLL_RA_DW0

#define RT2860_QOS_CFPOLL_RA_DW0   0x160c

Definition at line 167 of file if_runreg.h.

◆ RT2860_R_LED_MODE_SHIFT

#define RT2860_R_LED_MODE_SHIFT   24

Definition at line 433 of file if_runreg.h.

◆ RT2860_RDG_IN_THRES

#define RT2860_RDG_IN_THRES   8

Definition at line 556 of file if_runreg.h.

◆ RT2860_RDG_OUT_THRES

#define RT2860_RDG_OUT_THRES   0

Definition at line 557 of file if_runreg.h.

◆ RT2860_READ_RX0Q

#define RT2860_READ_RX0Q   (1 << 0)

Definition at line 335 of file if_runreg.h.

◆ RT2860_READ_TXQ

#define RT2860_READ_TXQ (   qid)    (1 << (3 - (qid))

Definition at line 334 of file if_runreg.h.

◆ RT2860_REMOTE_MFB_LT_SHIFT

#define RT2860_REMOTE_MFB_LT_SHIFT   0

Definition at line 596 of file if_runreg.h.

◆ RT2860_REMOTE_MFB_SHIFT

#define RT2860_REMOTE_MFB_SHIFT   16

Definition at line 590 of file if_runreg.h.

◆ RT2860_REMOTE_MFS_SHIFT

#define RT2860_REMOTE_MFS_SHIFT   24

Definition at line 589 of file if_runreg.h.

◆ RT2860_REMOTE_UMFS_EN

#define RT2860_REMOTE_UMFS_EN   (1 << 9)

Definition at line 594 of file if_runreg.h.

◆ RT2860_RF2850

#define RT2860_RF2850

Definition at line 1092 of file if_runreg.h.

◆ RT2860_RF_2720

#define RT2860_RF_2720   0x0003 /* 1T2R */

Definition at line 858 of file if_runreg.h.

◆ RT2860_RF_2750

#define RT2860_RF_2750   0x0004 /* dual-band 1T2R */

Definition at line 859 of file if_runreg.h.

◆ RT2860_RF_2820

#define RT2860_RF_2820   0x0001 /* 2T3R */

Definition at line 856 of file if_runreg.h.

◆ RT2860_RF_2850

#define RT2860_RF_2850   0x0002 /* dual-band 2T3R */

Definition at line 857 of file if_runreg.h.

◆ RT2860_RF_CSR_CFG0

#define RT2860_RF_CSR_CFG0   0x1020

Definition at line 93 of file if_runreg.h.

◆ RT2860_RF_CSR_CFG1

#define RT2860_RF_CSR_CFG1   0x1024

Definition at line 94 of file if_runreg.h.

◆ RT2860_RF_CSR_CFG2

#define RT2860_RF_CSR_CFG2   0x1028

Definition at line 95 of file if_runreg.h.

◆ RT2860_RF_DUR_5

#define RT2860_RF_DUR_5   (1 << 24)

Definition at line 426 of file if_runreg.h.

◆ RT2860_RF_LE_SEL1

#define RT2860_RF_LE_SEL1   (1 << 30)

Definition at line 420 of file if_runreg.h.

◆ RT2860_RF_LE_STBY

#define RT2860_RF_LE_STBY   (1 << 29)

Definition at line 421 of file if_runreg.h.

◆ RT2860_RF_REG_0_SHIFT

#define RT2860_RF_REG_0_SHIFT   0

Definition at line 423 of file if_runreg.h.

◆ RT2860_RF_REG_1_SHIFT

#define RT2860_RF_REG_1_SHIFT   0

Definition at line 427 of file if_runreg.h.

◆ RT2860_RF_REG_CTRL

#define RT2860_RF_REG_CTRL   (1U << 31)

Definition at line 419 of file if_runreg.h.

◆ RT2860_RF_REG_WIDTH_SHIFT

#define RT2860_RF_REG_WIDTH_SHIFT   24

Definition at line 422 of file if_runreg.h.

◆ RT2860_RFTR_EN

#define RT2860_RFTR_EN   (1 << 16)

Definition at line 511 of file if_runreg.h.

◆ RT2860_RFTR_POL

#define RT2860_RFTR_POL   (1 << 17)

Definition at line 510 of file if_runreg.h.

◆ RT2860_RTS_FBK_EN

#define RT2860_RTS_FBK_EN   (1 << 24)

Definition at line 571 of file if_runreg.h.

◆ RT2860_RTS_RTY_LIMIT_SHIFT

#define RT2860_RTS_RTY_LIMIT_SHIFT   0

Definition at line 573 of file if_runreg.h.

◆ RT2860_RTS_THRES_SHIFT

#define RT2860_RTS_THRES_SHIFT   8

Definition at line 572 of file if_runreg.h.

◆ RT2860_RTSTH_EN

#define RT2860_RTSTH_EN   (1 << 26)

Definition at line 599 of file if_runreg.h.

◆ RT2860_RX0Q_EN

#define RT2860_RX0Q_EN   (1 << 1)

Definition at line 327 of file if_runreg.h.

◆ RT2860_RX0Q_IO

#define RT2860_RX0Q_IO   0x0424

Definition at line 63 of file if_runreg.h.

◆ RT2860_RX0Q_MANUAL

#define RT2860_RX0Q_MANUAL   (1 << 9)

Definition at line 322 of file if_runreg.h.

◆ RT2860_RX0Q_PCNT_MASK

#define RT2860_RX0Q_PCNT_MASK   0xff000000

Definition at line 360 of file if_runreg.h.

◆ RT2860_RX_ACK_TIMEOUT_SHIFT

#define RT2860_RX_ACK_TIMEOUT_SHIFT   8

Definition at line 577 of file if_runreg.h.

◆ RT2860_RX_AMPDU

#define RT2860_RX_AMPDU   (1 << 15)

Definition at line 814 of file if_runreg.h.

◆ RT2860_RX_AMSDU

#define RT2860_RX_AMSDU   (1 << 11)

Definition at line 818 of file if_runreg.h.

◆ RT2860_RX_AS_CH_BUSY

#define RT2860_RX_AS_CH_BUSY   (1 << 2)

Definition at line 462 of file if_runreg.h.

◆ RT2860_RX_BA

#define RT2860_RX_BA   (1 << 0)

Definition at line 829 of file if_runreg.h.

◆ RT2860_RX_BASE_PTR

#define RT2860_RX_BASE_PTR   0x0290

Definition at line 47 of file if_runreg.h.

◆ RT2860_RX_BC

#define RT2860_RX_BC   (1 << 6)

Definition at line 823 of file if_runreg.h.

◆ RT2860_RX_BSS_IDX_SHIFT

#define RT2860_RX_BSS_IDX_SHIFT   2

Definition at line 843 of file if_runreg.h.

◆ RT2860_RX_CALC_IDX

#define RT2860_RX_CALC_IDX   0x0298

Definition at line 49 of file if_runreg.h.

◆ RT2860_RX_COHERENT

#define RT2860_RX_COHERENT   (1 << 16)

Definition at line 222 of file if_runreg.h.

◆ RT2860_RX_CRCERR

#define RT2860_RX_CRCERR   (1 << 8)

Definition at line 821 of file if_runreg.h.

◆ RT2860_RX_DATA

#define RT2860_RX_DATA   (1 << 1)

Definition at line 828 of file if_runreg.h.

◆ RT2860_RX_DDONE

#define RT2860_RX_DDONE   (1 << 15)

Definition at line 808 of file if_runreg.h.

◆ RT2860_RX_DEC

#define RT2860_RX_DEC   (1 << 16)

Definition at line 813 of file if_runreg.h.

◆ RT2860_RX_DLY_INT

#define RT2860_RX_DLY_INT   (1 << 0)

Definition at line 238 of file if_runreg.h.

◆ RT2860_RX_DMA_BUSY

#define RT2860_RX_DMA_BUSY   (1 << 3)

Definition at line 249 of file if_runreg.h.

◆ RT2860_RX_DMA_EN

#define RT2860_RX_DMA_EN   (1 << 2)

Definition at line 250 of file if_runreg.h.

◆ RT2860_RX_DONE_INT

#define RT2860_RX_DONE_INT   (1 << 2)

Definition at line 236 of file if_runreg.h.

◆ RT2860_RX_DROP_MODE

#define RT2860_RX_DROP_MODE   (1 << 13)

Definition at line 318 of file if_runreg.h.

◆ RT2860_RX_FILTR_CFG

#define RT2860_RX_FILTR_CFG   0x1400

Definition at line 150 of file if_runreg.h.

◆ RT2860_RX_FRAG

#define RT2860_RX_FRAG   (1 << 3)

Definition at line 826 of file if_runreg.h.

◆ RT2860_RX_HTC

#define RT2860_RX_HTC   (1 << 12)

Definition at line 817 of file if_runreg.h.

◆ RT2860_RX_ICVERR

#define RT2860_RX_ICVERR   (1 << 9)

Definition at line 820 of file if_runreg.h.

◆ RT2860_RX_L2PAD

#define RT2860_RX_L2PAD   (1 << 14)

Definition at line 815 of file if_runreg.h.

◆ RT2860_RX_LS0

#define RT2860_RX_LS0   (1 << 14)

Definition at line 809 of file if_runreg.h.

◆ RT2860_RX_MAX_CNT

#define RT2860_RX_MAX_CNT   0x0294

Definition at line 48 of file if_runreg.h.

◆ RT2860_RX_MC

#define RT2860_RX_MC   (1 << 5)

Definition at line 824 of file if_runreg.h.

◆ RT2860_RX_MICERR

#define RT2860_RX_MICERR   (1 << 10)

Definition at line 819 of file if_runreg.h.

◆ RT2860_RX_MYBSS

#define RT2860_RX_MYBSS   (1 << 7)

Definition at line 822 of file if_runreg.h.

◆ RT2860_RX_NULL

#define RT2860_RX_NULL   (1 << 2)

Definition at line 827 of file if_runreg.h.

◆ RT2860_RX_PARSER_CFG

#define RT2860_RX_PARSER_CFG   0x1418

Definition at line 156 of file if_runreg.h.

◆ RT2860_RX_PKEY_EN

#define RT2860_RX_PKEY_EN   (1 << 0)

Definition at line 674 of file if_runreg.h.

◆ RT2860_RX_RSSI

#define RT2860_RX_RSSI   (1 << 13)

Definition at line 816 of file if_runreg.h.

◆ RT2860_RX_SEC_CNT0

#define RT2860_RX_SEC_CNT0   0x1504

Definition at line 160 of file if_runreg.h.

◆ RT2860_RX_STA_CNT0

#define RT2860_RX_STA_CNT0   0x1700

Definition at line 172 of file if_runreg.h.

◆ RT2860_RX_STA_CNT1

#define RT2860_RX_STA_CNT1   0x1704

Definition at line 173 of file if_runreg.h.

◆ RT2860_RX_STA_CNT2

#define RT2860_RX_STA_CNT2   0x1708

Definition at line 174 of file if_runreg.h.

◆ RT2860_RX_STATUS_BUSY

#define RT2860_RX_STATUS_BUSY   (1 << 1)

Definition at line 493 of file if_runreg.h.

◆ RT2860_RX_TID_SHIFT

#define RT2860_RX_TID_SHIFT   12

Definition at line 846 of file if_runreg.h.

◆ RT2860_RX_TS_EN

#define RT2860_RX_TS_EN   (1 << 7)

Definition at line 388 of file if_runreg.h.

◆ RT2860_RX_UC2ME

#define RT2860_RX_UC2ME   (1 << 4)

Definition at line 825 of file if_runreg.h.

◆ RT2860_RX_UDF_SHIFT

#define RT2860_RX_UDF_SHIFT   5

Definition at line 842 of file if_runreg.h.

◆ RT2860_RXDLY_INT_EN

#define RT2860_RXDLY_INT_EN   (1 << 15)

Definition at line 258 of file if_runreg.h.

◆ RT2860_RXMAX_PINT_SHIFT

#define RT2860_RXMAX_PINT_SHIFT   8

Definition at line 259 of file if_runreg.h.

◆ RT2860_RXMAX_PTIME_SHIFT

#define RT2860_RXMAX_PTIME_SHIFT   0

Definition at line 260 of file if_runreg.h.

◆ RT2860_S

#define RT2860_S   (1 << 1)

Definition at line 214 of file if_runreg.h.

◆ RT2860_SHIFT_D

#define RT2860_SHIFT_D   2

Definition at line 216 of file if_runreg.h.

◆ RT2860_SHIFT_Q

#define RT2860_SHIFT_Q   3

Definition at line 218 of file if_runreg.h.

◆ RT2860_SHORT_RTY_LIMIT_SHIFT

#define RT2860_SHORT_RTY_LIMIT_SHIFT   0

Definition at line 586 of file if_runreg.h.

◆ RT2860_SIFS_COST_CFG

#define RT2860_SIFS_COST_CFG   0x1414

Definition at line 155 of file if_runreg.h.

◆ RT2860_SKEY

#define RT2860_SKEY (   vap,
  kidx 
)    (0x6c00 + (vap) * 128 + (kidx) * 32)

Definition at line 196 of file if_runreg.h.

◆ RT2860_SKEY_MODE_0_7

#define RT2860_SKEY_MODE_0_7   0x7000

Definition at line 199 of file if_runreg.h.

◆ RT2860_SKEY_MODE_16_23

#define RT2860_SKEY_MODE_16_23   0x7008

Definition at line 201 of file if_runreg.h.

◆ RT2860_SKEY_MODE_24_31

#define RT2860_SKEY_MODE_24_31   0x700c

Definition at line 202 of file if_runreg.h.

◆ RT2860_SKEY_MODE_8_15

#define RT2860_SKEY_MODE_8_15   0x7004

Definition at line 200 of file if_runreg.h.

◆ RT2860_SLEEP_TBTT_NUM_SHIFT

#define RT2860_SLEEP_TBTT_NUM_SHIFT   8

Definition at line 504 of file if_runreg.h.

◆ RT2860_SLOT_TIME

#define RT2860_SLOT_TIME   0

Definition at line 451 of file if_runreg.h.

◆ RT2860_SLOW_BLK_TIME_SHIFT

#define RT2860_SLOW_BLK_TIME_SHIFT   16

Definition at line 438 of file if_runreg.h.

◆ RT2860_START_ADDR_SHIFT

#define RT2860_START_ADDR_SHIFT   0

Definition at line 370 of file if_runreg.h.

◆ RT2860_SYS_CTRL

#define RT2860_SYS_CTRL   0x0400

Definition at line 55 of file if_runreg.h.

◆ RT2860_TBTT_ADJUST_SHIFT

#define RT2860_TBTT_ADJUST_SHIFT   0

Definition at line 482 of file if_runreg.h.

◆ RT2860_TBTT_SYNC_CFG

#define RT2860_TBTT_SYNC_CFG   0x1118

Definition at line 108 of file if_runreg.h.

◆ RT2860_TBTT_TIMER

#define RT2860_TBTT_TIMER   0x1124

Definition at line 111 of file if_runreg.h.

◆ RT2860_TBTT_TIMER_EN

#define RT2860_TBTT_TIMER_EN   (1 << 19)

Definition at line 469 of file if_runreg.h.

◆ RT2860_TEST_EN

#define RT2860_TEST_EN   (1 << 24)

Definition at line 280 of file if_runreg.h.

◆ RT2860_TEST_SEL_SHIFT

#define RT2860_TEST_SEL_SHIFT   16

Definition at line 281 of file if_runreg.h.

◆ RT2860_TOKEN_NO_INTR

#define RT2860_TOKEN_NO_INTR   0xff

Definition at line 678 of file if_runreg.h.

◆ RT2860_TRIG_OFFSET_SHIFT

#define RT2860_TRIG_OFFSET_SHIFT   16

Definition at line 369 of file if_runreg.h.

◆ RT2860_TRSW_EN

#define RT2860_TRSW_EN   (1 << 18)

Definition at line 509 of file if_runreg.h.

◆ RT2860_TRSW_POL

#define RT2860_TRSW_POL   (1 << 19)

Definition at line 508 of file if_runreg.h.

◆ RT2860_TSF_INS_COMP_SHIFT

#define RT2860_TSF_INS_COMP_SHIFT   24

Definition at line 467 of file if_runreg.h.

◆ RT2860_TSF_SYNC_MODE_DIS

#define RT2860_TSF_SYNC_MODE_DIS   0

Definition at line 471 of file if_runreg.h.

◆ RT2860_TSF_SYNC_MODE_HOSTAP

#define RT2860_TSF_SYNC_MODE_HOSTAP   3

Definition at line 474 of file if_runreg.h.

◆ RT2860_TSF_SYNC_MODE_IBSS

#define RT2860_TSF_SYNC_MODE_IBSS   2

Definition at line 473 of file if_runreg.h.

◆ RT2860_TSF_SYNC_MODE_SHIFT

#define RT2860_TSF_SYNC_MODE_SHIFT   17

Definition at line 470 of file if_runreg.h.

◆ RT2860_TSF_SYNC_MODE_STA

#define RT2860_TSF_SYNC_MODE_STA   1

Definition at line 472 of file if_runreg.h.

◆ RT2860_TSF_TIMER_DW0

#define RT2860_TSF_TIMER_DW0   0x111c

Definition at line 109 of file if_runreg.h.

◆ RT2860_TSF_TIMER_DW1

#define RT2860_TSF_TIMER_DW1   0x1120

Definition at line 110 of file if_runreg.h.

◆ RT2860_TSF_TIMER_EN

#define RT2860_TSF_TIMER_EN   (1 << 16)

Definition at line 475 of file if_runreg.h.

◆ RT2860_TX0Q_EN

#define RT2860_TX0Q_EN   (1 << 4)

Definition at line 324 of file if_runreg.h.

◆ RT2860_TX0Q_MANUAL

#define RT2860_TX0Q_MANUAL   (1 << 12)

Definition at line 319 of file if_runreg.h.

◆ RT2860_TX0Q_PCNT_MASK

#define RT2860_TX0Q_PCNT_MASK   0x000000ff

Definition at line 363 of file if_runreg.h.

◆ RT2860_TX1Q_EN

#define RT2860_TX1Q_EN   (1 << 3)

Definition at line 325 of file if_runreg.h.

◆ RT2860_TX1Q_MANUAL

#define RT2860_TX1Q_MANUAL   (1 << 11)

Definition at line 320 of file if_runreg.h.

◆ RT2860_TX1Q_NUM_SHIFT

#define RT2860_TX1Q_NUM_SHIFT   21

Definition at line 314 of file if_runreg.h.

◆ RT2860_TX1Q_PCNT_MASK

#define RT2860_TX1Q_PCNT_MASK   0x0000ff00

Definition at line 362 of file if_runreg.h.

◆ RT2860_TX2Q_EN

#define RT2860_TX2Q_EN   (1 << 2)

Definition at line 326 of file if_runreg.h.

◆ RT2860_TX2Q_MANUAL

#define RT2860_TX2Q_MANUAL   (1 << 10)

Definition at line 321 of file if_runreg.h.

◆ RT2860_TX2Q_NUM_SHIFT

#define RT2860_TX2Q_NUM_SHIFT   16

Definition at line 315 of file if_runreg.h.

◆ RT2860_TX2Q_PCNT_MASK

#define RT2860_TX2Q_PCNT_MASK   0x00ff0000

Definition at line 361 of file if_runreg.h.

◆ RT2860_TX_ACK

#define RT2860_TX_ACK   (1 << 0)

Definition at line 793 of file if_runreg.h.

◆ RT2860_TX_AMPDU

#define RT2860_TX_AMPDU   (1 << 4)

Definition at line 767 of file if_runreg.h.

◆ RT2860_TX_AS_CH_BUSY

#define RT2860_TX_AS_CH_BUSY   (1 << 1)

Definition at line 463 of file if_runreg.h.

◆ RT2860_TX_AUTOFB_EN

#define RT2860_TX_AUTOFB_EN   (1 << 30)

Definition at line 581 of file if_runreg.h.

◆ RT2860_TX_BAND_CFG

#define RT2860_TX_BAND_CFG   0x132c

Definition at line 126 of file if_runreg.h.

◆ RT2860_TX_BAND_SEL

#define RT2860_TX_BAND_SEL   (1 << 0)

Definition at line 534 of file if_runreg.h.

◆ RT2860_TX_BASE_PTR

#define RT2860_TX_BASE_PTR (   qid)    (0x0230 + (qid) * 16)

Definition at line 43 of file if_runreg.h.

◆ RT2860_TX_BAWINSIZE_SHIFT

#define RT2860_TX_BAWINSIZE_SHIFT   2

Definition at line 791 of file if_runreg.h.

◆ RT2860_TX_BURST

#define RT2860_TX_BURST   (1 << 15)

Definition at line 739 of file if_runreg.h.

◆ RT2860_TX_CFACK

#define RT2860_TX_CFACK   (1 << 2)

Definition at line 769 of file if_runreg.h.

◆ RT2860_TX_CFACK_EN

#define RT2860_TX_CFACK_EN   (1 << 12)

Definition at line 591 of file if_runreg.h.

◆ RT2860_TX_COHERENT

#define RT2860_TX_COHERENT   (1 << 17)

Definition at line 221 of file if_runreg.h.

◆ RT2860_TX_CTX_IDX

#define RT2860_TX_CTX_IDX (   qid)    (0x0238 + (qid) * 16)

Definition at line 45 of file if_runreg.h.

◆ RT2860_TX_DDONE

#define RT2860_TX_DDONE   (1 << 15)

Definition at line 743 of file if_runreg.h.

◆ RT2860_TX_DLY_INT

#define RT2860_TX_DLY_INT   (1 << 1)

Definition at line 237 of file if_runreg.h.

◆ RT2860_TX_DMA_BUSY

#define RT2860_TX_DMA_BUSY   (1 << 1)

Definition at line 251 of file if_runreg.h.

◆ RT2860_TX_DMA_EN

#define RT2860_TX_DMA_EN   (1 << 0)

Definition at line 252 of file if_runreg.h.

◆ RT2860_TX_DONE_INT0

#define RT2860_TX_DONE_INT0   (1 << 3)

Definition at line 235 of file if_runreg.h.

◆ RT2860_TX_DONE_INT1

#define RT2860_TX_DONE_INT1   (1 << 4)

Definition at line 234 of file if_runreg.h.

◆ RT2860_TX_DONE_INT2

#define RT2860_TX_DONE_INT2   (1 << 5)

Definition at line 233 of file if_runreg.h.

◆ RT2860_TX_DONE_INT3

#define RT2860_TX_DONE_INT3   (1 << 6)

Definition at line 232 of file if_runreg.h.

◆ RT2860_TX_DONE_INT4

#define RT2860_TX_DONE_INT4   (1 << 7)

Definition at line 231 of file if_runreg.h.

◆ RT2860_TX_DONE_INT5

#define RT2860_TX_DONE_INT5   (1 << 8)

Definition at line 230 of file if_runreg.h.

◆ RT2860_TX_DTX_IDX

#define RT2860_TX_DTX_IDX (   qid)    (0x023c + (qid) * 16)

Definition at line 46 of file if_runreg.h.

◆ RT2860_TX_FRAG

#define RT2860_TX_FRAG   (1 << 0)

Definition at line 771 of file if_runreg.h.

◆ RT2860_TX_LINK_CFG

#define RT2860_TX_LINK_CFG   0x1350

Definition at line 135 of file if_runreg.h.

◆ RT2860_TX_LS0

#define RT2860_TX_LS0   (1 << 14) /* SDP0 is the last segment */

Definition at line 744 of file if_runreg.h.

◆ RT2860_TX_LS1

#define RT2860_TX_LS1   (1 << 14) /* SDP1 is the last segment */

Definition at line 740 of file if_runreg.h.

◆ RT2860_TX_MAX_CNT

#define RT2860_TX_MAX_CNT (   qid)    (0x0234 + (qid) * 16)

Definition at line 44 of file if_runreg.h.

◆ RT2860_TX_MFB_EN

#define RT2860_TX_MFB_EN   (1 << 8)

Definition at line 595 of file if_runreg.h.

◆ RT2860_TX_MMPS

#define RT2860_TX_MMPS   (1 << 1)

Definition at line 770 of file if_runreg.h.

◆ RT2860_TX_MPDU_DSITY_SHIFT

#define RT2860_TX_MPDU_DSITY_SHIFT   5

Definition at line 766 of file if_runreg.h.

◆ RT2860_TX_MRQ_EN

#define RT2860_TX_MRQ_EN   (1 << 10)

Definition at line 593 of file if_runreg.h.

◆ RT2860_TX_NSEQ

#define RT2860_TX_NSEQ   (1 << 1)

Definition at line 792 of file if_runreg.h.

◆ RT2860_TX_PID_SHIFT

#define RT2860_TX_PID_SHIFT   12

Definition at line 797 of file if_runreg.h.

◆ RT2860_TX_PIN_CFG

#define RT2860_TX_PIN_CFG   0x1328

Definition at line 125 of file if_runreg.h.

◆ RT2860_TX_PWR_CFG

#define RT2860_TX_PWR_CFG (   ridx)    (0x1314 + (ridx) * 4)

Definition at line 124 of file if_runreg.h.

◆ RT2860_TX_QSEL_EDCA

#define RT2860_TX_QSEL_EDCA   (2 << 1)

Definition at line 752 of file if_runreg.h.

◆ RT2860_TX_QSEL_HCCA

#define RT2860_TX_QSEL_HCCA   (1 << 1)

Definition at line 751 of file if_runreg.h.

◆ RT2860_TX_QSEL_MGMT

#define RT2860_TX_QSEL_MGMT   (0 << 1)

Definition at line 750 of file if_runreg.h.

◆ RT2860_TX_QSEL_SHIFT

#define RT2860_TX_QSEL_SHIFT   1

Definition at line 749 of file if_runreg.h.

◆ RT2860_TX_RDG_EN

#define RT2860_TX_RDG_EN   (1 << 11)

Definition at line 592 of file if_runreg.h.

◆ RT2860_TX_RTS_CFG

#define RT2860_TX_RTS_CFG   0x1344

Definition at line 132 of file if_runreg.h.

◆ RT2860_TX_RTY_CFG

#define RT2860_TX_RTY_CFG   0x134c

Definition at line 134 of file if_runreg.h.

◆ RT2860_TX_RX_COHERENT

#define RT2860_TX_RX_COHERENT   (1 << 10)

Definition at line 228 of file if_runreg.h.

◆ RT2860_TX_SEC_CNT0

#define RT2860_TX_SEC_CNT0   0x1500

Definition at line 159 of file if_runreg.h.

◆ RT2860_TX_STA_CNT0

#define RT2860_TX_STA_CNT0   0x170c

Definition at line 175 of file if_runreg.h.

◆ RT2860_TX_STA_CNT1

#define RT2860_TX_STA_CNT1   0x1710

Definition at line 176 of file if_runreg.h.

◆ RT2860_TX_STA_CNT2

#define RT2860_TX_STA_CNT2   0x1714

Definition at line 177 of file if_runreg.h.

◆ RT2860_TX_STAT_FIFO

#define RT2860_TX_STAT_FIFO   0x1718

Definition at line 178 of file if_runreg.h.

◆ RT2860_TX_STATUS_BUSY

#define RT2860_TX_STATUS_BUSY   (1 << 0)

Definition at line 494 of file if_runreg.h.

◆ RT2860_TX_SW_CFG0

#define RT2860_TX_SW_CFG0   0x1330

Definition at line 127 of file if_runreg.h.

◆ RT2860_TX_SW_CFG1

#define RT2860_TX_SW_CFG1   0x1334

Definition at line 128 of file if_runreg.h.

◆ RT2860_TX_SW_CFG2

#define RT2860_TX_SW_CFG2   0x1338

Definition at line 129 of file if_runreg.h.

◆ RT2860_TX_TIMEOUT_CFG

#define RT2860_TX_TIMEOUT_CFG   0x1348

Definition at line 133 of file if_runreg.h.

◆ RT2860_TX_TS

#define RT2860_TX_TS   (1 << 3)

Definition at line 768 of file if_runreg.h.

◆ RT2860_TX_TXOP_BACKOFF

#define RT2860_TX_TXOP_BACKOFF   3

Definition at line 777 of file if_runreg.h.

◆ RT2860_TX_TXOP_HT

#define RT2860_TX_TXOP_HT   0

Definition at line 774 of file if_runreg.h.

◆ RT2860_TX_TXOP_PIFS

#define RT2860_TX_TXOP_PIFS   1

Definition at line 775 of file if_runreg.h.

◆ RT2860_TX_TXOP_SIFS

#define RT2860_TX_TXOP_SIFS   2

Definition at line 776 of file if_runreg.h.

◆ RT2860_TX_WB_DDONE

#define RT2860_TX_WB_DDONE   (1 << 6)

Definition at line 243 of file if_runreg.h.

◆ RT2860_TX_WIV

#define RT2860_TX_WIV   (1 << 0)

Definition at line 753 of file if_runreg.h.

◆ RT2860_TXDLY_INT_EN

#define RT2860_TXDLY_INT_EN   (1U << 31)

Definition at line 255 of file if_runreg.h.

◆ RT2860_TXMAX_PINT_SHIFT

#define RT2860_TXMAX_PINT_SHIFT   24

Definition at line 256 of file if_runreg.h.

◆ RT2860_TXMAX_PTIME_SHIFT

#define RT2860_TXMAX_PTIME_SHIFT   16

Definition at line 257 of file if_runreg.h.

◆ RT2860_TXOP_ALLOW_ALL

#define RT2860_TXOP_ALLOW_ALL   (0x3f << 20)

Definition at line 606 of file if_runreg.h.

◆ RT2860_TXOP_ALLOW_CCK

#define RT2860_TXOP_ALLOW_CCK   (1 << 20)

Definition at line 605 of file if_runreg.h.

◆ RT2860_TXOP_ALLOW_GF20

#define RT2860_TXOP_ALLOW_GF20   (1 << 24)

Definition at line 601 of file if_runreg.h.

◆ RT2860_TXOP_ALLOW_GF40

#define RT2860_TXOP_ALLOW_GF40   (1 << 25)

Definition at line 600 of file if_runreg.h.

◆ RT2860_TXOP_ALLOW_MM20

#define RT2860_TXOP_ALLOW_MM20   (1 << 22)

Definition at line 603 of file if_runreg.h.

◆ RT2860_TXOP_ALLOW_MM40

#define RT2860_TXOP_ALLOW_MM40   (1 << 23)

Definition at line 602 of file if_runreg.h.

◆ RT2860_TXOP_ALLOW_OFDM

#define RT2860_TXOP_ALLOW_OFDM   (1 << 21)

Definition at line 604 of file if_runreg.h.

◆ RT2860_TXOP_CTRL_CFG

#define RT2860_TXOP_CTRL_CFG   0x1340

Definition at line 131 of file if_runreg.h.

◆ RT2860_TXOP_ETM0_EN

#define RT2860_TXOP_ETM0_EN   (1 << 24)

Definition at line 650 of file if_runreg.h.

◆ RT2860_TXOP_ETM1_EN

#define RT2860_TXOP_ETM1_EN   (1 << 25)

Definition at line 649 of file if_runreg.h.

◆ RT2860_TXOP_ETM_THRES_SHIFT

#define RT2860_TXOP_ETM_THRES_SHIFT   16

Definition at line 651 of file if_runreg.h.

◆ RT2860_TXOP_ETO_EN

#define RT2860_TXOP_ETO_EN   (1 << 8)

Definition at line 652 of file if_runreg.h.

◆ RT2860_TXOP_ETO_THRES_SHIFT

#define RT2860_TXOP_ETO_THRES_SHIFT   1

Definition at line 653 of file if_runreg.h.

◆ RT2860_TXOP_HLDR_ADDR0

#define RT2860_TXOP_HLDR_ADDR0   0x1600

Definition at line 164 of file if_runreg.h.

◆ RT2860_TXOP_HLDR_ADDR1

#define RT2860_TXOP_HLDR_ADDR1   0x1604

Definition at line 165 of file if_runreg.h.

◆ RT2860_TXOP_HLDR_ET

#define RT2860_TXOP_HLDR_ET   0x1608

Definition at line 166 of file if_runreg.h.

◆ RT2860_TXOP_REM_THRES_SHIFT

#define RT2860_TXOP_REM_THRES_SHIFT   24

Definition at line 554 of file if_runreg.h.

◆ RT2860_TXOP_THRES_CFG

#define RT2860_TXOP_THRES_CFG   0x133c

Definition at line 130 of file if_runreg.h.

◆ RT2860_TXOP_TIMEOUT_SHIFT

#define RT2860_TXOP_TIMEOUT_SHIFT   16

Definition at line 576 of file if_runreg.h.

◆ RT2860_TXOP_TRUN_EN_AC

#define RT2860_TXOP_TRUN_EN_AC   (1 << 1)

Definition at line 567 of file if_runreg.h.

◆ RT2860_TXOP_TRUN_EN_MIMOPS

#define RT2860_TXOP_TRUN_EN_MIMOPS   (1 << 4)

Definition at line 564 of file if_runreg.h.

◆ RT2860_TXOP_TRUN_EN_RATE

#define RT2860_TXOP_TRUN_EN_RATE   (1 << 2)

Definition at line 566 of file if_runreg.h.

◆ RT2860_TXOP_TRUN_EN_TIMEOUT

#define RT2860_TXOP_TRUN_EN_TIMEOUT   (1 << 0)

Definition at line 568 of file if_runreg.h.

◆ RT2860_TXOP_TRUN_EN_TXOP

#define RT2860_TXOP_TRUN_EN_TXOP   (1 << 3)

Definition at line 565 of file if_runreg.h.

◆ RT2860_TXQ_ACKREQ

#define RT2860_TXQ_ACKREQ   (1 << 7)

Definition at line 659 of file if_runreg.h.

◆ RT2860_TXQ_AGG

#define RT2860_TXQ_AGG   (1 << 6)

Definition at line 660 of file if_runreg.h.

◆ RT2860_TXQ_IO

#define RT2860_TXQ_IO (   qid)    (0x041c + (qid) * 4)

Definition at line 62 of file if_runreg.h.

◆ RT2860_TXQ_MCS_SHIFT

#define RT2860_TXQ_MCS_SHIFT   16

Definition at line 657 of file if_runreg.h.

◆ RT2860_TXQ_OK

#define RT2860_TXQ_OK   (1 << 5)

Definition at line 661 of file if_runreg.h.

◆ RT2860_TXQ_PID_SHIFT

#define RT2860_TXQ_PID_SHIFT   1

Definition at line 662 of file if_runreg.h.

◆ RT2860_TXQ_VLD

#define RT2860_TXQ_VLD   (1 << 0)

Definition at line 663 of file if_runreg.h.

◆ RT2860_TXQ_WCID_SHIFT

#define RT2860_TXQ_WCID_SHIFT   8

Definition at line 658 of file if_runreg.h.

◆ RT2860_TXRXQ_PCNT

#define RT2860_TXRXQ_PCNT   0x0438

Definition at line 67 of file if_runreg.h.

◆ RT2860_TXRXQ_STA

#define RT2860_TXRXQ_STA   0x0434

Definition at line 66 of file if_runreg.h.

◆ RT2860_US_CYC_CNT

#define RT2860_US_CYC_CNT   0x02a4

Definition at line 52 of file if_runreg.h.

◆ RT2860_US_CYC_CNT_SHIFT

#define RT2860_US_CYC_CNT_SHIFT   0

Definition at line 283 of file if_runreg.h.

◆ RT2860_USB_DMA_CFG

#define RT2860_USB_DMA_CFG   0x02a0 /* RT2870 only */

Definition at line 51 of file if_runreg.h.

◆ RT2860_USB_EPOUT_VLD_SHIFT

#define RT2860_USB_EPOUT_VLD_SHIFT   24

Definition at line 269 of file if_runreg.h.

◆ RT2860_USB_PHY_WD_EN

#define RT2860_USB_PHY_WD_EN   (1 << 16)

Definition at line 275 of file if_runreg.h.

◆ RT2860_USB_RX_AGG_EN

#define RT2860_USB_RX_AGG_EN   (1 << 21)

Definition at line 272 of file if_runreg.h.

◆ RT2860_USB_RX_AGG_LMT

#define RT2860_USB_RX_AGG_LMT (   x)    ((x) << 8) /* in unit of 1KB */

Definition at line 276 of file if_runreg.h.

◆ RT2860_USB_RX_AGG_TO

#define RT2860_USB_RX_AGG_TO (   x)    ((x) & 0xff) /* in unit of 33ns */

Definition at line 277 of file if_runreg.h.

◆ RT2860_USB_RX_BUSY

#define RT2860_USB_RX_BUSY   (1 << 30)

Definition at line 268 of file if_runreg.h.

◆ RT2860_USB_RX_EN

#define RT2860_USB_RX_EN   (1 << 22)

Definition at line 271 of file if_runreg.h.

◆ RT2860_USB_TX_BUSY

#define RT2860_USB_TX_BUSY   (1U << 31)

Definition at line 267 of file if_runreg.h.

◆ RT2860_USB_TX_CLEAR

#define RT2860_USB_TX_CLEAR   (1 << 19)

Definition at line 274 of file if_runreg.h.

◆ RT2860_USB_TX_EN

#define RT2860_USB_TX_EN   (1 << 23)

Definition at line 270 of file if_runreg.h.

◆ RT2860_USB_TXOP_HALT

#define RT2860_USB_TXOP_HALT   (1 << 20)

Definition at line 273 of file if_runreg.h.

◆ RT2860_WAKEUP_LEAD_TIME_SHIFT

#define RT2860_WAKEUP_LEAD_TIME_SHIFT   0

Definition at line 505 of file if_runreg.h.

◆ RT2860_WCID_ATTR

#define RT2860_WCID_ATTR (   wcid)    (0x6800 + (wcid) * 4)

Definition at line 193 of file if_runreg.h.

◆ RT2860_WCID_ENTRY

#define RT2860_WCID_ENTRY (   wcid)    (0x1800 + (wcid) * 8)

Definition at line 181 of file if_runreg.h.

◆ RT2860_WLAN_HALT_EN

#define RT2860_WLAN_HALT_EN   (1 << 6)

Definition at line 389 of file if_runreg.h.

◆ RT2860_WMM_AIFSN_CFG

#define RT2860_WMM_AIFSN_CFG   0x0214

Definition at line 36 of file if_runreg.h.

◆ RT2860_WMM_CWMAX_CFG

#define RT2860_WMM_CWMAX_CFG   0x021c

Definition at line 38 of file if_runreg.h.

◆ RT2860_WMM_CWMIN_CFG

#define RT2860_WMM_CWMIN_CFG   0x0218

Definition at line 37 of file if_runreg.h.

◆ RT2860_WMM_TXOP0_CFG

#define RT2860_WMM_TXOP0_CFG   0x0220

Definition at line 39 of file if_runreg.h.

◆ RT2860_WMM_TXOP1_CFG

#define RT2860_WMM_TXOP1_CFG   0x0224

Definition at line 40 of file if_runreg.h.

◆ RT2860_WPDMA_BT_SIZE128

#define RT2860_WPDMA_BT_SIZE128   3

Definition at line 248 of file if_runreg.h.

◆ RT2860_WPDMA_BT_SIZE16

#define RT2860_WPDMA_BT_SIZE16   0

Definition at line 245 of file if_runreg.h.

◆ RT2860_WPDMA_BT_SIZE32

#define RT2860_WPDMA_BT_SIZE32   1

Definition at line 246 of file if_runreg.h.

◆ RT2860_WPDMA_BT_SIZE64

#define RT2860_WPDMA_BT_SIZE64   2

Definition at line 247 of file if_runreg.h.

◆ RT2860_WPDMA_BT_SIZE_SHIFT

#define RT2860_WPDMA_BT_SIZE_SHIFT   4

Definition at line 244 of file if_runreg.h.

◆ RT2860_WPDMA_GLO_CFG

#define RT2860_WPDMA_GLO_CFG   0x0208

Definition at line 33 of file if_runreg.h.

◆ RT2860_WPDMA_RST_IDX

#define RT2860_WPDMA_RST_IDX   0x020c

Definition at line 34 of file if_runreg.h.

◆ RT2860_WRITE_TXQ

#define RT2860_WRITE_TXQ (   qid)    (1 << (11 - (qid)))

Definition at line 330 of file if_runreg.h.

◆ RT2860_XIFS_TIME_CFG

#define RT2860_XIFS_TIME_CFG   0x1100

Definition at line 102 of file if_runreg.h.

◆ RT2860_Y_LED_MODE_SHIFT

#define RT2860_Y_LED_MODE_SHIFT   28

Definition at line 431 of file if_runreg.h.

◆ RT2870_DEF_MAC

#define RT2870_DEF_MAC

Definition at line 969 of file if_runreg.h.

◆ RT2870_EEPROM_READ

#define RT2870_EEPROM_READ   9

Definition at line 875 of file if_runreg.h.

◆ RT2870_FW_BASE

#define RT2870_FW_BASE   0x3000

Definition at line 184 of file if_runreg.h.

◆ RT2870_READ_REGION_1

#define RT2870_READ_REGION_1   7

Definition at line 874 of file if_runreg.h.

◆ RT2870_RESET

#define RT2870_RESET   1

Definition at line 871 of file if_runreg.h.

◆ RT2870_WRITE_2

#define RT2870_WRITE_2   2

Definition at line 872 of file if_runreg.h.

◆ RT2870_WRITE_REGION_1

#define RT2870_WRITE_REGION_1   6

Definition at line 873 of file if_runreg.h.

◆ RT3070_DEF_RF

#define RT3070_DEF_RF
Value:
{ 4, 0x40 }, \
{ 5, 0x03 }, \
{ 6, 0x02 }, \
{ 7, 0x60 }, \
{ 9, 0x0f }, \
{ 10, 0x41 }, \
{ 11, 0x21 }, \
{ 12, 0x7b }, \
{ 14, 0x90 }, \
{ 15, 0x58 }, \
{ 16, 0xb3 }, \
{ 17, 0x92 }, \
{ 18, 0x2c }, \
{ 19, 0x02 }, \
{ 20, 0xba }, \
{ 21, 0xdb }, \
{ 24, 0x16 }, \
{ 25, 0x03 }, \
{ 29, 0x1f }

Definition at line 1319 of file if_runreg.h.

◆ RT3070_EFSROM_AIN_MASK

#define RT3070_EFSROM_AIN_MASK   0x03ff0000

Definition at line 379 of file if_runreg.h.

◆ RT3070_EFSROM_AIN_SHIFT

#define RT3070_EFSROM_AIN_SHIFT   16

Definition at line 380 of file if_runreg.h.

◆ RT3070_EFSROM_KICK

#define RT3070_EFSROM_KICK   (1 << 30)

Definition at line 378 of file if_runreg.h.

◆ RT3070_EFSROM_MODE_MASK

#define RT3070_EFSROM_MODE_MASK   0x000000c0

Definition at line 381 of file if_runreg.h.

◆ RT3070_EFUSE_AOUT_MASK

#define RT3070_EFUSE_AOUT_MASK   0x0000003f

Definition at line 382 of file if_runreg.h.

◆ RT3070_EFUSE_CTRL

#define RT3070_EFUSE_CTRL   0x0580

Definition at line 73 of file if_runreg.h.

◆ RT3070_EFUSE_DATA0

#define RT3070_EFUSE_DATA0   0x0590

Definition at line 74 of file if_runreg.h.

◆ RT3070_EFUSE_DATA1

#define RT3070_EFUSE_DATA1   0x0594

Definition at line 75 of file if_runreg.h.

◆ RT3070_EFUSE_DATA2

#define RT3070_EFUSE_DATA2   0x0598

Definition at line 76 of file if_runreg.h.

◆ RT3070_EFUSE_DATA3

#define RT3070_EFUSE_DATA3   0x059c

Definition at line 77 of file if_runreg.h.

◆ RT3070_GPIO_SWITCH

#define RT3070_GPIO_SWITCH   0x05dc

Definition at line 79 of file if_runreg.h.

◆ RT3070_LDO_CFG0

#define RT3070_LDO_CFG0   0x05d4

Definition at line 78 of file if_runreg.h.

◆ RT3070_OPT_14

#define RT3070_OPT_14   0x0114

Definition at line 28 of file if_runreg.h.

◆ RT3070_PLL_PD

#define RT3070_PLL_PD   (1 << 1)

Definition at line 687 of file if_runreg.h.

◆ RT3070_RF3052

#define RT3070_RF3052

Definition at line 1154 of file if_runreg.h.

◆ RT3070_RF_2020

#define RT3070_RF_2020   0x0006 /* b/g */

Definition at line 861 of file if_runreg.h.

◆ RT3070_RF_3020

#define RT3070_RF_3020   0x0005 /* 1T1R */

Definition at line 860 of file if_runreg.h.

◆ RT3070_RF_3021

#define RT3070_RF_3021   0x0007 /* 1T2R */

Definition at line 862 of file if_runreg.h.

◆ RT3070_RF_3022

#define RT3070_RF_3022   0x0008 /* 2T2R */

Definition at line 863 of file if_runreg.h.

◆ RT3070_RF_3052

#define RT3070_RF_3052   0x0009 /* dual-band 2T2R */

Definition at line 864 of file if_runreg.h.

◆ RT3070_RF_BLOCK

#define RT3070_RF_BLOCK   (1 << 0)

Definition at line 686 of file if_runreg.h.

◆ RT3070_RF_CSR_CFG

#define RT3070_RF_CSR_CFG   0x0500

Definition at line 72 of file if_runreg.h.

◆ RT3070_RF_KICK

#define RT3070_RF_KICK   (1 << 17)

Definition at line 373 of file if_runreg.h.

◆ RT3070_RF_WRITE

#define RT3070_RF_WRITE   (1 << 16)

Definition at line 374 of file if_runreg.h.

◆ RT3070_RX0_PD

#define RT3070_RX0_PD   (1 << 2)

Definition at line 688 of file if_runreg.h.

◆ RT3070_RX1_PD

#define RT3070_RX1_PD   (1 << 4)

Definition at line 690 of file if_runreg.h.

◆ RT3070_RX2_PD

#define RT3070_RX2_PD   (1 << 6)

Definition at line 692 of file if_runreg.h.

◆ RT3070_RX_LO1

#define RT3070_RX_LO1   (1 << 3)

Definition at line 702 of file if_runreg.h.

◆ RT3070_RX_LO2

#define RT3070_RX_LO2   (1 << 3)

Definition at line 705 of file if_runreg.h.

◆ RT3070_SEL_EFUSE

#define RT3070_SEL_EFUSE   (1U << 31)

Definition at line 377 of file if_runreg.h.

◆ RT3070_TX0_PD

#define RT3070_TX0_PD   (1 << 3)

Definition at line 689 of file if_runreg.h.

◆ RT3070_TX1_PD

#define RT3070_TX1_PD   (1 << 5)

Definition at line 691 of file if_runreg.h.

◆ RT3070_TX2_PD

#define RT3070_TX2_PD   (1 << 7)

Definition at line 693 of file if_runreg.h.

◆ RT3070_TX_LO1

#define RT3070_TX_LO1   (1 << 3)

Definition at line 699 of file if_runreg.h.

◆ RT3070_TX_LO2

#define RT3070_TX_LO2   (1 << 3)

Definition at line 696 of file if_runreg.h.

◆ RT3071_EEPROM_RF_BASE

#define RT3071_EEPROM_RF_BASE   0x82

Definition at line 914 of file if_runreg.h.

◆ RT3572_DEF_RF

#define RT3572_DEF_RF

Definition at line 1340 of file if_runreg.h.

◆ RT3593_AUTOTUNE_BYPASS

#define RT3593_AUTOTUNE_BYPASS   (1 << 6)

Definition at line 708 of file if_runreg.h.

◆ RT3593_DEF_RF

#define RT3593_DEF_RF

Definition at line 1373 of file if_runreg.h.

◆ RT3593_EEPROM_FREQ

#define RT3593_EEPROM_FREQ   0x22

Definition at line 918 of file if_runreg.h.

◆ RT3593_EEPROM_FREQ_LEDS

#define RT3593_EEPROM_FREQ_LEDS   0x21

Definition at line 917 of file if_runreg.h.

◆ RT3593_EEPROM_LED1

#define RT3593_EEPROM_LED1   0x22

Definition at line 919 of file if_runreg.h.

◆ RT3593_EEPROM_LED2

#define RT3593_EEPROM_LED2   0x23

Definition at line 920 of file if_runreg.h.

◆ RT3593_EEPROM_LED3

#define RT3593_EEPROM_LED3   0x24

Definition at line 921 of file if_runreg.h.

◆ RT3593_EEPROM_LNA

#define RT3593_EEPROM_LNA   0x26

Definition at line 922 of file if_runreg.h.

◆ RT3593_EEPROM_LNA_5GHZ

#define RT3593_EEPROM_LNA_5GHZ   0x27

Definition at line 923 of file if_runreg.h.

◆ RT3593_EEPROM_PWR2GHZ_BASE1

#define RT3593_EEPROM_PWR2GHZ_BASE1   0x30

Definition at line 928 of file if_runreg.h.

◆ RT3593_EEPROM_PWR2GHZ_BASE2

#define RT3593_EEPROM_PWR2GHZ_BASE2   0x37

Definition at line 929 of file if_runreg.h.

◆ RT3593_EEPROM_PWR2GHZ_BASE3

#define RT3593_EEPROM_PWR2GHZ_BASE3   0x3e

Definition at line 930 of file if_runreg.h.

◆ RT3593_EEPROM_PWR5GHZ_BASE1

#define RT3593_EEPROM_PWR5GHZ_BASE1   0x4b

Definition at line 931 of file if_runreg.h.

◆ RT3593_EEPROM_PWR5GHZ_BASE2

#define RT3593_EEPROM_PWR5GHZ_BASE2   0x65

Definition at line 932 of file if_runreg.h.

◆ RT3593_EEPROM_PWR5GHZ_BASE3

#define RT3593_EEPROM_PWR5GHZ_BASE3   0x7f

Definition at line 933 of file if_runreg.h.

◆ RT3593_EEPROM_RSSI1_2GHZ

#define RT3593_EEPROM_RSSI1_2GHZ   0x28

Definition at line 924 of file if_runreg.h.

◆ RT3593_EEPROM_RSSI1_5GHZ

#define RT3593_EEPROM_RSSI1_5GHZ   0x2a

Definition at line 926 of file if_runreg.h.

◆ RT3593_EEPROM_RSSI2_2GHZ

#define RT3593_EEPROM_RSSI2_2GHZ   0x29

Definition at line 925 of file if_runreg.h.

◆ RT3593_EEPROM_RSSI2_5GHZ

#define RT3593_EEPROM_RSSI2_5GHZ   0x2b

Definition at line 927 of file if_runreg.h.

◆ RT3593_RF_3053

#define RT3593_RF_3053   0x000d /* dual-band 3T3R */

Definition at line 865 of file if_runreg.h.

◆ RT3593_TX_LO1

#define RT3593_TX_LO1   (1 << 4)

Definition at line 714 of file if_runreg.h.

◆ RT3593_TX_LO2

#define RT3593_TX_LO2   (1 << 4)

Definition at line 711 of file if_runreg.h.

◆ RT5390_DEF_BBP

#define RT5390_DEF_BBP
Value:
{ 31, 0x08 }, \
{ 65, 0x2c }, \
{ 66, 0x38 }, \
{ 68, 0x0b }, \
{ 69, 0x0d }, \
{ 70, 0x06 }, \
{ 73, 0x13 }, \
{ 75, 0x46 }, \
{ 76, 0x28 }, \
{ 77, 0x59 }, \
{ 81, 0x37 }, \
{ 82, 0x62 }, \
{ 83, 0x7a }, \
{ 84, 0x9a }, \
{ 86, 0x38 }, \
{ 91, 0x04 }, \
{ 92, 0x02 }, \
{ 103, 0xc0 }, \
{ 104, 0x92 }, \
{ 105, 0x3c }, \
{ 106, 0x03 }, \
{ 128, 0x12 }

Definition at line 1024 of file if_runreg.h.

◆ RT5390_DEF_RF

#define RT5390_DEF_RF

Definition at line 1407 of file if_runreg.h.

◆ RT5390_EEPROM_IQ_GAIN_CAL_TX0_2GHZ

#define RT5390_EEPROM_IQ_GAIN_CAL_TX0_2GHZ   0x130

Definition at line 938 of file if_runreg.h.

◆ RT5390_EEPROM_IQ_GAIN_CAL_TX0_CH100_TO_CH138_5GHZ

#define RT5390_EEPROM_IQ_GAIN_CAL_TX0_CH100_TO_CH138_5GHZ   0x146

Definition at line 946 of file if_runreg.h.

◆ RT5390_EEPROM_IQ_GAIN_CAL_TX0_CH140_TO_CH165_5GHZ

#define RT5390_EEPROM_IQ_GAIN_CAL_TX0_CH140_TO_CH165_5GHZ   0x148

Definition at line 948 of file if_runreg.h.

◆ RT5390_EEPROM_IQ_GAIN_CAL_TX0_CH36_TO_CH64_5GHZ

#define RT5390_EEPROM_IQ_GAIN_CAL_TX0_CH36_TO_CH64_5GHZ   0x144

Definition at line 944 of file if_runreg.h.

◆ RT5390_EEPROM_IQ_GAIN_CAL_TX1_2GHZ

#define RT5390_EEPROM_IQ_GAIN_CAL_TX1_2GHZ   0x133

Definition at line 940 of file if_runreg.h.

◆ RT5390_EEPROM_IQ_GAIN_CAL_TX1_CH100_TO_CH138_5GHZ

#define RT5390_EEPROM_IQ_GAIN_CAL_TX1_CH100_TO_CH138_5GHZ   0x14c

Definition at line 952 of file if_runreg.h.

◆ RT5390_EEPROM_IQ_GAIN_CAL_TX1_CH140_TO_CH165_5GHZ

#define RT5390_EEPROM_IQ_GAIN_CAL_TX1_CH140_TO_CH165_5GHZ   0x14e

Definition at line 954 of file if_runreg.h.

◆ RT5390_EEPROM_IQ_GAIN_CAL_TX1_CH36_TO_CH64_5GHZ

#define RT5390_EEPROM_IQ_GAIN_CAL_TX1_CH36_TO_CH64_5GHZ   0x14a

Definition at line 950 of file if_runreg.h.

◆ RT5390_EEPROM_IQ_PHASE_CAL_TX0_2GHZ

#define RT5390_EEPROM_IQ_PHASE_CAL_TX0_2GHZ   0x131

Definition at line 939 of file if_runreg.h.

◆ RT5390_EEPROM_IQ_PHASE_CAL_TX0_CH100_TO_CH138_5GHZ

#define RT5390_EEPROM_IQ_PHASE_CAL_TX0_CH100_TO_CH138_5GHZ   0x147

Definition at line 947 of file if_runreg.h.

◆ RT5390_EEPROM_IQ_PHASE_CAL_TX0_CH140_TO_CH165_5GHZ

#define RT5390_EEPROM_IQ_PHASE_CAL_TX0_CH140_TO_CH165_5GHZ   0x149

Definition at line 949 of file if_runreg.h.

◆ RT5390_EEPROM_IQ_PHASE_CAL_TX0_CH36_TO_CH64_5GHZ

#define RT5390_EEPROM_IQ_PHASE_CAL_TX0_CH36_TO_CH64_5GHZ   0x145

Definition at line 945 of file if_runreg.h.

◆ RT5390_EEPROM_IQ_PHASE_CAL_TX1_2GHZ

#define RT5390_EEPROM_IQ_PHASE_CAL_TX1_2GHZ   0x134

Definition at line 941 of file if_runreg.h.

◆ RT5390_EEPROM_IQ_PHASE_CAL_TX1_CH100_TO_CH138_5GHZ

#define RT5390_EEPROM_IQ_PHASE_CAL_TX1_CH100_TO_CH138_5GHZ   0x14d

Definition at line 953 of file if_runreg.h.

◆ RT5390_EEPROM_IQ_PHASE_CAL_TX1_CH140_TO_CH165_5GHZ

#define RT5390_EEPROM_IQ_PHASE_CAL_TX1_CH140_TO_CH165_5GHZ   0x14f

Definition at line 955 of file if_runreg.h.

◆ RT5390_EEPROM_IQ_PHASE_CAL_TX1_CH36_TO_CH64_5GHZ

#define RT5390_EEPROM_IQ_PHASE_CAL_TX1_CH36_TO_CH64_5GHZ   0x14b

Definition at line 951 of file if_runreg.h.

◆ RT5390_EEPROM_RF_IQ_COMPENSATION_CTL

#define RT5390_EEPROM_RF_IQ_COMPENSATION_CTL   0x13c

Definition at line 942 of file if_runreg.h.

◆ RT5390_EEPROM_RF_IQ_IMBALANCE_COMPENSATION_CTL

#define RT5390_EEPROM_RF_IQ_IMBALANCE_COMPENSATION_CTL   0x13d

Definition at line 943 of file if_runreg.h.

◆ RT5390_EN_SIG_MODULATION

#define RT5390_EN_SIG_MODULATION   (1 << 3)

Definition at line 733 of file if_runreg.h.

◆ RT5390_MAC_IF_CTRL

#define RT5390_MAC_IF_CTRL   (1 << 6)

Definition at line 729 of file if_runreg.h.

◆ RT5390_MLD

#define RT5390_MLD   (1 << 2)

Definition at line 732 of file if_runreg.h.

◆ RT5390_RESCAL

#define RT5390_RESCAL   (1 << 7)

Definition at line 717 of file if_runreg.h.

◆ RT5390_RF_5370

#define RT5390_RF_5370   0x5370 /* 1T1R */

Definition at line 867 of file if_runreg.h.

◆ RT5390_RF_5372

#define RT5390_RF_5372   0x5372 /* 2T2R */

Definition at line 868 of file if_runreg.h.

◆ RT5390_RX_LO1

#define RT5390_RX_LO1   (1 << 5)

Definition at line 723 of file if_runreg.h.

◆ RT5390_RX_LO2

#define RT5390_RX_LO2   (1 << 7)

Definition at line 726 of file if_runreg.h.

◆ RT5390_VCOCAL

#define RT5390_VCOCAL   (1 << 7)

Definition at line 720 of file if_runreg.h.

◆ RT5392_DEF_RF

#define RT5392_DEF_RF

Definition at line 1466 of file if_runreg.h.

◆ RT5592_2GHZ_DEF_RF

#define RT5592_2GHZ_DEF_RF
Value:
{ 10, 0x90 }, \
{ 11, 0x4a }, \
{ 12, 0x52 }, \
{ 13, 0x42 }, \
{ 22, 0x40 }, \
{ 24, 0x4a }, \
{ 25, 0x80 }, \
{ 27, 0x42 }, \
{ 36, 0x80 }, \
{ 37, 0x08 }, \
{ 38, 0x89 }, \
{ 39, 0x1b }, \
{ 40, 0x0d }, \
{ 41, 0x9b }, \
{ 42, 0xd5 }, \
{ 43, 0x72 }, \
{ 44, 0x0e }, \
{ 45, 0xa2 }, \
{ 46, 0x6b }, \
{ 48, 0x10 }, \
{ 51, 0x3e }, \
{ 52, 0x48 }, \
{ 54, 0x38 }, \
{ 56, 0xa1 }, \
{ 57, 0x00 }, \
{ 58, 0x39 }, \
{ 60, 0x45 }, \
{ 61, 0x91 }, \
{ 62, 0x39 }

Definition at line 1549 of file if_runreg.h.

◆ RT5592_5GHZ_DEF_RF

#define RT5592_5GHZ_DEF_RF
Value:
{ 10, 0x97 }, \
{ 11, 0x40 }, \
{ 25, 0xbf }, \
{ 27, 0x42 }, \
{ 36, 0x00 }, \
{ 37, 0x04 }, \
{ 38, 0x85 }, \
{ 40, 0x42 }, \
{ 41, 0xbb }, \
{ 42, 0xd7 }, \
{ 45, 0x41 }, \
{ 48, 0x00 }, \
{ 57, 0x77 }, \
{ 60, 0x05 }, \
{ 61, 0x01 }

Definition at line 1580 of file if_runreg.h.

◆ RT5592_CHAN_5GHZ

#define RT5592_CHAN_5GHZ

Definition at line 1597 of file if_runreg.h.

◆ RT5592_DEBUG_INDEX

#define RT5592_DEBUG_INDEX   0x05e8

Definition at line 82 of file if_runreg.h.

◆ RT5592_DEF_BBP

#define RT5592_DEF_BBP
Value:
{ 20, 0x06 }, \
{ 31, 0x08 }, \
{ 65, 0x2c }, \
{ 66, 0x38 }, \
{ 68, 0xdd }, \
{ 69, 0x1a }, \
{ 70, 0x05 }, \
{ 73, 0x13 }, \
{ 74, 0x0f }, \
{ 75, 0x4f }, \
{ 76, 0x28 }, \
{ 77, 0x59 }, \
{ 81, 0x37 }, \
{ 82, 0x62 }, \
{ 83, 0x6a }, \
{ 84, 0x9a }, \
{ 86, 0x38 }, \
{ 88, 0x90 }, \
{ 91, 0x04 }, \
{ 92, 0x02 }, \
{ 95, 0x9a }, \
{ 98, 0x12 }, \
{ 103, 0xc0 }, \
{ 104, 0x92 }, \
{ 105, 0x3c }, \
{ 106, 0x35 }, \
{ 128, 0x12 }, \
{ 134, 0xd0 }, \
{ 135, 0xf6 }, \
{ 137, 0x0f }

Definition at line 1048 of file if_runreg.h.

◆ RT5592_DEF_RF

#define RT5592_DEF_RF
Value:
{ 1, 0x3f }, \
{ 3, 0x08 }, \
{ 5, 0x10 }, \
{ 6, 0xe4 }, \
{ 7, 0x00 }, \
{ 14, 0x00 }, \
{ 15, 0x00 }, \
{ 16, 0x00 }, \
{ 18, 0x03 }, \
{ 19, 0x4d }, \
{ 20, 0x10 }, \
{ 21, 0x8d }, \
{ 26, 0x82 }, \
{ 28, 0x00 }, \
{ 29, 0x10 }, \
{ 33, 0xc0 }, \
{ 34, 0x07 }, \
{ 35, 0x12 }, \
{ 47, 0x0c }, \
{ 53, 0x22 }, \
{ 63, 0x07 }

Definition at line 1526 of file if_runreg.h.

◆ RT5592_RF5592_20MHZ

#define RT5592_RF5592_20MHZ

Definition at line 1209 of file if_runreg.h.

◆ RT5592_RF5592_40MHZ

#define RT5592_RF5592_40MHZ

Definition at line 1264 of file if_runreg.h.

◆ RT5592_RF_5592

#define RT5592_RF_5592   0x000f /* dual-band 2T2R */

Definition at line 866 of file if_runreg.h.

◆ RT5592_SEL_XTAL

#define RT5592_SEL_XTAL   (1U << 31)

Definition at line 385 of file if_runreg.h.

Function Documentation

◆ __aligned()

union run_stats __aligned ( )

Variable Documentation

◆ __packed

◆ 

struct { ... } error

Referenced by acpi_uhub_port_sysctl(), atmegadci_device_done(), atmegadci_standard_done_sub(), aue_attach(), aue_bulk_read_callback(), aue_bulk_write_callback(), aue_ifmedia_upd(), aue_intr_callback(), avr32dci_device_done(), avr32dci_standard_done_sub(), awusbdrd_attach(), awusbdrd_detach(), axe_attach(), axe_attach_post_sub(), axe_bulk_read_callback(), axe_bulk_write_callback(), axe_ifmedia_upd(), axe_ioctl(), axe_rx_frame(), axge_attach(), axge_attach_post_sub(), axge_bulk_read_callback(), axge_bulk_write_callback(), axge_ifmedia_upd(), axge_ioctl(), bbb_command_callback(), bbb_data_read_callback(), bbb_data_write_callback(), bbb_done(), bbb_raw_write_callback(), bbb_status_callback(), cdce_attach(), cdce_bulk_read_callback(), cdce_bulk_write_callback(), cdce_intr_read_callback(), cdce_intr_write_callback(), cdce_ioctl(), cdce_probe(), cdceem_attach(), cdceem_probe(), cfumass_attach(), cfumass_detach(), cfumass_init(), cfumass_shutdown(), cfumass_t_command_callback(), cp2112iic_intr_read_callback(), cp2112iic_intr_write_callback(), cue_attach(), cue_bulk_read_callback(), cue_bulk_write_callback(), dwc_otg_attach(), dwc_otg_device_done(), dwc_otg_standard_done_sub(), ehci_device_done(), ehci_msm_attach(), ehci_pci_attach(), g_audio_attach(), g_audio_isoc_read_callback(), g_audio_isoc_write_callback(), g_keyboard_attach(), g_keyboard_intr_callback(), g_modem_attach(), g_modem_bulk_read_callback(), g_modem_bulk_write_callback(), g_modem_intr_callback(), g_mouse_attach(), g_mouse_intr_callback(), generic_ehci_attach(), generic_ehci_fdt_attach(), generic_ohci_attach(), ipheth_attach(), ipheth_bulk_read_callback(), ipheth_bulk_write_callback(), ipheth_get_mac_addr(), ipheth_tick(), kue_attach(), kue_attach_post(), kue_bulk_read_callback(), kue_bulk_write_callback(), mos_attach(), mos_bulk_read_callback(), mos_bulk_write_callback(), mos_ifmedia_upd(), mos_intr_callback(), muge_attach_post_sub(), muge_bulk_read_callback(), muge_bulk_write_callback(), musbotg_device_done(), musbotg_standard_done_sub(), mv_ehci_attach(), ng_udbp_disconnect(), ng_udbp_newhook(), ng_udbp_rcvdata(), ng_udbp_rcvmsg(), ohci_device_done(), ohci_pci_attach(), rsu_alloc_list(), rsu_alloc_rx_list(), rsu_alloc_tx_list(), rsu_attach(), rsu_bulk_rx_callback(), rsu_bulk_tx_callback_be_bk(), rsu_bulk_tx_callback_h2c(), rsu_bulk_tx_callback_sub(), rsu_bulk_tx_callback_vi_vo(), rsu_delete_key(), rsu_init(), rsu_ioctl_net(), rsu_join_bss(), rsu_key_check(), rsu_load_firmware(), rsu_newstate(), rsu_reinit_static_keys(), rsu_scan_start(), rsu_set_channel(), rsu_set_fw_power_state(), rsu_set_key_group(), rsu_set_key_pair(), rsu_transmit(), rue_attach(), rue_bulk_read_callback(), rue_bulk_write_callback(), rue_ifmedia_upd(), rue_intr_callback(), rum_attach(), rum_bulk_read_callback(), rum_bulk_write_callback(), rum_eeprom_read(), rum_read_multi(), rum_reset(), rum_transmit(), rum_tx_data(), rum_tx_raw(), rum_wme_update(), rum_write_multi(), run_attach(), run_bbp_init(), run_bbp_read(), run_bbp_write(), run_bulk_rx_callback(), run_bulk_tx_callback0(), run_bulk_tx_callback1(), run_bulk_tx_callback2(), run_bulk_tx_callback3(), run_bulk_tx_callback4(), run_bulk_tx_callback5(), run_bulk_tx_callbackN(), run_eeprom_read_2(), run_efuse_read(), run_iter_func(), run_load_microcode(), run_mcu_cmd(), run_media_change(), run_raw_xmit(), run_read(), run_rt2870_rf_write(), run_rt3070_rf_read(), run_rt3070_rf_write(), run_set_region_4(), run_transmit(), run_tx_param(), run_txrx_enable(), run_wme_update(), run_write(), run_write_region_1(), smsc_attach_post_sub(), smsc_bulk_read_callback(), smsc_bulk_write_callback(), sysctl_hw_usb_template(), sysctl_hw_usb_template_power(), u3g_attach(), u3g_intr_callback(), u3g_read_callback(), u3g_test_autoinst(), u3g_write_callback(), uark_attach(), uark_bulk_read_callback(), uark_bulk_write_callback(), uath_alloc_data_list(), uath_alloc_rx_data_list(), uath_alloc_tx_data_list(), uath_attach(), uath_bulk_rx_callback(), uath_bulk_tx_callback(), uath_cmdsend(), uath_config(), uath_config_multi(), uath_flush(), uath_get_capability(), uath_get_devcap(), uath_get_devstatus(), uath_get_status(), uath_init(), uath_intr_rx_callback(), uath_intr_tx_callback(), uath_newstate(), uath_reset_tx_queues(), uath_set_keys(), uath_stat(), uath_switch_channel(), uath_transmit(), uath_wme_init(), ubsa_attach(), ubsa_intr_callback(), ubsa_read_callback(), ubsa_write_callback(), ubser_attach(), ubser_read_callback(), ubser_write_callback(), uchcom_attach(), uchcom_intr_callback(), uchcom_read_callback(), uchcom_write_callback(), ucom_attach(), ucom_ioctl(), ucom_open(), ucom_param(), ucycom_attach(), ucycom_ctrl_write_callback(), ucycom_intr_read_callback(), udav_attach(), udav_bulk_read_callback(), udav_bulk_write_callback(), udav_ifmedia_upd(), udav_intr_callback(), udbp_attach(), udbp_bulk_read_callback(), udbp_bulk_read_complete(), udbp_bulk_write_callback(), udbp_modload(), udl_attach(), udl_bulk_write_callback(), udl_ctrl_msg(), udl_init_chip(), udl_init_resolution(), udl_poll(), udl_read_1(), udl_read_edid(), udl_set_enc_key(), udl_write_1(), ue_attach_post_task(), uep_attach(), uep_intr_callback(), uether_ifattach(), uether_ioctl(), ufoma_attach(), ufoma_bulk_read_callback(), ufoma_bulk_write_callback(), ufoma_cfg_activate_state(), ufoma_cfg_link_state(), ufoma_ctrl_read_callback(), ufoma_ctrl_write_callback(), ufoma_intr_callback(), ufoma_modem_setup(), ufoma_probe(), ufoma_sysctl_open(), uftdi_attach(), uftdi_read_callback(), uftdi_write_callback(), ugensa_attach(), ugensa_bulk_read_callback(), ugensa_bulk_write_callback(), ugold_attach(), ugold_intr_callback(), uhci_device_done(), uhci_pci_attach(), uhid_attach(), uhid_intr_read_callback(), uhid_intr_write_callback(), uhid_ioctl(), uhid_ioctl_post(), uhid_probe(), uhid_snes_attach(), uhid_snes_ioctl(), uhid_snes_open(), uhid_snes_read_callback(), uhid_snes_reset(), uhso_attach(), uhso_bs_intr_callback(), uhso_bs_read_callback(), uhso_bs_write_callback(), uhso_if_output(), uhso_ifnet_read_callback(), uhso_ifnet_write_callback(), uhso_mux_intr_callback(), uhso_mux_read_callback(), uhso_mux_write_callback(), uhso_probe(), uhso_probe_iface(), uhso_radio_sysctl(), uhub_attach(), uhub_reattach_port(), uipaq_attach(), uipaq_read_callback(), uipaq_write_callback(), ukbd_detach(), ukbd_intr_callback(), ukbd_probe(), ukbd_set_leds_callback(), uled_attach(), uled_enable(), uled_ioctl(), ulpt_attach(), ulpt_probe(), ulpt_read_callback(), ulpt_status_callback(), ulpt_write_callback(), umass_cam_detach_sim(), umass_t_bbb_command_callback(), umass_t_bbb_data_clear_stall_callback(), umass_t_bbb_data_rd_cs_callback(), umass_t_bbb_data_read_callback(), umass_t_bbb_data_wr_cs_callback(), umass_t_bbb_data_write_callback(), umass_t_bbb_reset1_callback(), umass_t_bbb_reset2_callback(), umass_t_bbb_reset3_callback(), umass_t_bbb_status_callback(), umass_t_cbi_command_callback(), umass_t_cbi_data_clear_stall_callback(), umass_t_cbi_data_rd_cs_callback(), umass_t_cbi_data_read_callback(), umass_t_cbi_data_wr_cs_callback(), umass_t_cbi_data_write_callback(), umass_t_cbi_reset1_callback(), umass_t_cbi_reset2_callback(), umass_t_cbi_reset3_callback(), umass_t_cbi_reset4_callback(), umass_t_cbi_status_callback(), umass_tr_error(), umcs7840_attach(), umcs7840_intr_callback(), umcs7840_read_callback1(), umcs7840_read_callback2(), umcs7840_read_callback3(), umcs7840_read_callback4(), umcs7840_read_callbackN(), umcs7840_write_callback1(), umcs7840_write_callback2(), umcs7840_write_callback3(), umcs7840_write_callback4(), umcs7840_write_callbackN(), umct_attach(), umct_intr_callback(), umct_intr_callback_sub(), umct_read_callback(), umct_read_callback_sub(), umct_write_callback(), umodem_attach(), umodem_intr_read_callback(), umodem_intr_write_callback(), umodem_ioctl(), umodem_probe(), umodem_read_callback(), umodem_write_callback(), umoscom_attach(), umoscom_intr_callback(), umoscom_read_callback(), umoscom_write_callback(), ums_fifo_ioctl(), ums_intr_callback(), ums_probe(), upgt_attach(), upgt_bulk_rx_callback(), upgt_bulk_tx_callback(), upgt_eeprom_read(), upgt_fw_load(), upgt_fw_verify(), upgt_transmit(), upgt_tx_start(), uplcom_attach(), uplcom_intr_callback(), uplcom_read_callback(), uplcom_write_callback(), ural_attach(), ural_bulk_read_callback(), ural_bulk_write_callback(), ural_eeprom_read(), ural_read(), ural_read_multi(), ural_set_testmode(), ural_transmit(), ural_tx_data(), ural_tx_raw(), ural_write(), ural_write_multi(), ure_attach(), ure_attach_post_sub(), ure_bulk_read_callback(), ure_bulk_write_callback(), ure_ifmedia_upd(), ure_ioctl(), ure_sysctl_chipver(), urio_attach(), urio_ioctl(), urio_read_callback(), urio_write_callback(), urndis_attach(), urndis_bulk_read_callback(), urndis_bulk_write_callback(), urndis_intr_read_callback(), urtw_8180_set_anaparam(), urtw_8185_rf_pins_enable(), urtw_8185_set_anaparam2(), urtw_8185_tx_antenna(), urtw_8187_write_phy(), urtw_8187b_cmd_reset(), urtw_8225_isv2(), urtw_8225_read(), urtw_8225_rf_init(), urtw_8225_rf_set_chan(), urtw_8225_rf_set_sens(), urtw_8225_rf_stop(), urtw_8225_set_txpwrlvl(), urtw_8225_setgain(), urtw_8225_usb_init(), urtw_8225_write_c(), urtw_8225_write_s16(), urtw_8225v2_rf_init(), urtw_8225v2_rf_set_chan(), urtw_8225v2_set_txpwrlvl(), urtw_8225v2_setgain(), urtw_8225v2b_rf_init(), urtw_8225v2b_rf_set_chan(), urtw_8225v2b_set_txpwrlvl(), urtw_adapter_start(), urtw_adapter_start_b(), urtw_alloc_data_list(), urtw_alloc_rx_data_list(), urtw_alloc_tx_data_list(), urtw_attach(), urtw_bulk_rx_callback(), urtw_bulk_tx_callback(), urtw_bulk_tx_status_callback(), urtw_eprom_ck(), urtw_eprom_cs(), urtw_eprom_read32(), urtw_eprom_readbit(), urtw_eprom_sendbits(), urtw_eprom_writebit(), urtw_get_macaddr(), urtw_get_rfchip(), urtw_get_txpwr(), urtw_init(), urtw_intr_disable(), urtw_intr_enable(), urtw_led_blink(), urtw_led_ctl(), urtw_led_init(), urtw_led_off(), urtw_led_on(), urtw_newstate(), urtw_read16_c(), urtw_read32_c(), urtw_read8_c(), urtw_read8e(), urtw_reset(), urtw_rx_enable(), urtw_rx_setconf(), urtw_set_channel(), urtw_set_macaddr(), urtw_set_mode(), urtw_set_rate(), urtw_stop(), urtw_transmit(), urtw_tx_enable(), urtw_tx_start(), urtw_update_msr(), urtw_updateslottask(), usb_detach_device_sub(), usb_do_clear_stall_callback(), usb_handle_iface_request(), usb_msc_auto_quirk(), usb_nop_xceiv_attach(), usb_nop_xceiv_phy_enable(), usb_proc_create(), usb_request_callback(), usb_temp_setup(), usb_temp_sysctl(), usbd_set_endpoint_mode(), usbd_setup_ctrl_transfer(), usbd_transfer_done(), usbd_transfer_setup(), usbhid_attach(), usbhid_ctrl_callback(), usbhid_get_rdesc(), usbhid_get_report(), usbhid_intr_in_callback(), usbhid_intr_out_callback(), usbhid_intr_setup(), usbhid_ioctl(), usbhid_probe(), usbhid_read(), usbhid_set_idle(), usbhid_set_protocol(), usbhid_set_report(), usbhid_sync_xfer(), usbhid_write(), usbpf_clone_create(), usbpf_ifname2ubus(), usbpf_uninit(), usie_if_rx_callback(), usie_if_status_callback(), usie_if_tx_callback(), usie_uc_rx_callback(), usie_uc_status_callback(), usie_uc_tx_callback(), uslcom_attach(), uslcom_control_callback(), uslcom_ioctl(), uslcom_read_callback(), uslcom_write_callback(), uss820dci_device_done(), uss820dci_standard_done_sub(), ustorage_fs_do_cmd(), ustorage_fs_t_bbb_command_callback(), ustorage_fs_t_bbb_data_dump_callback(), ustorage_fs_t_bbb_data_read_callback(), ustorage_fs_t_bbb_data_write_callback(), ustorage_fs_t_bbb_status_callback(), uvisor_attach(), uvisor_read_callback(), uvisor_write_callback(), uvscom_attach(), uvscom_intr_callback(), uvscom_read_callback(), uvscom_write_callback(), wmt_intr_callback(), wsp_intr_callback(), wsp_ioctl(), xhci_alloc_device_ext(), xhci_device_done(), xhci_pci_attach(), xhci_transfer_remove(), zyd_al2210_init(), zyd_al2210_set_channel(), zyd_al2230_bandedge6(), zyd_al2230_fini(), zyd_al2230_init(), zyd_al2230_init_b(), zyd_al2230_set_channel(), zyd_al2230_set_channel_b(), zyd_al2230_switch_radio(), zyd_al7230B_init(), zyd_al7230B_set_channel(), zyd_al7230B_switch_radio(), zyd_attach(), zyd_bulk_read_callback(), zyd_bulk_write_callback(), zyd_cmd(), zyd_gct_init(), zyd_gct_mode(), zyd_gct_set_channel(), zyd_gct_set_channel_synth(), zyd_gct_switch_radio(), zyd_get_macaddr(), zyd_hw_init(), zyd_init_locked(), zyd_intr_read_callback(), zyd_intr_write_callback(), zyd_lock_phy(), zyd_maxim2_init(), zyd_maxim2_set_channel(), zyd_newstate(), zyd_read16(), zyd_read32(), zyd_read_eeprom(), zyd_read_pod(), zyd_rfmd_init(), zyd_rfmd_set_channel(), zyd_rfmd_switch_radio(), zyd_rfwrite(), zyd_rfwrite_cr(), zyd_set_beacon_interval(), zyd_set_bssid(), zyd_set_chan(), zyd_set_led(), zyd_set_macaddr(), zyd_set_multi(), zyd_stop(), zyd_switch_radio(), zyd_transmit(), and zyd_unlock_phy().

◆ fail

uint16_t fail

Definition at line 2 of file if_runreg.h.

Referenced by awusbdrd_attach(), cfumass_datamove(), rsu_alloc_list(), rsu_init(), rsu_load_firmware(), rsu_rx_copy_to_mbuf(), rum_ratectl_task(), run_init_locked(), run_iter_func(), run_load_microcode(), run_rx_frame(), uath_alloc_data_list(), uath_attach(), uath_init(), udl_read_edid(), ue_attach_post_task(), upgt_fw_load(), upgt_fw_verify(), ural_init(), ural_newstate(), ural_ratectl_task(), urtw_8180_set_anaparam(), urtw_8185_rf_pins_enable(), urtw_8185_set_anaparam2(), urtw_8185_tx_antenna(), urtw_8187_write_phy(), urtw_8187b_cmd_reset(), urtw_8225_isv2(), urtw_8225_read(), urtw_8225_rf_init(), urtw_8225_rf_set_chan(), urtw_8225_rf_set_sens(), urtw_8225_rf_stop(), urtw_8225_set_txpwrlvl(), urtw_8225_setgain(), urtw_8225_usb_init(), urtw_8225_write_c(), urtw_8225v2_rf_init(), urtw_8225v2_rf_set_chan(), urtw_8225v2_set_txpwrlvl(), urtw_8225v2_setgain(), urtw_8225v2b_rf_init(), urtw_8225v2b_rf_set_chan(), urtw_8225v2b_set_txpwrlvl(), urtw_adapter_start(), urtw_adapter_start_b(), urtw_alloc_data_list(), urtw_attach(), urtw_eprom_ck(), urtw_eprom_cs(), urtw_eprom_read32(), urtw_eprom_readbit(), urtw_eprom_sendbits(), urtw_eprom_writebit(), urtw_get_macaddr(), urtw_get_rfchip(), urtw_get_txpwr(), urtw_init(), urtw_intr_disable(), urtw_intr_enable(), urtw_led_init(), urtw_led_off(), urtw_led_on(), urtw_newstate(), urtw_reset(), urtw_rx_enable(), urtw_rx_setconf(), urtw_rxeof(), urtw_set_channel(), urtw_set_macaddr(), urtw_set_mode(), urtw_set_rate(), urtw_stop(), urtw_tx_enable(), urtw_update_msr(), urtw_updateslottask(), usb_nop_xceiv_phy_enable(), zyd_al2210_init(), zyd_al2210_set_channel(), zyd_al2230_bandedge6(), zyd_al2230_fini(), zyd_al2230_init(), zyd_al2230_init_b(), zyd_al2230_set_channel(), zyd_al2230_set_channel_b(), zyd_al2230_switch_radio(), zyd_al7230B_init(), zyd_al7230B_set_channel(), zyd_al7230B_switch_radio(), zyd_gct_init(), zyd_gct_set_channel(), zyd_gct_switch_radio(), zyd_hw_init(), zyd_init_locked(), zyd_lock_phy(), zyd_maxim2_init(), zyd_maxim2_set_channel(), zyd_newstate(), zyd_read_eeprom(), zyd_read_pod(), zyd_rfmd_init(), zyd_rfmd_set_channel(), zyd_rfmd_switch_radio(), zyd_rfwrite(), zyd_rfwrite_cr(), zyd_set_beacon_interval(), zyd_set_bssid(), zyd_set_chan(), zyd_set_led(), zyd_set_macaddr(), zyd_set_multi(), zyd_stop(), zyd_switch_radio(), and zyd_unlock_phy().

◆ pad

uint16_t pad

Definition at line 3 of file if_runreg.h.

Referenced by run_set_tx_desc(), usie_hip_rsp(), usie_if_rx_callback(), and usie_if_status_cb().

◆ raw

uint32_t raw

Definition at line 0 of file if_runreg.h.

Referenced by rum_get_rssi(), and usb_make_raw_desc().

◆ retry

uint16_t retry

◆ run_chan_5ghz

const uint8_t run_chan_5ghz[]
static
Initial value:
=
{ 36, 38, 40, 44, 46, 48, 52, 54, 56, 60, 62, 64, 100, 102, 104,
108, 110, 112, 116, 118, 120, 124, 126, 128, 132, 134, 136, 140,
149, 151, 153, 157, 159, 161, 165, 167, 169, 171, 173,
184, 188, 192, 196, 208, 212, 216 }

Definition at line 1083 of file if_runreg.h.

Referenced by run_getradiocaps().

◆ success

uint16_t success

Definition at line 6 of file if_runreg.h.

◆