]> 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)
commit2617629699c59dfad8d6c0f12c3ee6198221fd35
tree4f6381c0a7b4dc8a1f9cd3c3bf2b94a6c971c737
parent901d010d1d769195825f5ac3eda697b2f6b4f93e
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