]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commite060e7adc296c0b3eab1d7b96f36b496733109e4
treec97610d4f6bf6ddbe39429d84ee7236b1353e75d
parent8df734e865b74d9f273216482a45a38269dc767a
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