cfg80211/nl80211: Add userspace authentication flag to mesh setup
authorJavier Cardona <javier@cozybit.com>
Thu, 7 Apr 2011 22:08:28 +0000 (15:08 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 12 Apr 2011 20:57:37 +0000 (16:57 -0400)
commit15d5dda623139bbf6165030fc251bbd5798f4130
tree3adb84ef7d65fd274008d950ad99434e1a3a28a7
parent581a8b0feeed8877aab3a8ca4c972419790cd07f
cfg80211/nl80211: Add userspace authentication flag to mesh setup

During mesh setup, use NL80211_MESH_SETUP_USERSPACE_AUTH flag to create
a secure mesh and route management frames to userspace.

Also, NL80211_CMD_GET_WIPHY now returns a flag NL80211_SUPPORT_MESH_AUTH
if the wiphy's mesh implementation supports routing of mesh auth frames
to userspace.  This is useful for forward compatibility between old
kernels and new userspace tools.

Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/nl80211.h
include/net/cfg80211.h
net/wireless/mesh.c
net/wireless/nl80211.c