1. 25 3月, 2013 2 次提交
  2. 24 3月, 2013 2 次提交
    • B
      mac80211: Don't restart sta-timer if not associated. · 370bd005
      Ben Greear 提交于
      I found another crash when deleting lots of virtual stations
      in a congested environment.  I think the problem is that
      the ieee80211_mlme_notify_scan_completed could call
      ieee80211_restart_sta_timer for a stopped interface
      that was about to be deleted.
      
      With the following patch I am unable to reproduce the
      crash.
      Signed-off-by: NBen Greear <greearb@candelatech.com>
      [move check, also make the same change in mesh]
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      370bd005
    • J
      cfg80211: always check for scan end on P2P device · f9f47529
      Johannes Berg 提交于
      If a P2P device wdev is removed while it has a scan, then the
      scan completion might crash later as it is already freed by
      that time. To avoid the crash always check the scan completion
      when the P2P device is being removed for some reason. If the
      driver already canceled it, don't want and free it, otherwise
      warn and leak it to avoid later crashes.
      
      In order to do this, locking needs to be changed away from the
      rdev mutex (which can't always be guaranteed). For now, use
      the sched_scan_mtx instead, I'll rename it to just scan_mtx in
      a later patch.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      f9f47529
  3. 21 3月, 2013 2 次提交
  4. 11 3月, 2013 1 次提交
  5. 07 3月, 2013 3 次提交
  6. 03 3月, 2013 1 次提交
  7. 02 3月, 2013 1 次提交
    • J
      mac80211: fix VHT MCS calculation · 24af717c
      Johannes Berg 提交于
      The VHT MCSes we advertise to the AP were supposed to
      be restricted to the AP, but due to a bug in the logic
      mac80211 will advertise rates to the AP that aren't
      even supported by the local device. To fix this skip
      any adjustment if the NSS isn't supported at all.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      24af717c
  8. 01 3月, 2013 2 次提交
    • M
      mac80211: fix oops on mesh PS broadcast forwarding · 7cbf9d01
      Marco Porsch 提交于
      Introduced with de74a1d9
      "mac80211: fix WPA with VLAN on AP side with ps-sta".
      Apparently overwrites the sdata pointer with non-valid data in
      the case of mesh.
      Fix this by checking for IFTYPE_AP_VLAN.
      Signed-off-by: NMarco Porsch <marco@cozybit.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      7cbf9d01
    • J
      nl80211: increase wiphy dump size dynamically · 645e77de
      Johannes Berg 提交于
      Given a device with many channels capabilities the wiphy
      information can still overflow even though its size in
      3.9 was reduced to 3.8 levels. For new userspace and
      kernel 3.10 we're going to implement a new "split dump"
      protocol that can use multiple messages per wiphy.
      
      For now though, add a workaround to be able to send more
      information to userspace. Since generic netlink doesn't
      have a way to set the minimum dump size globally, and we
      wouldn't really want to set it globally anyway, increase
      the size only when needed, as described in the comments.
      As userspace might not be prepared for large buffers, we
      can only use 4k.
      
      Also increase the size for the get_wiphy command.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      645e77de
  9. 28 2月, 2013 1 次提交
  10. 27 2月, 2013 6 次提交
  11. 26 2月, 2013 4 次提交
  12. 23 2月, 2013 3 次提交
  13. 19 2月, 2013 12 次提交