diff options
author | Javier Cardona <javier@cozybit.com> | 2010-12-16 20:37:49 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-12-20 14:46:57 -0500 |
commit | c80d545da3f7c0e534ccd4a780f322f80a92cff1 (patch) | |
tree | edd5c51676b4677fc1a0b2fc692ffe97df863f25 /include/net/cfg80211.h | |
parent | 24bdd9f4c9af75b33b438d60381a67626de0128d (diff) |
mac80211: Let userspace enable and configure vendor specific path selection.
Userspace will now be allowed to toggle between the default path
selection algorithm (HWMP, implemented in the kernel), and a vendor
specific alternative. Also in the same patch, allow userspace to add
information elements to mesh beacons. This is accordance with the
Extensible Path Selection Framework specified in version 7.0 of the
802.11s draft.
Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r-- | include/net/cfg80211.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 7283496c2d05..924d60366233 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -649,12 +649,20 @@ struct mesh_config { | |||
649 | * struct mesh_setup - 802.11s mesh setup configuration | 649 | * struct mesh_setup - 802.11s mesh setup configuration |
650 | * @mesh_id: the mesh ID | 650 | * @mesh_id: the mesh ID |
651 | * @mesh_id_len: length of the mesh ID, at least 1 and at most 32 bytes | 651 | * @mesh_id_len: length of the mesh ID, at least 1 and at most 32 bytes |
652 | * @path_sel_proto: which path selection protocol to use | ||
653 | * @path_metric: which metric to use | ||
654 | * @vendor_ie: vendor information elements (optional) | ||
655 | * @vendor_ie_len: length of vendor information elements | ||
652 | * | 656 | * |
653 | * These parameters are fixed when the mesh is created. | 657 | * These parameters are fixed when the mesh is created. |
654 | */ | 658 | */ |
655 | struct mesh_setup { | 659 | struct mesh_setup { |
656 | const u8 *mesh_id; | 660 | const u8 *mesh_id; |
657 | u8 mesh_id_len; | 661 | u8 mesh_id_len; |
662 | u8 path_sel_proto; | ||
663 | u8 path_metric; | ||
664 | const u8 *vendor_ie; | ||
665 | u8 vendor_ie_len; | ||
658 | }; | 666 | }; |
659 | 667 | ||
660 | /** | 668 | /** |