1. 11 Nov, 2011 2 commits
    • Arik Nemtsov's avatar
      mac80211: init rate-control for TDLS sta when supp-rates are known · d64cf63e
      Arik Nemtsov authored
      Initialize rate control algorithms only when supported rates are known
      for a TDLS peer sta. Direct Tx between peers is not allowed before the
      link is enabled. In turn, this only occurs after a change_station()
      call that sets supported rates.
      Signed-off-by: default avatarArik Nemtsov <arik@wizery.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      d64cf63e
    • Dmitry Tarnyagin's avatar
      cfg80211: merge in beacon ies of hidden bss. · dd9dfb9f
      Dmitry Tarnyagin authored
      The problem with PSM when a hidden SSID was used was originally
      reported by Juuso Oikarinen.
      
       - When generally scanning, the AP is getting a bss entry with
         a zero SSID.
       - When associating, a probe-req is sent to the AP with the SSID,
         and as a result a probe-response is received with the hidden
         SSID in place. As a consequence, a second bss entry is created
         for the AP, now with the real SSID.
       - After association, mac80211 executes ieee80211_recalc_ps(),
         but does not switch to powersave because the beacon-ies are missing.
      
      As result, the STA does not ever enter PSM.
      
      The patch merges in beacon ies of hidden bss from beacon to the probe
      response, creating a consistent set of ies in place.
      
      Patch is depended on "cfg80211: fix cmp_ies" made by Johannes.
      Signed-off-by: default avatarDmitry Tarnyagin <dmitry.tarnyagin@stericsson.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      dd9dfb9f
  2. 09 Nov, 2011 38 commits