31 #define GRF5101_ANTENNA 0xA3 49 phy_config |= (
addr & 1) << 16;
53 phy_config |= 0x90000000;
181 .
name =
"GCT GRF5101",
static void grf5101_rf_set_channel(struct net80211_device *dev, struct net80211_channel *channelp)
void rtl818x_write_phy(struct net80211_device *dev, u8 addr, u32 data)
static u8 rtl818x_ioread8(struct rtl818x_priv *priv __unused, u8 *addr)
static void grf5101_rf_init(struct net80211_device *dev)
struct rtl818x_rf_ops grf5101_rf_ops __rtl818x_rf_driver
uint32_t channel
RNDIS channel.
void * priv
Driver private data.
static void grf5101_write_phy_antenna(struct net80211_device *dev, short chan)
#define BB_ANTATTEN_CHAN14
The iPXE 802.11 MAC layer.
Structure encapsulating the complete state of an 802.11 device.
void mdelay(unsigned long msecs)
Delay for a fixed number of milliseconds.
static struct tlan_private * priv
static void grf5101_rf_stop(struct net80211_device *dev)
static void write_grf5101(struct net80211_device *dev, u8 addr, u32 data)
uint8_t data[48]
Additional event data.
static void rtl818x_iowrite16(struct rtl818x_priv *priv __unused, u16 *addr, u16 val)
static const int grf5101_encode[]
void rtl818x_set_anaparam(struct rtl818x_priv *priv, u32 anaparam)
u8 channel_nr
A channel number interpreted according to the band.
#define RF_PARAM_ANTBDEFAULT
#define RTL818X_CONFIG2_ANTENNA_DIV