WLAN Roaming Tests - WPA2_ENTERPRISE_TTLS_AES - Functional
This automated test suite 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 |
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 : WPA2Enterprise (TTLS-EAPMSCHAPV2)/AES/N/Channel 1
Router 0 – 5Ghz : WPA2Enterprise (TTLS-EAPMSCHAPV2)/AES/A/Channel 36
Router 1 – 2.4Ghz : WPA2Enterprise (TTLS-EAPMSCHAPV2)/AES/N/Channel 6
Router 1 – 5Ghz : WPA2Enterprise (TTLS-EAPMSCHAPV2)/AES/A/Channel 40
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 saves 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() 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 confirm that 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.
Uses 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.
Uses 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 confirm that full network connectivity is available.
Creates a connection to the TCP server that is called CConnection C. Sends a receive packet.
Turns on the radio on Router 1, and turns offthe 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 offthe radio in 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.
Uses 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.
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.
Uses 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.ReplaceThisText
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 confirm that full network connectivity is available.
Creates a connection to TCP server called Connection C. Send a receive packet.
Sets the txpower1 on Router 0 to 4 and Router 1 to 84.
Reduce the txpwr1 of Router 0 by 10 and increase 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 confirm that full network connectivity is available.
Creates a connection to TCP server called Connection C. Send 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.
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 |
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 |
Related topics