2009-12-20 13:38:19

by Valentin Manea

[permalink] [raw]
Subject: Intel 4965 HT rates

Hi,

I'm running compat-wireless-2.6.33-rc1 and iw list shows some confusing HT
capabilities:
Band 1:
HT capabilities: 0x082c
* 20 MHz operation
* SM PS disabled
* 20 MHz short GI
* max A-MSDU len 7935

but for 802.11a channels:
Band 2:
HT capabilities: 0x086e
* 20/40 MHz operation
* SM PS disabled
* 20 MHz short GI
* 40 MHz short GI
* max A-MSDU len 7935

While I can't tell when this happened, I remember older 2.6.29 releases
supported HT40 for both bands.
The wireless card is an Intel 4965 on a Thinkpad T61.


Regards,
Valentin



2009-12-29 00:46:32

by Zhu Yi

[permalink] [raw]
Subject: Re: Intel 4965 HT rates

On Tue, 2009-12-29 at 04:33 +0800, Gábor Stefanik wrote:
> Doesn't the Windows driver use a completely different, thinner
> firmware (without all the regulatory hardening crap, as the driver
> itself is closed-source)?

Yes, the Windows firmware doesn't have the regulatory handling. But
that's the only difference.

Thanks,
-yi


2009-12-20 21:51:31

by Luis R. Rodriguez

[permalink] [raw]
Subject: Re: Intel 4965 HT rates

On Sun, Dec 20, 2009 at 1:48 PM, Luis R. Rodriguez <[email protected]> wrote:
> On Sun, Dec 20, 2009 at 1:42 PM, Luis R. Rodriguez <[email protected]> wrote:
>> So it appears to be done explicitly in software, not sure if hardware
>> does support HT40 on 2.4 GHz band on the 4965, Intel folks would
>> though.
>
> Just checked 2.6.29 code and its the same there.

Except its called priv->hw_params.fat_channel there.

Luis

2009-12-28 20:34:14

by Gábor Stefanik

[permalink] [raw]
Subject: Re: Intel 4965 HT rates

2009/12/28 Zhu Yi <[email protected]>:
> On Mon, 2009-12-21 at 21:52 +0800, G?bor Stefanik wrote:
>> On Mon, Dec 21, 2009 at 3:44 AM, Zhu Yi <[email protected]> wrote:
>> > On Mon, 2009-12-21 at 10:33 +0800, Guy, Wey-Yi W wrote:
>> >> For 4965, 40MHz only supported in g band
>> >
>> > We don't support 40MHz channels in 2.4G band. See comments in
>> > iwl-eeprom.h:
>> >
>> > ?*
>> > ?* NOTE: ?4965 does not support HT40 channels on 2.4 GHz.
>> > ?*/
>> >
>> > Thanks,
>> > -yi
>>
>> But why does the Windows driver for 4965 support it then?
>
> Have you tested how well it is supported? The firmware people suggest to
> disable this feature (although the hardware was originally designed to)
> due to some internal problems.
>
> Thanks,
> -yi
>
>

Doesn't the Windows driver use a completely different, thinner
firmware (without all the regulatory hardening crap, as the driver
itself is closed-source)?

--
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)

2009-12-28 03:45:44

by Zhu Yi

[permalink] [raw]
Subject: Re: Intel 4965 HT rates

On Mon, 2009-12-21 at 21:52 +0800, Gábor Stefanik wrote:
> On Mon, Dec 21, 2009 at 3:44 AM, Zhu Yi <[email protected]> wrote:
> > On Mon, 2009-12-21 at 10:33 +0800, Guy, Wey-Yi W wrote:
> >> For 4965, 40MHz only supported in g band
> >
> > We don't support 40MHz channels in 2.4G band. See comments in
> > iwl-eeprom.h:
> >
> > *
> > * NOTE: 4965 does not support HT40 channels on 2.4 GHz.
> > */
> >
> > Thanks,
> > -yi
>
> But why does the Windows driver for 4965 support it then?

Have you tested how well it is supported? The firmware people suggest to
disable this feature (although the hardware was originally designed to)
due to some internal problems.

Thanks,
-yi


2009-12-21 02:33:09

by Wey-Yi Guy

[permalink] [raw]
Subject: RE: Intel 4965 HT rates

Rm9yIDQ5NjUsIDQwTUh6IG9ubHkgc3VwcG9ydGVkIGluIGcgYmFuZA0KDQ1TZW50IGJ5IEdvb2Qg
TWVzc2FnaW5nICh3d3cuZ29vZC5jb20pDQoNCg0KIC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0t
DQpGcm9tOiAJVmFsZW50aW4gTWFuZWEgW21haWx0bzpsaW51eC13aXJlbGVzc0BtcnMucm9dDQpT
ZW50OglTdW5kYXksIERlY2VtYmVyIDIwLCAyMDA5IDA1OjM4IEFNIFBhY2lmaWMgU3RhbmRhcmQg
VGltZQ0KVG86CWxpbnV4LXdpcmVsZXNzQHZnZXIua2VybmVsLm9yZw0KU3ViamVjdDoJSW50ZWwg
NDk2NSBIVCByYXRlcw0KDQpIaSwNCg0KICBJJ20gcnVubmluZyBjb21wYXQtd2lyZWxlc3MtMi42
LjMzLXJjMSBhbmQgaXcgbGlzdCBzaG93cyBzb21lIGNvbmZ1c2luZyBIVCANCmNhcGFiaWxpdGll
czoNCiAgICAgICAgQmFuZCAxOiAgICAgICAgICAgIA0KICAgICAgICAgICAgICAgIEhUIGNhcGFi
aWxpdGllczogMHgwODJjDQogICAgICAgICAgICAgICAgICAgICAgICAqIDIwIE1IeiBvcGVyYXRp
b24NCiAgICAgICAgICAgICAgICAgICAgICAgICogU00gUFMgZGlzYWJsZWQgIA0KICAgICAgICAg
ICAgICAgICAgICAgICAgKiAyMCBNSHogc2hvcnQgR0kgDQogICAgICAgICAgICAgICAgICAgICAg
ICAqIG1heCBBLU1TRFUgbGVuIDc5MzUNCg0KYnV0IGZvciA4MDIuMTFhIGNoYW5uZWxzOg0KICAg
ICAgICBCYW5kIDI6ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgDQogICAgICAgICAgICAgICAgSFQgY2FwYWJpbGl0aWVzOiAweDA4
NmUgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICANCiAgICAgICAgICAgICAg
ICAgICAgICAgICogMjAvNDAgTUh6IG9wZXJhdGlvbiAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgIA0KICAgICAgICAgICAgICAgICAgICAgICAgKiBTTSBQUyBkaXNhYmxlZCAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgDQogICAgICAgICAgICAgICAgICAgICAgICAq
IDIwIE1IeiBzaG9ydCBHSSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICANCiAg
ICAgICAgICAgICAgICAgICAgICAgICogNDAgTUh6IHNob3J0IEdJICAgICAgICAgICA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ZXJuZWwub3JnL21ham9yZG9tby1pbmZvLmh0bWwK
Pj4gTu+/ve+/ve+/ve+/ve+/vXLvv73vv71577+977+977+9Yu+/vVjvv73vv73Hp3bvv71e77+9
Kd66ey5u77+9K++/ve+/ve+/ve+/vXvvv73vv70q3pXvv70s77+9e2F577+9IMqH2pnvv70saiDv
v73vv71m77+977+977+9aO+/ve+/ve+/vXrvv70g77+9d++/ve+/ve+/vSDvv73vv73vv71qOit2
77+977+977+9d++/vWrvv71t77+977+977+977+9IO+/ve+/ve+/ve+/vXpaK++/ve+/ve+/ve+/
ve+/vd2iaiLvv73vv70h77+9aQo+Cj4KPiAtLQo+IFRvIHVuc3Vic2NyaWJlIGZyb20gdGhpcyBs
aXN0OiBzZW5kIHRoZSBsaW5lICJ1bnN1YnNjcmliZSBsaW51eC13aXJlbGVzcyIgaW4KPiB0aGUg
Ym9keSBvZiBhIG1lc3NhZ2UgdG8gbWFqb3Jkb21vQHZnZXIua2VybmVsLm9yZwo+IE1vcmUgbWFq
b3Jkb21vIGluZm8gYXQgwqBodHRwOi8vdmdlci5rZXJuZWwub3JnL21ham9yZG9tby1pbmZvLmh0
bWwKPgoKCgotLSAKVmlzdGE6IFtWXWlydXNlcywgW0ldbnRydWRlcnMsIFtTXXB5d2FyZSwgW1Rd
cm9qYW5zIGFuZCBbQV1kd2FyZS4gOi0pCg==

2009-12-21 02:44:10

by Zhu Yi

[permalink] [raw]
Subject: RE: Intel 4965 HT rates

On Mon, 2009-12-21 at 10:33 +0800, Guy, Wey-Yi W wrote:
> For 4965, 40MHz only supported in g band

We don't support 40MHz channels in 2.4G band. See comments in
iwl-eeprom.h:

*
* NOTE: 4965 does not support HT40 channels on 2.4 GHz.
*/

Thanks,
-yi

> -----Original Message-----
> From: Valentin Manea [mailto:[email protected]]
> Sent: Sunday, December 20, 2009 05:38 AM Pacific Standard Time
> To: [email protected]
> Subject: Intel 4965 HT rates
>
> Hi,
>
> I'm running compat-wireless-2.6.33-rc1 and iw list shows some confusing HT
> capabilities:
> Band 1:
> HT capabilities: 0x082c
> * 20 MHz operation
> * SM PS disabled
> * 20 MHz short GI
> * max A-MSDU len 7935
>
> but for 802.11a channels:
> Band 2:
> HT capabilities: 0x086e
> * 20/40 MHz operation
> * SM PS disabled
> * 20 MHz short GI
> * 40 MHz short GI
> * max A-MSDU len 7935
>
> While I can't tell when this happened, I remember older 2.6.29 releases
> supported HT40 for both bands.
> The wireless card is an Intel 4965 on a Thinkpad T61.
>
>
> Regards,
> Valentin
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> N�����r��y���b�X��ǧv�^�)޺{.n�+����{��*ޕ�,�{ay�ʇڙ�,j��f���h���z��w��� ���j:+v���w�j�m��������zZ+�����ݢj"��!�i



2009-12-20 21:43:18

by Luis R. Rodriguez

[permalink] [raw]
Subject: Re: Intel 4965 HT rates

On Sun, Dec 20, 2009 at 5:10 AM, Valentin Manea <[email protected]> wrote:
> Hi,
>
>  I'm running compat-wireless-2.6.33-rc1 and iw list shows some confusing HT
> capabilities:
>        Band 1:
>                HT capabilities: 0x082c
>                        * 20 MHz operation
>                        * SM PS disabled
>                        * 20 MHz short GI
>                        * max A-MSDU len 7935
>
> but for 802.11a channels:
>        Band 2:
>                HT capabilities: 0x086e
>                        * 20/40 MHz operation
>                        * SM PS disabled
>                        * 20 MHz short GI
>                        * 40 MHz short GI
>                        * max A-MSDU len 7935
>
> While I can't tell when this happened, I remember older 2.6.29 releases
> supported HT40 for both bands.

How do you know? What makes you believe that was the case?

> The wireless card is an Intel 4965 on a Thinkpad T61.

The ht_cap that gets parsed and sent back through nl80211 is
initialized in iwl-agn on iwl-core.c on iwlcore_init_ht_hw_capab() as
follows

static void iwlcore_init_ht_hw_capab(const struct iwl_priv *priv,
struct ieee80211_sta_ht_cap *ht_info,
enum ieee80211_band band)
{
....
if (priv->hw_params.ht40_channel & BIT(band)) {
ht_info->cap |= IEEE80211_HT_CAP_SUP_WIDTH_20_40;
ht_info->cap |= IEEE80211_HT_CAP_SGI_40;
ht_info->mcs.rx_mask[4] = 0x01;
max_bit_rate = MAX_BIT_RATE_40_MHZ;
}
....
}

And the priv->hw_params.ht40_channel gets initialized for 4965
hardware on iwl4965_hw_set_hw_params():

static int iwl4965_hw_set_hw_params(struct iwl_priv *priv)
{
...
priv->hw_params.ht40_channel = BIT(IEEE80211_BAND_5GHZ);
....
}

iwl-5000 and iwl-6000 sets this to both bands:

int iwl5000_hw_set_hw_params(struct iwl_priv *priv)
{
....
priv->hw_params.ht40_channel = BIT(IEEE80211_BAND_2GHZ) |
BIT(IEEE80211_BAND_5GHZ);
....
}

static int iwl6000_hw_set_hw_params(struct iwl_priv *priv)
{
....
priv->hw_params.ht40_channel = BIT(IEEE80211_BAND_2GHZ) |
BIT(IEEE80211_BAND_5GHZ);
....
}

So it appears to be done explicitly in software, not sure if hardware
does support HT40 on 2.4 GHz band on the 4965, Intel folks would
though.

Luis

2009-12-20 22:36:30

by Valentin Manea

[permalink] [raw]
Subject: Re: Intel 4965 HT rates

Hmmm,

Sorry, you are right, Intel describes this as a feature for the 4965. I was
probably running a very old driver(it was before they added support for the
5000 series), because I remember specifically the router reporting a 117Mbs
bitrate.
I'm still trying to track down that driver as it seems quite silly to have
this artificial limitation.

Thanks,
Valentin

On Sunday 20 December 2009 11:42:58 pm Luis R. Rodriguez wrote:
> On Sun, Dec 20, 2009 at 5:10 AM, Valentin Manea <[email protected]>
wrote:
> > Hi,
> >
> > I'm running compat-wireless-2.6.33-rc1 and iw list shows some confusing
> > HT capabilities:
> > Band 1:
> > HT capabilities: 0x082c
> > * 20 MHz operation
> > * SM PS disabled
> > * 20 MHz short GI
> > * max A-MSDU len 7935
> >
> > but for 802.11a channels:
> > Band 2:
> > HT capabilities: 0x086e
> > * 20/40 MHz operation
> > * SM PS disabled
> > * 20 MHz short GI
> > * 40 MHz short GI
> > * max A-MSDU len 7935
> >
> > While I can't tell when this happened, I remember older 2.6.29 releases
> > supported HT40 for both bands.
>
> How do you know? What makes you believe that was the case?
>
> > The wireless card is an Intel 4965 on a Thinkpad T61.
>
> The ht_cap that gets parsed and sent back through nl80211 is
> initialized in iwl-agn on iwl-core.c on iwlcore_init_ht_hw_capab() as
> follows
>
> static void iwlcore_init_ht_hw_capab(const struct iwl_priv *priv,
> struct ieee80211_sta_ht_cap *ht_info,
> enum ieee80211_band band)
> {
> ....
> if (priv->hw_params.ht40_channel & BIT(band)) {
> ht_info->cap |= IEEE80211_HT_CAP_SUP_WIDTH_20_40;
> ht_info->cap |= IEEE80211_HT_CAP_SGI_40;
> ht_info->mcs.rx_mask[4] = 0x01;
> max_bit_rate = MAX_BIT_RATE_40_MHZ;
> }
> ....
> }
>
> And the priv->hw_params.ht40_channel gets initialized for 4965
> hardware on iwl4965_hw_set_hw_params():
>
> static int iwl4965_hw_set_hw_params(struct iwl_priv *priv)
> {
> ...
> priv->hw_params.ht40_channel = BIT(IEEE80211_BAND_5GHZ);
> ....
> }
>
> iwl-5000 and iwl-6000 sets this to both bands:
>
> int iwl5000_hw_set_hw_params(struct iwl_priv *priv)
> {
> ....
> priv->hw_params.ht40_channel = BIT(IEEE80211_BAND_2GHZ) |
> BIT(IEEE80211_BAND_5GHZ);
> ....
> }
>
> static int iwl6000_hw_set_hw_params(struct iwl_priv *priv)
> {
> ....
> priv->hw_params.ht40_channel = BIT(IEEE80211_BAND_2GHZ) |
> BIT(IEEE80211_BAND_5GHZ);
> ....
> }
>
> So it appears to be done explicitly in software, not sure if hardware
> does support HT40 on 2.4 GHz band on the 4965, Intel folks would
> though.
>
> Luis
>

2009-12-20 21:52:27

by Gábor Stefanik

[permalink] [raw]
Subject: Re: Intel 4965 HT rates

On Sun, Dec 20, 2009 at 10:42 PM, Luis R. Rodriguez <[email protected]> wrote:
> On Sun, Dec 20, 2009 at 5:10 AM, Valentin Manea <[email protected]> wrote:
>> Hi,
>>
>> ?I'm running compat-wireless-2.6.33-rc1 and iw list shows some confusing HT
>> capabilities:
>> ? ? ? ?Band 1:
>> ? ? ? ? ? ? ? ?HT capabilities: 0x082c
>> ? ? ? ? ? ? ? ? ? ? ? ?* 20 MHz operation
>> ? ? ? ? ? ? ? ? ? ? ? ?* SM PS disabled
>> ? ? ? ? ? ? ? ? ? ? ? ?* 20 MHz short GI
>> ? ? ? ? ? ? ? ? ? ? ? ?* max A-MSDU len 7935
>>
>> but for 802.11a channels:
>> ? ? ? ?Band 2:
>> ? ? ? ? ? ? ? ?HT capabilities: 0x086e
>> ? ? ? ? ? ? ? ? ? ? ? ?* 20/40 MHz operation
>> ? ? ? ? ? ? ? ? ? ? ? ?* SM PS disabled
>> ? ? ? ? ? ? ? ? ? ? ? ?* 20 MHz short GI
>> ? ? ? ? ? ? ? ? ? ? ? ?* 40 MHz short GI
>> ? ? ? ? ? ? ? ? ? ? ? ?* max A-MSDU len 7935
>>
>> While I can't tell when this happened, I remember older 2.6.29 releases
>> supported HT40 for both bands.
>
> How do you know? What makes you believe that was the case?
>
>> The wireless card is an Intel 4965 on a Thinkpad T61.
>
> The ht_cap that gets parsed and sent back through nl80211 is
> initialized in iwl-agn on iwl-core.c on iwlcore_init_ht_hw_capab() as
> follows
>
> static void iwlcore_init_ht_hw_capab(const struct iwl_priv *priv,
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?struct ieee80211_sta_ht_cap *ht_info,
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?enum ieee80211_band band)
> {
> ? ? ? ?....
> ? ? ? ?if (priv->hw_params.ht40_channel & BIT(band)) {
> ? ? ? ? ? ? ? ?ht_info->cap |= IEEE80211_HT_CAP_SUP_WIDTH_20_40;
> ? ? ? ? ? ? ? ?ht_info->cap |= IEEE80211_HT_CAP_SGI_40;
> ? ? ? ? ? ? ? ?ht_info->mcs.rx_mask[4] = 0x01;
> ? ? ? ? ? ? ? ?max_bit_rate = MAX_BIT_RATE_40_MHZ;
> ? ? ? ?}
> ? ? ? ?....
> }
>
> And the priv->hw_params.ht40_channel gets initialized for 4965
> hardware on iwl4965_hw_set_hw_params():
>
> static int iwl4965_hw_set_hw_params(struct iwl_priv *priv)
> {
> ? ? ? ?...
> ? ? ? ?priv->hw_params.ht40_channel = BIT(IEEE80211_BAND_5GHZ);
> ? ? ? ?....
> }
>
> iwl-5000 and iwl-6000 sets this to both bands:
>
> int iwl5000_hw_set_hw_params(struct iwl_priv *priv)
> {
> ? ? ? ?....
> ? ? ? ?priv->hw_params.ht40_channel = ?BIT(IEEE80211_BAND_2GHZ) |
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?BIT(IEEE80211_BAND_5GHZ);
> ? ? ? ?....
> }
>
> static int iwl6000_hw_set_hw_params(struct iwl_priv *priv)
> {
> ? ? ? ?....
> ? ? ? ?priv->hw_params.ht40_channel = ?BIT(IEEE80211_BAND_2GHZ) |
> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?BIT(IEEE80211_BAND_5GHZ);
> ? ? ? ?....
> }
>
> So it appears to be done explicitly in software, not sure if hardware
> does support HT40 on 2.4 GHz band on the 4965, Intel folks would
> though.
>

AFAIK the Windows driver supports 2GHz HT40 for all cards, but
disables it by default, even for IWL5/6xxx.

> ?Luis
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at ?http://vger.kernel.org/majordomo-info.html
>



--
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)

2010-01-21 21:10:19

by Gábor Stefanik

[permalink] [raw]
Subject: Re: Intel 4965 HT rates

2010/1/21 Zhu Yi <[email protected]>:
> On Mon, 2009-12-21 at 05:52 -0800, Gábor Stefanik wrote:
>> On Mon, Dec 21, 2009 at 3:44 AM, Zhu Yi <[email protected]> wrote:
>> > On Mon, 2009-12-21 at 10:33 +0800, Guy, Wey-Yi W wrote:
>> >> For 4965, 40MHz only supported in g band
>> >
>> > We don't support 40MHz channels in 2.4G band. See comments in
>> > iwl-eeprom.h:
>> >
>> >  *
>> >  * NOTE:  4965 does not support HT40 channels on 2.4 GHz.
>> >  */
>> But why does the Windows driver for 4965 support it then?
>
> Can you dump your 4965 eeprom and see if the channels in band 6 (2.4GHz
> 40MHz channel band) are valid? You can use modparam "debug=1" and grep
> 'HT40' in dmesg. If the flag is 0x0, the channel is marked as invalid by
> EEPROM. The Linux driver simply excludes the HT40 channel in this case.
>
> Thanks,
> -yi

Unfortunately I have exchanged my 4965 for an 5300 (it failed
recently, and a 5300 was the replacement), so I can no longer provide
a dump. However, others can probably produce one, and if needed, I can
buy another 4965 to see if it still does 2.4GHz HT40 in Windos.

>
>> >>  -----Original Message-----
>> >> From:         Valentin Manea [mailto:[email protected]]
>> >> Sent: Sunday, December 20, 2009 05:38 AM Pacific Standard Time
>> >> To:   [email protected]
>> >> Subject:      Intel 4965 HT rates
>> >>
>> >> Hi,
>> >>
>> >>   I'm running compat-wireless-2.6.33-rc1 and iw list shows some confusing HT
>> >> capabilities:
>> >>         Band 1:
>> >>                 HT capabilities: 0x082c
>> >>                         * 20 MHz operation
>> >>                         * SM PS disabled
>> >>                         * 20 MHz short GI
>> >>                         * max A-MSDU len 7935
>> >>
>> >> but for 802.11a channels:
>> >>         Band 2:
>> >>                 HT capabilities: 0x086e
>> >>                         * 20/40 MHz operation
>> >>                         * SM PS disabled
>> >>                         * 20 MHz short GI
>> >>                         * 40 MHz short GI
>> >>                         * max A-MSDU len 7935
>> >>
>> >> While I can't tell when this happened, I remember older 2.6.29 releases
>> >> supported HT40 for both bands.
>> >> The wireless card is an Intel 4965 on a Thinkpad T61.
>> >>
>> >>
>> >> Regards,
>> >> Valentin
>> >>
>> >> --
>> >> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
>> >> the body of a message to [email protected]
>> >> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>> >> N�����r��y���b�X��ǧv�^�)޺{.n�+����{��*ޕ�,�{ay� ʇڙ�,j ��f���h���z� �w��� ���j:+v���w�j�m���� ����zZ+�����ݢj"��!�i
>> >
>> >
>> > --
>> > To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
>> > the body of a message to [email protected]
>> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
>> >
>>
>>
>>
>
>
>



--
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)

2010-01-22 01:37:54

by Zhu Yi

[permalink] [raw]
Subject: Re: Intel 4965 HT rates

On Thu, 2010-01-21 at 13:09 -0800, Gábor Stefanik wrote:
> > Can you dump your 4965 eeprom and see if the channels in band 6
> (2.4GHz
> > 40MHz channel band) are valid? You can use modparam "debug=1" and
> grep
> > 'HT40' in dmesg. If the flag is 0x0, the channel is marked as
> invalid by
> > EEPROM. The Linux driver simply excludes the HT40 channel in this
> case.
>
> Unfortunately I have exchanged my 4965 for an 5300 (it failed
> recently, and a 5300 was the replacement), so I can no longer provide
> a dump. However, others can probably produce one, and if needed, I can
> buy another 4965 to see if it still does 2.4GHz HT40 in Windos.

No problem. All my 4965 cards here have empty band 6 channels. I just
wonder if yours is different. If so, it is a quirk the Windows driver
enables 2.4GHz HT40 channels (for some cases) ignoring the EEPROM
setting. As the firmware for Linux driver has strong regulatory
checking, this might be impossible without changing the firmware.

Thanks,
-yi


2010-01-21 07:18:10

by Zhu Yi

[permalink] [raw]
Subject: Re: Intel 4965 HT rates

On Mon, 2009-12-21 at 05:52 -0800, Gábor Stefanik wrote:
> On Mon, Dec 21, 2009 at 3:44 AM, Zhu Yi <[email protected]> wrote:
> > On Mon, 2009-12-21 at 10:33 +0800, Guy, Wey-Yi W wrote:
> >> For 4965, 40MHz only supported in g band
> >
> > We don't support 40MHz channels in 2.4G band. See comments in
> > iwl-eeprom.h:
> >
> > *
> > * NOTE: 4965 does not support HT40 channels on 2.4 GHz.
> > */
> But why does the Windows driver for 4965 support it then?

Can you dump your 4965 eeprom and see if the channels in band 6 (2.4GHz
40MHz channel band) are valid? You can use modparam "debug=1" and grep
'HT40' in dmesg. If the flag is 0x0, the channel is marked as invalid by
EEPROM. The Linux driver simply excludes the HT40 channel in this case.

Thanks,
-yi

> >> -----Original Message-----
> >> From: Valentin Manea [mailto:[email protected]]
> >> Sent: Sunday, December 20, 2009 05:38 AM Pacific Standard Time
> >> To: [email protected]
> >> Subject: Intel 4965 HT rates
> >>
> >> Hi,
> >>
> >> I'm running compat-wireless-2.6.33-rc1 and iw list shows some confusing HT
> >> capabilities:
> >> Band 1:
> >> HT capabilities: 0x082c
> >> * 20 MHz operation
> >> * SM PS disabled
> >> * 20 MHz short GI
> >> * max A-MSDU len 7935
> >>
> >> but for 802.11a channels:
> >> Band 2:
> >> HT capabilities: 0x086e
> >> * 20/40 MHz operation
> >> * SM PS disabled
> >> * 20 MHz short GI
> >> * 40 MHz short GI
> >> * max A-MSDU len 7935
> >>
> >> While I can't tell when this happened, I remember older 2.6.29 releases
> >> supported HT40 for both bands.
> >> The wireless card is an Intel 4965 on a Thinkpad T61.
> >>
> >>
> >> Regards,
> >> Valentin
> >>
> >> --
> >> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> >> the body of a message to [email protected]
> >> More majordomo info at http://vger.kernel.org/majordomo-info.html
> >> N�����r��y���b�X��ǧv�^�)޺{.n�+����{��*ޕ�,�{ay� ʇڙ�,j ��f���h���z� �w��� ���j:+v���w�j�m���� ����zZ+�����ݢj"��!�i
> >
> >
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> > the body of a message to [email protected]
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
> >
>
>
>