mac80211: introduce flush operation
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 23 Dec 2009 12:15:32 +0000 (13:15 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 28 Dec 2009 21:54:51 +0000 (16:54 -0500)
commita80f7c0b088187c8471b441d461e937991870661
treef673c08009a03f2e988a638510b112a5584bea11
parent9607e6b66a0d25ca63b70d54a4283fa13d8f7c9d
mac80211: introduce flush operation

We've long lacked a good confirmation that frames
have really gone out, e.g. before going off-channel
for a scan. Add a flush() operation that drivers
can implement to provide that confirmation, and use
it in a few places:
 * before scanning sends the nullfunc frames
 * after scanning sends the nullfunc frames, if any
 * when going idle, to send any pending frames

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mac80211_hwsim.c
include/net/mac80211.h
net/mac80211/driver-ops.h
net/mac80211/driver-trace.h
net/mac80211/iface.c
net/mac80211/scan.c