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

Go to the source code of this file.

Data Structures

struct  rtl8180_tx_desc
 
struct  rtl8180_rx_desc
 
struct  rtl8180_tx_ring
 
struct  rtl8180_vif
 
struct  rtl8180_priv
 

Macros

#define MAX_RX_SIZE   IEEE80211_MAX_RTS_THRESHOLD
 
#define RF_PARAM_ANALOGPHY   (1 << 0)
 
#define RF_PARAM_ANTBDEFAULT   (1 << 1)
 
#define RF_PARAM_CARRIERSENSE1   (1 << 2)
 
#define RF_PARAM_CARRIERSENSE2   (1 << 3)
 
#define BB_ANTATTEN_CHAN14   0x0C
 
#define BB_ANTENNA_B   0x40
 
#define BB_HOST_BANG   (1 << 30)
 
#define BB_HOST_BANG_EN   (1 << 2)
 
#define BB_HOST_BANG_CLK   (1 << 1)
 
#define BB_HOST_BANG_DATA   1
 
#define ANAPARAM_TXDACOFF_SHIFT   27
 
#define ANAPARAM_PWR0_SHIFT   28
 
#define ANAPARAM_PWR0_MASK   (0x07 << ANAPARAM_PWR0_SHIFT)
 
#define ANAPARAM_PWR1_SHIFT   20
 
#define ANAPARAM_PWR1_MASK   (0x7F << ANAPARAM_PWR1_SHIFT)
 

Functions

void rtl8180_write_phy (struct ieee80211_hw *dev, u8 addr, u32 data)
 
void rtl8180_set_anaparam (struct rtl8180_priv *priv, u32 anaparam)
 

Variables

struct rtl8180_tx_desc __packed
 

Macro Definition Documentation

#define ANAPARAM_PWR0_MASK   (0x07 << ANAPARAM_PWR0_SHIFT)

Definition at line 23 of file rtl8180.h.

#define ANAPARAM_PWR0_SHIFT   28

Definition at line 22 of file rtl8180.h.

#define ANAPARAM_PWR1_MASK   (0x7F << ANAPARAM_PWR1_SHIFT)

Definition at line 25 of file rtl8180.h.

#define ANAPARAM_PWR1_SHIFT   20

Definition at line 24 of file rtl8180.h.

#define ANAPARAM_TXDACOFF_SHIFT   27

Definition at line 21 of file rtl8180.h.

#define BB_ANTATTEN_CHAN14   0x0C

Definition at line 13 of file rtl8180.h.

#define BB_ANTENNA_B   0x40

Definition at line 14 of file rtl8180.h.

#define BB_HOST_BANG   (1 << 30)

Definition at line 16 of file rtl8180.h.

#define BB_HOST_BANG_CLK   (1 << 1)

Definition at line 18 of file rtl8180.h.

#define BB_HOST_BANG_DATA   1

Definition at line 19 of file rtl8180.h.

#define BB_HOST_BANG_EN   (1 << 2)

Definition at line 17 of file rtl8180.h.

#define MAX_RX_SIZE   IEEE80211_MAX_RTS_THRESHOLD

Definition at line 6 of file rtl8180.h.

#define RF_PARAM_ANALOGPHY   (1 << 0)

Definition at line 8 of file rtl8180.h.

#define RF_PARAM_ANTBDEFAULT   (1 << 1)

Definition at line 9 of file rtl8180.h.

#define RF_PARAM_CARRIERSENSE1   (1 << 2)

Definition at line 10 of file rtl8180.h.

#define RF_PARAM_CARRIERSENSE2   (1 << 3)

Definition at line 11 of file rtl8180.h.

Function Documentation

void rtl8180_set_anaparam ( struct rtl8180_priv priv,
u32  anaparam 
)

Definition at line 332 of file dev.c.

void rtl8180_write_phy ( struct ieee80211_hw dev,
u8  addr,
u32  data 
)

Definition at line 90 of file dev.c.

Variable Documentation