Atmel and wpa_supplicant

David Mattes david.mattes
Wed Feb 9 19:16:22 PST 2005


I have a few questions about some problems with my Atmel device and WPA:

Running Fedora Core 3 with custom kernel 2.6.9.
atmelwlandriver-3.4.1.0
wpa_supplicant-0.2.6

Atmel AT76C503A is an internal USB device in a PC.  I think the part 
number is 1000WU221P02, but I have no idea who the manufacturer is.

The lsusb output:
Bus 002 Device 003: ID 03eb:7605 Atmel Corp. AT76c503a 802.11b Adapter
I added this ID to usb/config.h

USB Hub module is uhci-hcd
I did no usb kernel patch

I'm using Atmel module usbvnetr

Is a USB patch still required for kernel 2.6.9?

If trying WEP (separately from WPA) I get the following message trying 
to set WEP key, and strangely there is some mysterious key set(???):
Error for wireless request "Set Encode" (8B2A) :
    SET failed on device atml0 ; Invalid argument.

Below is Atmel debug output and wpa_supplicant output.  Can anyone see 
any problems? 

Also, on the AP logs for WPA I see the error:
Feb  9 18:50:29 airespace  [ERROR] File: apf_utils.c : Line: 1146 : 
Received an invalid Multicast WPA OUI type.
Feb  9 18:50:29 airespace  [SECURITY] File: apf_80211.c : Line: 1604 : 
Error processing WPA Info Element from 00:06:f4:03:36:89


syslog for Atmel debug output:
-------------------------------------------------------------------------------------------------------------------
eb  9 18:57:49 fctwsdev kernel: ======================= WPA Info 
=======================
Feb  9 18:57:49 fctwsdev kernel: airespacewpa
Feb  9 18:57:49 fctwsdev kernel: ======================= WPA Info 
Element=======================
Feb  9 18:57:49 fctwsdev kernel: dd18 050f2 1 1 0 050f2 2 1 0 050f2 2 1 
0 050f2 1 0 0
Feb  9 18:57:49 fctwsdev kernel: 
========================================================
Feb  9 18:57:49 fctwsdev kernel: Group Suite: 2
Feb  9 18:57:49 fctwsdev kernel: Pairwise Suite Cnt: 1 - Pairwise Suites: 02
Feb  9 18:57:49 fctwsdev kernel: Authentication Suite Cnt: 1 - 
Authentication Suites: 01
Feb  9 18:57:49 fctwsdev kernel: WPA Capabilities: 00-00
Feb  9 18:57:49 fctwsdev kernel: 
========================================================
Feb  9 18:57:49 fctwsdev kernel: [ 6 ] : SSID: airespacewpa
Feb  9 18:57:49 fctwsdev kernel: [ 7 ] : SSID:
Feb  9 18:57:49 fctwsdev kernel: [ 8 ] : SSID:
Feb  9 18:57:49 fctwsdev kernel: last cmd: Scan
Feb  9 18:57:49 fctwsdev kernel: desired ssid airespacewpa, opmode 
infrastructure, 9 bss in list
Feb  9 18:57:49 fctwsdev kernel: 
*********************************************************************
Feb  9 18:57:49 fctwsdev kernel:                          [ 0 ] : 
BSS_INFO.SSIDsize : 12
Feb  9 18:57:49 fctwsdev kernel:                          
DesiredSSIDsize : 12
Feb  9 18:57:49 fctwsdev kernel: 
*********************************************************************
Feb  9 18:57:49 fctwsdev kernel: SelectedBSSId : BSSID 
00:0b:85:03:11:1f, ssid airespacewpa
Feb  9 18:57:49 fctwsdev kernel: !Found : 9 BSSID's , Desired BSSID found
Feb  9 18:57:49 fctwsdev kernel: WepIsSet is set
Feb  9 18:57:49 fctwsdev kernel: JoinReq: ssid airespacewpa bsstype 2 
bssid 00:0b:85:03:11:1f
Feb  9 18:57:49 fctwsdev kernel: Join OK (ctrl_urb->status 0 flags 0212e121)
Feb  9 18:57:49 fctwsdev kernel: Deauthentication from BSSID 
00:0b:85:03:11:1f, flags x212e131, state 2, op mode 2
Feb  9 18:57:49 fctwsdev kernel: Remove ALL Keys
Feb  9 18:57:49 fctwsdev kernel: SetEncryptionStatus
Feb  9 18:57:49 fctwsdev kernel: ________ INSIDE ChangeEncryption()  
Remove-All-Keys________
Feb  9 18:57:49 fctwsdev kernel: Sending Authentication Request with 
Transaction Sequence Number:1...
Feb  9 18:57:49 fctwsdev kernel: AuthReq to bssid 00:0b:85:03:11:1f, WEP 
no, algorithm nr 0, seq nr 1, challenge text len 198
Feb  9 18:57:49 fctwsdev kernel: last cmd: SetMib
Feb  9 18:57:49 fctwsdev kernel: Auth response from BSSID 
00:0b:85:03:11:1f, status 0, trans_seq x2
Feb  9 18:57:49 fctwsdev kernel: Authentication Response Success (no WEP)
Feb  9 18:57:49 fctwsdev kernel: AssocReq to bssid 00:0b:85:03:11:1f, 
ssid airespacewpa, capa x31, rates 82840b16
Feb  9 18:57:49 fctwsdev kernel: Auth response from BSSID 
00:0b:85:03:11:1f, status 0, trans_seq x2
Feb  9 18:57:49 fctwsdev kernel: Auth response from BSSID 
00:0b:85:03:11:1f, status 0, trans_seq x2
Feb  9 18:57:49 fctwsdev kernel: last cmd: SetMib
Feb  9 18:57:49 fctwsdev kernel: ________ INSIDE GetEncryptionMIB() ________
Feb  9 18:57:49 fctwsdev kernel: Assoc response from BSSID 
00:0b:85:03:11:1f, status 17, assoc id 0
Feb  9 18:57:49 fctwsdev kernel: AssocReq to bssid 00:0b:85:03:11:1f, 
ssid airespacewpa, capa x31, rates 82840b16
Feb  9 18:57:49 fctwsdev kernel: Get Encryption MIB
Feb  9 18:57:49 fctwsdev kernel: CipherDefaultGroupKeyID:0
Feb  9 18:57:49 fctwsdev kernel: CipherDefaultKeyID:0
Feb  9 18:57:49 fctwsdev kernel: PrivacyInvoked:1
Feb  9 18:57:49 fctwsdev kernel: CipherDefaultKeyValue:
Feb  9 18:57:49 fctwsdev kernel: 00 06 F4 03 36 89 00 06 F4 03 36 89 00 
06 F4 03 36 89 00 06 F4 03 36 89 00 06 F4 03 36 89 00 06 00 00 00 00 00 
00 00 00
Feb  9 18:57:49 fctwsdev kernel: 19 00 00 00 00 00 00 00 00 00 00 00 0E 
09 00 00 00 40 0F C1 0F 10 00 00 00 00 0B C0 25 F5 19 C0 94 3D 35 C0 46 
00 00 00
Feb  9 18:57:49 fctwsdev kernel: 18 D1 11 C0 20 7D 34 C0 46 00 00 00 00 
40 0F C1 00 00 00 00 00 00 00 00 45 0D 1D C0 94 3D 35 C0 53 36 18 00 58 
FE 1C C0
Feb  9 18:57:49 fctwsdev kernel: D1 0A 00 00 20 92 0B C0 86 00 00 00 86 
00 00 00 E0 8F 02 00 48 00 C5 C3 82 00 00 00 82 00 00 00 60 48 34 C0 0F 
00 00 00
Feb  9 18:57:49 fctwsdev kernel: RSC:
Feb  9 18:57:49 fctwsdev kernel: 00 00 00 00 00 00 00 00
Feb  9 18:57:49 fctwsdev last message repeated 3 times
Feb  9 18:57:49 fctwsdev kernel: TKIPBSSID: 00:00:00:00:00:00
Feb  9 18:57:49 fctwsdev kernel: Exclude Unencrypted: 1:
Feb  9 18:57:49 fctwsdev kernel: Wep Encryption Type: 0:
Feb  9 18:57:49 fctwsdev kernel: Assoc response from BSSID 
00:0b:85:03:11:1f, status 1, assoc id 0
Feb  9 18:57:49 fctwsdev kernel: ScanReq for ssid airespacewpa 
international 0 type infrastructure (ch 1)
Feb  9 18:57:49 fctwsdev kernel: Scan OK (rx_urb->status -115 
StationState 01)
Feb  9 18:57:49 fctwsdev kernel:


wpa_supplicant output
----------------------------------------------------------------------------------------------------
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
Scan timeout - try to get results
Received 1155 bytes of scan results (9 BSSes)
Scan results: 9
Selecting BSS from priority group 1
0: 00:0b:85:03:11:1f ssid='airespacewpa' wpa_ie_len=26 rsn_ie_len=0
   selected
Trying to associate with 00:0b:85:03:11:1f (SSID='airespacewpa' freq=0 MHz)
Cancelling scan request
WPA: using IEEE 802.11i/D3.0
WPA: Own WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 
01 00 00 50 f2 02 01 00 00 50 f2 01
wpa_driver_atmel_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_atmel_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_atmel_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_atmel_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_atmel_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_atmel_set_drop_unencrypted - not yet implemented
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8b1a len=25
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
Authentication with 00:00:00:00:00:00 timed out.


-- 
-----------------------------------------------------------------------
David Mattes                             The Boeing Company
PO Box 3707  MC 7L-40                    Phantom Works
Seattle, WA  98124-2207                  M&CT
425-865-4166                             Advanced Manufacturing Systems
425-213-4691 (cell)
425-865-2965 (fax)                       david.mattes at boeing.com






More information about the Hostap mailing list