Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
tid_ampdu_tx Struct Reference

#include <sta_info.h>

Data Fields

struct rcu_head rcu_head
 
struct timer_list session_timer
 
struct timer_list addba_resp_timer
 
struct sk_buff_head pending
 
unsigned long state
 
unsigned long last_tx
 
u16 timeout
 
u8 dialog_token
 
u8 stop_initiator
 
bool tx_stop
 
u8 buf_size
 
u16 failed_bar_ssn
 
bool bar_pending
 

Detailed Description

struct tid_ampdu_tx - TID aggregation information (Tx).

: rcu head for freeing structure : check if we keep Tx-ing on the TID (by timeout value) : timer for peer's response to addba request : pending frames queue – use sta's spinlock to protect : dialog token for aggregation session : session timeout value to be filled in ADDBA requests : session state (see above) : jiffies of last tx activity : initiator of a session stop : TX DelBA frame when stopping : reorder buffer size at receiver : ssn of the last failed BAR tx attempt : BAR needs to be re-sent

This structure's lifetime is managed by RCU, assignments to the array holding it must hold the aggregation mutex.

The TX path can access it under RCU lock-free if, and only if, the state has the flag HT_AGG_STATE_OPERATIONAL set. Otherwise, the TX path must also acquire the spinlock and re-check the state, see comments in the tx code touching it.

Definition at line 122 of file sta_info.h.

Field Documentation

struct timer_list addba_resp_timer

Definition at line 125 of file sta_info.h.

bool bar_pending

Definition at line 136 of file sta_info.h.

u8 buf_size

Definition at line 133 of file sta_info.h.

u8 dialog_token

Definition at line 130 of file sta_info.h.

u16 failed_bar_ssn

Definition at line 135 of file sta_info.h.

unsigned long last_tx

Definition at line 128 of file sta_info.h.

Definition at line 126 of file sta_info.h.

struct rcu_head rcu_head

Definition at line 123 of file sta_info.h.

struct timer_list session_timer

Definition at line 124 of file sta_info.h.

unsigned long state

Definition at line 127 of file sta_info.h.

u8 stop_initiator

Definition at line 131 of file sta_info.h.

u16 timeout

Definition at line 129 of file sta_info.h.

bool tx_stop

Definition at line 132 of file sta_info.h.


The documentation for this struct was generated from the following file: