diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-04-19 13:57:36 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-20 11:52:36 -0400 |
commit | 074a8c0db255e79960593122b5458c9a9c0551fa (patch) | |
tree | 7d1beb94abbca5fdd6b6e1c39e1d482be51cff5a /drivers/net/wireless/ath/ath9k/xmit.c | |
parent | f79d9bad37cb1e7ef23d60b1dd0b7859957ced9e (diff) |
ath9k: add support for Tx and Rx STBC
Supported only for single stream rates by the hardware
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/xmit.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/xmit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/xmit.c b/drivers/net/wireless/ath/ath9k/xmit.c index 2237658144e6..b0d345a675fe 100644 --- a/drivers/net/wireless/ath/ath9k/xmit.c +++ b/drivers/net/wireless/ath/ath9k/xmit.c | |||
@@ -1607,6 +1607,8 @@ static void ath_buf_set_rate(struct ath_softc *sc, struct ath_buf *bf) | |||
1607 | series[i].Rate = rix | 0x80; | 1607 | series[i].Rate = rix | 0x80; |
1608 | series[i].PktDuration = ath_pkt_duration(sc, rix, bf, | 1608 | series[i].PktDuration = ath_pkt_duration(sc, rix, bf, |
1609 | is_40, is_sgi, is_sp); | 1609 | is_40, is_sgi, is_sp); |
1610 | if (rix < 8 && (tx_info->flags & IEEE80211_TX_CTL_STBC)) | ||
1611 | series[i].RateFlags |= ATH9K_RATESERIES_STBC; | ||
1610 | continue; | 1612 | continue; |
1611 | } | 1613 | } |
1612 | 1614 | ||