Linux Kernel
3.7.1
|
#include "phy_a.h"
Go to the source code of this file.
Data Structures | |
struct | b43_rfatt |
struct | b43_rfatt_list |
struct | b43_bbatt |
struct | b43_bbatt_list |
struct | b43_phy_g |
Macros | |
#define | B43_PHY_VERSION_CCK B43_PHY_CCK(0x00) /* Versioning register for B-PHY */ |
#define | B43_PHY_CCKBBANDCFG B43_PHY_CCK(0x01) /* Contains antenna 0/1 control bit */ |
#define | B43_PHY_PGACTL B43_PHY_CCK(0x15) /* PGA control */ |
#define | B43_PHY_PGACTL_LPF 0x1000 /* Low pass filter (?) */ |
#define | B43_PHY_PGACTL_LOWBANDW 0x0040 /* Low bandwidth flag */ |
#define | B43_PHY_PGACTL_UNKNOWN 0xEFA0 |
#define | B43_PHY_FBCTL1 B43_PHY_CCK(0x18) /* Frequency bandwidth control 1 */ |
#define | B43_PHY_ITSSI B43_PHY_CCK(0x29) /* Idle TSSI */ |
#define | B43_PHY_LO_LEAKAGE B43_PHY_CCK(0x2D) /* Measured LO leakage */ |
#define | B43_PHY_ENERGY B43_PHY_CCK(0x33) /* Energy */ |
#define | B43_PHY_SYNCCTL B43_PHY_CCK(0x35) |
#define | B43_PHY_FBCTL2 B43_PHY_CCK(0x38) /* Frequency bandwidth control 2 */ |
#define | B43_PHY_DACCTL B43_PHY_CCK(0x60) /* DAC control */ |
#define | B43_PHY_RCCALOVER B43_PHY_CCK(0x78) /* RC calibration override */ |
#define | B43_PHY_CLASSCTL B43_PHY_EXTG(0x02) /* Classify control */ |
#define | B43_PHY_GTABCTL B43_PHY_EXTG(0x03) /* G-PHY table control (see below) */ |
#define | B43_PHY_GTABOFF 0x03FF /* G-PHY table offset (see below) */ |
#define | B43_PHY_GTABNR 0xFC00 /* G-PHY table number (see below) */ |
#define | B43_PHY_GTABNR_SHIFT 10 |
#define | B43_PHY_GTABDATA B43_PHY_EXTG(0x04) /* G-PHY table data */ |
#define | B43_PHY_LO_MASK B43_PHY_EXTG(0x0F) /* Local Oscillator control mask */ |
#define | B43_PHY_LO_CTL B43_PHY_EXTG(0x10) /* Local Oscillator control */ |
#define | B43_PHY_RFOVER B43_PHY_EXTG(0x11) /* RF override */ |
#define | B43_PHY_RFOVERVAL B43_PHY_EXTG(0x12) /* RF override value */ |
#define | B43_PHY_RFOVERVAL_EXTLNA 0x8000 |
#define | B43_PHY_RFOVERVAL_LNA 0x7000 |
#define | B43_PHY_RFOVERVAL_LNA_SHIFT 12 |
#define | B43_PHY_RFOVERVAL_PGA 0x0F00 |
#define | B43_PHY_RFOVERVAL_PGA_SHIFT 8 |
#define | B43_PHY_RFOVERVAL_UNK 0x0010 /* Unknown, always set. */ |
#define | B43_PHY_RFOVERVAL_TRSWRX 0x00E0 |
#define | B43_PHY_RFOVERVAL_BW 0x0003 /* Bandwidth flags */ |
#define | B43_PHY_RFOVERVAL_BW_LPF 0x0001 /* Low Pass Filter */ |
#define | B43_PHY_RFOVERVAL_BW_LBW 0x0002 /* Low Bandwidth (when set), high when unset */ |
#define | B43_PHY_ANALOGOVER B43_PHY_EXTG(0x14) /* Analog override */ |
#define | B43_PHY_ANALOGOVERVAL B43_PHY_EXTG(0x15) /* Analog override value */ |
#define | B43_GTAB(number, offset) (((number) << B43_PHY_GTABNR_SHIFT) | (offset)) |
#define | B43_GTAB_NRSSI B43_GTAB(0x00, 0) |
#define | B43_GTAB_TRFEMW B43_GTAB(0x0C, 0x120) |
#define | B43_GTAB_ORIGTR B43_GTAB(0x2E, 0x298) |
#define | has_tx_magnification(phy) |
#define | has_loopback_gain(phy) (((phy)->rev > 1) || ((phy)->gmode)) |
#define | B43_TXCTL_PA3DB 0x40 /* PA Gain 3dB */ |
#define | B43_TXCTL_PA2DB 0x20 /* PA Gain 2dB */ |
#define | B43_TXCTL_TXMIX 0x10 /* TX Mixer Gain */ |
#define | B43_INTERFSTACK_SIZE 26 |
Functions | |
u16 | b43_gtab_read (struct b43_wldev *dev, u16 table, u16 offset) |
void | b43_gtab_write (struct b43_wldev *dev, u16 table, u16 offset, u16 value) |
void | b43_gphy_set_baseband_attenuation (struct b43_wldev *dev, u16 baseband_attenuation) |
void | b43_gphy_channel_switch (struct b43_wldev *dev, unsigned int channel, bool synthetic_pu_workaround) |
u8 * | b43_generate_dyn_tssi2dbm_tab (struct b43_wldev *dev, s16 pab0, s16 pab1, s16 pab2) |
Variables | |
struct b43_phy_operations | b43_phyops_g |
#define B43_GTAB | ( | number, | |
offset | |||
) | (((number) << B43_PHY_GTABNR_SHIFT) | (offset)) |
#define B43_PHY_ANALOGOVER B43_PHY_EXTG(0x14) /* Analog override */ |
#define B43_PHY_ANALOGOVERVAL B43_PHY_EXTG(0x15) /* Analog override value */ |
#define B43_PHY_CCKBBANDCFG B43_PHY_CCK(0x01) /* Contains antenna 0/1 control bit */ |
#define B43_PHY_CLASSCTL B43_PHY_EXTG(0x02) /* Classify control */ |
#define B43_PHY_DACCTL B43_PHY_CCK(0x60) /* DAC control */ |
#define B43_PHY_ENERGY B43_PHY_CCK(0x33) /* Energy */ |
#define B43_PHY_FBCTL1 B43_PHY_CCK(0x18) /* Frequency bandwidth control 1 */ |
#define B43_PHY_FBCTL2 B43_PHY_CCK(0x38) /* Frequency bandwidth control 2 */ |
#define B43_PHY_GTABCTL B43_PHY_EXTG(0x03) /* G-PHY table control (see below) */ |
#define B43_PHY_GTABDATA B43_PHY_EXTG(0x04) /* G-PHY table data */ |
#define B43_PHY_GTABNR 0xFC00 /* G-PHY table number (see below) */ |
#define B43_PHY_GTABOFF 0x03FF /* G-PHY table offset (see below) */ |
#define B43_PHY_ITSSI B43_PHY_CCK(0x29) /* Idle TSSI */ |
#define B43_PHY_LO_CTL B43_PHY_EXTG(0x10) /* Local Oscillator control */ |
#define B43_PHY_LO_LEAKAGE B43_PHY_CCK(0x2D) /* Measured LO leakage */ |
#define B43_PHY_LO_MASK B43_PHY_EXTG(0x0F) /* Local Oscillator control mask */ |
#define B43_PHY_PGACTL B43_PHY_CCK(0x15) /* PGA control */ |
#define B43_PHY_PGACTL_LOWBANDW 0x0040 /* Low bandwidth flag */ |
#define B43_PHY_RCCALOVER B43_PHY_CCK(0x78) /* RC calibration override */ |
#define B43_PHY_RFOVER B43_PHY_EXTG(0x11) /* RF override */ |
#define B43_PHY_RFOVERVAL B43_PHY_EXTG(0x12) /* RF override value */ |
#define B43_PHY_RFOVERVAL_BW_LBW 0x0002 /* Low Bandwidth (when set), high when unset */ |
#define B43_PHY_RFOVERVAL_BW_LPF 0x0001 /* Low Pass Filter */ |
#define B43_PHY_RFOVERVAL_UNK 0x0010 /* Unknown, always set. */ |
#define B43_PHY_SYNCCTL B43_PHY_CCK(0x35) |
#define B43_PHY_VERSION_CCK B43_PHY_CCK(0x00) /* Versioning register for B-PHY */ |
#define has_tx_magnification | ( | phy | ) |
struct b43_phy_operations b43_phyops_g |