net: wireless: bcmdhd: Report proper mcs rate mask
authorDmitry Shmidt <dimitrysh@google.com>
Fri, 7 Sep 2012 18:22:54 +0000 (11:22 -0700)
committerDmitry Shmidt <dimitrysh@google.com>
Fri, 7 Sep 2012 18:25:30 +0000 (11:25 -0700)
Setting proper mcs rate mask allows to connect in 802.11n-only mode

Change-Id: Iffd47a60c92a74d29e42d81d79fa64463f5895c5
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
drivers/net/wireless/bcmdhd/wl_cfg80211.c

index 548cc0512d33a742207dc3f21272a6434011e52a..ea6aedd0df6f820c3884099c740348536d528d2b 100644 (file)
@@ -7293,6 +7293,7 @@ s32 wl_update_wiphybands(struct wl_priv *wl)
                        wiphy->bands[index]->ht_cap.ht_supported = TRUE;
                        wiphy->bands[index]->ht_cap.ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K;
                        wiphy->bands[index]->ht_cap.ampdu_density = IEEE80211_HT_MPDU_DENSITY_16;
+                       wiphy->bands[index]->ht_cap.mcs.rx_mask[0] = 0xff;
                }
        }