mac80211: fix the RANN propagation issues
authorChun-Yeow Yeoh <yeohchunyeow@gmail.com>
Fri, 23 Mar 2012 10:48:51 +0000 (18:48 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Apr 2012 20:37:10 +0000 (16:37 -0400)
commitd2a079fd48c05235b86016a33a79cb86a86e15a8
tree060be7f455d64165eb5f5ca7187aac73bf5d79e2
parent30899cc6ab4d4b63d43f6d652d1ecf9107eadb8d
mac80211: fix the RANN propagation issues

This patch is intended to solve the follwing issues in RANN propagation:
[1] The interval in propagated RANN should be based on the interval of received RANN.
[2] The aggregated path metric for propagated RANN is as received plus own link metric
    towards the transmitting mesh STA (not root mesh STA).
[3] The comparison of path metric for RANN with same sequence number should be done
    before deciding whether to propagate or not.

Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mesh.h
net/mac80211/mesh_hwmp.c