]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix and improve mesh RANN processing
authorChun-Yeow Yeoh <yeohchunyeow@gmail.com>
Fri, 15 Jun 2012 02:20:02 +0000 (10:20 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 18 Jun 2012 17:18:55 +0000 (19:18 +0200)
commit1c590b87d91f87e7634ba9804897c584e2d951bb
tree48869c5bb2d00d9aab2008eca8bb8021bd5f379b
parent41d445f844d6eb1dbebed5d94daa0b2989bf39f4
mac80211: fix and improve mesh RANN processing

This patch fixes the problem of dropping RANN element if the TTL
is 1. If the received RANN element TTL is 1 or greater than 1, the
RANN is processed. However, forwarding of received RANN element
with TTL 1 or less is prohibited according to the standard. This
is previously reported by Monthadar Al Jaberi.

Besides, this patch also avoid the processing of unicast PREQ
generation if the RANN element does not meet the acceptance
criteria mentioned in Sec. 13.10.12.4.2 of IEEE Std. 802.11-2012.

Reported-by: Monthadar Al Jaberi <monthadar@gmail.com>
Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh_hwmp.c