Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
radio.h File Reference
#include "b43legacy.h"

Go to the source code of this file.

Macros

#define B43legacy_RADIO_DEFAULT_CHANNEL_BG   6
 
#define B43legacy_RADIO_TXANTENNA_0   0
 
#define B43legacy_RADIO_TXANTENNA_1   1
 
#define B43legacy_RADIO_TXANTENNA_LASTPLCP   3
 
#define B43legacy_RADIO_TXANTENNA_DEFAULT   B43legacy_RADIO_TXANTENNA_LASTPLCP
 
#define B43legacy_RADIO_INTERFMODE_NONE   0
 
#define B43legacy_RADIO_INTERFMODE_NONWLAN   1
 
#define B43legacy_RADIO_INTERFMODE_MANUALWLAN   2
 
#define B43legacy_RADIO_INTERFMODE_AUTOWLAN   3
 

Functions

void b43legacy_radio_lock (struct b43legacy_wldev *dev)
 
void b43legacy_radio_unlock (struct b43legacy_wldev *dev)
 
u16 b43legacy_radio_read16 (struct b43legacy_wldev *dev, u16 offset)
 
void b43legacy_radio_write16 (struct b43legacy_wldev *dev, u16 offset, u16 val)
 
u16 b43legacy_radio_init2050 (struct b43legacy_wldev *dev)
 
void b43legacy_radio_turn_on (struct b43legacy_wldev *dev)
 
void b43legacy_radio_turn_off (struct b43legacy_wldev *dev, bool force)
 
int b43legacy_radio_selectchannel (struct b43legacy_wldev *dev, u8 channel, int synthetic_pu_workaround)
 
void b43legacy_radio_set_txpower_a (struct b43legacy_wldev *dev, u16 txpower)
 
void b43legacy_radio_set_txpower_bg (struct b43legacy_wldev *dev, u16 baseband_attenuation, u16 attenuation, u16 txpower)
 
u16 b43legacy_default_baseband_attenuation (struct b43legacy_wldev *dev)
 
u16 b43legacy_default_radio_attenuation (struct b43legacy_wldev *dev)
 
u16 b43legacy_default_txctl1 (struct b43legacy_wldev *dev)
 
void b43legacy_radio_set_txantenna (struct b43legacy_wldev *dev, u32 val)
 
void b43legacy_radio_clear_tssi (struct b43legacy_wldev *dev)
 
u8 b43legacy_radio_aci_detect (struct b43legacy_wldev *dev, u8 channel)
 
u8 b43legacy_radio_aci_scan (struct b43legacy_wldev *dev)
 
int b43legacy_radio_set_interference_mitigation (struct b43legacy_wldev *dev, int mode)
 
void b43legacy_calc_nrssi_slope (struct b43legacy_wldev *dev)
 
void b43legacy_calc_nrssi_threshold (struct b43legacy_wldev *dev)
 
s16 b43legacy_nrssi_hw_read (struct b43legacy_wldev *dev, u16 offset)
 
void b43legacy_nrssi_hw_write (struct b43legacy_wldev *dev, u16 offset, s16 val)
 
void b43legacy_nrssi_hw_update (struct b43legacy_wldev *dev, u16 val)
 
void b43legacy_nrssi_mem_update (struct b43legacy_wldev *dev)
 
void b43legacy_radio_set_tx_iq (struct b43legacy_wldev *dev)
 
u16 b43legacy_radio_calibrationvalue (struct b43legacy_wldev *dev)
 

Macro Definition Documentation

#define B43legacy_RADIO_DEFAULT_CHANNEL_BG   6

Definition at line 37 of file radio.h.

#define B43legacy_RADIO_INTERFMODE_AUTOWLAN   3

Definition at line 52 of file radio.h.

#define B43legacy_RADIO_INTERFMODE_MANUALWLAN   2

Definition at line 51 of file radio.h.

#define B43legacy_RADIO_INTERFMODE_NONE   0

Definition at line 49 of file radio.h.

#define B43legacy_RADIO_INTERFMODE_NONWLAN   1

Definition at line 50 of file radio.h.

#define B43legacy_RADIO_TXANTENNA_0   0

Definition at line 40 of file radio.h.

#define B43legacy_RADIO_TXANTENNA_1   1

Definition at line 42 of file radio.h.

#define B43legacy_RADIO_TXANTENNA_DEFAULT   B43legacy_RADIO_TXANTENNA_LASTPLCP

Definition at line 47 of file radio.h.

#define B43legacy_RADIO_TXANTENNA_LASTPLCP   3

Definition at line 46 of file radio.h.

Function Documentation

void b43legacy_calc_nrssi_slope ( struct b43legacy_wldev dev)

Definition at line 553 of file radio.c.

void b43legacy_calc_nrssi_threshold ( struct b43legacy_wldev dev)

Definition at line 818 of file radio.c.

u16 b43legacy_default_baseband_attenuation ( struct b43legacy_wldev dev)

Definition at line 1970 of file radio.c.

u16 b43legacy_default_radio_attenuation ( struct b43legacy_wldev dev)

Definition at line 1979 of file radio.c.

u16 b43legacy_default_txctl1 ( struct b43legacy_wldev dev)

Definition at line 2066 of file radio.c.

s16 b43legacy_nrssi_hw_read ( struct b43legacy_wldev dev,
u16  offset 
)

Definition at line 341 of file radio.c.

void b43legacy_nrssi_hw_update ( struct b43legacy_wldev dev,
u16  val 
)

Definition at line 352 of file radio.c.

void b43legacy_nrssi_hw_write ( struct b43legacy_wldev dev,
u16  offset,
s16  val 
)

Definition at line 333 of file radio.c.

void b43legacy_nrssi_mem_update ( struct b43legacy_wldev dev)

Definition at line 366 of file radio.c.

u8 b43legacy_radio_aci_detect ( struct b43legacy_wldev dev,
u8  channel 
)

Definition at line 246 of file radio.c.

u8 b43legacy_radio_aci_scan ( struct b43legacy_wldev dev)

Definition at line 280 of file radio.c.

u16 b43legacy_radio_calibrationvalue ( struct b43legacy_wldev dev)

Definition at line 1383 of file radio.c.

void b43legacy_radio_clear_tssi ( struct b43legacy_wldev dev)

Definition at line 2145 of file radio.c.

u16 b43legacy_radio_init2050 ( struct b43legacy_wldev dev)

Definition at line 1496 of file radio.c.

void b43legacy_radio_lock ( struct b43legacy_wldev dev)

Definition at line 90 of file radio.c.

u16 b43legacy_radio_read16 ( struct b43legacy_wldev dev,
u16  offset 
)

Definition at line 114 of file radio.c.

int b43legacy_radio_selectchannel ( struct b43legacy_wldev dev,
u8  channel,
int  synthetic_pu_workaround 
)

Definition at line 1765 of file radio.c.

int b43legacy_radio_set_interference_mitigation ( struct b43legacy_wldev dev,
int  mode 
)

Definition at line 1339 of file radio.c.

void b43legacy_radio_set_tx_iq ( struct b43legacy_wldev dev)

Definition at line 1746 of file radio.c.

void b43legacy_radio_set_txantenna ( struct b43legacy_wldev dev,
u32  val 
)

Definition at line 1820 of file radio.c.

void b43legacy_radio_set_txpower_a ( struct b43legacy_wldev dev,
u16  txpower 
)

Definition at line 1900 of file radio.c.

void b43legacy_radio_set_txpower_bg ( struct b43legacy_wldev dev,
u16  baseband_attenuation,
u16  attenuation,
u16  txpower 
)

Definition at line 1933 of file radio.c.

void b43legacy_radio_turn_off ( struct b43legacy_wldev dev,
bool  force 
)

Definition at line 2119 of file radio.c.

void b43legacy_radio_turn_on ( struct b43legacy_wldev dev)

Definition at line 2081 of file radio.c.

void b43legacy_radio_unlock ( struct b43legacy_wldev dev)

Definition at line 102 of file radio.c.

void b43legacy_radio_write16 ( struct b43legacy_wldev dev,
u16  offset,
u16  val 
)

Definition at line 141 of file radio.c.