1. 30 Nov, 2012 13 commits
  2. 26 Nov, 2012 25 commits
  3. 23 Nov, 2012 2 commits
    • Johannes Berg's avatar
      cfg80211: use DS or HT operation IEs to determine BSS channel · 0172bb75
      Johannes Berg authored
      Currently, mac80211 checks the DS params IE if present and
      uses it for the (primary) BSS channel, instead of the one
      that the frame was received on. This is particularly useful
      in the 2.4 GHz band since a frame is often received on one
      of the adjacent channels due to overlap.
      
      Move this code to cfg80211 so other drivers also do this.
      
      Additionally, on 5 GHz, in particular with some (possibly)
      upcoming changes in 802.11ai and duplicate transmissions
      when wider channels are used, something similar happens.
      So if present, also use the (primary) channel information
      contained in the HT operation IE.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      0172bb75
    • Johannes Berg's avatar
      mac80211: disable HT advertising unless AP supports it · 03ae834f
      Johannes Berg authored
      If the AP doesn't support HT, or more importantly if
      it does but we have to disable it because its IEs are
      broken, don't advertise HT support in our association
      request. Otherwise, we configure our channel to be a
      20 MHz non-HT channel but the AP might still think we
      support HT, or even 40 MHz.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      03ae834f