1. 30 3月, 2016 4 次提交
    • S
      iwlwifi: mvm: enable TCP/UDP checksum support for 9000 family · 5e6a98dc
      Sara Sharon 提交于
      Declare and enable support of RX and TX checksum for 9000 family.
      Configure offload_assist in the TX cmd accordingly to support
      TX csum.
      Signed-off-by: NSara Sharon <sara.sharon@intel.com>
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      5e6a98dc
    • L
      iwlwifi: mvm: support bss dynamic alloc/dealloc of queues · 24afba76
      Liad Kaufman 提交于
      "DQA" is shorthand for "dynamic queue allocation". This
      enables on-demand allocation of queues per RA/TID rather than
      statically allocating per vif, thus allowing a potential
      benefit of various factors.
      
      Please refer to the DOC section this patch adds to sta.h to
      see a more in-depth explanation of this feature.
      
      There are many things to take into consideration when working
      in DQA mode, and this patch is only one in a series. Note that
      default operation mode is non-DQA mode, unless the FW
      indicates that it supports DQA mode.
      
      This patch enables support of DQA for a station connected to
      an AP, and works in a non-aggregated mode.
      
      When a frame for an unused RA/TID arrives at the driver, it
      isn't TXed immediately, but deferred first until a suitable
      queue is first allocated for it, and then TXed by a worker
      that both allocates the queues and TXes deferred traffic.
      
      When a STA is removed, its queues goes back into the queue
      pools for reuse as needed.
      Signed-off-by: NLiad Kaufman <liad.kaufman@intel.com>
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      24afba76
    • E
      iwlwifi: make uapsd_disable module param a bitmap · 11dee0b4
      Emmanuel Grumbach 提交于
      This allows to disable uapsd for BSS only, or P2P client
      separately. Remove the now unneeded
      IWL_MVM_P2P_UAPSD_STANDALONE constant.
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      11dee0b4
    • A
      iwlwifi: mvm: add LQM vendor command and notification · 03098268
      Aviya Erenfeld 提交于
      LQM stands for Link Quality Measurement. The firmware
      will collect a defined set of statitics (see the
      notification for details) that allow to know how busy
      the medium is. The driver issues a request to the firmware
      that includes the duration of the measurement (the firmware
      needs to be on channel for that amount of time) and the
      timeout (in case the firmware has a lot of offchannel
      activities). If the timeout elapses, the firmware will
      send partial results which are still valuable.
      In case of disassociation / channel switch and alike, the
      driver is in charge of stopping the measurements and the
      firmware will reply with partial results.
      
      The user space API for now is debugfs only and will be
      implmemented in an upcoming patch.
      Signed-off-by: NAviya Erenfeld <aviya.erenfeld@intel.com>
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      03098268
  2. 10 3月, 2016 2 次提交
  3. 07 3月, 2016 1 次提交
  4. 02 3月, 2016 1 次提交
  5. 28 2月, 2016 7 次提交
  6. 24 2月, 2016 1 次提交
    • E
      iwlwifi: mvm: move TX PN assignment for TKIP to the driver · 1ad4f639
      Eliad Peller 提交于
      If protocol offloading is configured, the fw might generate some
      frames (e.g. arp response) on its own during d3/d0i3.
      
      On d3/d0i3 exit the driver queries the updated PN (if relevant),
      and updates its keys (for the d0i3 case, this is done by
      iwl_mvm_d0i3_exit_work(), which is scheduled on d0i3 exit)
      
      While in d0i3, iwlmvm defers tx frames until d0i3 exit, and
      then continues their processing.
      
      This is problematic with TKIP, since the frame's PN has already
      been set at this stage (in contrast to CCMP, where the PN is
      being set only later on), so both the frame's PN and the upcoming
      PN update (from d0i3 exit work) might be wrong.
      
      Fix it by moving the TX PN assignment (for TKIP) to the driver,
      similarly to CCMP.
      Signed-off-by: NEliad Peller <eliadx.peller@intel.com>
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      1ad4f639
  7. 01 2月, 2016 1 次提交
  8. 14 1月, 2016 1 次提交
  9. 08 1月, 2016 4 次提交
  10. 21 12月, 2015 3 次提交
  11. 20 12月, 2015 3 次提交
  12. 13 12月, 2015 5 次提交
  13. 07 12月, 2015 1 次提交
  14. 02 12月, 2015 2 次提交
  15. 26 11月, 2015 2 次提交
  16. 18 11月, 2015 1 次提交
  17. 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