1. 16 Apr, 2013 3 commits
    • Johannes Berg's avatar
      mac80211: unify CSA action frame/beacon processing · 37799e52
      Johannes Berg authored
      CSA action frame content should be processed as variable IEs
      rather than fixed to make it extensible. Unify the code and
      process them just like CSA in beacons to make it easier to
      extend for HT/VHT.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      37799e52
    • Johannes Berg's avatar
      mac80211: use second center_freq segment only in 80+80 · 6553bf04
      Johannes Berg authored
      The field is otherwise reserved, so we shouldn't read
      and reject it, though any sane system will probably
      have to set it to 0 anyway.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      6553bf04
    • Johannes Berg's avatar
      wireless: regulatory: fix channel disabling race condition · 990de49f
      Johannes Berg authored
      When a full scan 2.4 and 5 GHz scan is scheduled, but then the 2.4 GHz
      part of the scan disables a 5.2 GHz channel due to, e.g. receiving
      country or frequency information, that 5.2 GHz channel might already
      be in the list of channels to scan next. Then, when the driver checks
      if it should do a passive scan, that will return false and attempt an
      active scan. This is not only wrong but can also lead to the iwlwifi
      device firmware crashing since it checks regulatory as well.
      
      Fix this by not setting the channel flags to just disabled but rather
      OR'ing in the disabled flag. That way, even if the race happens, the
      channel will be scanned passively which is still (mostly) correct.
      
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      990de49f
  2. 11 Apr, 2013 2 commits
  3. 10 Apr, 2013 7 commits
  4. 08 Apr, 2013 20 commits
  5. 25 Mar, 2013 5 commits
  6. 22 Mar, 2013 3 commits