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

Go to the source code of this file.

Data Structures

struct  rtl8187_rx_info
 
struct  rtl8187_rx_hdr
 
struct  rtl8187b_rx_hdr
 
struct  rtl8187_tx_hdr
 
struct  rtl8187b_tx_hdr
 
struct  rtl8187_vif
 
struct  rtl8187_priv
 

Macros

#define RTL8187_EEPROM_TXPWR_BASE   0x05
 
#define RTL8187_EEPROM_MAC_ADDR   0x07
 
#define RTL8187_EEPROM_TXPWR_CHAN_1   0x16 /* 3 channels */
 
#define RTL8187_EEPROM_TXPWR_CHAN_6   0x1B /* 2 channels */
 
#define RTL8187_EEPROM_TXPWR_CHAN_4   0x3D /* 2 channels */
 
#define RTL8187_EEPROM_SELECT_GPIO   0x3B
 
#define RTL8187_REQT_READ   0xC0
 
#define RTL8187_REQT_WRITE   0x40
 
#define RTL8187_REQ_GET_REG   0x05
 
#define RTL8187_REQ_SET_REG   0x05
 
#define RTL8187_MAX_RX   0x9C4
 
#define RFKILL_MASK_8187_89_97   0x2
 
#define RFKILL_MASK_8198   0x4
 
#define RETRY_COUNT   7
 

Enumerations

enum  { DEVICE_RTL8187, DEVICE_RTL8187B }
 

Functions

void rtl8187_write_phy (struct ieee80211_hw *dev, u8 addr, u32 data)
 

Variables

struct rtl8187_rx_hdr __packed
 

Macro Definition Documentation

#define RETRY_COUNT   7

Definition at line 38 of file rtl8187.h.

#define RFKILL_MASK_8187_89_97   0x2

Definition at line 35 of file rtl8187.h.

#define RFKILL_MASK_8198   0x4

Definition at line 36 of file rtl8187.h.

#define RTL8187_EEPROM_MAC_ADDR   0x07

Definition at line 22 of file rtl8187.h.

#define RTL8187_EEPROM_SELECT_GPIO   0x3B

Definition at line 26 of file rtl8187.h.

#define RTL8187_EEPROM_TXPWR_BASE   0x05

Definition at line 21 of file rtl8187.h.

#define RTL8187_EEPROM_TXPWR_CHAN_1   0x16 /* 3 channels */

Definition at line 23 of file rtl8187.h.

#define RTL8187_EEPROM_TXPWR_CHAN_4   0x3D /* 2 channels */

Definition at line 25 of file rtl8187.h.

#define RTL8187_EEPROM_TXPWR_CHAN_6   0x1B /* 2 channels */

Definition at line 24 of file rtl8187.h.

#define RTL8187_MAX_RX   0x9C4

Definition at line 33 of file rtl8187.h.

#define RTL8187_REQ_GET_REG   0x05

Definition at line 30 of file rtl8187.h.

#define RTL8187_REQ_SET_REG   0x05

Definition at line 31 of file rtl8187.h.

#define RTL8187_REQT_READ   0xC0

Definition at line 28 of file rtl8187.h.

#define RTL8187_REQT_WRITE   0x40

Definition at line 29 of file rtl8187.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
DEVICE_RTL8187 
DEVICE_RTL8187B 

Definition at line 87 of file rtl8187.h.

Function Documentation

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

Definition at line 177 of file dev.c.

Variable Documentation