1. 11 11月, 2018 3 次提交
  2. 08 10月, 2018 2 次提交
  3. 06 10月, 2018 1 次提交
  4. 28 9月, 2018 1 次提交
  5. 31 8月, 2018 3 次提交
  6. 26 4月, 2018 1 次提交
  7. 20 4月, 2018 6 次提交
  8. 29 3月, 2018 2 次提交
  9. 28 3月, 2018 1 次提交
    • L
      iwlwifi: mvm: check if mac80211_queue is valid in iwl_mvm_disable_txq · 9a233bb8
      Luca Coelho 提交于
      Sometimes iwl_mvm_disable_txq() may be called with mac80211_queue ==
      IEEE80211_INVAL_HW_QUEUE, and this would cause us to use BIT(0xFF)
      which is way too large for the u16 we used to store it in
      hw_queue_to_mac820211.  If this happens the following UBSAN warning
      will be generated:
      
      [  167.185167] UBSAN: Undefined behaviour in drivers/net/wireless/intel/iwlwifi/mvm/utils.c:838:5
      [  167.185171] shift exponent 255 is too large for 64-bit type 'long unsigned int'
      
      Fix that by checking that it is not IEEE80211_INVAL_HW_QUEUE and,
      while at it, add a warning if the queue number is larger than
      IEEE80211_MAX_QUEUES.
      
      Fixes: 34e10860 ("iwlwifi: mvm: remove references to queue_info in new TX path")
      Reported-by: NPaul Menzel <pmenzel+linux-wireless@molgen.mpg.de>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      9a233bb8
  10. 21 12月, 2017 3 次提交
  11. 06 12月, 2017 3 次提交
  12. 25 11月, 2017 2 次提交
  13. 18 10月, 2017 2 次提交
  14. 06 10月, 2017 2 次提交
  15. 01 8月, 2017 3 次提交
  16. 30 6月, 2017 2 次提交
    • E
      iwlwifi: pcie: wait longer after device reset · 099a628b
      Emmanuel Grumbach 提交于
      The newest devices need a longer time to reset because of
      their more complex hardware. Wait 5ms after device reset.
      Consolidate all the places that reset the device in the
      PCIe transport to avoid future bugs.
      
      While at it, unify the flow to use set_bit instead of full
      write as requested by the hardware designers.
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      099a628b
    • J
      iwlwifi: mvm: fix mac80211 queue tracking · 37e474ac
      Johannes Berg 提交于
      In the driver, we track which hardware queue is associated with
      which mac80211 "hw_queue", in order to be able to stop and wake
      it. When moving these bitmaps out of the queue_info structures,
      the type of the bitmap was erroneously changed from u32 to u8,
      presumably in order to save memory.
      
      Turns out that u32 isn't needed, because the highest queue we
      can ever tell mac80211 is always < 16, but a u16 definitely is
      needed, queues >=8 do happen.
      
      While at it, throw a BUILD_BUG_ON() into the place where we set
      the limit (mvm->first_agg_queue) and a warning when it actually
      gets put into the bitmap.
      
      The consequence of this bug is that full HW queues associated
      with such a too-high mac80211 number never stop higher layer
      queues when full, and thus would simply drop all packets that
      couldn't be enqueued to the hardware queue.
      
      Fixes: 34e10860 ("iwlwifi: mvm: remove references to queue_info in new TX path")
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      37e474ac
  17. 23 6月, 2017 3 次提交