Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
rtl871x_mp.h File Reference

Go to the source code of this file.

Data Structures

struct  mp_xmit_frame
 
struct  mp_wiparam
 
struct  mp_priv
 
struct  IOCMD_STRUCT
 
struct  rf_reg_param
 
struct  bb_reg_param
 

Macros

#define STATUS_SUCCESS   (0x00000000L)
 
#define STATUS_PENDING   (0x00000103L)
 
#define STATUS_UNSUCCESSFUL   (0xC0000001L)
 
#define STATUS_INSUFFICIENT_RESOURCES   (0xC000009AL)
 
#define STATUS_NOT_SUPPORTED   (0xC00000BBL)
 
#define NDIS_STATUS_SUCCESS   ((uint)STATUS_SUCCESS)
 
#define NDIS_STATUS_PENDING   ((uint) STATUS_PENDING)
 
#define NDIS_STATUS_NOT_RECOGNIZED   ((uint)0x00010001L)
 
#define NDIS_STATUS_NOT_COPIED   ((uint)0x00010002L)
 
#define NDIS_STATUS_NOT_ACCEPTED   ((uint)0x00010003L)
 
#define NDIS_STATUS_CALL_ACTIVE   ((uint)0x00010007L)
 
#define NDIS_STATUS_FAILURE   ((uint) STATUS_UNSUCCESSFUL)
 
#define NDIS_STATUS_RESOURCES
 
#define NDIS_STATUS_CLOSING   ((uint)0xC0010002L)
 
#define NDIS_STATUS_BAD_VERSION   ((uint)0xC0010004L)
 
#define NDIS_STATUS_BAD_CHARACTERISTICS   ((uint)0xC0010005L)
 
#define NDIS_STATUS_ADAPTER_NOT_FOUND   ((uint)0xC0010006L)
 
#define NDIS_STATUS_OPEN_FAILED   ((uint)0xC0010007L)
 
#define NDIS_STATUS_DEVICE_FAILED   ((uint)0xC0010008L)
 
#define NDIS_STATUS_MULTICAST_FULL   ((uint)0xC0010009L)
 
#define NDIS_STATUS_MULTICAST_EXISTS   ((uint)0xC001000AL)
 
#define NDIS_STATUS_MULTICAST_NOT_FOUND   ((uint)0xC001000BL)
 
#define NDIS_STATUS_REQUEST_ABORTED   ((uint)0xC001000CL)
 
#define NDIS_STATUS_RESET_IN_PROGRESS   ((uint)0xC001000DL)
 
#define NDIS_STATUS_CLOSING_INDICATING   ((uint)0xC001000EL)
 
#define NDIS_STATUS_NOT_SUPPORTED   ((uint)STATUS_NOT_SUPPORTED)
 
#define NDIS_STATUS_INVALID_PACKET   ((uint)0xC001000FL)
 
#define NDIS_STATUS_OPEN_LIST_FULL   ((uint)0xC0010010L)
 
#define NDIS_STATUS_ADAPTER_NOT_READY   ((uint)0xC0010011L)
 
#define NDIS_STATUS_ADAPTER_NOT_OPEN   ((uint)0xC0010012L)
 
#define NDIS_STATUS_NOT_INDICATING   ((uint)0xC0010013L)
 
#define NDIS_STATUS_INVALID_LENGTH   ((uint)0xC0010014L)
 
#define NDIS_STATUS_INVALID_DATA   ((uint)0xC0010015L)
 
#define NDIS_STATUS_BUFFER_TOO_SHORT   ((uint)0xC0010016L)
 
#define NDIS_STATUS_INVALID_OID   ((uint)0xC0010017L)
 
#define NDIS_STATUS_ADAPTER_REMOVED   ((uint)0xC0010018L)
 
#define NDIS_STATUS_UNSUPPORTED_MEDIA   ((uint)0xC0010019L)
 
#define NDIS_STATUS_GROUP_ADDRESS_IN_USE   ((uint)0xC001001AL)
 
#define NDIS_STATUS_FILE_NOT_FOUND   ((uint)0xC001001BL)
 
#define NDIS_STATUS_ERROR_READING_FILE   ((uint)0xC001001CL)
 
#define NDIS_STATUS_ALREADY_MAPPED   ((uint)0xC001001DL)
 
#define NDIS_STATUS_RESOURCE_CONFLICT   ((uint)0xC001001EL)
 
#define NDIS_STATUS_NO_CABLE   ((uint)0xC001001FL)
 
#define NDIS_STATUS_INVALID_SAP   ((uint)0xC0010020L)
 
#define NDIS_STATUS_SAP_IN_USE   ((uint)0xC0010021L)
 
#define NDIS_STATUS_INVALID_ADDRESS   ((uint)0xC0010022L)
 
#define NDIS_STATUS_VC_NOT_ACTIVATED   ((uint)0xC0010023L)
 
#define NDIS_STATUS_DEST_OUT_OF_ORDER   ((uint)0xC0010024L) /* cause 27*/
 
#define NDIS_STATUS_VC_NOT_AVAILABLE   ((uint)0xC0010025L) /* 35,45*/
 
#define NDIS_STATUS_CELLRATE_NOT_AVAILABLE   ((uint)0xC0010026L) /* 37*/
 
#define NDIS_STATUS_INCOMPATABLE_QOS   ((uint)0xC0010027L) /* 49*/
 
#define NDIS_STATUS_AAL_PARAMS_UNSUPPORTED   ((uint)0xC0010028L) /* 93*/
 
#define NDIS_STATUS_NO_ROUTE_TO_DESTINATION   ((uint)0xC0010029L) /* 3*/
 
#define MPT_NOOP   0
 
#define MPT_READ_MAC_1BYTE   1
 
#define MPT_READ_MAC_2BYTE   2
 
#define MPT_READ_MAC_4BYTE   3
 
#define MPT_WRITE_MAC_1BYTE   4
 
#define MPT_WRITE_MAC_2BYTE   5
 
#define MPT_WRITE_MAC_4BYTE   6
 
#define MPT_READ_BB_CCK   7
 
#define MPT_WRITE_BB_CCK   8
 
#define MPT_READ_BB_OFDM   9
 
#define MPT_WRITE_BB_OFDM   10
 
#define MPT_READ_RF   11
 
#define MPT_WRITE_RF   12
 
#define MPT_READ_EEPROM_1BYTE   13
 
#define MPT_WRITE_EEPROM_1BYTE   14
 
#define MPT_READ_EEPROM_2BYTE   15
 
#define MPT_WRITE_EEPROM_2BYTE   16
 
#define MPT_SET_CSTHRESHOLD   21
 
#define MPT_SET_INITGAIN   22
 
#define MPT_SWITCH_BAND   23
 
#define MPT_SWITCH_CHANNEL   24
 
#define MPT_SET_DATARATE   25
 
#define MPT_SWITCH_ANTENNA   26
 
#define MPT_SET_TX_POWER   27
 
#define MPT_SET_CONT_TX   28
 
#define MPT_SET_SINGLE_CARRIER   29
 
#define MPT_SET_CARRIER_SUPPRESSION   30
 
#define MPT_GET_RATE_TABLE   31
 
#define MPT_READ_TSSI   32
 
#define MPT_GET_THERMAL_METER   33
 
#define MAX_MP_XMITBUF_SZ   2048
 
#define NR_MP_XMITFRAME   8
 
#define LOWER   true
 
#define RAISE   false
 
#define IOCMD_CTRL_REG   0x10250370
 
#define IOCMD_DATA_REG   0x10250374
 
#define IOCMD_GET_THERMAL_METER   0xFD000028
 
#define IOCMD_CLASS_BB_RF   0xF0
 
#define IOCMD_BB_READ_IDX   0x00
 
#define IOCMD_BB_WRITE_IDX   0x01
 
#define IOCMD_RF_READ_IDX   0x02
 
#define IOCMD_RF_WRIT_IDX   0x03
 
#define BB_REG_BASE_ADDR   0x800
 
#define RF_PATH_A   0
 
#define RF_PATH_B   1
 
#define RF_PATH_C   2
 
#define RF_PATH_D   3
 
#define MAX_RF_PATH_NUMS   2
 
#define _2MAC_MODE_   0
 
#define _LOOPBOOK_MODE_   1
 
#define MAX_TX_PWR_INDEX_N_MODE   64 /* 0x3F */
 
#define RX_PKT_BROADCAST   1
 
#define RX_PKT_DEST_ADDR   2
 
#define RX_PKT_PHY_MATCH   3
 
#define RPTMaxCount   0x000FFFFF;
 
#define HAL_PRIME_CHNL_OFFSET_DONT_CARE   0
 
#define HAL_PRIME_CHNL_OFFSET_LOWER   1
 
#define HAL_PRIME_CHNL_OFFSET_UPPER   2
 

Enumerations

enum  {
  MPT_RATE_1M, MPT_RATE_2M, MPT_RATE_55M, MPT_RATE_11M,
  MPT_RATE_6M, MPT_RATE_9M, MPT_RATE_12M, MPT_RATE_18M,
  MPT_RATE_24M, MPT_RATE_36M, MPT_RATE_48M, MPT_RATE_54M,
  MPT_RATE_MCS0, MPT_RATE_MCS1, MPT_RATE_MCS2, MPT_RATE_MCS3,
  MPT_RATE_MCS4, MPT_RATE_MCS5, MPT_RATE_MCS6, MPT_RATE_MCS7,
  MPT_RATE_MCS8, MPT_RATE_MCS9, MPT_RATE_MCS10, MPT_RATE_MCS11,
  MPT_RATE_MCS12, MPT_RATE_MCS13, MPT_RATE_MCS14, MPT_RATE_MCS15,
  MPT_RATE_LAST
}
 
enum  HT_CHANNEL_WIDTH { HT_CHANNEL_WIDTH_20 = 0, HT_CHANNEL_WIDTH_40 = 1 }
 
enum  POWER_MODE { POWER_LOW = 0, POWER_NORMAL }
 
enum  RXPHY_BITMASK {
  OFDM_PPDU_BIT = 0, OFDM_MPDU_OK_BIT, OFDM_MPDU_FAIL_BIT, CCK_PPDU_BIT,
  CCK_MPDU_OK_BIT, CCK_MPDU_FAIL_BIT, HT_PPDU_BIT, HT_MPDU_BIT,
  HT_MPDU_OK_BIT, HT_MPDU_FAIL_BIT
}
 
enum  ENCRY_CTRL_STATE { HW_CONTROL, SW_CONTROL, HW_ENCRY_SW_DECRY, SW_ENCRY_HW_DECRY }
 

Functions

void mp871xinit (struct _adapter *padapter)
 
void mp871xdeinit (struct _adapter *padapter)
 
u32 r8712_bb_reg_read (struct _adapter *Adapter, u16 offset)
 
u8 r8712_bb_reg_write (struct _adapter *Adapter, u16 offset, u32 value)
 
u32 r8712_rf_reg_read (struct _adapter *Adapter, u8 path, u8 offset)
 
u8 r8712_rf_reg_write (struct _adapter *Adapter, u8 path, u8 offset, u32 value)
 
u32 r8712_get_bb_reg (struct _adapter *Adapter, u16 offset, u32 bitmask)
 
u8 r8712_set_bb_reg (struct _adapter *Adapter, u16 offset, u32 bitmask, u32 value)
 
u32 r8712_get_rf_reg (struct _adapter *Adapter, u8 path, u8 offset, u32 bitmask)
 
u8 r8712_set_rf_reg (struct _adapter *Adapter, u8 path, u8 offset, u32 bitmask, u32 value)
 
void r8712_SetChannel (struct _adapter *pAdapter)
 
void r8712_SetTxPower (struct _adapter *pAdapte)
 
void r8712_SetTxAGCOffset (struct _adapter *pAdapter, u32 ulTxAGCOffset)
 
void r8712_SetDataRate (struct _adapter *pAdapter)
 
void r8712_SwitchBandwidth (struct _adapter *pAdapter)
 
void r8712_SwitchAntenna (struct _adapter *pAdapter)
 
void r8712_SetCrystalCap (struct _adapter *pAdapter)
 
void r8712_GetThermalMeter (struct _adapter *pAdapter, u32 *value)
 
void r8712_SetContinuousTx (struct _adapter *pAdapter, u8 bStart)
 
void r8712_SetSingleCarrierTx (struct _adapter *pAdapter, u8 bStart)
 
void r8712_SetSingleToneTx (struct _adapter *pAdapter, u8 bStart)
 
void r8712_SetCarrierSuppressionTx (struct _adapter *pAdapter, u8 bStart)
 
void r8712_ResetPhyRxPktCount (struct _adapter *pAdapter)
 
u32 r8712_GetPhyRxPktReceived (struct _adapter *pAdapter)
 
u32 r8712_GetPhyRxPktCRC32Error (struct _adapter *pAdapter)
 

Macro Definition Documentation

#define _2MAC_MODE_   0

Definition at line 209 of file rtl871x_mp.h.

#define _LOOPBOOK_MODE_   1

Definition at line 210 of file rtl871x_mp.h.

#define BB_REG_BASE_ADDR   0x800

Definition at line 203 of file rtl871x_mp.h.

#define HAL_PRIME_CHNL_OFFSET_DONT_CARE   0

Definition at line 306 of file rtl871x_mp.h.

#define HAL_PRIME_CHNL_OFFSET_LOWER   1

Definition at line 307 of file rtl871x_mp.h.

#define HAL_PRIME_CHNL_OFFSET_UPPER   2

Definition at line 308 of file rtl871x_mp.h.

#define IOCMD_BB_READ_IDX   0x00

Definition at line 199 of file rtl871x_mp.h.

#define IOCMD_BB_WRITE_IDX   0x01

Definition at line 200 of file rtl871x_mp.h.

#define IOCMD_CLASS_BB_RF   0xF0

Definition at line 198 of file rtl871x_mp.h.

#define IOCMD_CTRL_REG   0x10250370

Definition at line 195 of file rtl871x_mp.h.

#define IOCMD_DATA_REG   0x10250374

Definition at line 196 of file rtl871x_mp.h.

#define IOCMD_GET_THERMAL_METER   0xFD000028

Definition at line 197 of file rtl871x_mp.h.

#define IOCMD_RF_READ_IDX   0x02

Definition at line 201 of file rtl871x_mp.h.

#define IOCMD_RF_WRIT_IDX   0x03

Definition at line 202 of file rtl871x_mp.h.

#define LOWER   true

Definition at line 193 of file rtl871x_mp.h.

#define MAX_MP_XMITBUF_SZ   2048

Definition at line 115 of file rtl871x_mp.h.

#define MAX_RF_PATH_NUMS   2

Definition at line 208 of file rtl871x_mp.h.

#define MAX_TX_PWR_INDEX_N_MODE   64 /* 0x3F */

Definition at line 256 of file rtl871x_mp.h.

#define MPT_GET_RATE_TABLE   31

Definition at line 112 of file rtl871x_mp.h.

#define MPT_GET_THERMAL_METER   33

Definition at line 114 of file rtl871x_mp.h.

#define MPT_NOOP   0

Definition at line 85 of file rtl871x_mp.h.

#define MPT_READ_BB_CCK   7

Definition at line 92 of file rtl871x_mp.h.

#define MPT_READ_BB_OFDM   9

Definition at line 94 of file rtl871x_mp.h.

#define MPT_READ_EEPROM_1BYTE   13

Definition at line 98 of file rtl871x_mp.h.

#define MPT_READ_EEPROM_2BYTE   15

Definition at line 100 of file rtl871x_mp.h.

#define MPT_READ_MAC_1BYTE   1

Definition at line 86 of file rtl871x_mp.h.

#define MPT_READ_MAC_2BYTE   2

Definition at line 87 of file rtl871x_mp.h.

#define MPT_READ_MAC_4BYTE   3

Definition at line 88 of file rtl871x_mp.h.

#define MPT_READ_RF   11

Definition at line 96 of file rtl871x_mp.h.

#define MPT_READ_TSSI   32

Definition at line 113 of file rtl871x_mp.h.

#define MPT_SET_CARRIER_SUPPRESSION   30

Definition at line 111 of file rtl871x_mp.h.

#define MPT_SET_CONT_TX   28

Definition at line 109 of file rtl871x_mp.h.

#define MPT_SET_CSTHRESHOLD   21

Definition at line 102 of file rtl871x_mp.h.

#define MPT_SET_DATARATE   25

Definition at line 106 of file rtl871x_mp.h.

#define MPT_SET_INITGAIN   22

Definition at line 103 of file rtl871x_mp.h.

#define MPT_SET_SINGLE_CARRIER   29

Definition at line 110 of file rtl871x_mp.h.

#define MPT_SET_TX_POWER   27

Definition at line 108 of file rtl871x_mp.h.

#define MPT_SWITCH_ANTENNA   26

Definition at line 107 of file rtl871x_mp.h.

#define MPT_SWITCH_BAND   23

Definition at line 104 of file rtl871x_mp.h.

#define MPT_SWITCH_CHANNEL   24

Definition at line 105 of file rtl871x_mp.h.

#define MPT_WRITE_BB_CCK   8

Definition at line 93 of file rtl871x_mp.h.

#define MPT_WRITE_BB_OFDM   10

Definition at line 95 of file rtl871x_mp.h.

#define MPT_WRITE_EEPROM_1BYTE   14

Definition at line 99 of file rtl871x_mp.h.

#define MPT_WRITE_EEPROM_2BYTE   16

Definition at line 101 of file rtl871x_mp.h.

#define MPT_WRITE_MAC_1BYTE   4

Definition at line 89 of file rtl871x_mp.h.

#define MPT_WRITE_MAC_2BYTE   5

Definition at line 90 of file rtl871x_mp.h.

#define MPT_WRITE_MAC_4BYTE   6

Definition at line 91 of file rtl871x_mp.h.

#define MPT_WRITE_RF   12

Definition at line 97 of file rtl871x_mp.h.

#define NDIS_STATUS_AAL_PARAMS_UNSUPPORTED   ((uint)0xC0010028L) /* 93*/

Definition at line 83 of file rtl871x_mp.h.

#define NDIS_STATUS_ADAPTER_NOT_FOUND   ((uint)0xC0010006L)

Definition at line 48 of file rtl871x_mp.h.

#define NDIS_STATUS_ADAPTER_NOT_OPEN   ((uint)0xC0010012L)

Definition at line 61 of file rtl871x_mp.h.

#define NDIS_STATUS_ADAPTER_NOT_READY   ((uint)0xC0010011L)

Definition at line 60 of file rtl871x_mp.h.

#define NDIS_STATUS_ADAPTER_REMOVED   ((uint)0xC0010018L)

Definition at line 67 of file rtl871x_mp.h.

#define NDIS_STATUS_ALREADY_MAPPED   ((uint)0xC001001DL)

Definition at line 72 of file rtl871x_mp.h.

#define NDIS_STATUS_BAD_CHARACTERISTICS   ((uint)0xC0010005L)

Definition at line 47 of file rtl871x_mp.h.

#define NDIS_STATUS_BAD_VERSION   ((uint)0xC0010004L)

Definition at line 46 of file rtl871x_mp.h.

#define NDIS_STATUS_BUFFER_TOO_SHORT   ((uint)0xC0010016L)

Definition at line 65 of file rtl871x_mp.h.

#define NDIS_STATUS_CALL_ACTIVE   ((uint)0x00010007L)

Definition at line 41 of file rtl871x_mp.h.

#define NDIS_STATUS_CELLRATE_NOT_AVAILABLE   ((uint)0xC0010026L) /* 37*/

Definition at line 81 of file rtl871x_mp.h.

#define NDIS_STATUS_CLOSING   ((uint)0xC0010002L)

Definition at line 45 of file rtl871x_mp.h.

#define NDIS_STATUS_CLOSING_INDICATING   ((uint)0xC001000EL)

Definition at line 56 of file rtl871x_mp.h.

#define NDIS_STATUS_DEST_OUT_OF_ORDER   ((uint)0xC0010024L) /* cause 27*/

Definition at line 79 of file rtl871x_mp.h.

#define NDIS_STATUS_DEVICE_FAILED   ((uint)0xC0010008L)

Definition at line 50 of file rtl871x_mp.h.

#define NDIS_STATUS_ERROR_READING_FILE   ((uint)0xC001001CL)

Definition at line 71 of file rtl871x_mp.h.

#define NDIS_STATUS_FAILURE   ((uint) STATUS_UNSUCCESSFUL)

Definition at line 42 of file rtl871x_mp.h.

#define NDIS_STATUS_FILE_NOT_FOUND   ((uint)0xC001001BL)

Definition at line 70 of file rtl871x_mp.h.

#define NDIS_STATUS_GROUP_ADDRESS_IN_USE   ((uint)0xC001001AL)

Definition at line 69 of file rtl871x_mp.h.

#define NDIS_STATUS_INCOMPATABLE_QOS   ((uint)0xC0010027L) /* 49*/

Definition at line 82 of file rtl871x_mp.h.

#define NDIS_STATUS_INVALID_ADDRESS   ((uint)0xC0010022L)

Definition at line 77 of file rtl871x_mp.h.

#define NDIS_STATUS_INVALID_DATA   ((uint)0xC0010015L)

Definition at line 64 of file rtl871x_mp.h.

#define NDIS_STATUS_INVALID_LENGTH   ((uint)0xC0010014L)

Definition at line 63 of file rtl871x_mp.h.

#define NDIS_STATUS_INVALID_OID   ((uint)0xC0010017L)

Definition at line 66 of file rtl871x_mp.h.

#define NDIS_STATUS_INVALID_PACKET   ((uint)0xC001000FL)

Definition at line 58 of file rtl871x_mp.h.

#define NDIS_STATUS_INVALID_SAP   ((uint)0xC0010020L)

Definition at line 75 of file rtl871x_mp.h.

#define NDIS_STATUS_MULTICAST_EXISTS   ((uint)0xC001000AL)

Definition at line 52 of file rtl871x_mp.h.

#define NDIS_STATUS_MULTICAST_FULL   ((uint)0xC0010009L)

Definition at line 51 of file rtl871x_mp.h.

#define NDIS_STATUS_MULTICAST_NOT_FOUND   ((uint)0xC001000BL)

Definition at line 53 of file rtl871x_mp.h.

#define NDIS_STATUS_NO_CABLE   ((uint)0xC001001FL)

Definition at line 74 of file rtl871x_mp.h.

#define NDIS_STATUS_NO_ROUTE_TO_DESTINATION   ((uint)0xC0010029L) /* 3*/

Definition at line 84 of file rtl871x_mp.h.

#define NDIS_STATUS_NOT_ACCEPTED   ((uint)0x00010003L)

Definition at line 40 of file rtl871x_mp.h.

#define NDIS_STATUS_NOT_COPIED   ((uint)0x00010002L)

Definition at line 39 of file rtl871x_mp.h.

#define NDIS_STATUS_NOT_INDICATING   ((uint)0xC0010013L)

Definition at line 62 of file rtl871x_mp.h.

#define NDIS_STATUS_NOT_RECOGNIZED   ((uint)0x00010001L)

Definition at line 38 of file rtl871x_mp.h.

#define NDIS_STATUS_NOT_SUPPORTED   ((uint)STATUS_NOT_SUPPORTED)

Definition at line 57 of file rtl871x_mp.h.

#define NDIS_STATUS_OPEN_FAILED   ((uint)0xC0010007L)

Definition at line 49 of file rtl871x_mp.h.

#define NDIS_STATUS_OPEN_LIST_FULL   ((uint)0xC0010010L)

Definition at line 59 of file rtl871x_mp.h.

#define NDIS_STATUS_PENDING   ((uint) STATUS_PENDING)

Definition at line 37 of file rtl871x_mp.h.

#define NDIS_STATUS_REQUEST_ABORTED   ((uint)0xC001000CL)

Definition at line 54 of file rtl871x_mp.h.

#define NDIS_STATUS_RESET_IN_PROGRESS   ((uint)0xC001000DL)

Definition at line 55 of file rtl871x_mp.h.

#define NDIS_STATUS_RESOURCE_CONFLICT   ((uint)0xC001001EL)

Definition at line 73 of file rtl871x_mp.h.

#define NDIS_STATUS_RESOURCES
Value:

Definition at line 43 of file rtl871x_mp.h.

#define NDIS_STATUS_SAP_IN_USE   ((uint)0xC0010021L)

Definition at line 76 of file rtl871x_mp.h.

#define NDIS_STATUS_SUCCESS   ((uint)STATUS_SUCCESS)

Definition at line 36 of file rtl871x_mp.h.

#define NDIS_STATUS_UNSUPPORTED_MEDIA   ((uint)0xC0010019L)

Definition at line 68 of file rtl871x_mp.h.

#define NDIS_STATUS_VC_NOT_ACTIVATED   ((uint)0xC0010023L)

Definition at line 78 of file rtl871x_mp.h.

#define NDIS_STATUS_VC_NOT_AVAILABLE   ((uint)0xC0010025L) /* 35,45*/

Definition at line 80 of file rtl871x_mp.h.

#define NR_MP_XMITFRAME   8

Definition at line 116 of file rtl871x_mp.h.

#define RAISE   false

Definition at line 194 of file rtl871x_mp.h.

#define RF_PATH_A   0

Definition at line 204 of file rtl871x_mp.h.

#define RF_PATH_B   1

Definition at line 205 of file rtl871x_mp.h.

#define RF_PATH_C   2

Definition at line 206 of file rtl871x_mp.h.

#define RF_PATH_D   3

Definition at line 207 of file rtl871x_mp.h.

#define RPTMaxCount   0x000FFFFF;

Definition at line 267 of file rtl871x_mp.h.

#define RX_PKT_BROADCAST   1

Definition at line 263 of file rtl871x_mp.h.

#define RX_PKT_DEST_ADDR   2

Definition at line 264 of file rtl871x_mp.h.

#define RX_PKT_PHY_MATCH   3

Definition at line 265 of file rtl871x_mp.h.

#define STATUS_INSUFFICIENT_RESOURCES   (0xC000009AL)

Definition at line 34 of file rtl871x_mp.h.

#define STATUS_NOT_SUPPORTED   (0xC00000BBL)

Definition at line 35 of file rtl871x_mp.h.

#define STATUS_PENDING   (0x00000103L)

Definition at line 32 of file rtl871x_mp.h.

#define STATUS_SUCCESS   (0x00000000L)

Definition at line 31 of file rtl871x_mp.h.

#define STATUS_UNSUCCESSFUL   (0xC0000001L)

Definition at line 33 of file rtl871x_mp.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
MPT_RATE_1M 
MPT_RATE_2M 
MPT_RATE_55M 
MPT_RATE_11M 
MPT_RATE_6M 
MPT_RATE_9M 
MPT_RATE_12M 
MPT_RATE_18M 
MPT_RATE_24M 
MPT_RATE_36M 
MPT_RATE_48M 
MPT_RATE_54M 
MPT_RATE_MCS0 
MPT_RATE_MCS1 
MPT_RATE_MCS2 
MPT_RATE_MCS3 
MPT_RATE_MCS4 
MPT_RATE_MCS5 
MPT_RATE_MCS6 
MPT_RATE_MCS7 
MPT_RATE_MCS8 
MPT_RATE_MCS9 
MPT_RATE_MCS10 
MPT_RATE_MCS11 
MPT_RATE_MCS12 
MPT_RATE_MCS13 
MPT_RATE_MCS14 
MPT_RATE_MCS15 
MPT_RATE_LAST 

Definition at line 213 of file rtl871x_mp.h.

Enumerator:
HW_CONTROL 
SW_CONTROL 
HW_ENCRY_SW_DECRY 
SW_ENCRY_HW_DECRY 

Definition at line 298 of file rtl871x_mp.h.

Enumerator:
HT_CHANNEL_WIDTH_20 
HT_CHANNEL_WIDTH_40 

Definition at line 251 of file rtl871x_mp.h.

enum POWER_MODE
Enumerator:
POWER_LOW 
POWER_NORMAL 

Definition at line 258 of file rtl871x_mp.h.

Enumerator:
OFDM_PPDU_BIT 
OFDM_MPDU_OK_BIT 
OFDM_MPDU_FAIL_BIT 
CCK_PPDU_BIT 
CCK_MPDU_OK_BIT 
CCK_MPDU_FAIL_BIT 
HT_PPDU_BIT 
HT_MPDU_BIT 
HT_MPDU_OK_BIT 
HT_MPDU_FAIL_BIT 

Definition at line 285 of file rtl871x_mp.h.

Function Documentation

void mp871xdeinit ( struct _adapter padapter)

Definition at line 96 of file rtl871x_mp.c.

void mp871xinit ( struct _adapter padapter)

Definition at line 88 of file rtl871x_mp.c.

u32 r8712_bb_reg_read ( struct _adapter Adapter,
u16  offset 
)

Definition at line 136 of file rtl871x_mp.c.

u8 r8712_bb_reg_write ( struct _adapter Adapter,
u16  offset,
u32  value 
)

Definition at line 159 of file rtl871x_mp.c.

u32 r8712_get_bb_reg ( struct _adapter Adapter,
u16  offset,
u32  bitmask 
)
u32 r8712_get_rf_reg ( struct _adapter Adapter,
u8  path,
u8  offset,
u32  bitmask 
)
u32 r8712_GetPhyRxPktCRC32Error ( struct _adapter pAdapter)

Definition at line 740 of file rtl871x_mp.c.

u32 r8712_GetPhyRxPktReceived ( struct _adapter pAdapter)

Definition at line 730 of file rtl871x_mp.c.

void r8712_GetThermalMeter ( struct _adapter pAdapter,
u32 value 
)

Definition at line 515 of file rtl871x_mp.c.

void r8712_ResetPhyRxPktCount ( struct _adapter pAdapter)

Definition at line 704 of file rtl871x_mp.c.

u32 r8712_rf_reg_read ( struct _adapter Adapter,
u8  path,
u8  offset 
)

Definition at line 186 of file rtl871x_mp.c.

u8 r8712_rf_reg_write ( struct _adapter Adapter,
u8  path,
u8  offset,
u32  value 
)

Definition at line 199 of file rtl871x_mp.c.

u8 r8712_set_bb_reg ( struct _adapter Adapter,
u16  offset,
u32  bitmask,
u32  value 
)
u8 r8712_set_rf_reg ( struct _adapter Adapter,
u8  path,
u8  offset,
u32  bitmask,
u32  value 
)
void r8712_SetCarrierSuppressionTx ( struct _adapter pAdapter,
u8  bStart 
)

Definition at line 583 of file rtl871x_mp.c.

void r8712_SetChannel ( struct _adapter pAdapter)

Definition at line 277 of file rtl871x_mp.c.

void r8712_SetContinuousTx ( struct _adapter pAdapter,
u8  bStart 
)

Definition at line 683 of file rtl871x_mp.c.

void r8712_SetCrystalCap ( struct _adapter pAdapter)

Definition at line 494 of file rtl871x_mp.c.

void r8712_SetDataRate ( struct _adapter pAdapter)

Definition at line 338 of file rtl871x_mp.c.

void r8712_SetSingleCarrierTx ( struct _adapter pAdapter,
u8  bStart 
)

Definition at line 522 of file rtl871x_mp.c.

void r8712_SetSingleToneTx ( struct _adapter pAdapter,
u8  bStart 
)

Definition at line 550 of file rtl871x_mp.c.

void r8712_SetTxAGCOffset ( struct _adapter pAdapter,
u32  ulTxAGCOffset 
)

Definition at line 326 of file rtl871x_mp.c.

void r8712_SetTxPower ( struct _adapter pAdapte)

Definition at line 319 of file rtl871x_mp.c.

void r8712_SwitchAntenna ( struct _adapter pAdapter)

Definition at line 423 of file rtl871x_mp.c.

void r8712_SwitchBandwidth ( struct _adapter pAdapter)

Definition at line 348 of file rtl871x_mp.c.