]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: allow easier multicast/broadcast buffering in hardware
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 19 Dec 2007 00:31:25 +0000 (01:31 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:59:47 +0000 (14:59 -0800)
commit2ba959ffeda7d3ea53d5af0c4858de28459a4161
tree9afb4b9779762e160bf1aec9d2f304731ebac251
parent0b3bf732d9d6948f19eb53d4f5d06d1022d11e0a
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>
include/net/mac80211.h
net/mac80211/tx.c