24#define CHANSEL_2G(_freq) (((_freq) * 0x10000) / CHANSEL_DIV)
25#define CHANSEL_5G(_freq) (((_freq) * 0x8000) / CHANSEL_DIV)
27#define AR_PHY_BASE 0x9800
28#define AR_PHY(_n) (AR_PHY_BASE + ((_n)<<2))
30#define AR_PHY_TX_PWRCTRL_TX_GAIN_TAB_MAX 0x0007E000
31#define AR_PHY_TX_PWRCTRL_TX_GAIN_TAB_MAX_S 13
32#define AR_PHY_TX_GAIN_CLC 0x0000001E
33#define AR_PHY_TX_GAIN_CLC_S 1
34#define AR_PHY_TX_GAIN 0x0007F000
35#define AR_PHY_TX_GAIN_S 12
37#define AR_PHY_CLC_TBL1 0xa35c
38#define AR_PHY_CLC_I0 0x07ff0000
39#define AR_PHY_CLC_I0_S 16
40#define AR_PHY_CLC_Q0 0x0000ffd0
41#define AR_PHY_CLC_Q0_S 5
43#define ANTSWAP_AB 0x0001
44#define REDUCE_CHAIN_0 0x00000050
45#define REDUCE_CHAIN_1 0x00000051
46#define AR_PHY_CHIP_ID 0x9818
48#define AR_PHY_TIMING11_SPUR_FREQ_SD 0x3FF00000
49#define AR_PHY_TIMING11_SPUR_FREQ_SD_S 20
51#define AR_PHY_PLL_CONTROL 0x16180
52#define AR_PHY_PLL_MODE 0x16184
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.