2008-03-10 14:02:28

by Chris Hallinan

[permalink] [raw]
Subject: Bug 1623

http://bughost.org/bugzilla/show_bug.cgi?id=1623

Anything else I can do to help move this along? I'd love to dive into
the code, I just need a little guidance! I've written and debugged a
few Linux drivers in my day...

Any other testing you need, I'd be happy to assist.

Thanks,

Chris

--
Life is like Linux - it never stands still.


2008-03-11 15:03:56

by Luis R. Rodriguez

[permalink] [raw]
Subject: Re: Bug 1623

On Tue, Mar 11, 2008 at 2:17 AM, Tomas Winkler <[email protected]> wrote:
> On Tue, Mar 11, 2008 at 1:50 AM, Chris Hallinan <[email protected]> wrote:
> > On Mon, Mar 10, 2008 at 11:05 AM, Tomas Winkler <[email protected]> wrote:
> >
> > > On Mon, Mar 10, 2008 at 4:02 PM, Chris Hallinan <[email protected]> wrote:
> > > > http://bughost.org/bugzilla/show_bug.cgi?id=1623
> > > >
> > > > Anything else I can do to help move this along? I'd love to dive into
> > > > the code, I just need a little guidance! I've written and debugged a
> > > > few Linux drivers in my day...
> > > >
> > > > Any other testing you need, I'd be happy to assist.
> > > >
> > > > Thanks,
> > > >
> > > > Chris
> > >
> > > We've recently committed fixes to 4965 rate scaling can you try the
> > > latest version of wireless-testing kernel?
> > >
> > I was unable to get either 1.2.25 nor top-of-tree from git (iwlwifi)
> > to compile with wireless-testing kernel.
>
> I see, the point is that wireless-testing already contains latest
> iwlwifi driver much newer then 1.2.25. so no need for patching just
> compile the kernel.

Or if you don't want to compile your kernel and just compile the
modules externally you can grab the compat-wireless-package that pulls
daily from wireless-testing:

http://linuxwireless.org/en/users/Download

Luis

2008-03-11 06:18:17

by Tomas Winkler

[permalink] [raw]
Subject: Re: Bug 1623

On Tue, Mar 11, 2008 at 1:50 AM, Chris Hallinan <[email protected]> wrote:
> On Mon, Mar 10, 2008 at 11:05 AM, Tomas Winkler <[email protected]> wrote:
>
> > On Mon, Mar 10, 2008 at 4:02 PM, Chris Hallinan <[email protected]> wrote:
> > > http://bughost.org/bugzilla/show_bug.cgi?id=1623
> > >
> > > Anything else I can do to help move this along? I'd love to dive into
> > > the code, I just need a little guidance! I've written and debugged a
> > > few Linux drivers in my day...
> > >
> > > Any other testing you need, I'd be happy to assist.
> > >
> > > Thanks,
> > >
> > > Chris
> >
> > We've recently committed fixes to 4965 rate scaling can you try the
> > latest version of wireless-testing kernel?
> >
> I was unable to get either 1.2.25 nor top-of-tree from git (iwlwifi)
> to compile with wireless-testing kernel.

I see, the point is that wireless-testing already contains latest
iwlwifi driver much newer then 1.2.25. so no need for patching just
compile the kernel.

> As another data point, it appears the iwl4965 operates at full speed
> using a more up-to-date Wireless Access Point such as the
> Cisco/Linksys WAP4400N.

I'm not so familiar with the Linksys-B AP. Is it B-only AP?
I suspect there is a problem in rate scaling and we are going beyond
the CCK rates which B-only AP cannot hear.
but this is only shutting to darkness, need to reproduce.
I'm not sure if you have a sniffer but capture of traffic would be very useful.

> Given that input, is there somewhere else we could look? I will
> update the bug record with these findings.

Can you put exact version of the AP to your bug description, including
software/firmware version.

Thanks
Tomas

2008-03-10 16:24:17

by Chris Hallinan

[permalink] [raw]
Subject: Re: Bug 1623

On Mon, Mar 10, 2008 at 11:05 AM, Tomas Winkler <[email protected]> wrote:
> On Mon, Mar 10, 2008 at 4:02 PM, Chris Hallinan <[email protected]> wrote:
> > http://bughost.org/bugzilla/show_bug.cgi?id=1623
> >
> > Anything else I can do to help move this along? I'd love to dive into
> > the code, I just need a little guidance! I've written and debugged a
> > few Linux drivers in my day...
> >
> > Any other testing you need, I'd be happy to assist.
> >
> > Thanks,
> >
> > Chris
>
> We've recently committed fixes to 4965 rate scaling can you try the
> latest version of wireless-testing kernel?
>
>

Not sure if I understand the terminology correctly (wireless-testing
kernel?) but I just tried the top-of-tree from git repo (iwlwifi) and
the results are the same. Stuck at very low speed, and no apparent
activity on the rs_window /sys file.

Regards,

Chris

2008-03-10 15:05:02

by Tomas Winkler

[permalink] [raw]
Subject: Re: Bug 1623

On Mon, Mar 10, 2008 at 4:02 PM, Chris Hallinan <[email protected]> wrote:
> http://bughost.org/bugzilla/show_bug.cgi?id=1623
>
> Anything else I can do to help move this along? I'd love to dive into
> the code, I just need a little guidance! I've written and debugged a
> few Linux drivers in my day...
>
> Any other testing you need, I'd be happy to assist.
>
> Thanks,
>
> Chris

We've recently committed fixes to 4965 rate scaling can you try the
latest version of wireless-testing kernel?


Thanks
Tomas
> --
> Life is like Linux - it never stands still.
> --
> 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
>

2008-03-11 16:34:16

by Chris Hallinan

[permalink] [raw]
Subject: Re: Bug 1623

On Tue, Mar 11, 2008 at 2:17 AM, Tomas Winkler <[email protected]> wrote:
> On Tue, Mar 11, 2008 at 1:50 AM, Chris Hallinan <[email protected]> wrote:
> > On Mon, Mar 10, 2008 at 11:05 AM, Tomas Winkler <[email protected]> wrote:
> >
> > > On Mon, Mar 10, 2008 at 4:02 PM, Chris Hallinan <[email protected]> wrote:
> > > > http://bughost.org/bugzilla/show_bug.cgi?id=1623
> > > >
> > > > Anything else I can do to help move this along? I'd love to dive into
> > > > the code, I just need a little guidance! I've written and debugged a
> > > > few Linux drivers in my day...
> > > >
> > > > Any other testing you need, I'd be happy to assist.
> > > >
> > > > Thanks,
> > > >
> > > > Chris
> > >
> > > We've recently committed fixes to 4965 rate scaling can you try the
> > > latest version of wireless-testing kernel?
> > >
> > I was unable to get either 1.2.25 nor top-of-tree from git (iwlwifi)
> > to compile with wireless-testing kernel.
>
> I see, the point is that wireless-testing already contains latest
> iwlwifi driver much newer then 1.2.25. so no need for patching just
> compile the kernel.

OK, sorry for the confusion, iwl4965 was not enabled by default, and I
assumed it was not there.
I've completed the test, wireless-testing kernel from two days ago
does not resolve the slow wireless connection. I will update the bug
report with this data.

>
>
> > As another data point, it appears the iwl4965 operates at full speed
> > using a more up-to-date Wireless Access Point such as the
> > Cisco/Linksys WAP4400N.
>
> I'm not so familiar with the Linksys-B AP. Is it B-only AP?
> I suspect there is a problem in rate scaling and we are going beyond
> the CCK rates which B-only AP cannot hear.
> but this is only shutting to darkness, need to reproduce.
> I'm not sure if you have a sniffer but capture of traffic would be very useful.

It's an old Wireless-B unit, so I can only guess it's 'B' only. It is
a Linksys WAP11 Ver. 2.0
Firmware: v2.05, Aug. 04, 2003. Unfortunately, the hotels and coffee
shops around the country are filled with these units, and I travel for
a living, so I'm holding out hopes for a solution, and stand ready to
help in any way I can.

Again, I will update the bug report with this data.

Regards,

Chris

2008-03-10 23:50:51

by Chris Hallinan

[permalink] [raw]
Subject: Re: Bug 1623

On Mon, Mar 10, 2008 at 11:05 AM, Tomas Winkler <[email protected]> wrote:
> On Mon, Mar 10, 2008 at 4:02 PM, Chris Hallinan <[email protected]> wrote:
> > http://bughost.org/bugzilla/show_bug.cgi?id=1623
> >
> > Anything else I can do to help move this along? I'd love to dive into
> > the code, I just need a little guidance! I've written and debugged a
> > few Linux drivers in my day...
> >
> > Any other testing you need, I'd be happy to assist.
> >
> > Thanks,
> >
> > Chris
>
> We've recently committed fixes to 4965 rate scaling can you try the
> latest version of wireless-testing kernel?
>
I was unable to get either 1.2.25 nor top-of-tree from git (iwlwifi)
to compile with wireless-testing kernel.

As another data point, it appears the iwl4965 operates at full speed
using a more up-to-date Wireless Access Point such as the
Cisco/Linksys WAP4400N.

Given that input, is there somewhere else we could look? I will
update the bug record with these findings.

-Chris

2008-03-11 15:31:57

by Tomas Winkler

[permalink] [raw]
Subject: Re: Bug 1623

On Tue, Mar 11, 2008 at 5:13 PM, Filippo Zangheri
<[email protected]> wrote:
> Luis R. Rodriguez ha scritto:
>
>
> > On Tue, Mar 11, 2008 at 2:17 AM, Tomas Winkler <[email protected]> w=
rote:
> >> On Tue, Mar 11, 2008 at 1:50 AM, Chris Hallinan <challinan@gmail.=
com> wrote:
> >> > On Mon, Mar 10, 2008 at 11:05 AM, Tomas Winkler <tomasw@gmail.=
com> wrote:
> >> >
> >> > > On Mon, Mar 10, 2008 at 4:02 PM, Chris Hallinan <challinan@g=
mail.com> wrote:
> >> > > > http://bughost.org/bugzilla/show_bug.cgi?id=3D1623
> >> > > >
> >> > > > Anything else I can do to help move this along? I'd lo=
ve to dive into
> >> > > > the code, I just need a little guidance! I've written =
and debugged a
> >> > > > few Linux drivers in my day...
> >> > > >
> >> > > > Any other testing you need, I'd be happy to assist.
> >> > > >
> >> > > > Thanks,
> >> > > >
> >> > > > Chris
> >> > >
> >> > > We've recently committed fixes to 4965 rate scaling can yo=
u try the
> >> > > latest version of wireless-testing kernel?
> >> > >
> >> > I was unable to get either 1.2.25 nor top-of-tree from git (i=
wlwifi)
> >> > to compile with wireless-testing kernel.
> >>
> >> I see, the point is that wireless-testing already contains lates=
t
> >> iwlwifi driver much newer then 1.2.25. so no need for patching j=
ust
> >> compile the kernel.
> >
> > Or if you don't want to compile your kernel and just compile the
> > modules externally you can grab the compat-wireless-package that p=
ulls
> > daily from wireless-testing:
> >
> > http://linuxwireless.org/en/users/Download
>
> I can confirm that. Building wireless drivers modules and subsystem
> was never so easy and time-efficient.
>
> Maybe this is useless, but if you want to avoid bulding all modules
> and subsystems you just need to edit config.mk.
>
> Great project!
>
> Just my =800.02.
>
> --
> Filippo Zangheri
>
> GPG key ID: 0xE1D879FA
> Key fingerprint: 816B CE57 D43C 0A47 EF35 3378 EA5F A72A E1D8 79FA
> Key server: pgp.mit.edu
>
> -----BEGIN GEEK CODE BLOCK-----
> Version: 3.12
> GE d- s+:- a-- C++ UL+++ P+ L+++ E-- W+ N* o-- K- w--- O-- M--
> V- PS++ PE+ Y+ PGP++ t 5-- X++ R* tv b+ DI-- D---- G-- e++ h--
> r++ z*
> ------END GEEK CODE BLOCK------
>
>

Chris
If you are able to get running wireless-testing can you just dump
debugfs rate_scale_table file. Since it's run time data it has to be
done while preforming the test.

The file is usually located under
/sys/kernel/debug/ieee80211/phy0/stations/<AP mac
address>/rate_scale_table

Thanks
Tomas

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

2008-03-11 15:14:00

by Filippo Zangheri

[permalink] [raw]
Subject: Re: Bug 1623

Luis R. Rodriguez ha scritto:
> On Tue, Mar 11, 2008 at 2:17 AM, Tomas Winkler <[email protected]> wro=
te:
>> On Tue, Mar 11, 2008 at 1:50 AM, Chris Hallinan <[email protected]=
> wrote:
>> > On Mon, Mar 10, 2008 at 11:05 AM, Tomas Winkler <[email protected]=
> wrote:
>> >
>> > > On Mon, Mar 10, 2008 at 4:02 PM, Chris Hallinan <challinan@gmai=
l.com> wrote:
>> > > > http://bughost.org/bugzilla/show_bug.cgi?id=3D1623
>> > > >
>> > > > Anything else I can do to help move this along? I'd love =
to dive into
>> > > > the code, I just need a little guidance! I've written and=
debugged a
>> > > > few Linux drivers in my day...
>> > > >
>> > > > Any other testing you need, I'd be happy to assist.
>> > > >
>> > > > Thanks,
>> > > >
>> > > > Chris
>> > >
>> > > We've recently committed fixes to 4965 rate scaling can you t=
ry the
>> > > latest version of wireless-testing kernel?
>> > >
>> > I was unable to get either 1.2.25 nor top-of-tree from git (iwlw=
ifi)
>> > to compile with wireless-testing kernel.
>>
>> I see, the point is that wireless-testing already contains latest
>> iwlwifi driver much newer then 1.2.25. so no need for patching just
>> compile the kernel.
>=20
> Or if you don't want to compile your kernel and just compile the
> modules externally you can grab the compat-wireless-package that pull=
s
> daily from wireless-testing:
>=20
> http://linuxwireless.org/en/users/Download

I can confirm that. Building wireless drivers modules and subsystem
was never so easy and time-efficient.

Maybe this is useless, but if you want to avoid bulding all modules
and subsystems you just need to edit config.mk.

Great project!

Just my =E2=82=AC0.02.

--=20
=46ilippo Zangheri

GPG key ID: 0xE1D879FA
Key fingerprint: 816B CE57 D43C 0A47 EF35 3378 EA5F A72A E1D8 79FA
Key server: pgp.mit.edu

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE d- s+:- a-- C++ UL+++ P+ L+++ E-- W+ N* o-- K- w--- O-- M--
V- PS++ PE+ Y+ PGP++ t 5-- X++ R* tv b+ DI-- D---- G-- e++ h--
r++ z*
------END GEEK CODE BLOCK------