1. 26 Aug, 2013 2 commits
  2. 23 Aug, 2013 4 commits
  3. 22 Aug, 2013 1 commit
  4. 16 Aug, 2013 3 commits
    • Johannes Berg's avatar
      mac80211: add APIs to allow keeping connections after WoWLAN · 27b3eb9c
      Johannes Berg authored
      In order to be able to (securely) keep connections alive after
      the system was suspended for WoWLAN, we need some additional
      APIs. We already have API (ieee80211_gtk_rekey_notify) to tell
      wpa_supplicant about the new replay counter if GTK rekeying
      was done by the device while the host was asleep, but that's
      not sufficient.
      
      If GTK rekeying wasn't done, we need to tell the host about
      sequence counters for the GTK (and PTK regardless of rekeying)
      that was used while asleep, add ieee80211_set_key_rx_seq() for
      that.
      
      If GTK rekeying was done, then we need to be able to disable
      the old keys (with ieee80211_remove_key()) and allocate the
      new GTK key(s) in mac80211 (with ieee80211_gtk_rekey_add()).
      
      If protocol offload (e.g. ARP) is implemented, then also the
      TX sequence counter for the PTK must be updated, using the new
      ieee80211_set_key_tx_seq() function.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      27b3eb9c
    • Simon Wunderlich's avatar
      mac80211: move ibss presp generation in own function · d51b70ff
      Simon Wunderlich authored
      Channel Switch will later require to generate beacons without setting
      them immediately. Therefore split the presp generation in an own
      function. Splitting the original very long function might be a good idea
      anyway.
      Signed-off-by: default avatarSimon Wunderlich <siwu@hrz.tu-chemnitz.de>
      Signed-off-by: default avatarMathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de>
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      d51b70ff
    • Johan Almbladh's avatar
      mac80211: perform power save processing before decryption · 86c228a7
      Johan Almbladh authored
      This patch decouples the power save processing from the frame decryption
      by running the decrypt rx handler after sta_process. In the case where
      the decryption failed for some reason, the stack used to not process
      the PM and MOREDATA bits for that frame. The stack now always performs
      power save processing regardless of the decryption result. That means that
      encrypted data frames and NULLFUNC frames are now handled in the same way
      regarding power save processing, making the stack more robust.
      Signed-off-by: default avatarJohan Almbladh <ja@anyfi.net>
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      86c228a7
  5. 15 Aug, 2013 1 commit
  6. 12 Aug, 2013 5 commits
  7. 09 Aug, 2013 2 commits
  8. 06 Aug, 2013 1 commit
  9. 01 Aug, 2013 8 commits
  10. 16 Jul, 2013 13 commits