Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
r8190P_def.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  bb_reg_definition
 
struct  tx_fwinfo
 
struct  tx_fwinfo_8190pci
 
struct  log_int_8190
 
struct  phy_ofdm_rx_status_rxsc_sgien_exintfflag
 
struct  phy_sts_ofdm_819xpci
 
struct  phy_sts_cck_819xpci
 
struct  tx_desc
 
struct  tx_desc_cmd
 
struct  rx_desc
 
struct  rx_fwinfo
 

Macros

#define MAX_SILENT_RESET_RX_SLOT_NUM   10
 
#define RX_MPDU_QUEUE   0
 
#define RX_CMD_QUEUE   1
 
#define RESET_DELAY_8185   20
 
#define RT_IBSS_INT_MASKS   (IMR_BcnInt | IMR_BcnInt | IMR_TBDOK | IMR_TBDER)
 
#define DESC90_RATE1M   0x00
 
#define DESC90_RATE2M   0x01
 
#define DESC90_RATE5_5M   0x02
 
#define DESC90_RATE11M   0x03
 
#define DESC90_RATE6M   0x04
 
#define DESC90_RATE9M   0x05
 
#define DESC90_RATE12M   0x06
 
#define DESC90_RATE18M   0x07
 
#define DESC90_RATE24M   0x08
 
#define DESC90_RATE36M   0x09
 
#define DESC90_RATE48M   0x0a
 
#define DESC90_RATE54M   0x0b
 
#define DESC90_RATEMCS0   0x00
 
#define DESC90_RATEMCS1   0x01
 
#define DESC90_RATEMCS2   0x02
 
#define DESC90_RATEMCS3   0x03
 
#define DESC90_RATEMCS4   0x04
 
#define DESC90_RATEMCS5   0x05
 
#define DESC90_RATEMCS6   0x06
 
#define DESC90_RATEMCS7   0x07
 
#define DESC90_RATEMCS8   0x08
 
#define DESC90_RATEMCS9   0x09
 
#define DESC90_RATEMCS10   0x0a
 
#define DESC90_RATEMCS11   0x0b
 
#define DESC90_RATEMCS12   0x0c
 
#define DESC90_RATEMCS13   0x0d
 
#define DESC90_RATEMCS14   0x0e
 
#define DESC90_RATEMCS15   0x0f
 
#define DESC90_RATEMCS32   0x20
 
#define SHORT_SLOT_TIME   9
 
#define NON_SHORT_SLOT_TIME   20
 
#define MAX_LINES_HWCONFIG_TXT   1000
 
#define MAX_BYTES_LINE_HWCONFIG_TXT   128
 
#define SW_THREE_WIRE   0
 
#define HW_THREE_WIRE   2
 
#define BT_DEMO_BOARD   0
 
#define BT_QA_BOARD   1
 
#define BT_FPGA   2
 
#define RX_SMOOTH   20
 
#define QSLT_BK   0x1
 
#define QSLT_BE   0x0
 
#define QSLT_VI   0x4
 
#define QSLT_VO   0x6
 
#define QSLT_BEACON   0x10
 
#define QSLT_HIGH   0x11
 
#define QSLT_MGNT   0x12
 
#define QSLT_CMD   0x13
 
#define NUM_OF_FIRMWARE_QUEUE   10
 
#define NUM_OF_PAGES_IN_FW   0x100
 
#define NUM_OF_PAGE_IN_FW_QUEUE_BK   0x007
 
#define NUM_OF_PAGE_IN_FW_QUEUE_BE   0x0aa
 
#define NUM_OF_PAGE_IN_FW_QUEUE_VI   0x024
 
#define NUM_OF_PAGE_IN_FW_QUEUE_VO   0x007
 
#define NUM_OF_PAGE_IN_FW_QUEUE_HCCA   0
 
#define NUM_OF_PAGE_IN_FW_QUEUE_CMD   0x2
 
#define NUM_OF_PAGE_IN_FW_QUEUE_MGNT   0x10
 
#define NUM_OF_PAGE_IN_FW_QUEUE_HIGH   0
 
#define NUM_OF_PAGE_IN_FW_QUEUE_BCN   0x4
 
#define NUM_OF_PAGE_IN_FW_QUEUE_PUB   0xd
 
#define NUM_OF_PAGE_IN_FW_QUEUE_BK_DTM   0x026
 
#define NUM_OF_PAGE_IN_FW_QUEUE_BE_DTM   0x048
 
#define NUM_OF_PAGE_IN_FW_QUEUE_VI_DTM   0x048
 
#define NUM_OF_PAGE_IN_FW_QUEUE_VO_DTM   0x026
 
#define NUM_OF_PAGE_IN_FW_QUEUE_PUB_DTM   0x00
 
#define APPLIED_RESERVED_QUEUE_IN_FW   0x80000000
 
#define RSVD_FW_QUEUE_PAGE_BK_SHIFT   0x00
 
#define RSVD_FW_QUEUE_PAGE_BE_SHIFT   0x08
 
#define RSVD_FW_QUEUE_PAGE_VI_SHIFT   0x10
 
#define RSVD_FW_QUEUE_PAGE_VO_SHIFT   0x18
 
#define RSVD_FW_QUEUE_PAGE_MGNT_SHIFT   0x10
 
#define RSVD_FW_QUEUE_PAGE_BCN_SHIFT   0x00
 
#define RSVD_FW_QUEUE_PAGE_PUB_SHIFT   0x08
 
#define HAL_PRIME_CHNL_OFFSET_DONT_CARE   0
 
#define HAL_PRIME_CHNL_OFFSET_LOWER   1
 
#define HAL_PRIME_CHNL_OFFSET_UPPER   2
 
#define IC_VersionCut_C   0x2
 
#define IC_VersionCut_D   0x3
 
#define IC_VersionCut_E   0x4
 
#define TX_DESC_SIZE   32
 
#define TX_DESC_CMD_SIZE   32
 
#define TX_STATUS_DESC_SIZE   32
 
#define TX_FWINFO_SIZE   8
 
#define RX_DESC_SIZE   16
 
#define RX_STATUS_DESC_SIZE   16
 
#define RX_DRIVER_INFO_SIZE   8
 
#define PHY_RSSI_SLID_WIN_MAX   100
 
#define PHY_Beacon_RSSI_SLID_WIN_MAX   10
 

Enumerations

enum  rtl819x_loopback { RTL819X_NO_LOOPBACK = 0, RTL819X_MAC_LOOPBACK = 1, RTL819X_DMA_LOOPBACK = 2, RTL819X_CCK_LOOPBACK = 3 }
 
enum  version_8190_loopback { VERSION_8190_BD = 0x3, VERSION_8190_BE }
 
enum  rf_optype {
  RF_OP_BY_SW_3WIRE = 0, RF_OP_BY_FW, RF_OP_MAX, RF_OP_BY_SW_3WIRE = 0,
  RF_OP_BY_FW, RF_OP_MAX, RF_OP_BY_SW_3WIRE = 0, RF_OP_BY_FW,
  RF_OP_MAX, RF_OP_By_SW_3wire = 0, RF_OP_By_FW, RF_OP_MAX,
  RF_OP_By_SW_3wire = 0, RF_OP_By_FW, RF_OP_MAX
}
 
enum  power_save_mode { POWER_SAVE_MODE_ACTIVE, POWER_SAVE_MODE_SAVE, POWER_SAVE_MODE_ACTIVE, POWER_SAVE_MODE_SAVE }
 
enum  interface_select_8190pci { INTF_SEL1_MINICARD = 0, INTF_SEL0_PCIE = 1, INTF_SEL2_RSV = 2, INTF_SEL3_RSV = 3 }
 

Macro Definition Documentation

#define APPLIED_RESERVED_QUEUE_IN_FW   0x80000000

Definition at line 118 of file r8190P_def.h.

#define BT_DEMO_BOARD   0

Definition at line 84 of file r8190P_def.h.

#define BT_FPGA   2

Definition at line 86 of file r8190P_def.h.

#define BT_QA_BOARD   1

Definition at line 85 of file r8190P_def.h.

#define DESC90_RATE11M   0x03

Definition at line 47 of file r8190P_def.h.

#define DESC90_RATE12M   0x06

Definition at line 50 of file r8190P_def.h.

#define DESC90_RATE18M   0x07

Definition at line 51 of file r8190P_def.h.

#define DESC90_RATE1M   0x00

Definition at line 44 of file r8190P_def.h.

#define DESC90_RATE24M   0x08

Definition at line 52 of file r8190P_def.h.

#define DESC90_RATE2M   0x01

Definition at line 45 of file r8190P_def.h.

#define DESC90_RATE36M   0x09

Definition at line 53 of file r8190P_def.h.

#define DESC90_RATE48M   0x0a

Definition at line 54 of file r8190P_def.h.

#define DESC90_RATE54M   0x0b

Definition at line 55 of file r8190P_def.h.

#define DESC90_RATE5_5M   0x02

Definition at line 46 of file r8190P_def.h.

#define DESC90_RATE6M   0x04

Definition at line 48 of file r8190P_def.h.

#define DESC90_RATE9M   0x05

Definition at line 49 of file r8190P_def.h.

#define DESC90_RATEMCS0   0x00

Definition at line 56 of file r8190P_def.h.

#define DESC90_RATEMCS1   0x01

Definition at line 57 of file r8190P_def.h.

#define DESC90_RATEMCS10   0x0a

Definition at line 66 of file r8190P_def.h.

#define DESC90_RATEMCS11   0x0b

Definition at line 67 of file r8190P_def.h.

#define DESC90_RATEMCS12   0x0c

Definition at line 68 of file r8190P_def.h.

#define DESC90_RATEMCS13   0x0d

Definition at line 69 of file r8190P_def.h.

#define DESC90_RATEMCS14   0x0e

Definition at line 70 of file r8190P_def.h.

#define DESC90_RATEMCS15   0x0f

Definition at line 71 of file r8190P_def.h.

#define DESC90_RATEMCS2   0x02

Definition at line 58 of file r8190P_def.h.

#define DESC90_RATEMCS3   0x03

Definition at line 59 of file r8190P_def.h.

#define DESC90_RATEMCS32   0x20

Definition at line 72 of file r8190P_def.h.

#define DESC90_RATEMCS4   0x04

Definition at line 60 of file r8190P_def.h.

#define DESC90_RATEMCS5   0x05

Definition at line 61 of file r8190P_def.h.

#define DESC90_RATEMCS6   0x06

Definition at line 62 of file r8190P_def.h.

#define DESC90_RATEMCS7   0x07

Definition at line 63 of file r8190P_def.h.

#define DESC90_RATEMCS8   0x08

Definition at line 64 of file r8190P_def.h.

#define DESC90_RATEMCS9   0x09

Definition at line 65 of file r8190P_def.h.

#define HAL_PRIME_CHNL_OFFSET_DONT_CARE   0

Definition at line 127 of file r8190P_def.h.

#define HAL_PRIME_CHNL_OFFSET_LOWER   1

Definition at line 128 of file r8190P_def.h.

#define HAL_PRIME_CHNL_OFFSET_UPPER   2

Definition at line 129 of file r8190P_def.h.

#define HW_THREE_WIRE   2

Definition at line 82 of file r8190P_def.h.

#define IC_VersionCut_C   0x2

Definition at line 137 of file r8190P_def.h.

#define IC_VersionCut_D   0x3

Definition at line 138 of file r8190P_def.h.

#define IC_VersionCut_E   0x4

Definition at line 139 of file r8190P_def.h.

#define MAX_BYTES_LINE_HWCONFIG_TXT   128

Definition at line 79 of file r8190P_def.h.

#define MAX_LINES_HWCONFIG_TXT   1000

Definition at line 78 of file r8190P_def.h.

#define MAX_SILENT_RESET_RX_SLOT_NUM   10

Definition at line 26 of file r8190P_def.h.

#define NON_SHORT_SLOT_TIME   20

Definition at line 75 of file r8190P_def.h.

#define NUM_OF_FIRMWARE_QUEUE   10

Definition at line 99 of file r8190P_def.h.

#define NUM_OF_PAGE_IN_FW_QUEUE_BCN   0x4

Definition at line 109 of file r8190P_def.h.

#define NUM_OF_PAGE_IN_FW_QUEUE_BE   0x0aa

Definition at line 102 of file r8190P_def.h.

#define NUM_OF_PAGE_IN_FW_QUEUE_BE_DTM   0x048

Definition at line 113 of file r8190P_def.h.

#define NUM_OF_PAGE_IN_FW_QUEUE_BK   0x007

Definition at line 101 of file r8190P_def.h.

#define NUM_OF_PAGE_IN_FW_QUEUE_BK_DTM   0x026

Definition at line 112 of file r8190P_def.h.

#define NUM_OF_PAGE_IN_FW_QUEUE_CMD   0x2

Definition at line 106 of file r8190P_def.h.

#define NUM_OF_PAGE_IN_FW_QUEUE_HCCA   0

Definition at line 105 of file r8190P_def.h.

#define NUM_OF_PAGE_IN_FW_QUEUE_HIGH   0

Definition at line 108 of file r8190P_def.h.

#define NUM_OF_PAGE_IN_FW_QUEUE_MGNT   0x10

Definition at line 107 of file r8190P_def.h.

#define NUM_OF_PAGE_IN_FW_QUEUE_PUB   0xd

Definition at line 110 of file r8190P_def.h.

#define NUM_OF_PAGE_IN_FW_QUEUE_PUB_DTM   0x00

Definition at line 116 of file r8190P_def.h.

#define NUM_OF_PAGE_IN_FW_QUEUE_VI   0x024

Definition at line 103 of file r8190P_def.h.

#define NUM_OF_PAGE_IN_FW_QUEUE_VI_DTM   0x048

Definition at line 114 of file r8190P_def.h.

#define NUM_OF_PAGE_IN_FW_QUEUE_VO   0x007

Definition at line 104 of file r8190P_def.h.

#define NUM_OF_PAGE_IN_FW_QUEUE_VO_DTM   0x026

Definition at line 115 of file r8190P_def.h.

#define NUM_OF_PAGES_IN_FW   0x100

Definition at line 100 of file r8190P_def.h.

#define PHY_Beacon_RSSI_SLID_WIN_MAX   10

Definition at line 303 of file r8190P_def.h.

#define PHY_RSSI_SLID_WIN_MAX   100

Definition at line 302 of file r8190P_def.h.

#define QSLT_BE   0x0

Definition at line 91 of file r8190P_def.h.

#define QSLT_BEACON   0x10

Definition at line 94 of file r8190P_def.h.

#define QSLT_BK   0x1

Definition at line 90 of file r8190P_def.h.

#define QSLT_CMD   0x13

Definition at line 97 of file r8190P_def.h.

#define QSLT_HIGH   0x11

Definition at line 95 of file r8190P_def.h.

#define QSLT_MGNT   0x12

Definition at line 96 of file r8190P_def.h.

#define QSLT_VI   0x4

Definition at line 92 of file r8190P_def.h.

#define QSLT_VO   0x6

Definition at line 93 of file r8190P_def.h.

#define RESET_DELAY_8185   20

Definition at line 40 of file r8190P_def.h.

#define RSVD_FW_QUEUE_PAGE_BCN_SHIFT   0x00

Definition at line 124 of file r8190P_def.h.

#define RSVD_FW_QUEUE_PAGE_BE_SHIFT   0x08

Definition at line 120 of file r8190P_def.h.

#define RSVD_FW_QUEUE_PAGE_BK_SHIFT   0x00

Definition at line 119 of file r8190P_def.h.

#define RSVD_FW_QUEUE_PAGE_MGNT_SHIFT   0x10

Definition at line 123 of file r8190P_def.h.

#define RSVD_FW_QUEUE_PAGE_PUB_SHIFT   0x08

Definition at line 125 of file r8190P_def.h.

#define RSVD_FW_QUEUE_PAGE_VI_SHIFT   0x10

Definition at line 121 of file r8190P_def.h.

#define RSVD_FW_QUEUE_PAGE_VO_SHIFT   0x18

Definition at line 122 of file r8190P_def.h.

#define RT_IBSS_INT_MASKS   (IMR_BcnInt | IMR_BcnInt | IMR_TBDOK | IMR_TBDER)

Definition at line 42 of file r8190P_def.h.

#define RX_CMD_QUEUE   1

Definition at line 29 of file r8190P_def.h.

#define RX_DESC_SIZE   16

Definition at line 251 of file r8190P_def.h.

#define RX_DRIVER_INFO_SIZE   8

Definition at line 255 of file r8190P_def.h.

#define RX_MPDU_QUEUE   0

Definition at line 28 of file r8190P_def.h.

#define RX_SMOOTH   20

Definition at line 88 of file r8190P_def.h.

#define RX_STATUS_DESC_SIZE   16

Definition at line 253 of file r8190P_def.h.

#define SHORT_SLOT_TIME   9

Definition at line 74 of file r8190P_def.h.

#define SW_THREE_WIRE   0

Definition at line 81 of file r8190P_def.h.

#define TX_DESC_CMD_SIZE   32

Definition at line 243 of file r8190P_def.h.

#define TX_DESC_SIZE   32

Definition at line 241 of file r8190P_def.h.

#define TX_FWINFO_SIZE   8

Definition at line 248 of file r8190P_def.h.

#define TX_STATUS_DESC_SIZE   32

Definition at line 246 of file r8190P_def.h.

Enumeration Type Documentation

Enumerator:
INTF_SEL1_MINICARD 
INTF_SEL0_PCIE 
INTF_SEL2_RSV 
INTF_SEL3_RSV 

Definition at line 153 of file r8190P_def.h.

Enumerator:
POWER_SAVE_MODE_ACTIVE 
POWER_SAVE_MODE_SAVE 
POWER_SAVE_MODE_ACTIVE 
POWER_SAVE_MODE_SAVE 

Definition at line 148 of file r8190P_def.h.

enum rf_optype
Enumerator:
RF_OP_BY_SW_3WIRE 
RF_OP_BY_FW 
RF_OP_MAX 
RF_OP_BY_SW_3WIRE 
RF_OP_BY_FW 
RF_OP_MAX 
RF_OP_BY_SW_3WIRE 
RF_OP_BY_FW 
RF_OP_MAX 
RF_OP_By_SW_3wire 
RF_OP_By_FW 
RF_OP_MAX 
RF_OP_By_SW_3wire 
RF_OP_By_FW 
RF_OP_MAX 

Definition at line 141 of file r8190P_def.h.

Enumerator:
RTL819X_NO_LOOPBACK 
RTL819X_MAC_LOOPBACK 
RTL819X_DMA_LOOPBACK 
RTL819X_CCK_LOOPBACK 

Definition at line 32 of file r8190P_def.h.

Enumerator:
VERSION_8190_BD 
VERSION_8190_BE 

Definition at line 132 of file r8190P_def.h.