]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: add TX prepare API
authorJohannes Berg <johannes.berg@intel.com>
Wed, 27 Jun 2012 11:18:36 +0000 (13:18 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 3 Jul 2012 11:50:34 +0000 (13:50 +0200)
commitbe1b4195c77c289bb812c01cf05374a60511c027
tree6d2789387757141044dbbaf3c361bcc58809aa13
parenta07ffd5b1d6b21113882fd09e67f2df30155e50a
mac80211: add TX prepare API

Some drivers require setup before being able to send
management frames in managed mode, in particular in
multi-channel cases.

Introduce API to allow the drivers to do such setup
while being able to sleep waiting for the setup to
finish in the device. This isn't possible inside the
TX call since that can't sleep.

A future patch may also restructure the TX retry to
wait for the driver to report the frame status, as
suggested by Arik in
http://mid.gmane.org/CA+XVXffKSEL6ZQPQ98x-zO-NL2=TNF1uN==mprRyUmAaRn254g@mail.gmail.com

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/driver-ops.h
net/mac80211/mlme.c
net/mac80211/trace.h