[rt2x00-users] [PATCH 4/5] rt2x00: Update rt2800 HT capabilities
Helmut Schaa
helmut.schaa at googlemail.com
Mon Aug 23 12:54:15 UTC 2010
Am Monday 23 August 2010 schrieb Ivo van Doorn:
> The legacy Ralink drivers have some mac80211 code enabled,
> and enable flags IEEE80211_HT_CAP_SM_PS and
> IEEE80211_HT_CAP_DSSSCCK40. So apparently these features
> are supported and we can enable them as well.
>
> Signed-off-by: Ivo van Doorn <IvDoorn at gmail.com>
> ---
> drivers/net/wireless/rt2x00/rt2800lib.c | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/wireless/rt2x00/rt2800lib.c b/drivers/net/wireless/rt2x00/rt2800lib.c
> index ecbd07a..14549f5 100644
> --- a/drivers/net/wireless/rt2x00/rt2800lib.c
> +++ b/drivers/net/wireless/rt2x00/rt2800lib.c
> @@ -3053,9 +3053,11 @@ int rt2800_probe_hw_mode(struct rt2x00_dev *rt2x00dev)
>
> spec->ht.cap =
> IEEE80211_HT_CAP_SUP_WIDTH_20_40 |
> + IEEE80211_HT_CAP_SM_PS |
We need to handle IEEE80211_CONF_CHANGE_SMPS in the config callback to really
make use of this flag. Not sure if it breaks anything when we enable this flag
but don't handle SMPS changes in the config callback.
> IEEE80211_HT_CAP_GRN_FLD |
> IEEE80211_HT_CAP_SGI_20 |
> - IEEE80211_HT_CAP_SGI_40;
> + IEEE80211_HT_CAP_SGI_40 |
> + IEEE80211_HT_CAP_DSSSCCK40;
Do all rt2800 devices support this?
Thanks,
Helmut
More information about the users
mailing list