1. 29 11月, 2011 2 次提交
  2. 22 11月, 2011 3 次提交
  3. 12 11月, 2011 2 次提交
  4. 10 11月, 2011 3 次提交
  5. 09 11月, 2011 1 次提交
  6. 03 11月, 2011 1 次提交
  7. 15 10月, 2011 1 次提交
    • H
      mac80211: Build TX radiotap header dynamically · a2fe8166
      Helmut Schaa 提交于
      Get rid of the ieee80211_tx_status_rtap_hdr struct and instead build the
      rtap header dynamically. This makes it easier to extend the rtap header
      generation in the future.
      
      Add ieee80211_tx_radiotap_len to calculate the expected size of the
      rtap header before generating it. Since we can't check if the rtap
      header fits into the requested headroom during compile time anymore
      add a WARN_ON_ONCE.
      
      Also move the actual rtap header generation into its own function.
      Signed-off-by: NHelmut Schaa <helmut.schaa@googlemail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      a2fe8166
  8. 12 10月, 2011 3 次提交
  9. 01 10月, 2011 3 次提交
  10. 28 9月, 2011 2 次提交
  11. 15 9月, 2011 3 次提交
  12. 25 8月, 2011 1 次提交
  13. 13 8月, 2011 1 次提交
  14. 09 8月, 2011 1 次提交
  15. 21 7月, 2011 1 次提交
  16. 20 7月, 2011 1 次提交
  17. 19 7月, 2011 1 次提交
  18. 14 7月, 2011 1 次提交
    • J
      mac80211: allow driver to disconnect after resume · 95acac61
      Johannes Berg 提交于
      In WoWLAN, devices may use crypto keys for TX/RX
      and could also implement GTK rekeying. If the
      driver isn't able to retrieve replay counters and
      similar information from the device upon resume,
      or if the device isn't responsive due to platform
      issues, it isn't safe to keep the connection up
      as GTK rekey messages from during the sleep time
      could be replayed against it.
      
      The only protection against that is disconnecting
      from the AP. Modifying mac80211 to do that while
      it is resuming would be very complex and invasive
      in the case that the driver requires a reconfig,
      so do it after it has resumed completely. In that
      case, however, packets might be replayed since it
      can then only happen after TX/RX are up again, so
      mark keys for interfaces that need to disconnect
      as "tainted" and drop all packets that are sent
      or received with those keys.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      95acac61
  19. 12 7月, 2011 1 次提交
  20. 08 7月, 2011 1 次提交
    • J
      mac80211: simplify RX PN/IV handling · 9e26297a
      Johannes Berg 提交于
      The current rx->queue value is slightly confusing.
      It is set to 16 on non-QoS frames, including data,
      and then used for sequence number and PN/IV checks.
      Until recently, we had a TKIP IV checking bug that
      had been introduced in 2008 to fix a seqno issue.
      Before that, we always used TID 0 for checking the
      PN or IV on non-QoS packets.
      
      Go back to the old status for PN/IV checks using
      the TID 0 counter for non-QoS by splitting up the
      rx->queue value into "seqno_idx" and "security_idx"
      in order to avoid confusion in the future. They
      each have special rules on the value used for non-
      QoS data frames.
      
      Since the handling is now unified, also revert the
      special TKIP handling from my patch
      "mac80211: fix TKIP replay vulnerability".
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      9e26297a
  21. 06 7月, 2011 1 次提交
  22. 28 6月, 2011 1 次提交
  23. 07 6月, 2011 1 次提交
  24. 17 5月, 2011 1 次提交
    • J
      mac80211: sparse RCU annotations · 40b275b6
      Johannes Berg 提交于
      This adds sparse RCU annotations to most of
      mac80211, only the mesh code remains to be
      done.
      
      Due the the previous patches, the annotations
      are pretty simple. The only thing that this
      actually changes is removing the RCU usage of
      key->sta in debugfs since this pointer isn't
      actually an RCU-managed pointer (it only has
      a single assignment done before the key even
      goes live). As that is otherwise harmless, I
      decided to make it part of this patch.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      40b275b6
  25. 13 5月, 2011 1 次提交
  26. 12 5月, 2011 2 次提交
    • L
      mac80211: add support for HW scheduled scan · 79f460ca
      Luciano Coelho 提交于
      Implement support for HW scheduled scan.  The mac80211 code doesn't perform
      scheduled scans itself, but calls the driver to start and stop scheduled
      scans.
      
      This patch also creates a trace event class to be used by drv_hw_scan
      and the new drv_sched_scan_start and drv_sched_stop functions, in
      order to avoid duplicate code.
      Signed-off-by: NLuciano Coelho <coelho@ti.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      79f460ca
    • J
      nl80211: Introduce NL80211_MESH_SETUP_USERSPACE_AMPE · b130e5ce
      Javier Cardona 提交于
      Introduce a new configuration option to support AMPE from userspace.
      
      Prior to this series we only supported authentication in userspace: an
      authentication daemon would authenticate peer candidates in userspace
      and hand them over to the kernel.  From that point the mesh stack would
      take over and establish a peer link (Mesh Peering Management).
      
      These patches introduce support for Authenticated Mesh Peering Exchange
      in userspace.  The userspace daemon implements the AMPE protocol and on
      successfull completion create mesh peers and install encryption keys.
      Signed-off-by: NJavier Cardona <javier@cozybit.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      b130e5ce