1. 02 10月, 2020 4 次提交
  2. 08 6月, 2020 1 次提交
  3. 05 6月, 2020 1 次提交
  4. 29 5月, 2020 1 次提交
  5. 08 5月, 2020 2 次提交
  6. 24 4月, 2020 1 次提交
  7. 27 3月, 2020 2 次提交
  8. 04 2月, 2020 2 次提交
  9. 15 1月, 2020 1 次提交
  10. 24 12月, 2019 1 次提交
  11. 23 12月, 2019 2 次提交
  12. 20 11月, 2019 1 次提交
  13. 15 11月, 2019 1 次提交
  14. 25 10月, 2019 3 次提交
  15. 09 10月, 2019 1 次提交
    • N
      iwlwifi: mvm: fix race in sync rx queue notification · a2113cc4
      Naftali Goldstein 提交于
      Consider the following flow:
       1. Driver starts to sync the rx queues due to a delba.
          mvm->queue_sync_cookie=1.
          This rx-queues-sync is synchronous, so it doesn't increment the
          cookie until all rx queues handle the notification from FW.
       2. During this time, driver starts to sync rx queues due to nssn sync
          required.
          The cookie's value is still 1, but it doesn't matter since this
          rx-queue-sync is non-synchronous so in the notification handler the
          cookie is ignored.
          What _does_ matter is that this flow increments the cookie to 2
          immediately.
          Remember though that the FW won't start servicing this command until
          it's done with the previous one.
       3. FW is still handling the first command, so it sends a notification
          with internal_notif->sync=1, and internal_notif->cookie=0, which
          triggers a WARN_ONCE.
      
      The solution for this race is to only use the mvm->queue_sync_cookie in
      case of a synchronous sync-rx-queues. This way in step 2 the cookie's
      value won't change so we avoid the WARN.
      
      The commit in the "fixes" field is the first commit to introduce
      non-synchronous sending of this command to FW.
      
      Fixes: 3c514bf8 ("iwlwifi: mvm: add a loose synchronization of the NSSN across Rx queues")
      Signed-off-by: NNaftali Goldstein <naftali.goldstein@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      a2113cc4
  16. 06 9月, 2019 14 次提交
  17. 20 8月, 2019 1 次提交
    • I
      iwlwifi: mvm: Allow multicast data frames only when associated · 50f56044
      Ilan Peer 提交于
      The MAC context configuration always allowed multicast data frames
      to pass to the driver for all MAC context types, and in the
      case of station MAC context both when associated and when not
      associated.
      
      One of the outcomes of this configuration is having the FW forward
      encrypted multicast frames to the driver with Rx status indicating
      that the frame was not decrypted (as expected, since no keys were
      configured yet) which in turn results with unnecessary error
      messages.
      
      Change this behavior to allow multicast data frames only when they
      are actually expected, e.g., station MAC context is associated etc.
      Signed-off-by: NIlan Peer <ilan.peer@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      50f56044
  18. 31 7月, 2019 1 次提交