1. 24 6月, 2013 1 次提交
  2. 18 6月, 2013 1 次提交
    • A
      Revert "mac80211: in IBSS use the Auth frame to trigger STA reinsertion" · 52874a5e
      Antonio Quartulli 提交于
      This reverts commit 6d810f10
      
      In this way an IBSS station will not use the AUTH messages
      to trigger a state reinitialisation anymore.
      
      The behaviour was racy and was not working properly.
      It has been introduced to help wpa_supplicant to support
      IBSS/RSN, however all the logic is now getting moved into
      wpa_s itself which will also be in charge of handling the
      AUTH messages thanks to the mgmt frame registration.
      
      If userspace does not register for receiving AUTH frames
      then mac80211 will still reply by itself.
      
      At the same time, the auth frame registration counter can be
      removed since it is not needed anymore.
      Signed-off-by: NAntonio Quartulli <antonio@open-mesh.com>
      [remove unused variable]
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      52874a5e
  3. 12 6月, 2013 1 次提交
  4. 11 6月, 2013 3 次提交
  5. 03 6月, 2013 1 次提交
  6. 29 5月, 2013 1 次提交
  7. 25 5月, 2013 1 次提交
    • J
      cfg80211/mac80211: use cfg80211 wdev mutex in mac80211 · 8d61ffa5
      Johannes Berg 提交于
      Using separate locks in cfg80211 and mac80211 has always
      caused issues, for example having to unlock in places in
      mac80211 to call cfg80211, which even needed a framework
      to make cfg80211 calls after some functions returned etc.
      
      Additionally, I suspect some issues people have reported
      with the cfg80211 state getting confused could be due to
      such issues, when cfg80211 is asking mac80211 to change
      state but mac80211 is in the process of telling cfg80211
      that the state changed (in another way.)
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      8d61ffa5
  8. 17 5月, 2013 3 次提交
  9. 22 4月, 2013 1 次提交
  10. 17 4月, 2013 1 次提交
  11. 11 4月, 2013 1 次提交
  12. 08 4月, 2013 1 次提交
  13. 26 3月, 2013 1 次提交
  14. 25 3月, 2013 1 次提交
  15. 22 3月, 2013 1 次提交
  16. 11 3月, 2013 2 次提交
  17. 07 3月, 2013 1 次提交
  18. 06 3月, 2013 8 次提交
  19. 28 2月, 2013 1 次提交
  20. 27 2月, 2013 1 次提交
  21. 15 2月, 2013 7 次提交
  22. 12 2月, 2013 1 次提交
    • S
      mac80211: Fix tx queue handling during scans · 6c17b77b
      Seth Forshee 提交于
      Scans currently work by stopping the netdev tx queues but leaving the
      mac80211 queues active. This stops the flow of incoming packets while
      still allowing mac80211 to transmit nullfunc and probe request frames to
      facilitate scanning. However, the driver may try to wake the mac80211
      queues while in this state, which will also wake the netdev queues.
      
      To prevent this, add a new queue stop reason,
      IEEE80211_QUEUE_STOP_REASON_OFFCHANNEL, to be used when stopping the tx
      queues for off-channel operation. This prevents the netdev queues from
      waking when a driver wakes the mac80211 queues.
      
      This also stops all frames from being transmitted, even those meant to
      be sent off-channel. Add a new tx control flag,
      IEEE80211_TX_CTL_OFFCHAN_TX_OK, which allows frames to be transmitted
      when the queues are stopped only for the off-channel stop reason. Update
      all locations transmitting off-channel frames to use this flag.
      Signed-off-by: NSeth Forshee <seth.forshee@canonical.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      6c17b77b