WPS:external WLAN Manager Registrars

Srinivas Pitla srinivas.pitla
Thu Oct 22 22:14:22 PDT 2009


Here is the details about WFA testcase

*Testcase title*:
	4.2.3 Add devices using multiple external Registrars and internal Registrar.

For this test case, I am using the following devices

 Registrars:
 Microsoft STA -- Wired External registrar
 Intel STA     -- WLAN External registrar

Enrollees:
 Atheros STA, Marvel STA, Ralink STA.

Observations in testcase execution:

Microsoft STA configured AP.
Intel STA(external WLAN Registrar mode) connected to AP.
Ping from Microsoft STA to Intel STA is succeeded.

Marvel STA (which is acting as Enrollee) connected to AP using Microsoft STA (PIN mode).
Ping from Marvel STA to Microsoft STA is succeeded.


I entered PIN of Atheros STA into Intel STA.
Then hostapd is receiving the packets,
but it is not forwarding those packets to Intel STA (observed in sniffer).
It is giving error as No More registrars available.
and giving Fail to STA.

Debug log:

  
IEEE 802.1X: 00:03:7f:07:a2:e5 BE_AUTH entering state RESPONSE
EAP: EAP entering state RECEIVED
EAP: parseEapResp: rxResp=1 respId=82 respMethod=254 respVendor=14122 respVendorMethod=1
EAP: EAP entering state INTEGRITY_CHECK
EAP: EAP entering state METHOD_RESPONSE
EAP-WSC: Received packet: Op-Code 4 Flags 0x0 Message Length 0
WPS: Processing received message (len=428 op_code=4)
WPS: Received WSC_MSG
WPS UPnP: Proxying WLANEvent from 00:03:7f:07:a2:e5
WPS: Received M1
WPS: UUID-E - hexdump(len=16): 00 8f bd 60 e4 f5 e4 f5 44 74 b3 29 95 a7 c2 02
WPS: Enrollee MAC Address 00:03:7f:07:a2:e5
WPS: Enrollee Nonce - hexdump(len=16): 6d 86 c0 f4 5e 01 a5 82 3f fd 15 48 ee 2f ff 49
WPS: Enrollee Authentication Type flags 0xf
WPS: Enrollee Encryption Type flags 0xf
WPS: Enrollee Connection Type flags 0x1
WPS: Enrollee Config Methods 0x8c
WPS: Enrollee Wi-Fi Protected Setup State 1
WPS: Manufacturer - hexdump_ascii(len=22):
     41 74 68 65 72 6f 73 20 43 6f 6d 6d 75 6e 69 63   Atheros Communic
     61 74 69 6f 6e 73                                 ations          
WPS: Model Name - hexdump_ascii(len=18):
     4a 75 6d 70 73 74 61 72 74 20 45 6e 72 6f 6c 6c   Jumpstart Enroll
     65 65                                             ee              
WPS: Model Number - hexdump_ascii(len=5):
     32 33 30 35 34                                    23054           
WPS: Serial Number - hexdump_ascii(len=9):
     34 34 32 33 2d 38 38 37 38                        4423-8878       
WPS: Primary Device Type: category 1 OUI 0050f204 sub-category 1
WPS: Device Name - hexdump_ascii(len=27):
     55 53 45 52 2d 45 36 45 31 36 34 34 39 45 31 20   USER-E6E16449E1 
     2d 20 4a 75 6d 70 73 74 61 72 74                  - Jumpstart     
WPS: Enrollee RF Bands 0x3
WPS: Enrollee Association State 0
WPS: Device Password ID 0
WPS: Enrollee Configuration Error 0
WPS: OS Version 00800000
EAP-WSC: START -> MSG
EAP: EAP entering state METHOD_REQUEST
EAP: building EAP-Request: Identifier 83
WPS: No Device Password available for the Enrollee
WPS: PIN needed for E-UUID 008fbd60-e4f5-e4f5-4474-b32995a7c202
WPS-PIN-NEEDED 008fbd60-e4f5-e4f5-4474-b32995a7c202 00:03:7f:07:a2:e5 [USER-E6E16449E1 - Jumpstart|Atheros Communications|Jumpstart Enrollee|23054|4423-8878|1-0050F204-1]
WPS: Building Message M2D
WPS:  * Version
WPS:  * Message Type (6)
WPS:  * Enrollee Nonce
WPS:  * Registrar Nonce
WPS:  * UUID-R
WPS:  * Authentication Type Flags
WPS:  * Encryption Type Flags
WPS:  * Connection Type Flags
WPS:  * Config Methods (10c)
WPS:  * Manufacturer
WPS:  * Model Name
WPS:  * Model Number
WPS:  * Serial Number
WPS:  * Primary Device Type
WPS:  * Device Name
WPS:  * RF Bands (1)
WPS:  * Association State
WPS:  * Configuration Error (0)
WPS:  * OS Version
EAP-WSC: Sending out 179 bytes (message sent completely)
EAP-WSC: MSG -> MSG
EAP: EAP entering state SEND_REQUEST
EAP: EAP entering state IDLE
EAP: retransmit timeout 5 seconds (from EAP method hint)
IEEE 802.1X: 00:03:7f:07:a2:e5 BE_AUTH entering state REQUEST
IEEE 802.1X: 68 bytes from 00:03:7f:07:a2:e5
   IEEE 802.1X: version=2 type=0 length=64
EAP: code=2 identifier=83 length=64
 (response)
IEEE 802.1X: 00:03:7f:07:a2:e5 BE_AUTH entering state RESPONSE
EAP: EAP entering state RECEIVED
EAP: parseEapResp: rxResp=1 respId=83 respMethod=254 respVendor=14122 respVendorMethod=1
EAP: EAP entering state INTEGRITY_CHECK
EAP: EAP entering state METHOD_RESPONSE
EAP-WSC: Received packet: Op-Code 2 Flags 0x0 Message Length 0
WPS: Processing received message (len=50 op_code=2)
WPS: Received WSC_ACK
*WPS: No more registrars available - terminate negotiation*
EAP-WSC: WPS processing failed
EAP-WSC: MSG -> FAIL
EAP: EAP entering state SELECT_ACTION
EAP: getDecision: method failed -> FAILURE
EAP: EAP entering state FAILURE
EAP: Building EAP-Failure (id=83)
IEEE 802.1X: 00:03:7f:07:a2:e5 BE_AUTH entering state FAIL
IEEE 802.1X: 00:03:7f:07:a2:e5 AUTH_PAE entering state HELD
madwifi_set_sta_authorized: addr=00:03:7f:07:a2:e5 authorized=0
ioctl[IEEE80211_IOCTL_SETMLME]: No such file or directory
madwifi_set_sta_authorized: Failed to unauthorize STA 00:03:7f:07:a2:e5
vap0: STA 00:03:7f:07:a2:e5 IEEE 802.1X: authentication failed - EAP type: 0 (Unknown)
vap0: STA 00:03:7f:07:a2:e5 IEEE 802.1X: Supplicant used different EAP type: 254 (Unknown)
IEEE 802.1X: 00:03:7f:07:a2:e5 BE_AUTH entering state IDLE
Custom wireless event: 'STA-TRAFFIC-STAT
mac=00:03:7f:07:a2:e5
rx_packets=4
rx_bytes=612
tx_packets=4
tx_bytes=288
'




Here is build time config for WPS 

# Wi-Fi Protected Setup (WPS)
CONFIG_WPS=y
# Enable UPnP support for external WPS Registrars
CONFIG_WPS_UPNP=y



I hope I provided needed info.
If any thing is unclear please let me know.


Regards,
Srinivas Pitla.

Jouni Malinen wrote:
> On Thu, Oct 22, 2009 at 12:11:02PM +0530, Srinivas Pitla wrote:
>
>   
>> In WiFi WPS test plan, for a test case External WLAN Manager registrar  
>> support is
>> required. But with the Hostapd- 0.6.9 this support is not working.
>> To Pass certification, we need this support .
>>     
>
> Can you please provide more details on what exactly is not working?
> Which test case is failing and in which step? Could you please also send
> debug log from hostapd from the test case that fails?
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20091023/dbc81d6d/attachment-0001.htm 



More information about the Hostap mailing list