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>
Showing
- include/linux/nl80211.h 20 additions, 5 deletionsinclude/linux/nl80211.h
- include/net/cfg80211.h 8 additions, 3 deletionsinclude/net/cfg80211.h
- net/mac80211/cfg.c 5 additions, 2 deletionsnet/mac80211/cfg.c
- net/wireless/core.h 2 additions, 2 deletionsnet/wireless/core.h
- net/wireless/mlme.c 5 additions, 4 deletionsnet/wireless/mlme.c
- net/wireless/nl80211.c 51 additions, 6 deletionsnet/wireless/nl80211.c
Loading
Please register or sign in to comment