On Tuesday 05 February 2008 13:11:53 Luis R. Rodriguez wrote:
> On Feb 4, 2008 10:51 PM, bruno randolf <[EMAIL PROTECTED]> wrote:
> > On Monday 04 February 2008 11:53:20 Luis R. Rodriguez wrote:
> > > Hardware encryption doesn't work yet so lets use software
> > > encryption for now.
> > >
> > > Changes-licensed-under: 3-Clause-BSD
> > >
> > > Signed-off-by: Luis R. Rodriguez <[EMAIL PROTECTED]>
> > > ---
> > >  drivers/net/wireless/ath5k/base.c |    4 +++-
> > >  1 files changed, 3 insertions(+), 1 deletions(-)
> > >
> > > diff --git a/drivers/net/wireless/ath5k/base.c
> > > b/drivers/net/wireless/ath5k/base.c index bfe6836..ef9655c 100644
> > > --- a/drivers/net/wireless/ath5k/base.c
> > > +++ b/drivers/net/wireless/ath5k/base.c
> > > @@ -2922,7 +2922,9 @@ ath5k_set_key(struct ieee80211_hw *hw, enum
> > > set_key_cmd cmd,
> > >
> > >       switch(key->alg) {
> > >       case ALG_WEP:
> > > -             break;
> > > +     /* XXX: fix hardware encryption, its not working. For now
> > > +      * allow software encryption */
> > > +             /* break; */
> > >       case ALG_TKIP:
> > >       case ALG_CCMP:
> > >               return -EOPNOTSUPP;
> >
> > hi luis!
> >
> > does this actually work for you?
> >
> > (i still can't use WEP here, seems like a header padding problem
> > (maybe?))
>
> Yup, replying using a laptop on WEP 128-bit. My signal is crappy so it
> had to try a few times. Below is the log in case it helps.

thanks luis,

it actually turned out to be a problem with header padding, which is not 
specific to WEP, but break only with WEP. i'll send a patch shortly.

bruno

> [82764.508000] ACPI: PCI Interrupt 0000:02:00.0[A] -> GSI 21 (level,
> low) -> IRQ 16
> [82764.508000] ath5k_pci 0000:02:00.0: registered as 'phy1'
> [82764.544000] phy1: Selected rate control algorithm 'simple'
> [82764.544000] ath5k phy1: Atheros AR5213A chip found (MAC: 0x59, PHY:
> 0x43) [82764.544000] ath5k phy1: RF5112A multiband radio found (0x36)
> [82765.040000] ADDRCONF(NETDEV_UP): wlan2: link is not ready
>
> Unplug ethernet cable:
> [82821.356000] e100: eth0: e100_watchdog: link down
>
> [82826.372000] ADDRCONF(NETDEV_UP): wlan2: link is not ready
> [82831.440000] ADDRCONF(NETDEV_UP): wlan2: link is not ready
> [82836.616000] wlan2: Initial auth_alg=0
> [82836.616000] wlan2: authenticate with AP 00:05:5d:fa:d6:cc
> [82836.620000] wlan2: RX authentication from 00:05:5d:fa:d6:cc (alg=0
> transaction=2 status=0)
> [82836.620000] wlan2: authenticated
> [82836.620000] wlan2: associate with AP 00:05:5d:fa:d6:cc
> [82836.620000] wlan2: authentication frame received from
> xx:xx:xx:xx:xx:xx, but not in authenticate state - ignored
> [82836.624000] wlan2: authentication frame received from
> xx:xx:xx:xx:xx:xx, but not in authenticate state - ignored
> [82836.628000] wlan2: authentication frame received from
> xx:xx:xx:xx:xx:xx, but not in authenticate state - ignored
> [82836.632000] wlan2: authentication frame received from
> xx:xx:xx:xx:xx:xx, but not in authenticate state - ignored
> [82836.640000] wlan2: authentication frame received from
> xx:xx:xx:xx:xx:xx, but not in authenticate state - ignored
> [82836.820000] wlan2: associate with AP xx:xx:xx:xx:xx:xx
> [82836.824000] wlan2: RX AssocResp from xx:xx:xx:xx:xx:xx (capab=0x411
> status=0 aid=2)
> [82836.824000] wlan2: associated
> [82836.824000] wlan2: switched to long barker preamble
> (BSSID=xx:xx:xx:xx:xx:xx) [82836.828000] ADDRCONF(NETDEV_CHANGE): wlan2:
> link becomes ready
> [82836.832000] wlan2: association frame received from
> xx:xx:xx:xx:xx:xx, but not in associate state - ignored
> [82843.460000] wlan2: deauthenticate(reason=3)
> [82861.204000] ADDRCONF(NETDEV_UP): wlan2: link is not ready
> [82867.136000] wlan2: Initial auth_alg=0
> [82867.136000] wlan2: authenticate with AP xx:xx:xx:xx:xx:xx
> [82867.136000] wlan2: RX authentication from xx:xx:xx:xx:xx:xx (alg=0
> transaction=2 status=0)
> [82867.136000] wlan2: authenticated
> [82867.136000] wlan2: associate with AP xx:xx:xx:xx:xx:xx
> [82867.336000] wlan2: associate with AP xx:xx:xx:xx:xx:xx
> [82867.352000] wlan2: RX AssocResp from xx:xx:xx:xx:xx:xx (capab=0x411
> status=0 aid=2)
> [82867.352000] wlan2: associated
> [82867.352000] wlan2: switched to long barker preamble
> (BSSID=xx:xx:xx:xx:xx:xx) [82867.352000] ADDRCONF(NETDEV_CHANGE): wlan2:
> link becomes ready
> [82882.748000] wlan2: no IPv6 routers present
>
>
>   Luis


_______________________________________________
ath5k-devel mailing list
[email protected]
https://lists.ath5k.org/mailman/listinfo/ath5k-devel

Reply via email to