1. 24 3月, 2017 1 次提交
  2. 26 1月, 2017 1 次提交
    • L
      iwlwifi: mvm: mark ret as maybe_unused in iwl_dbgfs_fw_restart_write() · 758d1a8a
      Luca Coelho 提交于
      The value returned from iwl_mvm_send_cmd_pdu() in this function is not
      used and always returns an error (which is the whole point of the
      call).  Tag the ret variable with __maybe_unused to avoid this compile
      warning when W=1 is used:
      
      /home/luca/iwlwifi/stack-dev/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c: In function ‘iwl_dbgfs_fw_restart_write’:
      /home/luca/iwlwifi/stack-dev/drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c:875:6: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable]
        int ret;
            ^
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      758d1a8a
  3. 19 10月, 2016 1 次提交
  4. 19 9月, 2016 2 次提交
  5. 08 8月, 2016 1 次提交
  6. 06 7月, 2016 1 次提交
  7. 11 5月, 2016 2 次提交
    • L
      iwlwifi: mvm: add a new mvm reference type for RX data · 16e4dd8f
      Luca Coelho 提交于
      When a data packet is received, we need to make sure that we stay
      awake until it can be processed and wait a while before trying to
      enter runtime_suspend os system_suspend again.  To do so, add a new
      reference type for RX data and take the reference when sending the
      packet to mac80211.  We only do this for data packets, all the other
      RX packets sent by the firmware (e.g. notifications) are not a reason
      to prevent suspend.
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      16e4dd8f
    • L
      iwlwifi: wake from runtime suspend before sending sync commands · 71b1230c
      Luca Coelho 提交于
      If a host command was queued while in runtime suspend, it would go out
      before the D0I3_END_CMD was sent.  Sometimes it works, but sometimes
      it fails, and it is obviously the wrong thing to do.
      
      To fix this, have the opmode take a reference before sending a SYNC
      command and make the pcie trans wait for the runtime state to become
      active before actually queueing the command.
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      71b1230c
  8. 30 3月, 2016 2 次提交
  9. 10 3月, 2016 1 次提交
  10. 28 2月, 2016 2 次提交
  11. 01 2月, 2016 4 次提交
  12. 21 12月, 2015 1 次提交
  13. 20 12月, 2015 1 次提交
  14. 13 12月, 2015 1 次提交
  15. 02 12月, 2015 2 次提交
  16. 26 11月, 2015 3 次提交
  17. 18 11月, 2015 1 次提交
  18. 25 10月, 2015 1 次提交
  19. 05 10月, 2015 1 次提交
  20. 28 8月, 2015 2 次提交
  21. 23 8月, 2015 1 次提交
  22. 16 8月, 2015 1 次提交
  23. 05 8月, 2015 1 次提交
  24. 03 6月, 2015 1 次提交
    • J
      iwlwifi: prepare for higher API/CAPA bits · 859d914c
      Johannes Berg 提交于
      Currently, loading the firmware fails when it has higher API or CAPA
      bits than the driver supports. That's an issue with integration.
      
      At the same time, actually using api[0] and capa[0] will become
      confusing when we also have api[1] and capa[1], and it's almost
      certain that we'll mix up the bits and use the bits for api[1] with
      api[0] by accident.
      
      Avoid all this by translating the API/CAPA bits to the regular kernel
      test_bit() format, and also providing wrapper functions. Also use the
      __bitwise__ facility of sparse to check that we're testing the right
      one.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      859d914c
  25. 27 5月, 2015 1 次提交
    • E
      iwlwifi: mvm: fix ROC reference accounting · c779273b
      Eliad Peller 提交于
      commit b112889c ("iwlwifi: mvm: add Aux ROC request/response flow")
      added aux ROC flow in addition to the existing ROC flow. While doing
      it, it moved the ROC reference release to a common work item, which
      is being called for both the ROC and aux ROC flows.
      
      This resulted in invalid reference accounting, as no reference was
      taken in case of aux ROC, while a reference was released on completion.
      
      Fix it by adding a reference for the aux ROC as well, and release
      only the relevant references on completion (according to the set bits).
      
      While at it, convert cancel_work_sync() to flush_work(), in order
      to make sure the references are being cleaned properly.
      
      Fixes: b112889c ("iwlwifi: mvm: add Aux ROC request/response flow")
      Signed-off-by: NEliad Peller <eliadx.peller@intel.com>
      Reviewed-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      c779273b
  26. 02 4月, 2015 1 次提交
  27. 26 3月, 2015 1 次提交
  28. 12 3月, 2015 1 次提交
  29. 02 3月, 2015 1 次提交