diff options
author | Helmut Schaa <helmut.schaa@googlemail.com> | 2010-06-03 04:52:10 -0400 |
---|---|---|
committer | Ivo van Doorn <IvDoorn@gmail.com> | 2010-06-03 04:52:10 -0400 |
commit | 22cabaa6b84dc617dda096641c359eebfb32b6cc (patch) | |
tree | d88fc052c7b854495d0082c62aef1b76b64dffc8 /drivers/net/wireless/rt2x00/rt2800lib.c | |
parent | 06443e46c65915d74b03fe1de10c00748e4706ee (diff) |
rt2x00: rt2800: disable TX STBC for 1 stream devices
Disable TX STBC for 1 stream devices as a minimum of 2 streams is needed for TX STBC.
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800lib.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800lib.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c index bebbda5ffaab..8680168d25e7 100644 --- a/drivers/net/wireless/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/rt2x00/rt2800lib.c | |||
@@ -2536,8 +2536,11 @@ int rt2800_probe_hw_mode(struct rt2x00_dev *rt2x00dev) | |||
2536 | IEEE80211_HT_CAP_GRN_FLD | | 2536 | IEEE80211_HT_CAP_GRN_FLD | |
2537 | IEEE80211_HT_CAP_SGI_20 | | 2537 | IEEE80211_HT_CAP_SGI_20 | |
2538 | IEEE80211_HT_CAP_SGI_40 | | 2538 | IEEE80211_HT_CAP_SGI_40 | |
2539 | IEEE80211_HT_CAP_TX_STBC | | ||
2540 | IEEE80211_HT_CAP_RX_STBC; | 2539 | IEEE80211_HT_CAP_RX_STBC; |
2540 | |||
2541 | if (rt2x00_get_field16(eeprom, EEPROM_ANTENNA_TXPATH) >= 2) | ||
2542 | spec->ht.cap |= IEEE80211_HT_CAP_TX_STBC; | ||
2543 | |||
2541 | spec->ht.ampdu_factor = 3; | 2544 | spec->ht.ampdu_factor = 3; |
2542 | spec->ht.ampdu_density = 4; | 2545 | spec->ht.ampdu_density = 4; |
2543 | spec->ht.mcs.tx_params = | 2546 | spec->ht.mcs.tx_params = |