diff options
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/tx.c')
| -rw-r--r-- | drivers/net/wireless/intel/iwlwifi/mvm/tx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/tx.c b/drivers/net/wireless/intel/iwlwifi/mvm/tx.c index efb9b98c4c98..bd286fca3776 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/tx.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/tx.c | |||
| @@ -359,7 +359,7 @@ void iwl_mvm_set_tx_cmd_rate(struct iwl_mvm *mvm, struct iwl_tx_cmd *tx_cmd, | |||
| 359 | &mvm->nvm_data->bands[info->band], sta); | 359 | &mvm->nvm_data->bands[info->band], sta); |
| 360 | 360 | ||
| 361 | /* For 5 GHZ band, remap mac80211 rate indices into driver indices */ | 361 | /* For 5 GHZ band, remap mac80211 rate indices into driver indices */ |
| 362 | if (info->band == IEEE80211_BAND_5GHZ) | 362 | if (info->band == NL80211_BAND_5GHZ) |
| 363 | rate_idx += IWL_FIRST_OFDM_RATE; | 363 | rate_idx += IWL_FIRST_OFDM_RATE; |
| 364 | 364 | ||
| 365 | /* For 2.4 GHZ band, check that there is no need to remap */ | 365 | /* For 2.4 GHZ band, check that there is no need to remap */ |
| @@ -372,7 +372,7 @@ void iwl_mvm_set_tx_cmd_rate(struct iwl_mvm *mvm, struct iwl_tx_cmd *tx_cmd, | |||
| 372 | iwl_mvm_next_antenna(mvm, iwl_mvm_get_valid_tx_ant(mvm), | 372 | iwl_mvm_next_antenna(mvm, iwl_mvm_get_valid_tx_ant(mvm), |
| 373 | mvm->mgmt_last_antenna_idx); | 373 | mvm->mgmt_last_antenna_idx); |
| 374 | 374 | ||
| 375 | if (info->band == IEEE80211_BAND_2GHZ && | 375 | if (info->band == NL80211_BAND_2GHZ && |
| 376 | !iwl_mvm_bt_coex_is_shared_ant_avail(mvm)) | 376 | !iwl_mvm_bt_coex_is_shared_ant_avail(mvm)) |
| 377 | rate_flags = mvm->cfg->non_shared_ant << RATE_MCS_ANT_POS; | 377 | rate_flags = mvm->cfg->non_shared_ant << RATE_MCS_ANT_POS; |
| 378 | else | 378 | else |
| @@ -1052,7 +1052,7 @@ const char *iwl_mvm_get_tx_fail_reason(u32 status) | |||
| 1052 | #endif /* CONFIG_IWLWIFI_DEBUG */ | 1052 | #endif /* CONFIG_IWLWIFI_DEBUG */ |
| 1053 | 1053 | ||
| 1054 | void iwl_mvm_hwrate_to_tx_rate(u32 rate_n_flags, | 1054 | void iwl_mvm_hwrate_to_tx_rate(u32 rate_n_flags, |
| 1055 | enum ieee80211_band band, | 1055 | enum nl80211_band band, |
| 1056 | struct ieee80211_tx_rate *r) | 1056 | struct ieee80211_tx_rate *r) |
| 1057 | { | 1057 | { |
| 1058 | if (rate_n_flags & RATE_HT_MCS_GF_MSK) | 1058 | if (rate_n_flags & RATE_HT_MCS_GF_MSK) |
