]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211/cfg80211: extend mgmt-tx API for off-channel
authorJohannes Berg <johannes.berg@intel.com>
Thu, 25 Nov 2010 09:02:29 +0000 (10:02 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 29 Nov 2010 20:24:35 +0000 (15:24 -0500)
commit0c304a9c090b3fb3e3d2a71ea8226a5df9b222d8
tree42db54588fd5fa769a16def75708117903577b40
parentda04b8de1f91423a048cb6f6e9b5ddf48337b4c4
nl80211/cfg80211: extend mgmt-tx API for off-channel

With p2p, it is sometimes necessary to transmit
a frame (typically an action frame) on another
channel than the current channel. Enable this
through the CMD_FRAME API, and allow it to wait
for a response. A new command allows that wait
to be aborted.

However, allow userspace to specify whether or
not it wants to allow off-channel TX, it may
actually want to use the same channel only.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/nl80211.h
include/net/cfg80211.h
net/mac80211/cfg.c
net/wireless/core.h
net/wireless/mlme.c
net/wireless/nl80211.c