aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-12-18 19:31:25 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 17:59:47 -0500
commit7d54d0ddd66678ada6635159dac1eb82ccbe34b5 (patch)
tree9afb4b9779762e160bf1aec9d2f304731ebac251 /include
parent4e20cb293cc0b30f32a53011fd6b38493d9fdcaa (diff)
mac80211: allow easier multicast/broadcast buffering in hardware
There are various decisions influencing the decision whether to buffer a frame for after the next DTIM beacon. The "do we have stations in PS mode" condition cannot be tested by the driver so mac80211 has to do that. To ease driver writing for hardware that can buffer frames until after the next DTIM beacon, introduce a new txctl flag telling the driver to buffer a specific frame. While at it, restructure and comment the code for multicast buffering and remove spurious "inline" directives. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Cc: Michael Buesch <mb@bu3sch.de> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/mac80211.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 2606ca282c5e..5b9e7a262448 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -308,6 +308,8 @@ struct ieee80211_tx_control {
308 * set_retry_limit configured 308 * set_retry_limit configured
309 * long retry value */ 309 * long retry value */
310#define IEEE80211_TXCTL_EAPOL_FRAME (1<<11) /* internal to mac80211 */ 310#define IEEE80211_TXCTL_EAPOL_FRAME (1<<11) /* internal to mac80211 */
311#define IEEE80211_TXCTL_SEND_AFTER_DTIM (1<<12) /* send this frame after DTIM
312 * beacon */
311 u32 flags; /* tx control flags defined 313 u32 flags; /* tx control flags defined
312 * above */ 314 * above */
313 u8 key_idx; /* keyidx from hw->set_key(), undefined if 315 u8 key_idx; /* keyidx from hw->set_key(), undefined if