ath9k_htc: Enable RX STBC for AR9271
authorSujith <Sujith.Manoharan@atheros.com>
Mon, 17 May 2010 06:31:21 +0000 (12:01 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 2 Jun 2010 20:13:17 +0000 (16:13 -0400)
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/htc_drv_init.c

index 8b202e05034e48355085db0b64c905fc4eca9f34..ff6c0807b502861fabda8e5d1e46dc52ccb2f25d 100644 (file)
@@ -407,6 +407,8 @@ static void setup_ht_cap(struct ath9k_htc_priv *priv,
        if (priv->ah->caps.hw_caps & ATH9K_HW_CAP_SGI_20)
                ht_info->cap |= IEEE80211_HT_CAP_SGI_20;
 
+       ht_info->cap |= (1 << IEEE80211_HT_CAP_RX_STBC_SHIFT);
+
        ht_info->ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K;
        ht_info->ampdu_density = IEEE80211_HT_MPDU_DENSITY_8;