]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: sync driver before TX
authorJohannes Berg <johannes.berg@intel.com>
Tue, 19 Jul 2011 08:39:53 +0000 (10:39 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 20 Jul 2011 19:04:35 +0000 (15:04 -0400)
commit3727b3e859f8396a99f3f35725eab7b188ac94a4
tree4f6381c0a7b4dc8a1f9cd3c3bf2b94a6c971c737
parenta7d467f9af93bd19a3ba54f0c5e33e54c7fdefe1
mac80211: sync driver before TX

In P2P client mode, the GO (AP) to connect to might
have periods of time where it is not available due
to powersave. To allow the driver to sync with it
and send frames to the GO only when it is available
add a new callback tx_sync (and the corresponding
finish_tx_sync). These callbacks can sleep unlike
the actual TX.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/driver-ops.h
net/mac80211/driver-trace.h
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/work.c