Delen via


WLAN Association Tests - WPA2_PSK_TTLS_AES - Functional

This test suite validates the WLAN associations.

Test details

Associated requirements

Device.Network.WLAN.Base.MeetScanAndConnReq Device.Network.WLAN.CSBBase.MeetScanAndConnReq Device.Network.WLAN.CSBNLO.SupportNetworkListOffload Device.Network.WLAN.NLO.SupportNetworkListOffload

See the device hardware requirements.

Platforms

Windows RT (ARM-based) Windows 8 (x64) Windows 8 (x86) Windows RT 8.1 Windows 8.1 x64 Windows 8.1 x86

Expected run time

~20 minutes

Categories

Certification Functional

Type

Automated

 

Running the test

Before you run the test, complete the test setup as described in the test requirements: Wireless LAN (802.11) Testing Prerequisites.

This test suite performs the following actions:

  • Sets up two routers (Router 0 and Router 1).

    • Router 0 – 2.4Ghz : WPA2PSK/AES/N/Channel 11

    • Router 0 – 5Ghz : WPA2PSK/AES/A/Channel 40

    • Router 1 – 2.4Ghz : WPA2Enterprise (TTLS-EAPMSCHAPV2)/AES/N/Channel 5

    • Router 1 – 5Ghz : WPA2Enterprise (TTLS-EAPMSCHAPV2)/AES/A/Channel 36

  • Turns on all radios.

  • Creates a TCP server on the access point controller (AP) server.

  • Creates a profile for 2.4 GHz on Router 0 by having ConnectionMode configured as manual.

  • Stops the Remote Authentication Dial-in User Service (RADIUS) server if it is running. Creates a RADIUS server on the AP controller for Router 0 at 2.4 GHz

  • WlanConnect by using the profile.

  • Waits for WlanConnect to complete by using WLAN notifications.

  • Registers for NLM events.

  • After the NLM notifies that LAN connectivity is available on the test adapter interface, polls the TCP server on the AP controller server to confirm that full network connectivity is available.

  • Uses the WLAN API GetConnectionAttributes to confirm that that the association is correct and the connection is to Router 0 at 2.4 GHz

  • Establishes a connection to the TCP Server on the AP controller server.

  • Creates a profile for 5 GHz on Router 1 by having ConnectionMode configured as Auto.

  • Stops the RADIUS server if it is running. Creates a RADIUS server on the AP controller for Router 0 at 5 GHz.

  • Polls for WLAN notifications.

  • Turns off the 2.4 GHz radio on Router 0 and the 5 GHz radio on Router 1.

  • After a WLAN connected notification is received and the NLM notifies that LAN connectivity is available on the test adapter interface, polls the TCP server on the AP controller server to confirm that full network connectivity is available.

  • Uses the WLAN API GetConnectionAttributes to confirm that the association is correct and the connection is to Router 1 at 5 GHz.

  • Establishes a connection to the TCP Server on the AP controller server.

  • Creates a profile for 5 GHz on Router 0 by having ConnectionMode configured as Auto.

  • Stops the RADIUS server if it is running. Creates a RADIUS server on the AP controller for Router 1 at 5 GHz.

  • Polls for WLAN notifications.

  • Turns off the 5 GHz radios on Router 0 and Router 1.

  • After a WLAN connected notification is received and the NLM notifies that LAN connectivity is available on the test adapter interface, polls the TCP server on the AP controller server to confirm that full network connectivity is available.

  • Uses the WLAN API GetConnectionAttributes to confirm that the association is correct and the connection is to Router 0 at 5 GHz

  • Establishes a connection to the TCP Server on the AP controller server.

  • Creates a profile for 2.4 GHz on Router 1 by having ConnectionMode configured as Auto.

  • Stops the RADIUS server if it is running. Creates a RADIUS server on the AP controller for Router 1 at 2.4 GHz

  • Polls for WLAN notifications.

  • Turns off the 5 GHz radio on Router 0 and the 2.4 GHz radio on Router 1.

  • After a WLAN connected notification is received and the NLM notifies that LAN connectivity is available on the test adapter interface, polls the TCP server on the AP controller server to confirm that full network connectivity is available.

  • Uses the WLAN API GetConnectionAttributes to confirm that the association is correct and the connection is to Router 0 at 5 GHz.

If the device supports S3 or S4 sleep states, the following tests are performed. They are repeated for each supported sleep state.

  • Sets up two routers (Router 0 and Router 1).

  • Turns on all radios.

  • Creates a profile for 2.4 GHz on Router 0 by having ConnectionMode configured as manual.

  • Stops the RADIUS server if it is running. Creates a RADIUS server on the AP controller for Router 0 at 2.4 GHz.

  • WlanConnect using the profile.

  • Waits for WlanConnect to complete by using WLAN notifications.

  • Registers for NLM events.

  • After the NLM notifies that LAN connectivity is available on the test adapter interface, polls the TCP server on the AP controller server to confirm that full network connectivity is available

  • Uses the WLAN API GetConnectionAttributes to confirm that the association is correct and the connection is to Router 0 at 2.4 GHz.

  • Establishes a connection to the TCP Server on the AP controller server.

  • Creates a profile for 5 GHz on Router 1 by having ConnectionMode configured as Auto.

  • Stops the RADIUS server if it is running. Creates a RADIUS server on the AP controller for Router 0 at 5 GHz.

  • Polls for WLAN notifications.

  • Turns off the 2.4 GHz radio on Router 0.

  • Puts the device in either S3 or S4 sleep state for 30 seconds.

  • Turn on the 5 GHz radio on Router 1.

  • After a WLAN connected notification is received and the NLM notifies that LAN connectivity is available on the test adapter interface, polls the TCP server on the AP controller server to confirm that full network connectivity is available.

  • Uses the WLAN API GetConnectionAttributes to confirm that the association is correct and the connection is to Router 1 at 5 GHz.

  • Establishes a connection to the TCP Server on the AP controller server.

  • Creates a profile for 5 GHz on Router 0 by having ConnectionMode configured as Auto.

  • Stops the RADIUS server if it is running. Creates a RADIUS server on the AP controller for Router 1 at 5 GHz.

  • Polls for WLAN notifications.

  • Turns off the 5 GHz radios on Router 1.

  • Puts the device in either S3 or S4 sleep state for 30 seconds.

  • Turns on the 5 GHz radios on Router 0.

  • After a WLAN connected notification is received and the NLM notifies that LAN connectivity is available on the test adapter interface, polls the TCP server on the AP controller server to confirm that full network connectivity is available.

  • Uses the WLAN API GetConnectionAttributes to confirm that the association is correct and the connection is to Router 0 at 5 GHz

  • Establishes a connection to the TCP Server on the AP controller server.

  • Creates a profile for 2.4 GHz on Router 1 by having ConnectionMode configured as Auto.

  • Stops the RADIUS server if it is running. Creates a RADIUS server on the AP controller for Router 1 at 2.4 GHz.

  • Polls for WLAN notifications.

  • Turns off the 5 GHz radio on Router 0.

  • Puts the device in either S3 or S4 sleep state for 30 seconds.

  • Turns on the 5 GHz radios on Router 0.

  • After a WLAN connected notification is received and the NLM notifies that LAN connectivity is available on the test adapter interface, polls the TCP server on the AP controller server to confirm that full network connectivity is available.

  • Uses the WLAN API GetConnectionAttributes to confirm that the association is correct and the connection is to Router 0 at 5 GHz.

  • Turns on all radios.

  • Deletes all profiles that were created.

The following tests are performed for both the 2.4 GHz and 5 GHz frequency on Router 0 and Router 1:

  • Delete all profiles that were created

  • Disconnect any existing connections on the test adapter.

  • Establish a connection to the TCP Server on the AP controller server.

  • Stop the RADIUS server if it is running. Create a RADIUS server on the AP controller for the router at the specified bandwidth.

  • Create a profile for the router at the specific bandwidth by having connectionMode configured as Auto.

  • Register for NLM events.

  • After a WLAN connected notification is received and the NLM notifies that LAN connectivity is available on the test adapter interface, poll the TCP server on the AP controller server to confirm that full network connectivity is available.

  • Use the WLAN API GetConnectionAttributes to confirm that the association is correct and the connection is to Router 0 at 5 GHz.

  • Establish a connection to the TCP Server on the AP controller server.

  • Put the device in the specified sleep state for 30 seconds.

  • Register for NLM events.

  • After a WLAN connected notification is received and the NLM notifies that LAN connectivity is available on the test adapter interface, poll the TCP server on the AP controller server to confirm that full network connectivity is available.

  • Use the WLAN API GetConnectionAttributes to confirm that the association is correct and the connection is to Router 0 at 5 GHz.

  • Put the device in the specified sleep state for 30 seconds.

Troubleshooting

For troubleshooting information, see Troubleshooting Wireless LAN (802.11) Tests.

More information

Command syntax

Parameter Description

TestDeviceSupports5ghz

Determine if the router supports 5 GHz.

Default value: true

AP1Password

The root password for the first access point.

Default value: password

AP1IPAddress

The IP address of the first access point.

Default value: 192.168.2.2

AP2Password

The root password for the first access point.

Default value: password

AP2IPAddress

The IP address of the first access point.

Default value: 192.168.2.3

EnableTracing

Default value: No

 

Wireless LAN (802.11) Tests

 

 

Send comments about this topic to Microsoft