]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: use only 1Mbps for basic rates in mesh
authorJohannes Berg <johannes.berg@intel.com>
Tue, 30 Jan 2018 12:17:38 +0000 (13:17 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 31 Jan 2018 11:38:56 +0000 (12:38 +0100)
commit793e8b0e992ea308ce32b979c8d425ea6fee64d5
tree890cea6e0a50ba10cd6736a11c384eafc75f9234
parent77c78e063fb0bbfaf99d1425dce0f7a07131c27e
cfg80211: use only 1Mbps for basic rates in mesh

Mesh used to use the mandatory rates as basic rates, but we got
the calculation of mandatory rates wrong until some time ago.
Fix this this broke interoperability with older versions since
now more basic rates are required, and thus the MBSS isn't the
same and the network stops working.

Fix this by simply using only 1Mbps as the basic rate in 2.4GHz.
Since the changed mandatory rates only affected 2.4GHz, this is
all we need to make it work again.

Reported-and-tested-by: Matthias Schiffer <mschiffer@universe-factory.net>
Fixes: c28aea151813 ("wireless: set correct mandatory rate flags")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/mesh.c