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

Go to the source code of this file.

Data Structures

struct  tx_desc
 
union  txdesc
 

Macros

#define HWXMIT_ENTRY   4
 
#define VO_QUEUE_INX   0
 
#define VI_QUEUE_INX   1
 
#define BE_QUEUE_INX   2
 
#define BK_QUEUE_INX   3
 
#define TS_QUEUE_INX   4
 
#define MGT_QUEUE_INX   5
 
#define BMC_QUEUE_INX   6
 
#define BCN_QUEUE_INX   7
 
#define HW_QUEUE_ENTRY   8
 
#define TXDESC_SIZE   32
 
#define TXDESC_OFFSET   TXDESC_SIZE
 
#define NR_AMSDU_XMITFRAME   8
 
#define NR_TXAGG_XMITFRAME   8
 
#define MAX_AMSDU_XMITBUF_SZ   8704
 
#define MAX_TXAGG_XMITBUF_SZ   16384 /*16k*/
 
#define tx_cmd   tx_desc
 
#define MAX_TID   (15)
 
#define OFFSET_SZ   (0)
 
#define OFFSET_SHT   (16)
 
#define OWN   BIT(31)
 
#define FSG   BIT(27)
 
#define LSG   BIT(26)
 
#define TYPE_SHT   (24)
 
#define TYPE_MSK   (0x03000000)
 
#define PKT_OFFSET_SZ   (0)
 
#define QSEL_SHT   (8)
 
#define HWPC   BIT(31)
 
#define BMC   BIT(7)
 
#define BK   BIT(30)
 
#define AGG_EN   BIT(29)
 
#define RTS_RC_SHT   (16)
 
#define SEQ_SHT   (16)
 
#define TXBW   BIT(18)
 
#define DISFB   BIT(15)
 
#define RSVD6_MSK   (0x00E00000)
 
#define RSVD6_SHT   (21)
 

Functions

int r8712_xmitframe_complete (struct _adapter *padapter, struct xmit_priv *pxmitpriv, struct xmit_buf *pxmitbuf)
 
void r8712_do_queue_select (struct _adapter *padapter, struct pkt_attrib *pattrib)
 

Macro Definition Documentation

#define AGG_EN   BIT(29)

Definition at line 78 of file rtl8712_xmit.h.

#define BCN_QUEUE_INX   7

Definition at line 38 of file rtl8712_xmit.h.

#define BE_QUEUE_INX   2

Definition at line 33 of file rtl8712_xmit.h.

#define BK   BIT(30)

Definition at line 77 of file rtl8712_xmit.h.

#define BK_QUEUE_INX   3

Definition at line 34 of file rtl8712_xmit.h.

#define BMC   BIT(7)

Definition at line 76 of file rtl8712_xmit.h.

#define BMC_QUEUE_INX   6

Definition at line 37 of file rtl8712_xmit.h.

#define DISFB   BIT(15)

Definition at line 88 of file rtl8712_xmit.h.

#define FSG   BIT(27)

Definition at line 65 of file rtl8712_xmit.h.

#define HW_QUEUE_ENTRY   8

Definition at line 40 of file rtl8712_xmit.h.

#define HWPC   BIT(31)

Definition at line 73 of file rtl8712_xmit.h.

#define HWXMIT_ENTRY   4

Definition at line 29 of file rtl8712_xmit.h.

#define LSG   BIT(26)

Definition at line 66 of file rtl8712_xmit.h.

#define MAX_AMSDU_XMITBUF_SZ   8704

Definition at line 48 of file rtl8712_xmit.h.

#define MAX_TID   (15)

Definition at line 59 of file rtl8712_xmit.h.

#define MAX_TXAGG_XMITBUF_SZ   16384 /*16k*/

Definition at line 49 of file rtl8712_xmit.h.

#define MGT_QUEUE_INX   5

Definition at line 36 of file rtl8712_xmit.h.

#define NR_AMSDU_XMITFRAME   8

Definition at line 45 of file rtl8712_xmit.h.

#define NR_TXAGG_XMITFRAME   8

Definition at line 46 of file rtl8712_xmit.h.

#define OFFSET_SHT   (16)

Definition at line 63 of file rtl8712_xmit.h.

#define OFFSET_SZ   (0)

Definition at line 62 of file rtl8712_xmit.h.

#define OWN   BIT(31)

Definition at line 64 of file rtl8712_xmit.h.

#define PKT_OFFSET_SZ   (0)

Definition at line 71 of file rtl8712_xmit.h.

#define QSEL_SHT   (8)

Definition at line 72 of file rtl8712_xmit.h.

#define RSVD6_MSK   (0x00E00000)

Definition at line 89 of file rtl8712_xmit.h.

#define RSVD6_SHT   (21)

Definition at line 90 of file rtl8712_xmit.h.

#define RTS_RC_SHT   (16)

Definition at line 79 of file rtl8712_xmit.h.

#define SEQ_SHT   (16)

Definition at line 82 of file rtl8712_xmit.h.

#define TS_QUEUE_INX   4

Definition at line 35 of file rtl8712_xmit.h.

#define tx_cmd   tx_desc

Definition at line 52 of file rtl8712_xmit.h.

#define TXBW   BIT(18)

Definition at line 85 of file rtl8712_xmit.h.

#define TXDESC_OFFSET   TXDESC_SIZE

Definition at line 43 of file rtl8712_xmit.h.

#define TXDESC_SIZE   32

Definition at line 42 of file rtl8712_xmit.h.

#define TYPE_MSK   (0x03000000)

Definition at line 68 of file rtl8712_xmit.h.

#define TYPE_SHT   (24)

Definition at line 67 of file rtl8712_xmit.h.

#define VI_QUEUE_INX   1

Definition at line 32 of file rtl8712_xmit.h.

#define VO_QUEUE_INX   0

Definition at line 31 of file rtl8712_xmit.h.

Function Documentation

void r8712_do_queue_select ( struct _adapter padapter,
struct pkt_attrib pattrib 
)

Definition at line 238 of file rtl8712_xmit.c.

int r8712_xmitframe_complete ( struct _adapter padapter,
struct xmit_priv pxmitpriv,
struct xmit_buf pxmitbuf 
)

Definition at line 609 of file rtl8712_xmit.c.