wl12xx: Add support for 11n Rx STBC one spatial stream
authorShahar Levi <shahar_levi@ti.com>
Sun, 13 Mar 2011 09:24:40 +0000 (11:24 +0200)
committerLuciano Coelho <coelho@ti.com>
Tue, 19 Apr 2011 13:49:05 +0000 (16:49 +0300)
The wl12xx chip supports one Rx STBC spatial stream.  Announce this in
the HT capabilities info field.

Signed-off-by: Shahar Levi <shahar_levi@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/main.c

index db7ab856363ee51178a67592162e751f7d1b30c4..28048474827a0a70ff1298696dab54cde2a3249b 100644 (file)
@@ -3132,7 +3132,8 @@ static const u8 wl1271_rate_to_idx_2ghz[] = {
 
 #ifdef CONFIG_WL12XX_HT
 #define WL12XX_HT_CAP { \
-       .cap = IEEE80211_HT_CAP_GRN_FLD | IEEE80211_HT_CAP_SGI_20, \
+       .cap = IEEE80211_HT_CAP_GRN_FLD | IEEE80211_HT_CAP_SGI_20 | \
+              (1 << IEEE80211_HT_CAP_RX_STBC_SHIFT), \
        .ht_supported = true, \
        .ampdu_factor = IEEE80211_HT_MAX_AMPDU_8K, \
        .ampdu_density = IEEE80211_HT_MPDU_DENSITY_8, \