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

Go to the source code of this file.

Macros

#define MIN_FLUSH_TIMER_MS   50
 
#define PKT_TYPE_BAR   0xE7
 
#define MAX_TID_VALUE   (2 << 11)
 
#define TWOPOW11   (2 << 10)
 
#define BLOCKACKPARAM_TID_POS   2
 
#define BLOCKACKPARAM_AMSDU_SUPP_MASK   0x1
 
#define BLOCKACKPARAM_WINSIZE_POS   6
 
#define DELBA_TID_POS   12
 
#define DELBA_INITIATOR_POS   11
 
#define TYPE_DELBA_SENT   1
 
#define TYPE_DELBA_RECEIVE   2
 
#define IMMEDIATE_BLOCK_ACK   0x2
 
#define ADDBA_RSP_STATUS_ACCEPT   0
 
#define MWIFIEX_DEF_11N_RX_SEQ_NUM   0xffff
 
#define BA_SETUP_MAX_PACKET_THRESHOLD   16
 
#define BA_SETUP_PACKET_OFFSET   16
 

Enumerations

enum  mwifiex_rxreor_flags { RXREOR_FORCE_NO_DROP = 1<<0 }
 

Functions

int mwifiex_11n_rx_reorder_pkt (struct mwifiex_private *, u16 seqNum, u16 tid, u8 *ta, u8 pkttype, void *payload)
 
void mwifiex_del_ba_tbl (struct mwifiex_private *priv, int Tid, u8 *PeerMACAddr, u8 type, int initiator)
 
void mwifiex_11n_ba_stream_timeout (struct mwifiex_private *priv, struct host_cmd_ds_11n_batimeout *event)
 
int mwifiex_ret_11n_addba_resp (struct mwifiex_private *priv, struct host_cmd_ds_command *resp)
 
int mwifiex_cmd_11n_delba (struct host_cmd_ds_command *cmd, void *data_buf)
 
int mwifiex_cmd_11n_addba_rsp_gen (struct mwifiex_private *priv, struct host_cmd_ds_command *cmd, struct host_cmd_ds_11n_addba_req *cmd_addba_req)
 
int mwifiex_cmd_11n_addba_req (struct host_cmd_ds_command *cmd, void *data_buf)
 
void mwifiex_11n_cleanup_reorder_tbl (struct mwifiex_private *priv)
 
struct mwifiex_rx_reorder_tblmwifiex_11n_get_rxreorder_tbl (struct mwifiex_private *priv, int tid, u8 *ta)
 
struct mwifiex_rx_reorder_tblmwifiex_11n_get_rx_reorder_tbl (struct mwifiex_private *priv, int tid, u8 *ta)
 
void mwifiex_11n_del_rx_reorder_tbl_by_ta (struct mwifiex_private *priv, u8 *ta)
 
void mwifiex_update_rxreor_flags (struct mwifiex_adapter *adapter, u8 flags)
 

Macro Definition Documentation

#define ADDBA_RSP_STATUS_ACCEPT   0

Definition at line 38 of file 11n_rxreorder.h.

#define BA_SETUP_MAX_PACKET_THRESHOLD   16

Definition at line 41 of file 11n_rxreorder.h.

#define BA_SETUP_PACKET_OFFSET   16

Definition at line 42 of file 11n_rxreorder.h.

#define BLOCKACKPARAM_AMSDU_SUPP_MASK   0x1

Definition at line 30 of file 11n_rxreorder.h.

#define BLOCKACKPARAM_TID_POS   2

Definition at line 29 of file 11n_rxreorder.h.

#define BLOCKACKPARAM_WINSIZE_POS   6

Definition at line 31 of file 11n_rxreorder.h.

#define DELBA_INITIATOR_POS   11

Definition at line 33 of file 11n_rxreorder.h.

#define DELBA_TID_POS   12

Definition at line 32 of file 11n_rxreorder.h.

#define IMMEDIATE_BLOCK_ACK   0x2

Definition at line 36 of file 11n_rxreorder.h.

#define MAX_TID_VALUE   (2 << 11)

Definition at line 26 of file 11n_rxreorder.h.

#define MIN_FLUSH_TIMER_MS   50

Definition at line 23 of file 11n_rxreorder.h.

#define MWIFIEX_DEF_11N_RX_SEQ_NUM   0xffff

Definition at line 40 of file 11n_rxreorder.h.

#define PKT_TYPE_BAR   0xE7

Definition at line 25 of file 11n_rxreorder.h.

#define TWOPOW11   (2 << 10)

Definition at line 27 of file 11n_rxreorder.h.

#define TYPE_DELBA_RECEIVE   2

Definition at line 35 of file 11n_rxreorder.h.

#define TYPE_DELBA_SENT   1

Definition at line 34 of file 11n_rxreorder.h.

Enumeration Type Documentation

Enumerator:
RXREOR_FORCE_NO_DROP 

Definition at line 44 of file 11n_rxreorder.h.

Function Documentation

void mwifiex_11n_ba_stream_timeout ( struct mwifiex_private priv,
struct host_cmd_ds_11n_batimeout event 
)

Definition at line 610 of file 11n_rxreorder.c.

void mwifiex_11n_cleanup_reorder_tbl ( struct mwifiex_private priv)

Definition at line 630 of file 11n_rxreorder.c.

void mwifiex_11n_del_rx_reorder_tbl_by_ta ( struct mwifiex_private priv,
u8 ta 
)

Definition at line 182 of file 11n_rxreorder.c.

struct mwifiex_rx_reorder_tbl* mwifiex_11n_get_rx_reorder_tbl ( struct mwifiex_private priv,
int  tid,
u8 ta 
)
read

Definition at line 161 of file 11n_rxreorder.c.

struct mwifiex_rx_reorder_tbl* mwifiex_11n_get_rxreorder_tbl ( struct mwifiex_private priv,
int  tid,
u8 ta 
)
read
int mwifiex_11n_rx_reorder_pkt ( struct mwifiex_private ,
u16  seqNum,
u16  tid,
u8 ta,
u8  pkttype,
void payload 
)

Definition at line 431 of file 11n_rxreorder.c.

int mwifiex_cmd_11n_addba_req ( struct host_cmd_ds_command cmd,
void data_buf 
)

Definition at line 340 of file 11n_rxreorder.c.

int mwifiex_cmd_11n_addba_rsp_gen ( struct mwifiex_private priv,
struct host_cmd_ds_command cmd,
struct host_cmd_ds_11n_addba_req cmd_addba_req 
)

Definition at line 359 of file 11n_rxreorder.c.

int mwifiex_cmd_11n_delba ( struct host_cmd_ds_command cmd,
void data_buf 
)

Definition at line 407 of file 11n_rxreorder.c.

void mwifiex_del_ba_tbl ( struct mwifiex_private priv,
int  Tid,
u8 PeerMACAddr,
u8  type,
int  initiator 
)

Definition at line 523 of file 11n_rxreorder.c.

int mwifiex_ret_11n_addba_resp ( struct mwifiex_private priv,
struct host_cmd_ds_command resp 
)

Definition at line 568 of file 11n_rxreorder.c.

void mwifiex_update_rxreor_flags ( struct mwifiex_adapter adapter,
u8  flags 
)

Definition at line 651 of file 11n_rxreorder.c.