]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerJuerg Haefliger <juergh@canonical.com>
Wed, 24 Jul 2019 01:51:58 +0000 (19:51 -0600)
commit333ead75df360c7f18b5db27fea17bf6b1a03ff0
tree507312f6b01553eecb4ba7d172bb6f7ffa92be5a
parentcc4723a783b7559d7630f4a57191918169cc6b2d
mac80211: mesh: fix HWMP sequence numbering to follow standard

BugLink: https://bugs.launchpad.net/bugs/1836426
[ Upstream commit 1f631c3201fe5491808df143d8fcba81b3197ffd ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
net/mac80211/mesh_hwmp.c