]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: properly track HT/VHT operation changes
authorJohannes Berg <johannes.berg@intel.com>
Fri, 8 Feb 2013 14:12:14 +0000 (15:12 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 15 Feb 2013 08:41:37 +0000 (09:41 +0100)
commit5850df297f228f2e4cf63a06560ef1b47abf4d60
tree6b0e1563c595b8093238cffd20c42c074bc673a5
parentf7562696352e075637c3bb45a86e68c3bd414530
mac80211: properly track HT/VHT operation changes

A while ago, I made the mac80211 station code never change
the channel type after association. This solved a number of
issues but is ultimately wrong, we should react if the AP
changes the HT operation IE and switches bandwidth. One of
the issues is that we associate as HT40 capable, but if the
AP ever switches to 40 MHz we won't be able to receive such
frames because we never set our channel to 40 MHz.

This addresses this and VHT operation changes. If there's a
change that is incompatible with our setup, e.g. if the AP
decides to change the channel entirely (and for some reason
we still hear the beacon) we'll just disconnect.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c