1. 07 12月, 2015 1 次提交
  2. 02 12月, 2015 2 次提交
  3. 26 11月, 2015 2 次提交
  4. 18 11月, 2015 1 次提交
  5. 16 11月, 2015 1 次提交
    • L
      iwlwifi: mvm: don't overwrite the key indices in D3 entry · d6ee54a9
      Luca Coelho 提交于
      When entering D3, we need to use hardcoded key indices because the
      firmware requires that.  To do so, we are overwriting the HW key index
      in the keyconf structure, which makes it impossible to reuse the
      indices that were used before entering D3.  Additionally, we overwrite
      all the non-PTK keys with index 1, because the firmware only allows
      one non-PTK key to be set.  This is bad, because when we resume, we
      may try to set more than one key with index 1, which will obviously
      fail.
      
      To fix this, allow the callers to set a pre-defined index to use in
      iwl_mvm_set_sta_key() instead of relying on the hw_key_idx value from
      the keyconf struct (which requires overwriting it).  In normal cases,
      the caller can pass STA_KEY_IDX_INVALID, which will cause a new key
      offset to be chosen.  During HW_RESTART, we pass the offset that is in
      use.  And during D3 entry, we pass the hardcoded indices we need to
      use.
      
      Additionally, don't clear the fw_key_table in D3 entry, so that the
      flags are still set with the pre-D3 values when exiting D3.
      
      fixes=I3165c22362483f0152d9ec1d2a987fb5529727c1
      
      Fixes: b546dcd6 ("iwlwifi: mvm: don't reset key index on HW restart")
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      d6ee54a9
  6. 25 10月, 2015 5 次提交
  7. 05 10月, 2015 2 次提交
  8. 22 9月, 2015 1 次提交
  9. 21 9月, 2015 1 次提交
  10. 28 8月, 2015 1 次提交
  11. 23 8月, 2015 1 次提交
  12. 16 8月, 2015 1 次提交
  13. 05 8月, 2015 3 次提交
  14. 04 8月, 2015 2 次提交
    • A
      iwlwifi: mvm: Enable Rx Checksum hw · 93190fb0
      Avri Altman 提交于
      TCP software implementation on the host requires extensive computing
      power.  Offloading even some of the TCP/IP stack to the NIC might save
      a significant overhead. In order to enable this feature on our hw,
      we need to configure it first. Once done, we mark this capability,
      to be advertised later to the OS via ieee80211_register_hw.
      The driver Rx indications for TCP Checksum is integrated within the
      standard Rx status. The driver responds to those indications as follows:
      If the frame was tested by hw and checksum ok report CHECKSUM_UNNECESSARY.
      Otherwise, report CHECKSUM_NONE.
      Signed-off-by: NAvri Altman <avri.altman@intel.com>
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      93190fb0
    • E
      Revert "iwlwifi: mvm: move deferred d0i3 exit to resume_complete op" · 2d42801b
      Eliad Peller 提交于
      This reverts commit 088070a2.
      
      When working in d0i3_on_idle mode, we explicitly go out
      of d0i3 on resume (so other potential commands could
      be sent).
      
      However, D0I3_DEFER_WAKEUP is currently cleared on
      resume complete (which happens only later on), causing
      d0i3 exit to timeout.
      
      Since mac80211 was modified to accept incoming frames
      once drv_resume was called, we can safely revert this
      patch, and handle the pending work on iwl_mvm_resume().
      Signed-off-by: NEliad Peller <eliadx.peller@intel.com>
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      2d42801b
  15. 10 6月, 2015 1 次提交
    • J
      mac80211: convert HW flags to unsigned long bitmap · 30686bf7
      Johannes Berg 提交于
      As we're running out of hardware capability flags pretty quickly,
      convert them to use the regular test_bit() style unsigned long
      bitmaps.
      
      This introduces a number of helper functions/macros to set and to
      test the bits, along with new debugfs code.
      
      The occurrences of an explicit __clear_bit() are intentional, the
      drivers were never supposed to change their supported bits on the
      fly. We should investigate changing this to be a per-frame flag.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      30686bf7
  16. 03 6月, 2015 4 次提交
  17. 28 5月, 2015 9 次提交
  18. 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
  19. 15 5月, 2015 1 次提交