]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: Always check rates and capabilities in mesh mode
authorAlexis Green <agreen@cococorp.com>
Tue, 9 Jun 2015 20:00:43 +0000 (13:00 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 9 Jun 2015 20:05:06 +0000 (22:05 +0200)
commit78e7ef5d18d868956ad1f0ec12e7f7c95b424597
treec97610d4f6bf6ddbe39429d84ee7236b1353e75d
parent53609d68dac5b86f98ed19feb01591d91a65fc07
mac80211: Always check rates and capabilities in mesh mode

In mesh mode there is a race between establishing links and processing
rates and capabilities in beacons. This is very noticeable with slow
beacons (e.g. beacon intervals of 1s) and manifested for us as stations
using minstrel when minstrel_ht should be used. Fixed by changing
mesh_sta_info_init so that it always checks rates and such if it has not
already done so.

Signed-off-by: Alexis Green <agreen@cococorp.com>
CC: Jesse Jones <jjones@cococorp.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh_plink.c
net/mac80211/sta_info.h