diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-04-23 14:43:45 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-23 14:43:45 -0400 |
commit | 3b51cc996e81d8a113416d8094fa4a88f8360a51 (patch) | |
tree | e75b98b228bb4e456c30673fcc4b56ffa1d09cf5 /drivers/net/wireless/ath/ath9k/rc.c | |
parent | c68ed255265968c3948fa2678bf59d15c471b055 (diff) | |
parent | 672724403b42da1d276c6cf811e8e34d15efd964 (diff) |
Merge branch 'master' into for-davem
Conflicts:
drivers/net/wireless/ath/ath9k/phy.c
drivers/net/wireless/iwlwifi/iwl-6000.c
drivers/net/wireless/iwlwifi/iwl-debugfs.c
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/rc.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/rc.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/rc.c b/drivers/net/wireless/ath/ath9k/rc.c index ee81291f2fb..8519452c95f 100644 --- a/drivers/net/wireless/ath/ath9k/rc.c +++ b/drivers/net/wireless/ath/ath9k/rc.c | |||
@@ -691,6 +691,19 @@ static void ath_get_rate(void *priv, struct ieee80211_sta *sta, void *priv_sta, | |||
691 | rate_table = sc->cur_rate_table; | 691 | rate_table = sc->cur_rate_table; |
692 | rix = ath_rc_get_highest_rix(sc, ath_rc_priv, rate_table, &is_probe); | 692 | rix = ath_rc_get_highest_rix(sc, ath_rc_priv, rate_table, &is_probe); |
693 | 693 | ||
694 | /* | ||
695 | * If we're in HT mode and both us and our peer supports LDPC. | ||
696 | * We don't need to check our own device's capabilities as our own | ||
697 | * ht capabilities would have already been intersected with our peer's. | ||
698 | */ | ||
699 | if (conf_is_ht(&sc->hw->conf) && | ||
700 | (sta->ht_cap.cap & IEEE80211_HT_CAP_LDPC_CODING)) | ||
701 | tx_info->flags |= IEEE80211_TX_CTL_LDPC; | ||
702 | |||
703 | if (conf_is_ht(&sc->hw->conf) && | ||
704 | (sta->ht_cap.cap & IEEE80211_HT_CAP_TX_STBC)) | ||
705 | tx_info->flags |= (1 << IEEE80211_TX_CTL_STBC_SHIFT); | ||
706 | |||
694 | if (is_probe) { | 707 | if (is_probe) { |
695 | /* set one try for probe rates. For the | 708 | /* set one try for probe rates. For the |
696 | * probes don't enable rts */ | 709 | * probes don't enable rts */ |