STRUCT TID_AMPDU_TX(9) | Internals | STRUCT TID_AMPDU_TX(9) |
NAME¶
struct_tid_ampdu_tx - TID aggregation information (Tx).
SYNOPSIS¶
struct tid_ampdu_tx {
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;
bool amsdu; };
MEMBERS¶
rcu_head
session_timer
addba_resp_timer
pending
state
last_tx
timeout
dialog_token
stop_initiator
tx_stop
buf_size
failed_bar_ssn
bar_pending
amsdu
DESCRIPTION¶
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.
AUTHOR¶
Johannes Berg <johannes@sipsolutions.net>
COPYRIGHT¶
January 2017 | Kernel Hackers Manual 4.8. |