Partager via


WLAN Association Tests - WPA2_PSK_TTLS_TKIP_AES - Reliability

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 Reliability

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) as follows:

    • Router 0 – 2.4Ghz : WPA2PSK/AES/G/Channel 1

    • Router 0 – 5Ghz : WPA2PSK /TKIP/N/Channel 40

    • Router 1 – 2.4Ghz : WPA2Enterprise (TTLS-EAPMSCHAPV2)/TKIP/G/Channel 11

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

  • Disables Router 0 2.4Ghz and 5Ghz beacon.

  • Turns on all radios.

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

  • Creates a profile for 2.4 GHz on router 0 with 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 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.

  • Use 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 with 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.

  • Use 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 AP controller server.

  • Creates a profile for 5 GHz on router 0 with 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.

  • Use 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 AP controller server.

  • Creates a profile for 2.4 GHz on router 1 with 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.

  • Use 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.

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

  • Turns on all radios.

  • Creates a profile for 2.4 GHz on router 0 with 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.

  • Use 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 AP controller server.

  • Creates a profile for 5 GHz on router 1 with 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.

  • Turns 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.

  • UseValidate by using 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 AP controller server.

  • Creates a profile for 5 GHz on router 0 with 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.

  • Use 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 AP controller server.

  • Creates a profile for 2.4 GHz on router 1 with 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.

  • Use 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.

  • Delete all profiles that were Createsd.

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 Createsd.

  • Disconnect any existing connections on the test adapter.

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

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

  • Creates a profile for the router at the specific bandwidth with connectionMode configured as Auto

  • Registers for NLM events.

  • 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.

  • Use 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 AP controller server.

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

  • Registers for NLM events.

  • 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.

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

  • Puts 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 AP.

Default value: password

AP1IPAddress

The IP address of the first AP.

Default value: 192.168.2.2

AP2Password

The root password for the first AP.

Default value: password

AP2IPAddress

The IP address of the first AP.

Default value: 192.168.2.3

EnableTracing

Default value: No

 

Wireless LAN (802.11) Tests

 

 

Send comments about this topic to Microsoft