Fw: 2002-02-13 driver, WEP


From: Nigel Jones (nigel_at_planetf1.worldonline.co.uk)
Date: 2002-02-27 11:57:43 UTC



Since posting this I've noticed lots of "prism2: Shutdown failed" messages - just like below. Seems to happen in many cases not just when trying to enable WEP.

Changing the command timeout in prism2.c has resolved this problem to me - was 100, now 1000 (just to see)
ie I now have:
#define HFA384X_CMD_BUSY_TIMEOUT 1000
#define HFA384X_BAP_BUSY_TIMEOUT 5000

However WEP still doesn't work, although adding tracing suggests the right keys/length are getting passed down.. I'll have to look at exactly what's set in the RIDs. I'm using station firmware 8c3 in ad-hoc mode.

--
Nigel Jones
nigel_at_planetf1.worldonline.co.uk

----- Original Message -----
From: "Nigel Jones" <nigel_at_planetf1.worldonline.co.uk>
To: <hostap_at_lists.ssh.com>
Sent: Thursday, February 21, 2002 9:01 PM
Subject: 2002-02-13 driver, WEP



> I'm having difficulty using the 2002-02-13 driver in Ad-hoc mode.
> pcmcia-cs is 3.1.31, kernel 2.4.17 newnat2
> Without WEP the driver works fine, if I issue
> ifconfig wlan0 key 1111-1111-11 restricted
> the output from ifconfig wlan0 is unchanged
>
> similarly
> iwconfig wlan0 sens 2
>
> causes no change in the sensitivity
>
> Reviewing the kernel messages I see:
> wlan0: INFO - fid=0x00c3 - len=2 type=0xf200
> LinkStatus=2 (Disconnected)
> wlan0: hfa384x_setup_bap - timeout3
> wlan0: prism2_tx - to BAP0 failed
> prism2: eth0: resetting card
> prism2_cor_sreset: original COR 41
> wlan0: CMD=0x0002 => res=0x7f, resp0=0x0001
> prism2: Shutdown failed
> prism2_hw_config()
> prism2_hw_config: initialized in 9260 iterations
> wlan0: TXEXC - fid=0x010f - status=0x0004 ([Discon]) tx_control=000e
> retry_count=0 tx_rate=0 fc=0x0008 (Data::0)
> addr1=00:05:5d:f1:e0:87 addr2=00:05:5d:f1:d7:43 addr3=02:23:46:f4:e0:87
> wlan0: hfa384x_setup_bap - timeout3
> wlan0: prism2_tx - to BAP0 failed
> prism2: eth0: resetting card
> prism2_cor_sreset: original COR 41
> wlan0: CMD=0x0002 => res=0x7f, resp0=0x0001
> prism2: Shutdown failed
> prism2_hw_config()
> prism2_hw_config: initialized in 9252 iterations
> wlan0: TXEXC - fid=0x010f - status=0x0004 ([Discon]) tx_control=000e
> retry_count=0 tx_rate=0 fc=0x0008 (Data::0)
> addr1=00:05:5d:f1:e0:87 addr2=00:05:5d:f1:d7:43 addr3=02:23:46:f4:e0:87
> wlan0: INFO - fid=0x02b0 - len=2 type=0xf200
>
> I need to look into what's going wrong on the reset... but if anyone's got
> any ideas.... BTW the firmware is 8c3 - it's a prism2 dlink-dwl650
>
>
>
> Thanks
>
>
>
>
>
> --
> Nigel Jones
> nigel_at_planetf1.worldonline.co.uk
>
>


This archive was generated by hypermail 2.1.4.