WLAN Roaming Tests - WPA2_PSK_AES - Functional

This automated performs WLAN roaming tests.

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

~12 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 performs the following actions:

  • Configures two routers, that are named Router 0 and Router 1, as follows:

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

    • Router 0 – 5Ghz : WPA2PSK/AES/N/Channel 36.

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

    • Router 1 – 5Ghz : WPA2PSK/AES/N/Channel 44

    • Router 0 and Router 1 share the same SSID for their 2.4Ghz radios.

    • Router 0 and Router 1 share the same SSID for their 5Ghz radios.

    • For roaming purposes, network address translation (NAT) is enabled on both routers.

  • Creates and save profiles for both routers 2.4 GHz and 5 GHz ( 2 profiles) with connectionMode configured as manual. The 2.4 GHz and 5 GHz are matching on both routers respectively (same Authentication/Encryption/SSID).

  • Starts a Remote Authentication Dial In User Service (RADIUS) server on the access point (AP) controller.

  • Starts a TCP server on the AP controller.

  • Performs tests SuddenDropOfSignal(),SuddenLossOfSignal(),GradualDropOfSignal() and GradualLossOfSignal()SuddenDropOfSignal().

The SuddenDropOfSignal() test performs the following actions. This test is repeated for both 5 GHz and 2.4 GHz.

  • Turns on the radio on both routers.

  • Connects to Profile B.

  • Turns off the radio on Router 1.

  • Sets the txpower1 on both routers to 84.

  • Connects to the profile by using WLANConnect and waits for WLANConnect to complete by using WLAN notifications.

  • Registers for NLM events.

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

  • Creates a connection to TCP server called Connection C. Send a receive packet.

  • Turns off the radio on Router 1.

  • Using Connection C, sends and receives a packet. This makes sure that the network session is not dropped.

  • Router 0Uses the GetConnectionAttributes WLAN API to verify that the association is correct and the connection is on Router 0.

  • Turns on the radio on Router 1, and turns off the radio in Router 0.

  • Using Connection C, sends and receives a packet. This makes sure that the network session is not dropped. The connection will take some time to roam.

  • Router 1Uses the GetConnectionAttributes WLAN API to verify that the association is correct and the connection is on Router 1.

  • Turns on the radios on both routers.

  • Using Connection C, sends and receives a packet. This makes sure that the network session is not dropped.

  • Sets the txpwr1 on Router 0 to 84.

  • Sets the txpwr1 on Router 1 to 4.

  • Using Connection C, sends and receives a packet. This makes sure that the network session is not dropped.

The SuddenLossOfSignal() test performs the following actions. This test is repeated for both 5 GHz and 2.4 GHz.

  • Turns on the radio on both routers.

  • Connects to Profile B.

  • Turns off the radio on Router 1.

  • Sets the txpower1 on both routers to 84.

  • Connects to the profile by using WLANConnect and waits for WLANConnect to complete by using WLAN notifications.

  • Registers for NLM events.

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

  • Creates a connection to TCP server that is called Connection C. Sends a receive packet.

  • Turns on the radio on Router 1, and turns off the radio on Router 0.

  • Using Connection C, sends and receives a packet. This makes sure that the network session is not dropped.

  • Uses the GetConnectionAttributes WLAN API to verify that the association is correct and the connection is on Router 1.

  • Turns on the radio on Router 0, and turns off the radio on Router 1.

  • Using Connection C, sends and receives a packet. This makes sure that the network session is not dropped. The connection will take some time to roam.

  • Router 0Uses the GetConnectionAttributes WLAN API to verify that the association is correct and the connection is on Router 0.

  • Turns on the radio on Router 1, and turns off the radio on Router 0.

  • Using Connection C, sends and receives a packet. This makes sure that the network session is not dropped.

  • Router 1 Use the GetConnectionAttributes WLAN API to verify that the association is correct and the connection is on Router 1.

  • Turns on the radio on Router 0, and turns off the radio on Router 1.

  • Using Connection C, sends and receives a packet. This makes sure that the network session is not dropped.

  • Router 0Uses the GetConnectionAttributes WLAN API to verify that the association is correct and the connection is on Router 0.

The GradualDropOfSignal() test performs the following actions. This test is repeated for both 5 GHz and 2.4 GHz.

  • Turns on the radio on both routers.

  • Connects to Profile B.

  • Connects to the profile by using WLANConnect and waits for WLANConnect to complete by using WLAN notifications.

  • Registers for NLM events.

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

  • Creates a connection to TCP server that is called Connection C. Sends a receive packet.

  • Sets the txpower1 on Router 0 to 4 and Router 1 to 84.

  • Reduces the txpwr1 of Router 0 by 10 and increases the txpwr1 of Router 1 by 10.

  • Using Connection C, sends and receives a packet. This makes sure that the network session is not dropped.

  • Repeats the last two steps until the txpwer1 of Router 0 is 84 and the txpwr1 of Router 1 is 4.

The GradualLossOfSignal() test performs the following actions. This test is repeated for both 5 GHz and 2.4 GHz.

  • Turns on the radio on both routers.

  • Connects to profile B.

  • Connects to the profile by using WLANConnect and waits for WLANConnect to complete by using WLAN notifications.

  • Registers for NLM events.

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

  • Creates a connection to TCP server that is called Connection C. Sends a receive packet.

  • Sets the txpower1 on Router 0 to 4 and Router 1 to 84.

  • Reduces the txpwr1 of Router 0 by 10 and increase the txpwr1 of Router 1 by 10.

  • When the txpr1 of Router 1 reaches 4, turns off the router.

  • Using Connection C, sends and receives a packet. This makes sure that the network session is not dropped.

  • Repeats the last three steps until the txpwer1 of Router 0 is 84 and the txpwr1 of Router 1 is 4.

Troubleshooting

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

More information

Command syntax

Parameter Description

TestDeviceSupports5ghz

Determines whether or not the device supports 5 GHz.

Default value: True

AP1Password

The root password for the first physical AP.

Default value: password

AP1IPAddress

The IP address of the WAN port of the first physical AP.

Default value: 192.168.2.2

AP2Password

The root password for the second physical AP.

Default value: password

AP2IPAddress

The root password for the second physical AP.

Default value: 192.168.2.3

EnableTracing

Default value: No

 

 

 

Send comments about this topic to Microsoft