2008-03-31 19:37:35

by drago01

[permalink] [raw]
Subject: dynamic wep with mulitple keys

Hello,

I noticed that I can connect to some dynamic wep APs fine using
iwl3945 and with other it does not work, while ipw3945 work with all
of them.
Both driver associate fine but iwl3945 never gets an ip from dhcp.
I checked with iwlist key and it seems that this APs are using only
one key with iwl3945 but two with ipw3945.
The APs that work (I recognize them by BSSID) are using only one key
with both drivers.
Does this mean that mac80211/iwl3945 for some reason drops one key or
never sets it? (broadcast key?)
Any idea how to get more infos to debug this? (Can attach both iwlist
key outputs if this is needed).


2008-04-01 18:49:04

by drago01

[permalink] [raw]
Subject: Re: [ipw3945-devel] dynamic wep with mulitple keys

On Tue, Apr 1, 2008 at 7:53 AM, Tomas Winkler <[email protected]> wrote:
>
> On 3/31/08, drago01 <[email protected]> wrote:
> > Hello,
> >
> > I noticed that I can connect to some dynamic wep APs fine using
> > iwl3945 and with other it does not work, while ipw3945 work with all
> > of them.
> > Both driver associate fine but iwl3945 never gets an ip from dhcp.
> > I checked with iwlist key and it seems that this APs are using only
> > one key with iwl3945 but two with ipw3945.
> > The APs that work (I recognize them by BSSID) are using only one key
> > with both drivers.
> > Does this mean that mac80211/iwl3945 for some reason drops one key or
> > never sets it? (broadcast key?)
> > Any idea how to get more infos to debug this? (Can attach both iwlist
> > key outputs if this is needed).
>
> Currently iwl uses cryptom management provided by mac80211, we are
> preparing patches for using of HW acceleration till now you must look
> for
> problems mac80211.

OK, Johannes any idea what it might be?

> Some log prints will be useful to debug it anyway.

Which kind of logs exactly?
Tried adding debug=0x43fff and no usefull (related) stuff got printed.

(added some CC's)

2008-04-01 21:04:42

by Tomas Winkler

[permalink] [raw]
Subject: Re: [ipw3945-devel] dynamic wep with mulitple keys

On Tue, Apr 1, 2008 at 9:49 PM, drago01 <[email protected]> wrote:
> On Tue, Apr 1, 2008 at 7:53 AM, Tomas Winkler <[email protected]> wrote:
> >
> > On 3/31/08, drago01 <[email protected]> wrote:
> > > Hello,
> > >
> > > I noticed that I can connect to some dynamic wep APs fine using
> > > iwl3945 and with other it does not work, while ipw3945 work with all
> > > of them.
> > > Both driver associate fine but iwl3945 never gets an ip from dhcp.
> > > I checked with iwlist key and it seems that this APs are using only
> > > one key with iwl3945 but two with ipw3945.
> > > The APs that work (I recognize them by BSSID) are using only one key
> > > with both drivers.
> > > Does this mean that mac80211/iwl3945 for some reason drops one key or
> > > never sets it? (broadcast key?)
> > > Any idea how to get more infos to debug this? (Can attach both iwlist
> > > key outputs if this is needed).
> >
> > Currently iwl uses cryptom management provided by mac80211, we are
> > preparing patches for using of HW acceleration till now you must look
> > for
> > problems mac80211.
>
> OK, Johannes any idea what it might be?
>
>
> > Some log prints will be useful to debug it anyway.
>
> Which kind of logs exactly?

You will probably need to add some printouts into mac80211. Please
validate that you are receiving two keys from a supplicant. The order
should be first unicast then broadcast key.

> Tried adding debug=0x43fff and no usefull (related) stuff got printed.

Logs from iwlwifi are not useful for now.

Thanks
Tomas

2008-04-01 05:53:31

by Tomas Winkler

[permalink] [raw]
Subject: Re: [ipw3945-devel] dynamic wep with mulitple keys

On 3/31/08, drago01 <[email protected]> wrote:
> Hello,
>
> I noticed that I can connect to some dynamic wep APs fine using
> iwl3945 and with other it does not work, while ipw3945 work with all
> of them.
> Both driver associate fine but iwl3945 never gets an ip from dhcp.
> I checked with iwlist key and it seems that this APs are using only
> one key with iwl3945 but two with ipw3945.
> The APs that work (I recognize them by BSSID) are using only one key
> with both drivers.
> Does this mean that mac80211/iwl3945 for some reason drops one key or
> never sets it? (broadcast key?)
> Any idea how to get more infos to debug this? (Can attach both iwlist
> key outputs if this is needed).

Currently iwl uses cryptom management provided by mac80211, we are
preparing patches for using of HW acceleration till now you must look
for
problems mac80211.
Some log prints will be useful to debug it anyway.

Tomas


> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Ipw3945-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ipw3945-devel
>