aboutsummaryrefslogtreecommitdiffstats
path: root/mesh.c
Commit message (Collapse)AuthorAgeFilesLines
* iw: Allow basic rates to be configured when joining meshChun-Yeow Yeoh2014-10-091-6/+34
| | | | | | | | | | | This patch adds option to configure basic rates during mesh join. Signed-off-by: Ashok Nagarajan <ashok.dragon@gmail.com> Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com> v2: minor change for upstream v3: fix typo error (Colleen) Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: Allow user to provide freq during mesh joinChun-Yeow Yeoh2014-10-091-3/+67
| | | | | | | | | | | | Allow user to configure frequency and channel type during mesh join command. Signed-off-by: Ashok Nagarajan <ashok.dragon@gmail.com> Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com> v2: use chandef similar to IBSS (Johannes) v4: make the mesh join command more self-explanatory (Bob Copeland) Signed-off-by: Johannes Berg <johannes.berg@intel.com>
* iw: Add support for mesh peer link expiration.Colleen Twitty2013-07-081-0/+7
| | | | | | | | | | | User can configure the peer link expiration time with a new mesh parameter, mesh_plink_timeout. This parameter sets the expiration time, in seconds, for peer links. After this time, the peer link is expired. This means the inactive STA is removed from the list of peers and is not considered a peer again unless it re-peers. Signed-off-by: Colleen Twitty <colleen@cozybit.com>
* iw: add default mesh Power Mode and Awake Window to mesh configMarco Porsch2013-01-291-2/+50
| | | | | | | | | | | The default mesh power mode is the power mode that will be assigned to newly established peer links. The awake window is the duration the local STA will stay awake after sending its own beacon in PS mode. Both values can be modified as part of the mesh params. Signed-off-by: Marco Porsch <marco@cozybit.com> Signed-off-by: Ivan Bezyazychnyy <ivan.bezyazychnyy@gmail.com>
* iw: add beacon interval and DTIM period parameters to mesh joinMarco Porsch2013-01-291-2/+30
| | | | | | | | | Set the beacon interval and DTIM period with the mesh join command: iw <dev> mesh join <meshid> beacon-interval <time in TUs> dtim-period <value> Signed-off-by: Marco Porsch <marco@cozybit.com>
* iw: remove unnecessary variable in find_mesh_paramAshok Nagarajan2012-10-221-7/+3
| | | | | | Also stick to coding style. use "strcmp ( , ) == 0" instead of (!strcmp( , )) Signed-off-by: Ashok Nagarajan <ashok@cozybit.com>
* pass idby argument to all functionsJohannes Berg2012-07-191-5/+9
|
* iw: allow setting mesh proactive tree building mode related parametersChun-Yeow Yeoh2012-07-061-1/+9
| | | | | | | | | This patch allows the setting of following mesh parameters: mesh_hwmp_active_path_to_root_timeout mesh_hwmp_root_interval mesh_hwmp_confirmation_interval Also ensure the TU is printed for mesh_hwmp_rann_interval.
* iw: Allow setting RSSI threshold for peeringAshok Nagarajan2012-04-201-0/+22
| | | | Signed-off-by: Ashok Nagarajan <ashok@cozybit.com>
* iw: add mesh conf parameter "mesh_sync_offset_max_neighor"Ashok Nagarajan2012-04-131-0/+8
| | | | | | | Maximum number of neighbors to synchronize to for mesh default synchronization method Signed-off-by: Marco Porsch <marco.porsch@etit.tu-chemnitz.de>
* iw: allow user to enable vendor synchronization when joining meshAshok Nagarajan2012-04-131-1/+23
| | | | | | | Currently this option just disables the default neighbor offset synchronization method. It is useful for testing. Signed-off-by: Marco Porsch <marco.porsch@etit.tu-chemnitz.de>
* iw: Add support of setting non-forwarding entity in MeshChun-Yeow Yeoh2012-03-261-0/+2
| | | | | | | This patch creates a new mesh parameter known as mesh_fwding. Mesh node will become non-forwarding entity if this parameter is set to 0. By default, it is set as 1. Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
* iw: allow setting mesh mcast-rateChun-Yeow Yeoh2012-01-171-2/+18
| | | | | Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com> Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
* support for setting RANN interval and mesh gateJavier Cardona2011-09-031-0/+4
|
* mesh: add support for NL80211_MESHCONF_ELEMENT_TTLJohannes Berg2010-12-141-0/+3
|
* mesh: support join/leaveJohannes Berg2010-12-141-0/+34
|
* mesh: allow setting multiple parameters at onceJohannes Berg2010-12-141-36/+52
|
* mesh: allow getting all parameters at onceJohannes Berg2010-12-141-6/+23
|
* implement rootmodeRui Paulo2009-11-161-0/+2
| | | | | | | This introduces a new mesh parameter mesh_hwmp_rootmode to make the mesh point act as a root node using mesh RANN frames. Signed-off-by: Rui Paulo <rpaulo@gmail.com>
* finish docsJohannes Berg2009-05-051-2/+4
|
* add ability to document commands, document event/helpJohannes Berg2009-05-051-2/+2
|
* prepare for more generic commandsJohannes Berg2009-04-081-6/+8
|
* mesh parameter list improvementsJohannes Berg2009-01-291-7/+5
| | | | | - list them as a real list - print them out when the user specified none at all
* iw: Fix regression in mesh_param input parsingColin McCabe2009-01-101-1/+2
| | | | In the iw tool, don't crash on bad arguments to "iw dev mesh set mesh_param"
* fix sparse warningsJohannes Berg2008-12-081-8/+8
|
* add and use ARRAY_SIZEJohannes Berg2008-12-081-7/+2
|
* iw: Add commands to get and set o11s mesh networking parameterscolin@cozybit.com2008-10-221-0/+297
Two new top-level commands: iw dev <devname> get mesh_param <param>, and iw dev <devname> set mesh_param <param> <value>. These can be used to configure the 802.11s mesh networking stack. These use the new %NL80211_CMD_GET_MESH_PARAMS and %NL80211_CMD_SET_MESH_PARAMS netlink commands. We check the user input to make sure that the values given fall in the valid range for each parameter. Signed-off-by: Colin McCabe <colin@cozybit.com>