'\" t .\" Title: enum ieee80211_ampdu_mlme_action .\" Author: .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Advanced driver interface .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "ENUM IEEE80211_AMPDU" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Advanced driver interface" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" enum_ieee80211_ampdu_mlme_action \- A\-MPDU actions .SH "SYNOPSIS" .sp .nf enum ieee80211_ampdu_mlme_action { IEEE80211_AMPDU_RX_START, IEEE80211_AMPDU_RX_STOP, IEEE80211_AMPDU_TX_START, IEEE80211_AMPDU_TX_STOP_CONT, IEEE80211_AMPDU_TX_STOP_FLUSH, IEEE80211_AMPDU_TX_STOP_FLUSH_CONT, IEEE80211_AMPDU_TX_OPERATIONAL }; .fi .SH "CONSTANTS" .PP IEEE80211_AMPDU_RX_START .RS 4 start RX aggregation .RE .PP IEEE80211_AMPDU_RX_STOP .RS 4 stop RX aggregation .RE .PP IEEE80211_AMPDU_TX_START .RS 4 start TX aggregation .RE .PP IEEE80211_AMPDU_TX_STOP_CONT .RS 4 stop TX aggregation but continue transmitting queued packets, now unaggregated\&. After all packets are transmitted the driver has to call \fBieee80211_stop_tx_ba_cb_irqsafe\fR\&. .RE .PP IEEE80211_AMPDU_TX_STOP_FLUSH .RS 4 stop TX aggregation and flush all packets, called when the station is removed\&. There\*(Aqs no need or reason to call \fBieee80211_stop_tx_ba_cb_irqsafe\fR in this case as mac80211 assumes the session is gone and removes the station\&. .RE .PP IEEE80211_AMPDU_TX_STOP_FLUSH_CONT .RS 4 called when TX aggregation is stopped but the driver hasn\*(Aqt called \fBieee80211_stop_tx_ba_cb_irqsafe\fR yet and now the connection is dropped and the station will be removed\&. Drivers should clean up and drop remaining packets when this is called\&. .RE .PP IEEE80211_AMPDU_TX_OPERATIONAL .RS 4 TX aggregation has become operational .RE .SH "DESCRIPTION" .PP .PP These flags are used with the \fBampdu_action\fR callback in struct ieee80211_ops to indicate which action is needed\&. .PP Note that drivers MUST be able to deal with a TX aggregation session being stopped even before they OK\*(Aqed starting it by calling ieee80211_start_tx_ba_cb_irqsafe, because the peer might receive the addBA frame and send a delBA right away! .SH "AUTHOR" .PP \fBJohannes Berg\fR <\&johannes@sipsolutions.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br