32#define MAXIM_ANTENNA 0xb3
56 phy_config = 0x90 + (
data & 0xf);
60 phy_config += (
data >> 4) & 0xff;
89 unsigned int chan_idx =
channel - 1;
90 u32 txpw =
priv->txpower[chan_idx] & 0xFF;
154 .name =
"Maxim max2820",
#define NULL
NULL pointer (VOID *)
uint32_t addr
Buffer address.
uint8_t data[48]
Additional event data.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
The iPXE 802.11 MAC layer.
uint32_t channel
RNDIS channel.
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)
static const u32 max2820_chan[]
static void max2820_rf_stop(struct net80211_device *dev)
static void write_max2820(struct net80211_device *dev, u8 addr, u32 data)
void rtl818x_write_phy(struct net80211_device *dev, u8 addr, u32 data)
#define BB_ANTATTEN_CHAN14
#define RTL818X_CONFIG2_ANTENNA_DIV
#define __rtl818x_rf_driver
static u8 rtl818x_ioread8(struct rtl818x_priv *priv __unused, u8 *addr)
static void rtl818x_iowrite16(struct rtl818x_priv *priv __unused, u16 *addr, u16 val)
#define RF_PARAM_ANTBDEFAULT
u8 channel_nr
A channel number interpreted according to the band.
Structure encapsulating the complete state of an 802.11 device.
void * priv
Driver private data.
void mdelay(unsigned long msecs)
Delay for a fixed number of milliseconds.
static struct tlan_private * priv