Add nl80211 commands to get and set o11s mesh networking parameters
authorcolin@cozybit.com <colin@cozybit.com>
Tue, 21 Oct 2008 19:03:48 +0000 (12:03 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 31 Oct 2008 23:00:39 +0000 (19:00 -0400)
commit93da9cc17c5ae8a751886fd4732db89ad5e9bdb9
tree5c8c16eaeca4c6e4555682a4ab1b448cdbe21595
parent4a68ec535ef1043319928f601d633f78e650a16f
Add nl80211 commands to get and set o11s mesh networking parameters

The two new commands are NL80211_CMD_GET_MESH_PARAMS and
NL80211_CMD_SET_MESH_PARAMS. There is a new attribute enum,
NL80211_ATTR_MESH_PARAMS, which enumerates the various mesh configuration
parameters.

Moved struct mesh_config from mac80211/ieee80211_i.h to net/cfg80211.h.
nl80211_get_mesh_params and nl80211_set_mesh_params unpack the netlink messages
and ask the driver to get or set the configuration.  This is done via two new
function stubs, get_mesh_params and set_mesh_params, in struct cfg80211_ops.

Signed-off-by: Colin McCabe <colin@cozybit.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/nl80211.h
include/net/cfg80211.h
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/wireless/nl80211.c