if_wi 104 bit WEP rx problem

Bjoern A. Zeeb bzeeb-lists at lists.zabbadoz.net
Mon Mar 31 12:10:16 PST 2003


Hi,

at my university they recently switched to 104 bit wep key encryption
(whatever this shall be good for; i'd prefer ipsec...).

I have an orinoco card that should have a firmware supporting 104 bit
wep keys (me followed the link on fenner's homepage).

info:

FreeBSD 5.0-CURRENT #0: Mon Mar 24 22:43:31 UTC 2003

wi0: <WaveLAN/IEEE> at port 0x100-0x13f irq 9 function 0 config 1 on pccard1
wi0: 802.11 address: 00:xx:xx:my:_m:ac
wi0: using Lucent Technologies, WaveLAN/IEEE
wi0: Lucent Firmware: Station (8.10.1)
wi0: supported rates: 1Mbps 2Mbps 5.5Mbps 11Mbps

It is still running fine with 40 bit keys but with 104 bit keys I seem
to have a problem. sending seems to work fine but receiving gives errors:
(hope I got the correct traces:)

 kernel: wi_newstate: INIT -> INIT
 kernel: wi_newstate: INIT -> INIT
 kernel: wi_newstate: INIT -> INIT
 kernel: wi_newstate: INIT -> INIT
 kernel: wi_newstate: INIT -> INIT
 kernel: wi_info_intr: LINK_STAT 0x1
 kernel: wi_newstate: INIT -> RUN

 kernel: TODS 00:xx:xx:my:_m:ac->33:33:ff:my:_m:ac(00:xx:xx:49:xy:xz) data WEP
 kernel: 0841 0000 0002 2d49 2324 0002 2d0f d274 3333 ff0f d274 0000 0000 0000 0000
 kernel: status 0x0 rx_tstamp1 0 rx_tstamp0 0x0 rx_silence 0
 kernel: rx_signal 0 rx_rate 0 rx_flow 0
 kernel: tx_rtry 0 tx_rate 0 tx_ctl 0xc dat_len 72
 kernel: ehdr dst 33:33:ff:my:_m:ac src 00:xx:xx:my:_m:ac type 0xdd86

 kernel: FRDS 00:xx:xx:my:_m:ac->01:60:1d:00:01:00(00:xx:xx:49:xy:xz) data WEP +166
 kernel: 0842 0000 0160 1d00 0100 0002 2d49 2324 0002 2d0f d274 5048 0527 19a8 251a
 kernel: status 0x2 rx_tstamp1 12007 rx_tstamp0 0x4 rx_silence 128
 kernel: rx_signal 166 rx_rate 20 rx_flow 144
 kernel: tx_rtry 0 tx_rate 0 tx_ctl 0x0 dat_len 60
 kernel: ehdr dst ab:1d:86:23:b0:7b src 34:12:b3:43:65:27 type 0x3c00
 kernel: wi_rx_intr: fid ca error status 2

 kernel: TODS 00:xx:xx:my:_m:ac->ff:ff:ff:ff:ff:ff(00:xx:xx:49:xy:xz) data WEP
 kernel: 0841 0000 0002 2d49 2324 0002 2d0f d274 ffff ffff ffff 1000 0000 0000 0000
 kernel: status 0x0 rx_tstamp1 0 rx_tstamp0 0x0 rx_silence 0
 kernel: rx_signal 0 rx_rate 0 rx_flow 0
 kernel: tx_rtry 0 tx_rate 0 tx_ctl 0xc dat_len 336
 kernel: ehdr dst ff:ff:ff:ff:ff:ff src 00:xx:xx:my:_m:ac type 0x8
 ....

What I can see the status is either 0x1 or 0x2 with 104 bits but
is 0x2000 with 40 bits.

 From what I understand WEP decryption is done in card itself ? So
is this a firmware problem ?

Any ideas on how to better debug this ?

Thanks in advance.

-- 
Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT
56 69 73 69 74				http://www.zabbadoz.net/


More information about the freebsd-mobile mailing list