mac80211: implement the proactive PREQ generation
authorChun-Yeow Yeoh <yeohchunyeow@gmail.com>
Wed, 13 Jun 2012 18:06:07 +0000 (02:06 +0800)
committerChristian Lamparter <chunkeey@googlemail.com>
Sat, 21 Jul 2012 13:37:22 +0000 (15:37 +0200)
commit9b75301418ea9b9ff86c9fa1b53c1a09bbce6c26
tree64556f98b81614d6b987ef4ae83c4fec8cf87d98
parent1295ca8d31a91f62a47f76b25b1018e88aa823d7
mac80211: implement the proactive PREQ generation

Generate the proactive PREQ element as defined in
Sec. 13.10.9.3 (Case C) of IEEE Std. 802.11-2012
based on the selection of dot11MeshHWMPRootMode as follow:
dot11MeshHWMPRootMode (2) is proactivePREQnoPREP
dot11MeshHWMPRootMode (3) is proactivePREQwithPREP

The proactive PREQ is generated based on the interval
defined by dot11MeshHWMProotInterval.

With this change, proactive RANN element is now generated
if the dot11MeshHWMPRootMode is set to (4) instead of (1).

Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
[line-break commit log]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
include/linux/ieee80211.h