31 #define MAXIM_ANTENNA 0xb3 55 phy_config = 0x90 + (
data & 0xf);
59 phy_config += (
data >> 4) & 0xff;
88 unsigned int chan_idx =
channel - 1;
89 u32 txpw =
priv->txpower[chan_idx] & 0xFF;
153 .
name =
"Maxim max2820",
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 max2820_write_phy_antenna(struct net80211_device *dev, short chan)
static void max2820_rf_set_channel(struct net80211_device *dev, struct net80211_channel *channelp)
static void max2820_rf_init(struct net80211_device *dev)
uint32_t channel
RNDIS channel.
void * priv
Driver private data.
#define BB_ANTATTEN_CHAN14
The iPXE 802.11 MAC layer.
Structure encapsulating the complete state of an 802.11 device.
static const u32 max2820_chan[]
struct rtl818x_rf_ops max2820_rf_ops __rtl818x_rf_driver
void mdelay(unsigned long msecs)
Delay for a fixed number of milliseconds.
static struct tlan_private * priv
uint8_t data[48]
Additional event data.
static void write_max2820(struct net80211_device *dev, u8 addr, u32 data)
static void rtl818x_iowrite16(struct rtl818x_priv *priv __unused, u16 *addr, u16 val)
u8 channel_nr
A channel number interpreted according to the band.
#define RF_PARAM_ANTBDEFAULT
#define NULL
NULL pointer (VOID *)
static void max2820_rf_stop(struct net80211_device *dev)
#define RTL818X_CONFIG2_ANTENNA_DIV