1. 06 6月, 2017 1 次提交
    • G
      iwlwifi: mvm: rs: start using LQ command color · ea42d1cb
      Gregory Greenman 提交于
      Up until now, the driver was comparing the rate reported by the FW and
      the rate of the latest LQ command to avoid processing data belonging
      to the old LQ command. Recently, FW changed the meaning of the initial
      rate field in tx response and it holds the actual rate (which is not
      necessarily the initial rate of LQ's rate table). Use instead LQ cmd
      color to be able to filter out tx responses/BA notifications which
      where sent during earlier LQ commands' time frame.
      
      This fixes some throughput degradation in noisy environments.
      Signed-off-by: NGregory Greenman <gregory.greenman@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      ea42d1cb
  2. 25 4月, 2017 1 次提交
  3. 08 2月, 2017 2 次提交
  4. 26 1月, 2017 2 次提交
    • K
      iwlwifi: mvm: rs: Remove unused 'mcs' variable · 9d504435
      Kirtika Ruchandani 提交于
      Commit 5fc0f76c introduced Rx stats from debugfs, the function
      iwl_mvm_reset_frame_stats from that commit defines and sets mcs but
      does not use it. Compiling iwlwifi with W=1 gives this warning -
      
      iwlwifi/mvm/rs.c: In function ‘iwl_mvm_update_frame_stats’:
      iwlwifi/mvm/rs.c:3074:14: warning: variable ‘mcs’ set but not used [-Wunused-but-set-variable]
      
      Fixes: 5fc0f76c (iwlwifi: mvm: add Rx frames statistics via debugfs)
      Signed-off-by: NKirtika Ruchandani <kirtika@google.com>
      Cc: Eyal Shapira <eyal@wizery.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      9d504435
    • K
      iwlwifi: mvm: rs: Remove unused 'mvmvif'/'mvmsta' variables · c94aace0
      Kirtika Ruchandani 提交于
      mvmvif is defined and set in rs_mimo_allow but not used. Compiling
      iwlwifi with W=1 gives the following warning, remove it. mvmsta is
      used only to obtain mvmvif so remove it as well.
      
      iwlwifi/mvm/rs.c: In function 'rs_mimo_allow':
      iwlwifi/mvm/rs.c:165:22: warning: variable 'mvmvif' set but not used.[-Wunused-but-set-variable]
      
      This fix removes calls to iwl_mvm_sta_from_mac &
      iwl_mvm_vif_from_mac. They are both accessors, and do not have any
      side-effects.  Commit e621c228 ("iwlwifi: rs: Remove workaround
      that disables MIMO on P2P") removed a workaround that disabled MIMO on
      P2P, 'mvmvif' was used for that workaround, but not removed with it.
      
      Fixes: e621c228 ("iwlwifi: rs: Remove workaround that disables MIMO on P2P")
      Signed-off-by: NKirtika Ruchandani <kirtika@google.com>
      Cc: Alexander Bondar <alexander.bondar@intel.com>
      Cc: Emmanuel Grumbach <emmmanuel.grumbach@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      c94aace0
  5. 06 7月, 2016 2 次提交
  6. 12 4月, 2016 1 次提交
  7. 28 2月, 2016 2 次提交
  8. 01 2月, 2016 1 次提交
  9. 26 1月, 2016 1 次提交
    • G
      iwlwifi: mvm: rs: fix TPC statistics handling · 69c7fda4
      Gregory Greenman 提交于
      FW behaviour changed and now updates driver about the used TPC
      reduction in the following cases:
      1. In tx response, which is used mostly for a single frame case
      2. In BA notification
      
      When tx aggregation fails with the initial rate, FW will send
      to the driver BA notification and will try to transmit with the
      next rate, but this time without tx power reduction. Thus, in case
      of a failure with the initial rate, driver will get two BA notifications,
      the first one with reduced tx power as in the LQ command and the second
      one with 0 power reduction.
      
      This patch adapts the TPC statistics according to the description above:
      1. Use BA notifications instead of Tx response
      2. For TPC only, drop the optimization which considers empty BA as one
      MPDU. The reason is that with TPC we want to recover very quickly from
      a bad power reduction and, therefore we'd like the success ratio to get
      an immediate hit when failing to get a BA, so we'd switch back to a
      lower or zero power reduction
      Signed-off-by: NGregory Greenman <gregory.greenman@intel.com>
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      69c7fda4
  10. 20 12月, 2015 1 次提交
  11. 13 12月, 2015 2 次提交
  12. 02 12月, 2015 1 次提交
  13. 26 11月, 2015 1 次提交
  14. 18 11月, 2015 1 次提交
  15. 25 10月, 2015 1 次提交
  16. 05 10月, 2015 5 次提交
  17. 18 8月, 2015 1 次提交
  18. 26 6月, 2015 1 次提交
  19. 03 6月, 2015 2 次提交
  20. 10 5月, 2015 1 次提交
  21. 29 4月, 2015 3 次提交
  22. 02 4月, 2015 2 次提交
  23. 30 3月, 2015 1 次提交
  24. 19 3月, 2015 1 次提交
  25. 12 3月, 2015 3 次提交