]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: mesh: fix HWMP sequence numbering to follow standard
authorYuan-Chi Pang <fu3mo6goo@gmail.com>
Wed, 29 Aug 2018 01:30:08 +0000 (09:30 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 29 Aug 2018 09:15:30 +0000 (11:15 +0200)
commit9487d2061a450788a14e26b36f1d265bc3529d63
treeebb2fa1f5e722471fd0ebfa2b9840ff8b6c53f01
parentdd38ebc9dfa7ac7b1730c1cc68785f4cecc41996
mac80211: mesh: fix HWMP sequence numbering to follow standard

IEEE 802.11-2016 14.10.8.3 HWMP sequence numbering says:
If it is a target mesh STA, it shall update its own HWMP SN to
maximum (current HWMP SN, target HWMP SN in the PREQ element) + 1
immediately before it generates a PREP element in response to a
PREQ element.

Signed-off-by: Yuan-Chi Pang <fu3mo6goo@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh_hwmp.c