diff options
author | Eliad Peller <eliad@wizery.com> | 2012-11-27 01:44:49 -0500 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-12-04 10:05:53 -0500 |
commit | 0330ee1f5bb65bd2fd3c4b3980f4ba999405a153 (patch) | |
tree | 823b47933e4b367351d96c60313e649c65c0b6af /drivers/net/wireless/ti/wl18xx/main.c | |
parent | 5d979f35179c365a6455302bd5a1fa0063a4065e (diff) |
wl18xx: declare support for greenfield ht_cap
The 18xx fw supports greenfield so add the
IEEE80211_HT_CAP_GRN_FLD flag to the supported
ht capabilities flags.
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Ido Reis <idor@ti.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wl18xx/main.c')
-rw-r--r-- | drivers/net/wireless/ti/wl18xx/main.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/net/wireless/ti/wl18xx/main.c b/drivers/net/wireless/ti/wl18xx/main.c index 4621d67cfe2d..f6c2bac9f640 100644 --- a/drivers/net/wireless/ti/wl18xx/main.c +++ b/drivers/net/wireless/ti/wl18xx/main.c | |||
@@ -1426,7 +1426,8 @@ static struct wlcore_ops wl18xx_ops = { | |||
1426 | /* HT cap appropriate for wide channels in 2Ghz */ | 1426 | /* HT cap appropriate for wide channels in 2Ghz */ |
1427 | static struct ieee80211_sta_ht_cap wl18xx_siso40_ht_cap_2ghz = { | 1427 | static struct ieee80211_sta_ht_cap wl18xx_siso40_ht_cap_2ghz = { |
1428 | .cap = IEEE80211_HT_CAP_SGI_20 | IEEE80211_HT_CAP_SGI_40 | | 1428 | .cap = IEEE80211_HT_CAP_SGI_20 | IEEE80211_HT_CAP_SGI_40 | |
1429 | IEEE80211_HT_CAP_SUP_WIDTH_20_40 | IEEE80211_HT_CAP_DSSSCCK40, | 1429 | IEEE80211_HT_CAP_SUP_WIDTH_20_40 | IEEE80211_HT_CAP_DSSSCCK40 | |
1430 | IEEE80211_HT_CAP_GRN_FLD, | ||
1430 | .ht_supported = true, | 1431 | .ht_supported = true, |
1431 | .ampdu_factor = IEEE80211_HT_MAX_AMPDU_16K, | 1432 | .ampdu_factor = IEEE80211_HT_MAX_AMPDU_16K, |
1432 | .ampdu_density = IEEE80211_HT_MPDU_DENSITY_16, | 1433 | .ampdu_density = IEEE80211_HT_MPDU_DENSITY_16, |
@@ -1440,7 +1441,8 @@ static struct ieee80211_sta_ht_cap wl18xx_siso40_ht_cap_2ghz = { | |||
1440 | /* HT cap appropriate for wide channels in 5Ghz */ | 1441 | /* HT cap appropriate for wide channels in 5Ghz */ |
1441 | static struct ieee80211_sta_ht_cap wl18xx_siso40_ht_cap_5ghz = { | 1442 | static struct ieee80211_sta_ht_cap wl18xx_siso40_ht_cap_5ghz = { |
1442 | .cap = IEEE80211_HT_CAP_SGI_20 | IEEE80211_HT_CAP_SGI_40 | | 1443 | .cap = IEEE80211_HT_CAP_SGI_20 | IEEE80211_HT_CAP_SGI_40 | |
1443 | IEEE80211_HT_CAP_SUP_WIDTH_20_40, | 1444 | IEEE80211_HT_CAP_SUP_WIDTH_20_40 | |
1445 | IEEE80211_HT_CAP_GRN_FLD, | ||
1444 | .ht_supported = true, | 1446 | .ht_supported = true, |
1445 | .ampdu_factor = IEEE80211_HT_MAX_AMPDU_16K, | 1447 | .ampdu_factor = IEEE80211_HT_MAX_AMPDU_16K, |
1446 | .ampdu_density = IEEE80211_HT_MPDU_DENSITY_16, | 1448 | .ampdu_density = IEEE80211_HT_MPDU_DENSITY_16, |
@@ -1453,7 +1455,8 @@ static struct ieee80211_sta_ht_cap wl18xx_siso40_ht_cap_5ghz = { | |||
1453 | 1455 | ||
1454 | /* HT cap appropriate for SISO 20 */ | 1456 | /* HT cap appropriate for SISO 20 */ |
1455 | static struct ieee80211_sta_ht_cap wl18xx_siso20_ht_cap = { | 1457 | static struct ieee80211_sta_ht_cap wl18xx_siso20_ht_cap = { |
1456 | .cap = IEEE80211_HT_CAP_SGI_20, | 1458 | .cap = IEEE80211_HT_CAP_SGI_20 | |
1459 | IEEE80211_HT_CAP_GRN_FLD, | ||
1457 | .ht_supported = true, | 1460 | .ht_supported = true, |
1458 | .ampdu_factor = IEEE80211_HT_MAX_AMPDU_16K, | 1461 | .ampdu_factor = IEEE80211_HT_MAX_AMPDU_16K, |
1459 | .ampdu_density = IEEE80211_HT_MPDU_DENSITY_16, | 1462 | .ampdu_density = IEEE80211_HT_MPDU_DENSITY_16, |
@@ -1466,7 +1469,8 @@ static struct ieee80211_sta_ht_cap wl18xx_siso20_ht_cap = { | |||
1466 | 1469 | ||
1467 | /* HT cap appropriate for MIMO rates in 20mhz channel */ | 1470 | /* HT cap appropriate for MIMO rates in 20mhz channel */ |
1468 | static struct ieee80211_sta_ht_cap wl18xx_mimo_ht_cap_2ghz = { | 1471 | static struct ieee80211_sta_ht_cap wl18xx_mimo_ht_cap_2ghz = { |
1469 | .cap = IEEE80211_HT_CAP_SGI_20, | 1472 | .cap = IEEE80211_HT_CAP_SGI_20 | |
1473 | IEEE80211_HT_CAP_GRN_FLD, | ||
1470 | .ht_supported = true, | 1474 | .ht_supported = true, |
1471 | .ampdu_factor = IEEE80211_HT_MAX_AMPDU_16K, | 1475 | .ampdu_factor = IEEE80211_HT_MAX_AMPDU_16K, |
1472 | .ampdu_density = IEEE80211_HT_MPDU_DENSITY_16, | 1476 | .ampdu_density = IEEE80211_HT_MPDU_DENSITY_16, |