diff options
author | Colleen Twitty <colleen@cozybit.com> | 2013-05-08 14:45:59 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-05-16 16:39:43 -0400 |
commit | 6e16d90b5218307db805e6b3e0b06d3946eb8c4c (patch) | |
tree | bbd37b170d3657f7df53475f8f9d4d6f73b7260e /include/net/cfg80211.h | |
parent | 7ade7036043e2e8e2831ae189ce5c248386062f1 (diff) |
cfg80211: Userspace may inform kernel of mesh auth method.
Authentication takes place in userspace, but the beacon is
generated in the kernel. Allow userspace to inform the
kernel of the authentication method so the appropriate
mesh config IE can be set prior to beacon generation when
joining the MBSS.
Signed-off-by: Colleen Twitty <colleen@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r-- | include/net/cfg80211.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 26e91138a2c6..32a2f1b20861 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -1161,6 +1161,7 @@ struct mesh_config { | |||
1161 | * @sync_method: which synchronization method to use | 1161 | * @sync_method: which synchronization method to use |
1162 | * @path_sel_proto: which path selection protocol to use | 1162 | * @path_sel_proto: which path selection protocol to use |
1163 | * @path_metric: which metric to use | 1163 | * @path_metric: which metric to use |
1164 | * @auth_id: which authentication method this mesh is using | ||
1164 | * @ie: vendor information elements (optional) | 1165 | * @ie: vendor information elements (optional) |
1165 | * @ie_len: length of vendor information elements | 1166 | * @ie_len: length of vendor information elements |
1166 | * @is_authenticated: this mesh requires authentication | 1167 | * @is_authenticated: this mesh requires authentication |
@@ -1179,6 +1180,7 @@ struct mesh_setup { | |||
1179 | u8 sync_method; | 1180 | u8 sync_method; |
1180 | u8 path_sel_proto; | 1181 | u8 path_sel_proto; |
1181 | u8 path_metric; | 1182 | u8 path_metric; |
1183 | u8 auth_id; | ||
1182 | const u8 *ie; | 1184 | const u8 *ie; |
1183 | u8 ie_len; | 1185 | u8 ie_len; |
1184 | bool is_authenticated; | 1186 | bool is_authenticated; |