1. 12 12月, 2020 1 次提交
    • L
      iwlwifi: mvm: rs: Demote non-conformant function documentation headers · 05d07f2d
      Lee Jones 提交于
      Also add documentation for 'mvm'.
      
      Fixes the following W=1 kernel build warning(s):
      
       drivers/net/wireless/intel/iwlwifi/mvm/rs.c:400: warning: cannot understand function prototype: 'const u16 expected_tpt_legacy[IWL_RATE_COUNT] = '
       drivers/net/wireless/intel/iwlwifi/mvm/rs.c:684: warning: Function parameter or member 'mvm' not described in '_rs_collect_tx_data'
       drivers/net/wireless/intel/iwlwifi/mvm/rs.c:684: warning: Function parameter or member 'tbl' not described in '_rs_collect_tx_data'
       drivers/net/wireless/intel/iwlwifi/mvm/rs.c:684: warning: Function parameter or member 'scale_index' not described in '_rs_collect_tx_data'
       drivers/net/wireless/intel/iwlwifi/mvm/rs.c:684: warning: Function parameter or member 'attempts' not described in '_rs_collect_tx_data'
       drivers/net/wireless/intel/iwlwifi/mvm/rs.c:684: warning: Function parameter or member 'successes' not described in '_rs_collect_tx_data'
       drivers/net/wireless/intel/iwlwifi/mvm/rs.c:684: warning: Function parameter or member 'window' not described in '_rs_collect_tx_data'
       drivers/net/wireless/intel/iwlwifi/mvm/rs.c:2677: warning: duplicate section name 'NOTE'
       drivers/net/wireless/intel/iwlwifi/mvm/rs.c:2682: warning: Function parameter or member 'mvm' not described in 'rs_initialize_lq'
       drivers/net/wireless/intel/iwlwifi/mvm/rs.c:2682: warning: Function parameter or member 'sta' not described in 'rs_initialize_lq'
       drivers/net/wireless/intel/iwlwifi/mvm/rs.c:2682: warning: Function parameter or member 'lq_sta' not described in 'rs_initialize_lq'
       drivers/net/wireless/intel/iwlwifi/mvm/rs.c:2682: warning: Function parameter or member 'band' not described in 'rs_initialize_lq'
       drivers/net/wireless/intel/iwlwifi/mvm/rs.c:3761: warning: Function parameter or member 'mvm' not described in 'rs_program_fix_rate'
       drivers/net/wireless/intel/iwlwifi/mvm/rs.c:3761: warning: Function parameter or member 'lq_sta' not described in 'rs_program_fix_rate'
       drivers/net/wireless/intel/iwlwifi/mvm/rs.c:4213: warning: Function parameter or member 'mvm' not described in 'iwl_mvm_tx_protection'
      
      Cc: Johannes Berg <johannes.berg@intel.com>
      Cc: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
      Cc: Luca Coelho <luciano.coelho@intel.com>
      Cc: Intel Linux Wireless <linuxwifi@intel.com>
      Cc: Kalle Valo <kvalo@codeaurora.org>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Jakub Kicinski <kuba@kernel.org>
      Cc: linux-wireless@vger.kernel.org
      Cc: netdev@vger.kernel.org
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      Link: https://lore.kernel.org/r/20201126133152.3211309-3-lee.jones@linaro.org
      05d07f2d
  2. 02 10月, 2020 1 次提交
  3. 08 6月, 2020 1 次提交
  4. 24 4月, 2020 3 次提交
  5. 27 3月, 2020 1 次提交
  6. 15 11月, 2019 2 次提交
  7. 06 9月, 2019 3 次提交
  8. 31 7月, 2019 5 次提交
  9. 26 7月, 2019 1 次提交
  10. 14 6月, 2019 1 次提交
  11. 05 6月, 2019 1 次提交
  12. 03 4月, 2019 1 次提交
  13. 21 2月, 2019 1 次提交
  14. 04 2月, 2019 1 次提交
  15. 26 1月, 2019 2 次提交
  16. 13 10月, 2018 1 次提交
  17. 28 9月, 2018 1 次提交
  18. 31 8月, 2018 2 次提交
  19. 26 7月, 2018 1 次提交
  20. 30 5月, 2018 1 次提交
  21. 20 4月, 2018 1 次提交
  22. 27 3月, 2018 1 次提交
  23. 16 2月, 2018 1 次提交
  24. 21 12月, 2017 1 次提交
  25. 06 12月, 2017 4 次提交
  26. 25 11月, 2017 1 次提交
    • E
      iwlwifi: mvm: rs: don't override the rate history in the search cycle · 992172e3
      Emmanuel Grumbach 提交于
      When we are in a search cycle, we try different combinations
      of parameters. Those combinations are called 'columns'.
      When we switch to a new column, we first need to check if
      this column has a suitable rate, if not, we can't try it.
      This means we must not erase the statistics we gathered
      for the previous column until we are sure that we are
      indeed switching column.
      
      The code that tries to switch to a new column first sets
      a whole bunch of things for the new column, and only then
      checks that we can find suitable rates in that column.
      While doing that, the code mistakenly erased the rate
      statistics. This code was right until
      struct iwl_scale_tbl_info grew up for TPC.
      
      Fix this to make sure we don't erase the rate statistics
      until we are sure that we can indeed switch to the new
      column.
      
      Note that this bug is really harmless since it causes a
      change in the behavior only when we can't find any rate
      in the new column which should really not happen. In the
      case we do find a suitable we reset the rate statistics
      a few lines later anyway.
      Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
      Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
      992172e3