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)
commit30eb1dc2c43039e0fe278e6f3a288de9f216d70d
tree6b0e1563c595b8093238cffd20c42c074bc673a5
parent6565ec9b58483a9706fbe888364aeceb359aeced
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
This page took 0.024409 seconds and 5 git commands to generate.