1. 29 Sep, 2009 3 commits
    • Jouni Malinen's avatar
      mac80211_hwsim: Fix initial beacon timer configuration · ffed1307
      Jouni Malinen authored
      mac80211_hwsim does not start transmitting Beacon frames when hostapd
      is started for the first time and restarting hostapd fixes this. The
      issue is caused by the config() handler not being able to start
      beacon_timer when beacon interval is not yet known and
      bss_info_changed() handler not starting the timer. This can be fixed by
      making the bss_info_changed() update the timer.
      Signed-off-by: default avatarJouni Malinen <j@w1.fi>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      ffed1307
    • Michael Buesch's avatar
      b43: Always use block-I/O for the PIO data registers · b96ab540
      Michael Buesch authored
      On SDIO the PIO data register seems to be hardwired to LE. So
      the MACCTL bit has no effect on the endianness.
      So also use block-I/O for the last word of the packet. block-I/O is always LE.
      Signed-off-by: default avatarMichael Buesch <mb@bu3sch.de>
      Tested-by: default avatarAlbert Herranz <albert_herranz@yahoo.es>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      b96ab540
    • Igor Perminov's avatar
      mac80211: Fix [re]association power saving issue on AP side · 1f08e84f
      Igor Perminov authored
      Consider the following step-by step:
      1. A STA authenticates and associates with the AP and exchanges
      traffic.
      2. The STA reports to the AP that it is going to PS state.
      3. Some time later the STA device goes to the stand-by mode (not only
      its wi-fi card, but the device itself) and drops the association state
      without sending a disassociation frame.
      4. The STA device wakes up and begins authentication with an
      Auth frame as it hasn't been authenticated/associated previously.
      
      At the step 4 the AP "remembers" the STA and considers it is still in
      the PS state, so the AP buffers frames, which it has to send to the STA.
      But the STA isn't actually in the PS state and so it neither checks
      TIM bits nor reports to the AP that it isn't power saving.
      Because of that authentication/[re]association fails.
      
      To fix authentication/[re]association stage of this issue, Auth, Assoc
      Resp and Reassoc Resp frames are transmitted disregarding of STA's power
      saving state.
      
      N.B. This patch doesn't fix further data frame exchange after
      authentication/[re]association. A patch in hostapd is required to fix
      that.
      Signed-off-by: default avatarIgor Perminov <igor.perminov@inbox.ru>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      1f08e84f
  2. 28 Sep, 2009 17 commits
  3. 27 Sep, 2009 17 commits
  4. 25 Sep, 2009 3 commits