Skip to content

Commit

Permalink
mac80211: properly track HT/VHT operation changes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johannes Berg committed Feb 15, 2013
1 parent 6565ec9 commit 30eb1dc
Showing 1 changed file with 168 additions and 68 deletions.
Loading

0 comments on commit 30eb1dc

Please sign in to comment.