Go to the documentation of this file.
21 #ifndef _BRCM_PHY_SHIM_H_
22 #define _BRCM_PHY_SHIM_H_
26 #define RADAR_TYPE_NONE 0
27 #define RADAR_TYPE_ETSI_1 1
28 #define RADAR_TYPE_ETSI_2 2
29 #define RADAR_TYPE_ETSI_3 3
30 #define RADAR_TYPE_ITU_E 4
31 #define RADAR_TYPE_ITU_K 5
32 #define RADAR_TYPE_UNCLASSIFIED 6
33 #define RADAR_TYPE_BIN5 7
34 #define RADAR_TYPE_STG2 8
35 #define RADAR_TYPE_STG3 9
36 #define RADAR_TYPE_FRA 10
39 #define FRA_T1_20MHZ 52770
40 #define FRA_T2_20MHZ 61538
41 #define FRA_T3_20MHZ 66002
42 #define FRA_T1_40MHZ 105541
43 #define FRA_T2_40MHZ 123077
44 #define FRA_T3_40MHZ 132004
45 #define FRA_ERR_20MHZ 60
46 #define FRA_ERR_40MHZ 120
53 #define ANT_RX_DIV_FORCE_0 0
54 #define ANT_RX_DIV_FORCE_1 1
55 #define ANT_RX_DIV_START_1 2
56 #define ANT_RX_DIV_START_0 3
57 #define ANT_RX_DIV_ENABLE 3
58 #define ANT_RX_DIV_DEF ANT_RX_DIV_START_0
60 #define WL_ANT_RX_MAX 2
61 #define WL_ANT_HT_RX_MAX 3
62 #define WL_ANT_IDX_1 0
63 #define WL_ANT_IDX_2 1
66 #define BRCMS_N_PREAMBLE_MIXEDMODE 0
67 #define BRCMS_N_PREAMBLE_GF 1
68 #define BRCMS_N_PREAMBLE_GF_BRCM 2
70 #define WL_TX_POWER_RATES_LEGACY 45
71 #define WL_TX_POWER_MCS20_FIRST 12
72 #define WL_TX_POWER_MCS20_NUM 16
73 #define WL_TX_POWER_MCS40_FIRST 28
74 #define WL_TX_POWER_MCS40_NUM 17
77 #define WL_TX_POWER_RATES 101
78 #define WL_TX_POWER_CCK_FIRST 0
79 #define WL_TX_POWER_CCK_NUM 4
81 #define WL_TX_POWER_OFDM_FIRST 4
83 #define WL_TX_POWER_OFDM20_CDD_FIRST 12
85 #define WL_TX_POWER_OFDM40_SISO_FIRST 52
87 #define WL_TX_POWER_OFDM40_CDD_FIRST 60
88 #define WL_TX_POWER_OFDM_NUM 8
90 #define WL_TX_POWER_MCS20_SISO_FIRST 20
92 #define WL_TX_POWER_MCS20_CDD_FIRST 28
94 #define WL_TX_POWER_MCS20_STBC_FIRST 36
96 #define WL_TX_POWER_MCS20_SDM_FIRST 44
98 #define WL_TX_POWER_MCS40_SISO_FIRST 68
100 #define WL_TX_POWER_MCS40_CDD_FIRST 76
102 #define WL_TX_POWER_MCS40_STBC_FIRST 84
104 #define WL_TX_POWER_MCS40_SDM_FIRST 92
105 #define WL_TX_POWER_MCS_1_STREAM_NUM 8
106 #define WL_TX_POWER_MCS_2_STREAM_NUM 8
108 #define WL_TX_POWER_MCS_32 100
109 #define WL_TX_POWER_MCS_32_NUM 1
113 #define WL_TX_POWER_MCS20_SISO_FIRST_SSN 12
116 #define WL_TX_POWER_F_ENABLED 1
117 #define WL_TX_POWER_F_HW 2
118 #define WL_TX_POWER_F_MIMO 4
119 #define WL_TX_POWER_F_SISO 8
122 #define BRCMS_N_TXRX_CHAIN0 0
123 #define BRCMS_N_TXRX_CHAIN1 1
173 const void *
buf,
int,
u32);