aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index b0787a1dea90..05aaa8789848 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -315,6 +315,9 @@ struct ieee80211_bss_conf {
315 * @IEEE80211_TX_CTL_LDPC: tells the driver to use LDPC for this frame 315 * @IEEE80211_TX_CTL_LDPC: tells the driver to use LDPC for this frame
316 * @IEEE80211_TX_CTL_STBC: Enables Space-Time Block Coding (STBC) for this 316 * @IEEE80211_TX_CTL_STBC: Enables Space-Time Block Coding (STBC) for this
317 * frame and selects the maximum number of streams that it can use. 317 * frame and selects the maximum number of streams that it can use.
318 *
319 * Note: If you have to add new flags to the enumeration, then don't
320 * forget to update %IEEE80211_TX_TEMPORARY_FLAGS when necessary.
318 */ 321 */
319enum mac80211_tx_control_flags { 322enum mac80211_tx_control_flags {
320 IEEE80211_TX_CTL_REQ_TX_STATUS = BIT(0), 323 IEEE80211_TX_CTL_REQ_TX_STATUS = BIT(0),
@@ -344,6 +347,19 @@ enum mac80211_tx_control_flags {
344 347
345#define IEEE80211_TX_CTL_STBC_SHIFT 23 348#define IEEE80211_TX_CTL_STBC_SHIFT 23
346 349
350/*
351 * This definition is used as a mask to clear all temporary flags, which are
352 * set by the tx handlers for each transmission attempt by the mac80211 stack.
353 */
354#define IEEE80211_TX_TEMPORARY_FLAGS (IEEE80211_TX_CTL_NO_ACK | \
355 IEEE80211_TX_CTL_CLEAR_PS_FILT | IEEE80211_TX_CTL_FIRST_FRAGMENT | \
356 IEEE80211_TX_CTL_SEND_AFTER_DTIM | IEEE80211_TX_CTL_AMPDU | \
357 IEEE80211_TX_STAT_TX_FILTERED | IEEE80211_TX_STAT_ACK | \
358 IEEE80211_TX_STAT_AMPDU | IEEE80211_TX_STAT_AMPDU_NO_BACK | \
359 IEEE80211_TX_CTL_RATE_CTRL_PROBE | IEEE80211_TX_CTL_PSPOLL_RESPONSE | \
360 IEEE80211_TX_CTL_MORE_FRAMES | IEEE80211_TX_CTL_LDPC | \
361 IEEE80211_TX_CTL_STBC)
362
347/** 363/**
348 * enum mac80211_rate_control_flags - per-rate flags set by the 364 * enum mac80211_rate_control_flags - per-rate flags set by the
349 * Rate Control algorithm. 365 * Rate Control algorithm.