aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2012-09-07 11:22:54 -0700
committerDmitry Shmidt <dimitrysh@google.com>2012-09-07 11:25:30 -0700
commit6a5fe817ac903697a9e996af18bc74f0d8e82ce9 (patch)
treef3721d5ca62224272ce6a9cace95a6d37a247108
parent1dfbc281b4a77cd19dd65fa447a8567b3c0b93f2 (diff)
downloadkernel_samsung_tuna-6a5fe817ac903697a9e996af18bc74f0d8e82ce9.zip
kernel_samsung_tuna-6a5fe817ac903697a9e996af18bc74f0d8e82ce9.tar.gz
kernel_samsung_tuna-6a5fe817ac903697a9e996af18bc74f0d8e82ce9.tar.bz2
net: wireless: bcmdhd: Report proper mcs rate mask
Setting proper mcs rate mask allows to connect in 802.11n-only mode Change-Id: Iffd47a60c92a74d29e42d81d79fa64463f5895c5 Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
-rw-r--r--drivers/net/wireless/bcmdhd/wl_cfg80211.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/bcmdhd/wl_cfg80211.c b/drivers/net/wireless/bcmdhd/wl_cfg80211.c
index 548cc05..ea6aedd 100644
--- a/drivers/net/wireless/bcmdhd/wl_cfg80211.c
+++ b/drivers/net/wireless/bcmdhd/wl_cfg80211.c
@@ -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;
}
}