WFAWLANConfig1

Jan 31, 2012 at 3:48 AM
Edited Jan 31, 2012 at 6:09 AM

Where can i find documentation for

"urn:wifialliance-org:serviceId:WFAWLANConfig1"

some of the remote testers are getting this and not a IP or PPP service.

One PC:

 

 >>               IS Private IP(192.168.0.4) ....
 >>                      TRUE - Quad2=168
 >>               IS Private IP(192.168.0.4) ....
 >>                      TRUE - Quad2=168
 >> waiting 10 seconds for check of UPnP Services....
 >> 10...
 >> 9...
 >> 8...
 >> 7...
 >> 6...
 >> 5...
 >> 4...
 >> 3...
 >> 2...
 >> ...]=================================================================================
 >> ...] Device Found = OnDevicesFound sub, searchcompleted = True  COUNT=1
 >> ...]=================================================================================
 >> ...] Service Found = OnServicesFound sub, searchcompleted = True  COUNT=1
 >> ...] Service:urn:wifialliance-org:serviceId:WFAWLANConfig1 (urn:schemas-wifialliance-org:service:WFAWLANConfig:1)
 >> 1...
 >> 0...
 >> No suitable UPnP network protocols found! But IP is local. Trying again:
 >>               IS Private IP(192.168.0.4) ....
 >>                      TRUE - Quad2=168
 >>               IS Private IP(192.168.0.4) ....
 >>                      TRUE - Quad2=168
 >> waiting 10 seconds for check of UPnP Services....
 >> 10...
 >> 9...
 >> 8...
 >> 7...
 >> 6...
 >> 5...
 >> 4...
 >> 3...
 >> 2...
 >> ...]=================================================================================
 >> ...] Device Found = OnDevicesFound sub, searchcompleted = True  COUNT=1
 >> ...]=================================================================================
 >> ...] Service Found = OnServicesFound sub, searchcompleted = True  COUNT=1
 >> ...] Service:urn:wifialliance-org:serviceId:WFAWLANConfig1 (urn:schemas-wifialliance-org:service:WFAWLANConfig:1)
 >> 1...
 >> 0...
 >> --------------------------------------------------------------------------------------------
 >> No suitable UPnP network protocols found! Assuming direct connection.
 >> exiting module1 'OpenPort' sub.
 >> returned from request to open port
 >> beginning main routine...
 >> Starting Virtual Grapics Device...

Other PC:

 

 >> waiting 10 seconds for check of UPnP Services....
 >> 10...
 >> 9...
 >> 8...
 >> 7...
 >> 6...
 >> 5...
 >> 4...
 >> 3...
 >> ...]=================================================================================
 >> 2...
 >> ...] Device Found = OnDevicesFound sub, searchcompleted = True  COUNT=2
 >> ...]=================================================================================
 >> ...] Service Found = OnServicesFound sub, searchcompleted = True  COUNT=4
 >> ...] Service:urn:upnp-org:serviceId:ConnectionManager (urn:schemas-upnp-org:
service:ConnectionManager:1)
 >> ...] Service:urn:upnp-org:serviceId:ContentDirectory (urn:schemas-upnp-org:s
ervice:ContentDirectory:1)
 >> ...] Service:urn:microsoft.com:serviceId:X_MS_MediaReceiverRegistrar (urn:mi
crosoft.com:service:X_MS_MediaReceiverRegistrar:1)
 >> ...] Service:urn:wifialliance-org:serviceId:WFAWLANConfig1 (urn:schemas-wifi
alliance-org:service:WFAWLANConfig:1)
 >> 1...
 >> 0...
 >> ----------------------------------------------------------------------------
----------------
 >> No suitable UPnP network protocols found! Assuming direct connection.

PC Three:

 

>> 10...
>> 9...
>> 8...
>> 7...
>> 6...
>> 5...
>> 4...
>> 3...
>> 2...
>> ...]=================================================================================
>> ...] Device Found = OnDevicesFound sub, searchcompleted = True��COUNT=1
>> ...]=================================================================================
>> ...] Service Found = OnServicesFound sub, searchcompleted = True��COUNT=3
>> ...] Service:urn:upnp-org:serviceId:ConnectionManager (urn:schemas-upnp-org:service:ConnectionManager:1)
>> ...] Service:urn:upnp-org:serviceId:ContentDirectory (urn:schemas-upnp-org:service:ContentDirectory:1)
>> ...] Service:urn:microsoft.com:serviceId:X_MS_MediaReceiverRegistrar (urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1)
>> 1...
>> 0...
>> No suitable UPnP network protocols found! But IP is local. Trying again:
>>�������������� IS Private IP(192.168.1.65) ....
>>����������������������TRUE - Quad2=168
>>�������������� IS Private IP(192.168.1.65) ....
>>����������������������TRUE - Quad2=168
>> waiting 10 seconds for check of UPnP Services....
>> 10...
>> 9...
>> 8...
>> 7...
>> 6...
>> 5...
>> 4...
>> 3...
>> 2...
>> ...]=================================================================================
>> ...] Device Found = OnDevicesFound sub, searchcompleted = True��COUNT=1
>> ...]=================================================================================
>> ...] Service Found = OnServicesFound sub, searchcompleted = True��COUNT=3
>> ...] Service:urn:upnp-org:serviceId:ConnectionManager (urn:schemas-upnp-org:service:ConnectionManager:1)
>> ...] Service:urn:upnp-org:serviceId:ContentDirectory (urn:schemas-upnp-org:service:ContentDirectory:1)
>> ...] Service:urn:microsoft.com:serviceId:X_MS_MediaReceiverRegistrar (urn:microsoft.com:service:X_MS_MediaReceiverRegistrar:1)
>> 1...
>> 0...
>> --------------------------------------------------------------------------------------------
>> No suitable UPnP network protocols found! Assuming direct connection.
>> exiting module1 'OpenPort' sub.
>> returned from request to open port
>> beginning main routine...
>> Starting Virtual Grapics Device...
Coordinator
Jan 31, 2012 at 7:04 AM
Edited Jan 31, 2012 at 7:12 AM

That service is for setting up WPS I think (or setting up a Wireless LAN connection), there is a reference to it in this document:

http://upnp.org/specs/gw/UPnP-gw-DeviceProtection-Service.pdf

 

According to that document they are separate services used to provide access to the setup of Wireless LAN connections, quoted from the document:

"Wi-Fi Protected Setup [WPS] is a set of protocols developed by the Wi-Fi Alliance to simplify the setup and configuration of home WiFi network security [WPS]. The purpose of this appendix is to document how to use the WPS protocol as an introduction protocol for DeviceProtection.   

The core protocol in WPS used to authenticate peers and protect the exchange of wireless keys and settings is called the “Registration Protocol.”  The Registration Protocol performs a Diffie-Hellman exchange and mutually authenticates that exchange using a pre-commit and successive disclosure of knowledge of a shared secret (the PIN or all-zero push-button code).   

The WPS Registration Protocol can be transported over wireless EAP or over UPnP. For the UPnP transport of WPS, the Wi-Fi Alliance created a vendor-specific UPnP service called WFAWLANConfig service [WPS].  This service contains many actions that are specific to Wi-Fi devices and WLAN access points.  Two of the actions in WFAWLANConfig are used to transport of the Registration Protocol:  GetDeviceInfo() and PutMessage().   "

 

You might be able to find more info somewhere at:

 http://www.wi-fi.org/featured-topics

Jan 31, 2012 at 8:48 AM
Edited Jan 31, 2012 at 8:48 AM

Interesting reads to anyone else looking through this:

 

Microsoft Windows Connect Now -NET
http://download.microsoft.com/download/a/f/7/af7777e5-7dcd-4800-8a0a-b18336565f5b/WCN-Netspec.doc
includes reference to  "Appendix C. WFAWLANConfig:1  Service Template Version 1.01    48"

Sample sources using WFAWLAN:
http://opensource.bolloretelecom.eu/projects/boc-wimax/browser/eap/wps/wps_upnp_ssdp.c
and
http://downloads.openmobilefree.net/NanoNote/OpenWrt-SDK-xburst-for-Linux-i686/openwrt-xburst.full_system/build_dir/target-mipsel_uClibc-0.9.32/hostapd-supplicant-mini/hostapd-20110527/src/wps/wps_upnp_web.c

 

 

 

Jan 31, 2012 at 10:12 AM

this is over my head.

i think i will just explain in the help docs how to open ports. but at least the UPnP WANPPPConfig and WANIPConfig are programed and working in my project.

i dont want to hold up my project for another month trying to figure all of this out.

btw:

interesting read for anyone trying to tackle this- WPS connection and UPnP functions used in C source (C# i think)

http://www.ros.org/doc/unstable/api/wpa_supplicant/html/wps__upnp__web_8c_source.html

(see the "File List" tab for related files such as .h)