1. 11 Nov, 2011 1 commit
    • 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 39 commits