]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - net/wireless/nl80211.c
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)
commitf7ca38dfe58c20cb1aa2ed9643187e8b194b5bae
tree42db54588fd5fa769a16def75708117903577b40
parent9a67d761b39614c0495dcab9a204e21a9f4c4d31
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