]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: invoke the timer only with correct dot11MeshHWMPRootMode value
authorChun-Yeow Yeoh <yeohchunyeow@gmail.com>
Wed, 13 Jun 2012 18:06:09 +0000 (02:06 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 18 Jun 2012 11:55:14 +0000 (13:55 +0200)
commita1d174b2c22a887c166744948b58c469dd310ff5
treeae284b509a97885a61b109f8e2e4b62b6c9193f1
parenta6f85a671de70cbf49a0805d46edca81499c5f19
mac80211: invoke the timer only with correct dot11MeshHWMPRootMode value

mesh_path_root_timer is invoked once the dot11MeshHWMPRootMode
is larger than 1. This patch also adds the backward compatible
to the previous setting on dot11MeshHWMPRootMode. If the user
configures as follow, it will still trigger the proactive RANN
with Gate Announcement.

iw mesh0 set mesh_param mesh_hwmp_rootmode 1
iw mesh0 set mesh_param mesh_gate_announcements 1

similar to the following setting:

iw mesh0 set mesh_param mesh_hwmp_rootmode 4
iw mesh0 set mesh_param mesh_gate_announcements 1

Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
[line-break commit log]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/mesh.c