iPXE
|
Go to the source code of this file.
Macros | |
#define | RTL8225_ANAPARAM_ON 0xa0000b59 |
#define | RTL8225_ANAPARAM2_ON 0x860dec11 |
#define | RTL8225_ANAPARAM_OFF 0xa00beb59 |
#define | RTL8225_ANAPARAM2_OFF 0x840dec11 |
#define | min(a, b) (((a)<(b))?(a):(b)) |
Functions | |
FILE_LICENCE (GPL2_ONLY) | |
static void | rtl8225_write_phy_ofdm (struct net80211_device *dev, u8 addr, u8 data) |
static void | rtl8225_write_phy_cck (struct net80211_device *dev, u8 addr, u8 data) |
static void | rtl8225_write (struct net80211_device *dev, u8 addr, u16 data) |
static u16 | rtl8225_read (struct net80211_device *dev, u8 addr) |
static void | rtl8225_rf_set_tx_power (struct net80211_device *dev, int channel) |
static void | rtl8225_rf_init (struct net80211_device *dev) |
static void | rtl8225z2_rf_set_tx_power (struct net80211_device *dev, int channel) |
static void | rtl8225z2_rf_init (struct net80211_device *dev) |
static void | rtl8225x_rf_init (struct net80211_device *dev) |
static void | rtl8225_rf_stop (struct net80211_device *dev) |
static void | rtl8225_rf_set_channel (struct net80211_device *dev, struct net80211_channel *channelp) |
static void | rtl8225_rf_conf_erp (struct net80211_device *dev) |
Variables | |
static const u16 | rtl8225bcd_rxgain [] |
static const u8 | rtl8225_agc [] |
static const u8 | rtl8225_gain [] |
static const u8 | rtl8225_threshold [] |
static const u8 | rtl8225_tx_gain_cck_ofdm [] |
static const u8 | rtl8225_tx_power_cck [] |
static const u8 | rtl8225_tx_power_cck_ch14 [] |
static const u8 | rtl8225_tx_power_ofdm [] |
static const u32 | rtl8225_chan [] |
static const u8 | rtl8225z2_tx_power_cck_ch14 [] |
static const u8 | rtl8225z2_tx_power_cck_B [] |
static const u8 | rtl8225z2_tx_power_cck_A [] |
static const u8 | rtl8225z2_tx_power_cck [] |
static const u16 | rtl8225z2_rxgain [] |
struct rtl818x_rf_ops rtl8225_ops | __rtl818x_rf_driver |
#define RTL8225_ANAPARAM_ON 0xa0000b59 |
Definition at line 27 of file rtl8185_rtl8225.c.
#define RTL8225_ANAPARAM2_ON 0x860dec11 |
Definition at line 28 of file rtl8185_rtl8225.c.
#define RTL8225_ANAPARAM_OFF 0xa00beb59 |
Definition at line 29 of file rtl8185_rtl8225.c.
#define RTL8225_ANAPARAM2_OFF 0x840dec11 |
Definition at line 30 of file rtl8185_rtl8225.c.
#define min | ( | a, | |
b | |||
) | (((a)<(b))?(a):(b)) |
Definition at line 32 of file rtl8185_rtl8225.c.
FILE_LICENCE | ( | GPL2_ONLY | ) |
|
inlinestatic |
Definition at line 34 of file rtl8185_rtl8225.c.
References addr, data, and rtl818x_write_phy().
Referenced by rtl8225_rf_init(), rtl8225_rf_set_tx_power(), rtl8225z2_rf_init(), and rtl8225z2_rf_set_tx_power().
|
inlinestatic |
Definition at line 40 of file rtl8185_rtl8225.c.
References addr, data, and rtl818x_write_phy().
Referenced by rtl8225_rf_init(), rtl8225_rf_set_tx_power(), rtl8225z2_rf_init(), and rtl8225z2_rf_set_tx_power().
|
static |
Definition at line 46 of file rtl8185_rtl8225.c.
References addr, data, priv, net80211_device::priv, reg, rtl818x_ioread16(), rtl818x_ioread8(), rtl818x_iowrite16(), and udelay().
Referenced by rtl8225_rf_init(), rtl8225_rf_set_channel(), rtl8225_rf_stop(), rtl8225x_rf_init(), and rtl8225z2_rf_init().
|
static |
Definition at line 94 of file rtl8185_rtl8225.c.
References addr, out, priv, net80211_device::priv, reg, rtl818x_ioread16(), rtl818x_ioread8(), rtl818x_iowrite16(), and udelay().
Referenced by rtl8225x_rf_init(), and rtl8225z2_rf_init().
|
static |
Definition at line 276 of file rtl8185_rtl8225.c.
References channel, mdelay(), min, priv, net80211_device::priv, reg, RTL818X_CONFIG3_ANAPARAM_WRITE, RTL818X_EEPROM_CMD_CONFIG, RTL818X_EEPROM_CMD_NORMAL, rtl818x_ioread8(), rtl818x_iowrite32(), rtl818x_iowrite8(), RTL8225_ANAPARAM2_ON, rtl8225_tx_gain_cck_ofdm, rtl8225_tx_power_cck, rtl8225_tx_power_cck_ch14, rtl8225_tx_power_ofdm, rtl8225_write_phy_cck(), rtl8225_write_phy_ofdm(), and tmp.
Referenced by rtl8225_rf_init(), and rtl8225_rf_set_channel().
|
static |
Definition at line 322 of file rtl8185_rtl8225.c.
References ARRAY_SIZE, mdelay(), priv, net80211_device::priv, RTL818X_EEPROM_CMD_CONFIG, RTL818X_EEPROM_CMD_NORMAL, rtl818x_ioread16(), rtl818x_ioread8(), rtl818x_iowrite16(), rtl818x_iowrite32(), rtl818x_iowrite8(), rtl818x_set_anaparam(), rtl8225_agc, RTL8225_ANAPARAM_ON, rtl8225_chan, rtl8225_gain, rtl8225_rf_set_tx_power(), rtl8225_threshold, rtl8225_write(), rtl8225_write_phy_cck(), rtl8225_write_phy_ofdm(), and rtl8225bcd_rxgain.
Referenced by rtl8225x_rf_init().
|
static |
Definition at line 492 of file rtl8185_rtl8225.c.
References channel, mdelay(), min, priv, net80211_device::priv, rtl818x_ioread8(), rtl818x_iowrite8(), rtl8225_write_phy_cck(), rtl8225_write_phy_ofdm(), rtl8225z2_tx_power_cck, rtl8225z2_tx_power_cck_A, rtl8225z2_tx_power_cck_B, rtl8225z2_tx_power_cck_ch14, and tmp.
Referenced by rtl8225_rf_set_channel(), and rtl8225z2_rf_init().
|
static |
Definition at line 551 of file rtl8185_rtl8225.c.
References ARRAY_SIZE, mdelay(), priv, net80211_device::priv, RTL818X_EEPROM_CMD_CONFIG, RTL818X_EEPROM_CMD_NORMAL, rtl818x_ioread16(), rtl818x_ioread8(), rtl818x_iowrite16(), rtl818x_iowrite32(), rtl818x_iowrite8(), rtl818x_set_anaparam(), rtl8225_agc, RTL8225_ANAPARAM_ON, rtl8225_read(), rtl8225_write(), rtl8225_write_phy_cck(), rtl8225_write_phy_ofdm(), rtl8225z2_rf_set_tx_power(), and rtl8225z2_rxgain.
Referenced by rtl8225x_rf_init().
|
static |
Definition at line 719 of file rtl8185_rtl8225.c.
References mdelay(), priv, net80211_device::priv, rtl818x_ioread8(), rtl818x_iowrite16(), rtl8225_read(), rtl8225_rf_init(), rtl8225_write(), and rtl8225z2_rf_init().
|
static |
Definition at line 746 of file rtl8185_rtl8225.c.
References mdelay(), priv, net80211_device::priv, reg, RTL818X_CONFIG3_ANAPARAM_WRITE, RTL818X_EEPROM_CMD_CONFIG, RTL818X_EEPROM_CMD_NORMAL, rtl818x_ioread8(), rtl818x_iowrite32(), rtl818x_iowrite8(), RTL8225_ANAPARAM2_OFF, RTL8225_ANAPARAM_OFF, and rtl8225_write().
|
static |
Definition at line 762 of file rtl8185_rtl8225.c.
References net80211_channel::channel_nr, mdelay(), priv, net80211_device::priv, rtl8225_chan, rtl8225_rf_set_tx_power(), rtl8225_write(), and rtl8225z2_rf_set_tx_power().
|
static |
Definition at line 777 of file rtl8185_rtl8225.c.
References NET80211_PHY_USE_SHORT_SLOT, net80211_device::phy_flags, priv, net80211_device::priv, and rtl818x_iowrite8().
|
static |
Definition at line 197 of file rtl8185_rtl8225.c.
Referenced by rtl8225_rf_init().
|
static |
Definition at line 212 of file rtl8185_rtl8225.c.
Referenced by rtl8225_rf_init(), and rtl8225z2_rf_init().
|
static |
Definition at line 231 of file rtl8185_rtl8225.c.
Referenced by rtl8225_rf_init().
|
static |
Definition at line 241 of file rtl8185_rtl8225.c.
Referenced by rtl8225_rf_init().
|
static |
Definition at line 245 of file rtl8185_rtl8225.c.
Referenced by rtl8225_rf_set_tx_power().
|
static |
Definition at line 249 of file rtl8185_rtl8225.c.
Referenced by rtl8225_rf_set_tx_power().
|
static |
Definition at line 258 of file rtl8185_rtl8225.c.
Referenced by rtl8225_rf_set_tx_power().
|
static |
Definition at line 267 of file rtl8185_rtl8225.c.
Referenced by rtl8225_rf_set_tx_power().
|
static |
Definition at line 271 of file rtl8185_rtl8225.c.
Referenced by rtl8225_rf_init(), and rtl8225_rf_set_channel().
|
static |
Definition at line 476 of file rtl8185_rtl8225.c.
Referenced by rtl8225z2_rf_set_tx_power().
|
static |
Definition at line 480 of file rtl8185_rtl8225.c.
Referenced by rtl8225z2_rf_set_tx_power().
|
static |
Definition at line 484 of file rtl8185_rtl8225.c.
Referenced by rtl8225z2_rf_set_tx_power().
|
static |
Definition at line 488 of file rtl8185_rtl8225.c.
Referenced by rtl8225z2_rf_set_tx_power().
|
static |
Definition at line 536 of file rtl8185_rtl8225.c.
Referenced by rtl8225z2_rf_init().
struct rtl818x_rf_ops rtl8225_ops __rtl818x_rf_driver |
Definition at line 796 of file rtl8185_rtl8225.c.