Subject: Re: ath driver and wep
To: None <10.50@free.fr>
From: Greg Troxel <gdt@ir.bbn.com>
List: current-users
Date: 10/02/2005 11:59:02
Vincent <10.50@free.fr> writes:

> Greg Troxel a =C3=A9crit :
>=20
> > I made the following change (locally, not committed) yet to
> > sys/dev/ic/ath.c to write wep keys to the hardware on power up.  This
> > intends to fix the problem of wep keys being set while the power is
> > off (ifconfig nwkey before ifconfig up), or lost during ifconfig
> > down/up.  I tested on one machine and an ifconfig down/up resulted in
> > a working configuration where previously it did not (and I received a
> > report from someone else who had the same problem).
>=20
> I tested it, not for long, but I was led to this:
>=20
> It is *definitely* better. but I think it does not solve completely
> the problem, as I found my PC disconnected after a while. And it
> surely does not solve the autodeconnection bug (the card drops the
> link for some unknown reason).

I have no reason to believe my change will address the
'autodisconnection bug'; it simply writes wep keys when the card is
powered up.

> Update: apparently, this morning (here in Europe!) the patch crashed
> the system. It seems to create some instability in the link: the IP
> level fails, while the level 2 is still connected=E2=80=A6 As a result, t=
he
> LED of my PCMCIA card still blink normally, while I can't ping my
>  access point.

I find it unlikely that it would cause a crash, but of course until we
find the bug one can never tell.  Can you explain how you are
concluding that this change is to blame?

--=20
        Greg Troxel <gdt@ir.bbn.com>