aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-06-04 06:15:42 -0400
committerJohannes Berg <johannes.berg@intel.com>2013-06-04 06:41:36 -0400
commitd6d23de2786edca61fb9813ff7cdc7d2543d08a7 (patch)
treedf74c6a74f40c9f989dfc661374ca8c4d9525337 /include/net/mac80211.h
parent964dc9e2c3aaccacacd40640964a58544fb5769a (diff)
mac80211: add a tx control flag to indicate PS-Poll/uAPSD response
Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 1f0014bd4d87..cb37f82d8d09 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -460,6 +460,8 @@ struct ieee80211_bss_conf {
460 * @IEEE80211_TX_CTL_DONTFRAG: Don't fragment this packet even if it 460 * @IEEE80211_TX_CTL_DONTFRAG: Don't fragment this packet even if it
461 * would be fragmented by size (this is optional, only used for 461 * would be fragmented by size (this is optional, only used for
462 * monitor injection). 462 * monitor injection).
463 * @IEEE80211_TX_CTL_PS_RESPONSE: This frame is a response to a poll
464 * frame (PS-Poll or uAPSD).
463 * 465 *
464 * Note: If you have to add new flags to the enumeration, then don't 466 * Note: If you have to add new flags to the enumeration, then don't
465 * forget to update %IEEE80211_TX_TEMPORARY_FLAGS when necessary. 467 * forget to update %IEEE80211_TX_TEMPORARY_FLAGS when necessary.
@@ -495,6 +497,7 @@ enum mac80211_tx_control_flags {
495 IEEE80211_TX_STATUS_EOSP = BIT(28), 497 IEEE80211_TX_STATUS_EOSP = BIT(28),
496 IEEE80211_TX_CTL_USE_MINRATE = BIT(29), 498 IEEE80211_TX_CTL_USE_MINRATE = BIT(29),
497 IEEE80211_TX_CTL_DONTFRAG = BIT(30), 499 IEEE80211_TX_CTL_DONTFRAG = BIT(30),
500 IEEE80211_TX_CTL_PS_RESPONSE = BIT(31),
498}; 501};
499 502
500#define IEEE80211_TX_CTL_STBC_SHIFT 23 503#define IEEE80211_TX_CTL_STBC_SHIFT 23