nl80211/cfg80211: enable DFS for IBSS mode
authorSimon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
Mon, 7 Oct 2013 16:41:05 +0000 (18:41 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 28 Oct 2013 14:05:21 +0000 (15:05 +0100)
commit5336fa88e8ac6b666a3db9902a4797d94d86a702
tree0dacc5508f7ab1e65f894d6f09c4b56e7a6da9fb
parent687da132234feb70748df04a007bc1820f392254
nl80211/cfg80211: enable DFS for IBSS mode

To use DFS in IBSS mode, userspace is required to react to radar events.
It can inform nl80211 that it is capable of doing so by adding a
NL80211_ATTR_HANDLE_DFS attribute when joining the IBSS.

This attribute is supplied to let the kernelspace know that the
userspace application can and will handle radar events, e.g. by
intiating channel switches to a valid channel. DFS channels may
only be used if this attribute is supplied and the driver supports
it. Driver support will be checked even if a channel without DFS
will be initially joined, as a DFS channel may be chosen later.

Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de>
[fix attribute name in commit message]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/uapi/linux/nl80211.h
net/wireless/chan.c
net/wireless/ibss.c
net/wireless/nl80211.c
net/wireless/util.c
This page took 0.0318 seconds and 5 git commands to generate.