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

Go to the source code of this file.

Data Structures

struct  recv_reorder_ctrl
 
struct  stainfo_rxcache
 
struct  smooth_rssi_data
 
struct  rx_pkt_attrib
 
struct  recv_priv
 
struct  sta_recv_priv
 

Macros

#define NR_RECVFRAME   256
 
#define RXFRAME_ALIGN   8
 
#define RXFRAME_ALIGN_SZ   (1 << RXFRAME_ALIGN)
 
#define MAX_RXFRAME_CNT   512
 
#define MAX_RX_NUMBLKS   (32)
 
#define RECVFRAME_HDR_ALIGN   128
 
#define MAX_SUBFRAME_COUNT   64
 
#define SNAP_SIZE   sizeof(struct ieee80211_snap_hdr)
 
#define PHY_RSSI_SLID_WIN_MAX   100
 
#define PHY_LINKQUALITY_SLID_WIN_MAX   20
 

Functions

union recv_framer8712_alloc_recvframe (struct __queue *pfree_recv_queue)
 
union recv_framer8712_dequeue_recvframe (struct __queue *queue)
 
int r8712_enqueue_recvframe (union recv_frame *precvframe, struct __queue *queue)
 
int r8712_free_recvframe (union recv_frame *precvframe, struct __queue *pfree_recv_queue)
 
void r8712_free_recvframe_queue (struct __queue *pframequeue, struct __queue *pfree_recv_queue)
 
void r8712_init_recvframe (union recv_frame *precvframe, struct recv_priv *precvpriv)
 
int r8712_wlanhdr_to_ethhdr (union recv_frame *precvframe)
 
int recv_func (struct _adapter *padapter, void *pcontext)
 
void _r8712_init_sta_recv_priv (struct sta_recv_priv *psta_recvpriv)
 
sint r8712_recvframe_chkmic (struct _adapter *adapter, union recv_frame *precvframe)
 
union recv_framer8712_decryptor (struct _adapter *adapter, union recv_frame *precv_frame)
 
union recv_framer8712_recvframe_chk_defrag (struct _adapter *adapter, union recv_frame *precv_frame)
 
union recv_framer8712_recvframe_defrag (struct _adapter *adapter, struct __queue *defrag_q)
 
union recv_framer8712_recvframe_chk_defrag_new (struct _adapter *adapter, union recv_frame *precv_frame)
 
union recv_framer8712_recvframe_defrag_new (struct _adapter *adapter, struct __queue *defrag_q, union recv_frame *precv_frame)
 
int r8712_recv_decache (union recv_frame *precv_frame, u8 bretry, struct stainfo_rxcache *prxcache)
 
int r8712_sta2sta_data_frame (struct _adapter *adapter, union recv_frame *precv_frame, struct sta_info **psta)
 
int r8712_ap2sta_data_frame (struct _adapter *adapter, union recv_frame *precv_frame, struct sta_info **psta)
 
int r8712_sta2ap_data_frame (struct _adapter *adapter, union recv_frame *precv_frame, struct sta_info **psta)
 
int r8712_validate_recv_ctrl_frame (struct _adapter *adapter, union recv_frame *precv_frame)
 
int r8712_validate_recv_mgnt_frame (struct _adapter *adapter, union recv_frame *precv_frame)
 
int r8712_validate_recv_data_frame (struct _adapter *adapter, union recv_frame *precv_frame)
 
int r8712_validate_recv_frame (struct _adapter *adapter, union recv_frame *precv_frame)
 
union recv_framer8712_portctrl (struct _adapter *adapter, union recv_frame *precv_frame)
 
void r8712_mgt_dispatcher (struct _adapter *padapter, u8 *pframe, uint len)
 
int r8712_amsdu_to_msdu (struct _adapter *padapter, union recv_frame *prframe)
 

Macro Definition Documentation

#define MAX_RX_NUMBLKS   (32)

Definition at line 13 of file rtl871x_recv.h.

#define MAX_RXFRAME_CNT   512

Definition at line 12 of file rtl871x_recv.h.

#define MAX_SUBFRAME_COUNT   64

Definition at line 15 of file rtl871x_recv.h.

#define NR_RECVFRAME   256

Definition at line 7 of file rtl871x_recv.h.

#define PHY_LINKQUALITY_SLID_WIN_MAX   20

Definition at line 34 of file rtl871x_recv.h.

#define PHY_RSSI_SLID_WIN_MAX   100

Definition at line 33 of file rtl871x_recv.h.

#define RECVFRAME_HDR_ALIGN   128

Definition at line 14 of file rtl871x_recv.h.

#define RXFRAME_ALIGN   8

Definition at line 9 of file rtl871x_recv.h.

#define RXFRAME_ALIGN_SZ   (1 << RXFRAME_ALIGN)

Definition at line 10 of file rtl871x_recv.h.

#define SNAP_SIZE   sizeof(struct ieee80211_snap_hdr)

Definition at line 17 of file rtl871x_recv.h.

Function Documentation

void _r8712_init_sta_recv_priv ( struct sta_recv_priv psta_recvpriv)

Definition at line 56 of file rtl871x_recv.c.

union recv_frame* r8712_alloc_recvframe ( struct __queue pfree_recv_queue)
write

Definition at line 106 of file rtl871x_recv.c.

int r8712_amsdu_to_msdu ( struct _adapter padapter,
union recv_frame prframe 
)
int r8712_ap2sta_data_frame ( struct _adapter adapter,
union recv_frame precv_frame,
struct sta_info **  psta 
)
union recv_frame* r8712_decryptor ( struct _adapter adapter,
union recv_frame precv_frame 
)
write

Definition at line 219 of file rtl871x_recv.c.

union recv_frame* r8712_dequeue_recvframe ( struct __queue queue)
write
int r8712_enqueue_recvframe ( union recv_frame precvframe,
struct __queue queue 
)
int r8712_free_recvframe ( union recv_frame precvframe,
struct __queue pfree_recv_queue 
)

Definition at line 141 of file rtl8712_recv.c.

void r8712_free_recvframe_queue ( struct __queue pframequeue,
struct __queue pfree_recv_queue 
)

Definition at line 141 of file rtl871x_recv.c.

void r8712_init_recvframe ( union recv_frame precvframe,
struct recv_priv precvpriv 
)
void r8712_mgt_dispatcher ( struct _adapter padapter,
u8 pframe,
uint  len 
)
union recv_frame* r8712_portctrl ( struct _adapter adapter,
union recv_frame precv_frame 
)
write

Definition at line 248 of file rtl871x_recv.c.

int r8712_recv_decache ( union recv_frame precv_frame,
u8  bretry,
struct stainfo_rxcache prxcache 
)
union recv_frame* r8712_recvframe_chk_defrag ( struct _adapter adapter,
union recv_frame precv_frame 
)
write

Definition at line 263 of file rtl8712_recv.c.

union recv_frame* r8712_recvframe_chk_defrag_new ( struct _adapter adapter,
union recv_frame precv_frame 
)
write
sint r8712_recvframe_chkmic ( struct _adapter adapter,
union recv_frame precvframe 
)

Definition at line 158 of file rtl871x_recv.c.

union recv_frame* r8712_recvframe_defrag ( struct _adapter adapter,
struct __queue defrag_q 
)
write
union recv_frame* r8712_recvframe_defrag_new ( struct _adapter adapter,
struct __queue defrag_q,
union recv_frame precv_frame 
)
write
int r8712_sta2ap_data_frame ( struct _adapter adapter,
union recv_frame precv_frame,
struct sta_info **  psta 
)
int r8712_sta2sta_data_frame ( struct _adapter adapter,
union recv_frame precv_frame,
struct sta_info **  psta 
)
int r8712_validate_recv_ctrl_frame ( struct _adapter adapter,
union recv_frame precv_frame 
)
int r8712_validate_recv_data_frame ( struct _adapter adapter,
union recv_frame precv_frame 
)
int r8712_validate_recv_frame ( struct _adapter adapter,
union recv_frame precv_frame 
)

Definition at line 557 of file rtl871x_recv.c.

int r8712_validate_recv_mgnt_frame ( struct _adapter adapter,
union recv_frame precv_frame 
)
int r8712_wlanhdr_to_ethhdr ( union recv_frame precvframe)

Definition at line 601 of file rtl871x_recv.c.

int recv_func ( struct _adapter padapter,
void pcontext 
)

Definition at line 975 of file rtl8712_recv.c.