Go to the documentation of this file.
30 #ifndef __RTL92CU_HW_H__
31 #define __RTL92CU_HW_H__
35 #define LLT_POLLING_LLT_THRESHOLD 20
36 #define LLT_POLLING_READY_TIMEOUT_COUNT 100
37 #define LLT_LAST_ENTRY_OF_TX_PKT_BUFFER 255
39 #define RX_PAGE_SIZE_REG_VALUE PBP_128
42 #define TX_TOTAL_PAGE_NUMBER 0xF8
43 #define TX_PAGE_BOUNDARY (TX_TOTAL_PAGE_NUMBER + 1)
46 #define CHIP_B_PAGE_NUM_PUBQ 0xE7
50 #define CHIP_A_PAGE_NUM_PUBQ 0x7E
54 #define WMM_CHIP_A_TX_TOTAL_PAGE_NUMBER 0xF5
55 #define WMM_CHIP_A_TX_PAGE_BOUNDARY \
56 (WMM_CHIP_A_TX_TOTAL_PAGE_NUMBER + 1)
58 #define WMM_CHIP_A_PAGE_NUM_PUBQ 0xA3
59 #define WMM_CHIP_A_PAGE_NUM_HPQ 0x29
60 #define WMM_CHIP_A_PAGE_NUM_LPQ 0x29
65 #define WMM_CHIP_B_TX_TOTAL_PAGE_NUMBER 0xF5
66 #define WMM_CHIP_B_TX_PAGE_BOUNDARY \
67 (WMM_CHIP_B_TX_TOTAL_PAGE_NUMBER + 1)
69 #define WMM_CHIP_B_PAGE_NUM_PUBQ 0xB0
70 #define WMM_CHIP_B_PAGE_NUM_HPQ 0x29
71 #define WMM_CHIP_B_PAGE_NUM_LPQ 0x1C
72 #define WMM_CHIP_B_PAGE_NUM_NPQ 0x1C
74 #define BOARD_TYPE_NORMAL_MASK 0xE0
75 #define BOARD_TYPE_TEST_MASK 0x0F
86 #define IS_HIGHT_PA(boardtype) \
87 ((boardtype == BOARD_USB_High_PA) ? true : false)
89 #define RTL92C_DRIVER_INFO_SIZE 4