1. 05 8月, 2015 1 次提交
  2. 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
  3. 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
  4. 03 6月, 2015 4 次提交
  5. 28 5月, 2015 9 次提交
  6. 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
  7. 15 5月, 2015 1 次提交
  8. 29 4月, 2015 12 次提交
  9. 28 4月, 2015 1 次提交
  10. 19 4月, 2015 1 次提交
    • A
      iwlwifi: mvm: fix Tx Power firmware API · d44c3fe6
      Avri Altman 提交于
      The firmware doesn't relate the scan to a vif. The scan is
      run by a separate entity called auxiliary MAC (aka AUX MAC).
      This AUX MAC needs to get Tx power limitations that are
      not applied on a specific vif, but on the device as a whole.
      
      This can be implemented by using the minimum of all the
      values set by the user for all the MACs. But then we need
      to ignore the limitations that come from the AP or
      regulatory for a specific vif: a specific vif might have
      regulatory limitations because of the channel is works on.
      This limit is irrelevant for the AUX MAC.
      Use the new API from mac80211: the user_power_level in
      bss_conf to achieve this.
      
      Firmware -13.ucode has already moved to this API.
      
      Change-Id: Ifba83660f378e91b93bd46d29fe8ba35a7c168a4
      Signed-off-by: NAvri Altman <avri.altman@intel.com>
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      d44c3fe6
  11. 02 4月, 2015 6 次提交
  12. 30 3月, 2015 1 次提交