1. 28 11月, 2017 1 次提交
  2. 25 11月, 2017 1 次提交
  3. 03 11月, 2017 4 次提交
  4. 06 10月, 2017 4 次提交
  5. 08 9月, 2017 4 次提交
  6. 30 8月, 2017 1 次提交
    • D
      iwlwifi: mvm: Avoid deferring non bufferable frames · eb045e6e
      David Spinadel 提交于
      Use bcast station for all non bufferable frames on AP and AD-HOC.
      
      The host is no longer aware of STAs PS status because of buffer
      station offload, so we can't rely on mac80211 to toggle on
      IEEE80211_TX_CTL_NO_PS_BUFFER bit.
      
      A possible issue with buffering such frames, beside the obvious spec
      violation, is when a station disconnects while in PS but the AP isn't
      aware of that. In such scenarios the AP won't be able to send probe
      responses or auth frames so the STA won't be able to reconnect and
      the AP will have a queue hang.
      
      Fixes: 3e56eadf ("iwlwifi: mvm: implement AP/GO uAPSD support")
      Signed-off-by: NDavid Spinadel <david.spinadel@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      eb045e6e
  7. 18 8月, 2017 2 次提交
  8. 09 8月, 2017 1 次提交
    • A
      iwlwifi: mvm: start mac queues when deferred tx frames are purged · 7e39a00d
      Avraham Stern 提交于
      In AP mode, if a station is removed just as it is adding a new stream,
      the queue in question will remain stopped and no more TX will happen
      in this queue, leading to connection failures and other problems.
      
      This is because under DQA, when tx is deferred because a queue needs
      to be allocated, the mac queue for that TID is stopped until the new
      stream is added.  If at this point the station that this stream
      belongs to is removed, all the deferred tx frames are purged, but the
      mac queue is not restarted. As a result, all following tx on this
      queue will not be transmitted.
      
      Fix this by starting the relevant mac queues when the deferred tx
      frames are purged.
      
      Fixes: 24afba76 ("iwlwifi: mvm: support bss dynamic alloc/dealloc of queues")
      Signed-off-by: NAvraham Stern <avraham.stern@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      7e39a00d
  9. 01 8月, 2017 7 次提交
  10. 21 7月, 2017 1 次提交
    • J
      iwlwifi: mvm: defer setting IWL_MVM_STATUS_IN_HW_RESTART · bf8b286f
      Johannes Berg 提交于
      A hardware/firmware error may happen at any point in time. In
      particular, it might happen while mac80211 is in the middle of
      a flow. We observed the following situation:
       * mac80211 is in authentication flow, in ieee80211_prep_connection()
       * iwlwifi firmware crashes, but no error can be reported at this
         precise point (mostly because the driver method is void, but even
         if it wasn't we'd just shift to a race condition)
       * mac80211 continues the flow, trying to add the AP station
       * iwlwifi has already set its internal restart flag, and so thinks
         that adding the station is part of the restart and already set up,
         so it uses the information that's supposed to already be in the
         struct
      
      This can happen with any flow in mac80211 and with any information
      we try to preserve across hardware restarts.
      
      To fix this, only set a new HW_RESTART_REQUESTED flag and translate
      that to IN_HW_RESTART once mac80211 actually starts the restart by
      calling our start() method. As a consequence, any mac80211 flow in
      progress at the time of the restart will properly finish (certainly
      with errors), before the restart is attempted.
      
      This fixes https://bugzilla.kernel.org/show_bug.cgi?id=195299.
      Reported-by: Ndjagoo <dev@djagoo.io>
      Reported-by: NŁukasz Siudut <lsiudut@gmail.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      bf8b286f
  11. 29 6月, 2017 3 次提交
  12. 23 6月, 2017 5 次提交
  13. 06 6月, 2017 3 次提交
  14. 02 6月, 2017 2 次提交
  15. 27 4月, 2017 1 次提交