Go to the documentation of this file.
19 #define EPROM_DELAY 10
21 #define EPROM_ANAPARAM_ADDRLWORD 0xd
22 #define EPROM_ANAPARAM_ADDRHWORD 0xe
25 #define RFCHIPID_INTERSIL 1
26 #define RFCHIPID_RFMD 2
27 #define RFCHIPID_PHILIPS 3
28 #define RFCHIPID_MAXIM 4
29 #define RFCHIPID_GCT 5
30 #define RFCHIPID_RTL8225 9
32 #define EPROM_TXPW_BASE 0x05
34 #define RFCHIPID_RTL8255 0xa
36 #define RF_PARAM_DIGPHY_SHIFT 0
37 #define RF_PARAM_ANTBDEFAULT_SHIFT 1
38 #define RF_PARAM_CARRIERSENSE_SHIFT 2
39 #define RF_PARAM_CARRIERSENSE_MASK (3<<2)
40 #define ENERGY_TRESHOLD 0x17
41 #define EPROM_VERSION 0x1E
46 #define EPROM_TXPW_OFDM_CH1_2 0x20
48 #define EPROM_TXPW_CH1_2 0x30
50 #define RTL818X_EEPROM_CMD_READ (1 << 0)
51 #define RTL818X_EEPROM_CMD_WRITE (1 << 1)
52 #define RTL818X_EEPROM_CMD_CK (1 << 2)
53 #define RTL818X_EEPROM_CMD_CS (1 << 3)