#include "wil6210.h"
#include "txrx.h"
#define SEQ_MODULO …
#define SEQ_MASK …
static inline int seq_less(u16 sq1, u16 sq2)
{ … }
static inline u16 seq_inc(u16 sq)
{ … }
static inline u16 seq_sub(u16 sq1, u16 sq2)
{ … }
static inline int reorder_index(struct wil_tid_ampdu_rx *r, u16 seq)
{ … }
static void wil_release_reorder_frame(struct net_device *ndev,
struct wil_tid_ampdu_rx *r,
int index)
{ … }
static void wil_release_reorder_frames(struct net_device *ndev,
struct wil_tid_ampdu_rx *r,
u16 hseq)
{ … }
static void wil_reorder_release(struct net_device *ndev,
struct wil_tid_ampdu_rx *r)
{ … }
void wil_rx_reorder(struct wil6210_priv *wil, struct sk_buff *skb)
__acquires(&sta->tid_rx_lock) __releases(&sta->tid_rx_lock)
{ … }
void wil_rx_bar(struct wil6210_priv *wil, struct wil6210_vif *vif,
u8 cid, u8 tid, u16 seq)
{ … }
struct wil_tid_ampdu_rx *wil_tid_ampdu_rx_alloc(struct wil6210_priv *wil,
int size, u16 ssn)
{ … }
void wil_tid_ampdu_rx_free(struct wil6210_priv *wil,
struct wil_tid_ampdu_rx *r)
{ … }
static u16 wil_agg_size(struct wil6210_priv *wil, u16 req_agg_wsize)
{ … }
int wil_addba_rx_request(struct wil6210_priv *wil, u8 mid, u8 cid, u8 tid,
u8 dialog_token, __le16 ba_param_set,
__le16 ba_timeout, __le16 ba_seq_ctrl)
__acquires(&sta->tid_rx_lock) __releases(&sta->tid_rx_lock)
{ … }
int wil_addba_tx_request(struct wil6210_priv *wil, u8 ringid, u16 wsize)
{ … }