]> 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)
commit920a51d70403e7a7f16203c066a12efe1352ca50
tree890cea6e0a50ba10cd6736a11c384eafc75f9234
parente92df126fc05ccd4477184b93b275d0a362add7e
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: 8d8e8ce01be5 ("wireless: set correct mandatory rate flags")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/mesh.c