[PATCH 1/3] Declare all HT capabilities

Eugene Krasnikov k.eugene.e at gmail.com
Thu Jul 11 14:04:47 EDT 2013


wcn36xx did not declare all HT capabilities that HW supports.

Signed-off-by: Eugene Krasnikov <k.eugene.e at gmail.com>
---
 main.c | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/main.c b/main.c
index 6800b17..7f9de6d 100644
--- a/main.c
+++ b/main.c
@@ -128,11 +128,13 @@ static struct ieee80211_supported_band wcn_band_2ghz = {
 	.bitrates	= wcn_2ghz_rates,
 	.n_bitrates	= ARRAY_SIZE(wcn_2ghz_rates),
 	.ht_cap		= {
-		.cap = IEEE80211_HT_CAP_GRN_FLD | IEEE80211_HT_CAP_SGI_20 |
-			(1 << IEEE80211_HT_CAP_RX_STBC_SHIFT),
+		.cap = IEEE80211_HT_CAP_GRN_FLD
+			| IEEE80211_HT_CAP_SGI_20
+			| IEEE80211_HT_CAP_DSSSCCK40
+			| IEEE80211_HT_CAP_LSIG_TXOP_PROT,
 		.ht_supported = true,
-		.ampdu_factor = IEEE80211_HT_MAX_AMPDU_8K,
-		.ampdu_density = IEEE80211_HT_MPDU_DENSITY_8,
+		.ampdu_factor = IEEE80211_HT_MAX_AMPDU_64K,
+		.ampdu_density = IEEE80211_HT_MPDU_DENSITY_16,
 		.mcs = {
 			.rx_mask = { 0xff, 0, 0, 0, 0, 0, 0, 0, 0, 0, },
 			.rx_highest = cpu_to_le16(72),
-- 
1.7.11.3




More information about the wcn36xx mailing list