iPXE
|
Go to the source code of this file.
Macros | |
#define | SA2400_ANTENNA 0x91 |
#define | SA2400_DIG_ANAPARAM_PWR1_ON 0x8 |
#define | SA2400_ANA_ANAPARAM_PWR1_ON 0x28 |
#define | SA2400_ANAPARAM_PWR0_ON 0x3 |
#define | SA2400_MAX_SENS 85 |
#define | SA2400_REG4_FIRDAC_SHIFT 7 |
Functions | |
FILE_LICENCE (GPL2_ONLY) | |
static void | write_sa2400 (struct net80211_device *dev, u8 addr, u32 data) |
static void | sa2400_write_phy_antenna (struct net80211_device *dev, short chan) |
static void | sa2400_rf_set_channel (struct net80211_device *dev, struct net80211_channel *channelp) |
static void | sa2400_rf_stop (struct net80211_device *dev) |
static void | sa2400_rf_init (struct net80211_device *dev) |
Variables | |
static const u32 | sa2400_chan [] |
struct rtl818x_rf_ops sa2400_rf_ops | __rtl818x_rf_driver |
#define SA2400_ANTENNA 0x91 |
Definition at line 31 of file rtl8180_sa2400.c.
#define SA2400_DIG_ANAPARAM_PWR1_ON 0x8 |
Definition at line 32 of file rtl8180_sa2400.c.
#define SA2400_ANA_ANAPARAM_PWR1_ON 0x28 |
Definition at line 33 of file rtl8180_sa2400.c.
#define SA2400_ANAPARAM_PWR0_ON 0x3 |
Definition at line 34 of file rtl8180_sa2400.c.
#define SA2400_MAX_SENS 85 |
Definition at line 37 of file rtl8180_sa2400.c.
#define SA2400_REG4_FIRDAC_SHIFT 7 |
Definition at line 39 of file rtl8180_sa2400.c.
FILE_LICENCE | ( | GPL2_ONLY | ) |
|
static |
Definition at line 58 of file rtl8180_sa2400.c.
References addr, data, mdelay(), priv, net80211_device::priv, rtl818x_iowrite16(), and u32.
Referenced by sa2400_rf_init(), sa2400_rf_set_channel(), and sa2400_rf_stop().
|
static |
Definition at line 77 of file rtl8180_sa2400.c.
References BB_ANTATTEN_CHAN14, BB_ANTENNA_B, priv, net80211_device::priv, RF_PARAM_ANTBDEFAULT, rtl818x_write_phy(), and SA2400_ANTENNA.
Referenced by sa2400_rf_init(), and sa2400_rf_set_channel().
|
static |
Definition at line 92 of file rtl8180_sa2400.c.
References channel, net80211_channel::channel_nr, priv, net80211_device::priv, sa2400_chan, sa2400_write_phy_antenna(), and write_sa2400().
|
static |
Definition at line 110 of file rtl8180_sa2400.c.
References write_sa2400().
|
static |
Definition at line 115 of file rtl8180_sa2400.c.
References rtl818x_priv::anaparam, ANAPARAM_PWR0_MASK, ANAPARAM_PWR0_SHIFT, ANAPARAM_PWR1_MASK, ANAPARAM_PWR1_SHIFT, ANAPARAM_TXDACOFF_SHIFT, priv, net80211_device::priv, RF_PARAM_ANALOGPHY, RTL818X_CONFIG2_ANTENNA_DIV, rtl818x_ioread32(), rtl818x_ioread8(), rtl818x_iowrite32(), rtl818x_set_anaparam(), RTL818X_TX_CONF_LOOPBACK_CONT, rtl818x_write_phy(), SA2400_ANA_ANAPARAM_PWR1_ON, SA2400_ANAPARAM_PWR0_ON, sa2400_chan, SA2400_DIG_ANAPARAM_PWR1_ON, SA2400_MAX_SENS, SA2400_REG4_FIRDAC_SHIFT, sa2400_write_phy_antenna(), and write_sa2400().
|
static |
Definition at line 41 of file rtl8180_sa2400.c.
Referenced by sa2400_rf_init(), and sa2400_rf_set_channel().
struct rtl818x_rf_ops sa2400_rf_ops __rtl818x_rf_driver |
Definition at line 211 of file rtl8180_sa2400.c.