1. 08 5月, 2020 1 次提交
  2. 09 1月, 2020 1 次提交
  3. 24 12月, 2019 2 次提交
  4. 23 12月, 2019 1 次提交
    • J
      iwlwifi: pcie: allocate smaller dev_cmd for TX headers · a89c72ff
      Johannes Berg 提交于
      As noted in the previous commit, due to the way we allocate the
      dev_cmd headers with 324 byte size, and 4/8 byte alignment, the
      part we use of them (bytes 20..40-68) could still cross a page
      and thus 2^32 boundary.
      
      Address this by using alignment to ensure that the allocation
      cannot cross a page boundary, on hardware that's affected. To
      make that not cause more memory consumption, reduce the size of
      the allocations to the necessary size - we go from 324 bytes in
      each allocation to 60/68 on gen2 depending on family, and ~120
      or so on gen1 (so on gen1 it's a pure reduction in size, since
      we don't need alignment there).
      
      To avoid size and clearing issues, add a new structure that's
      just the header, and use kmem_cache_zalloc().
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      a89c72ff
  5. 15 11月, 2019 2 次提交
  6. 25 10月, 2019 2 次提交
  7. 06 9月, 2019 3 次提交
  8. 31 7月, 2019 1 次提交
  9. 29 6月, 2019 3 次提交
  10. 21 2月, 2019 4 次提交
  11. 26 1月, 2019 5 次提交
  12. 20 12月, 2018 4 次提交
  13. 11 11月, 2018 3 次提交
  14. 08 10月, 2018 1 次提交
    • J
      iwlwifi: mvm: kill INACTIVE queue state · 724fe771
      Johannes Berg 提交于
      We don't really need this state: instead of having an inactive
      state where we can awaken zombie queues again if needed, just
      keep them in their normal state unless a new queue is actually
      needed and there's no other way of getting one.
      
      We do this here by making the inactivity check not free queues
      unless instructed that we now really need to allocate one to a
      specific station, and in that case it'll just free the queue
      immediately, without doing any inactivity step inbetween.
      
      The only downside is a little bit more processing in this case,
      but the code complexity is lower.
      
      Additionally, this fixes a corner case: due to the way the code
      worked, we could only ever reuse an inactive queue if it was
      the reserved queue for a station, as iwl_mvm_find_free_queue()
      would never consider returning an inactive queue.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      724fe771
  15. 06 10月, 2018 1 次提交
  16. 28 9月, 2018 1 次提交
  17. 31 8月, 2018 5 次提交