2007-10-10 12:21:22

by Marcus Better

[permalink] [raw]
Subject: Re: rt2500pci 2.0.9 not working

Johannes Berg wrote:
> The same error 19?

Precisely. I'm quite sure it did recompile ieee80211_ioctl.c after I applied
your patch, and I've double-checked that I installed the correct kernel...

Oct 10 12:53:59 better kernel: phy0 -> rt2x00mac_conf_tx: Info - Configured
TX ring 0 - CWmin: 5, CWmax: 10, Aifs: 2.
Oct 10 12:53:59 better kernel: phy0 -> rt2x00mac_conf_tx: Info - Configured
TX ring 1 - CWmin: 5, CWmax: 10, Aifs: 2.
Oct 10 12:53:59 better kernel: phy0 -> rt2x00mac_conf_tx: Info - Configured
TX ring 7 - CWmin: 6, CWmax: 10, Aifs: 2.
Oct 10 12:53:59 better kernel: wlan0: Initial auth_alg=0
Oct 10 12:53:59 better kernel: wlan0: authenticate with AP 00:14:6c:a7:60:10
Oct 10 12:53:59 better kernel: wlan0: RX authentication from
00:14:6c:a7:60:10 (alg=0 transaction=2 status=0)
Oct 10 12:53:59 better kernel: wlan0: authenticated
Oct 10 12:53:59 better kernel: wlan0: associate with AP 00:14:6c:a7:60:10
Oct 10 12:53:59 better kernel: wlan0: invalid aid value 0; bits 15:14 not
set
Oct 10 12:53:59 better kernel: wlan0: RX AssocResp from 00:14:6c:a7:60:10
(capab=0x431 status=19 aid=0)
Oct 10 12:53:59 better kernel: wlan0: AP denied association (code=19)
Oct 10 12:53:59 better kernel: wlan0: associate with AP 00:14:6c:a7:60:10
Oct 10 12:53:59 better kernel: wlan0: invalid aid value 0; bits 15:14 not
set
Oct 10 12:53:59 better kernel: wlan0: RX AssocResp from 00:14:6c:a7:60:10
(capab=0x431 status=19 aid=0)
Oct 10 12:53:59 better kernel: wlan0: AP denied association (code=19)
Oct 10 12:53:59 better kernel: wlan0: associate with AP 00:14:6c:a7:60:10
Oct 10 12:53:59 better kernel: wlan0: invalid aid value 0; bits 15:14 not
set
Oct 10 12:53:59 better kernel: wlan0: RX AssocResp from 00:14:6c:a7:60:10
(capab=0x431 status=19 aid=0)
Oct 10 12:53:59 better kernel: wlan0: AP denied association (code=19)
Oct 10 12:53:59 better kernel: wlan0: association with AP 00:14:6c:a7:60:10
timed out

> That's weird because if you select a G mode we do
> advertise short slot/short preamble.

Can I select the mode from the command line?

Marcus




2007-10-11 09:17:57

by Marcus Better

[permalink] [raw]
Subject: Re: rt2500pci 2.0.9 not working

Johannes Berg wrote:
> First a note: could you please send me copies of mail using
> reply-to-all?

Yes, sorry, I was using Gmane and Knode, and one of them seems to munge
the other recipients.

> No, but you can comment out the B mode registration in rt2500pci and see
> if that helps.

I have very limited time to find out how to do that, but will gladly try a
patch...

Thanks,

Marcus



2007-10-10 17:43:18

by Johannes Berg

[permalink] [raw]
Subject: Re: rt2500pci 2.0.9 not working

First a note: could you please send me copies of mail using
reply-to-all? I frequently simply skim over mailing lists and just
almost missed your mail. I don't do that with my inbox...

> Precisely. I'm quite sure it did recompile ieee80211_ioctl.c after I applied
> your patch, and I've double-checked that I installed the correct kernel...

:)


> > That's weird because if you select a G mode we do
> > advertise short slot/short preamble.
>
> Can I select the mode from the command line?

No, but you can comment out the B mode registration in rt2500pci and see
if that helps.

johannes


Attachments:
signature.asc (828.00 B)
This is a digitally signed message part

2007-10-11 09:15:52

by Johannes Berg

[permalink] [raw]
Subject: Re: rt2500pci 2.0.9 not working

On Thu, 2007-10-11 at 11:05 +0200, Marcus Better wrote:

> > No, but you can comment out the B mode registration in rt2500pci and see
> > if that helps.
>
> I have very limited time to find out how to do that, but will gladly try a
> patch...

Me neither. It seems to be in rt2x00dev.c, Ivo can you help maybe? Just
for debugging. I'd have thought that adding the 'break' statement would
fix it.

Alternatively, could you print out the selected mode in
ieee80211_ioctl.c:ieee80211_set_channel?

something like
printk(KERN_DEBUG "selected mode %d\n", local->oper_hw_mode->mode);
printk(KERN_DEBUG "select channel %d\n", local->oper_channel);

johannes


Attachments:
signature.asc (828.00 B)
This is a digitally signed message part