diff options
author | Kalle Valo <kvalo@codeaurora.org> | 2017-08-24 07:29:12 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2017-08-24 07:47:42 -0400 |
commit | 5307eca1362492ce28f1572b430997d9053c021d (patch) | |
tree | 83402432406875153d24aa6434437b6cbfccc2f8 /drivers/net/wireless/intel/iwlwifi/mvm/rs.c | |
parent | 2c1dca3c6b222a389c5dfebfcdd6fe3c87e5aa75 (diff) | |
parent | e9bf53ab1ee34bb05c104bbfd2b77c844773f8e6 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers.git
Stephen Rothwell reported quite a few conflicts in iwlwifi between
wireless-drivers and wireless-drivers-next. To avoid any problems later in
other trees merge w-d to w-d-next to fix those conflicts early.
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/rs.c')
-rw-r--r-- | drivers/net/wireless/intel/iwlwifi/mvm/rs.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/rs.c b/drivers/net/wireless/intel/iwlwifi/mvm/rs.c index 44c873082a31..ba7bd049d3d4 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/rs.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/rs.c | |||
@@ -1336,7 +1336,7 @@ void iwl_mvm_rs_tx_status(struct iwl_mvm *mvm, struct ieee80211_sta *sta, | |||
1336 | * first index into rate scale table. | 1336 | * first index into rate scale table. |
1337 | */ | 1337 | */ |
1338 | if (info->flags & IEEE80211_TX_STAT_AMPDU) { | 1338 | if (info->flags & IEEE80211_TX_STAT_AMPDU) { |
1339 | rs_collect_tpc_data(mvm, lq_sta, curr_tbl, lq_rate.index, | 1339 | rs_collect_tpc_data(mvm, lq_sta, curr_tbl, tx_resp_rate.index, |
1340 | info->status.ampdu_len, | 1340 | info->status.ampdu_len, |
1341 | info->status.ampdu_ack_len, | 1341 | info->status.ampdu_ack_len, |
1342 | reduced_txp); | 1342 | reduced_txp); |
@@ -1357,8 +1357,7 @@ void iwl_mvm_rs_tx_status(struct iwl_mvm *mvm, struct ieee80211_sta *sta, | |||
1357 | if (info->status.ampdu_ack_len == 0) | 1357 | if (info->status.ampdu_ack_len == 0) |
1358 | info->status.ampdu_len = 1; | 1358 | info->status.ampdu_len = 1; |
1359 | 1359 | ||
1360 | rs_collect_tlc_data(mvm, mvmsta, tid, curr_tbl, | 1360 | rs_collect_tlc_data(mvm, mvmsta, tid, curr_tbl, tx_resp_rate.index, |
1361 | lq_rate.index, | ||
1362 | info->status.ampdu_len, | 1361 | info->status.ampdu_len, |
1363 | info->status.ampdu_ack_len); | 1362 | info->status.ampdu_ack_len); |
1364 | 1363 | ||
@@ -1394,11 +1393,11 @@ void iwl_mvm_rs_tx_status(struct iwl_mvm *mvm, struct ieee80211_sta *sta, | |||
1394 | continue; | 1393 | continue; |
1395 | 1394 | ||
1396 | rs_collect_tpc_data(mvm, lq_sta, tmp_tbl, | 1395 | rs_collect_tpc_data(mvm, lq_sta, tmp_tbl, |
1397 | lq_rate.index, 1, | 1396 | tx_resp_rate.index, 1, |
1398 | i < retries ? 0 : legacy_success, | 1397 | i < retries ? 0 : legacy_success, |
1399 | reduced_txp); | 1398 | reduced_txp); |
1400 | rs_collect_tlc_data(mvm, mvmsta, tid, tmp_tbl, | 1399 | rs_collect_tlc_data(mvm, mvmsta, tid, tmp_tbl, |
1401 | lq_rate.index, 1, | 1400 | tx_resp_rate.index, 1, |
1402 | i < retries ? 0 : legacy_success); | 1401 | i < retries ? 0 : legacy_success); |
1403 | } | 1402 | } |
1404 | 1403 | ||