WLAN D2 Sleep - Functional

This test validates the D2 sleep functionality. Device should enter the D2 state after pressing the power button and then return to D0.

Test details

   
Specifications
  • Device.Network.WLAN.SupportConnectionToWiFiAP.ConnectionToWiFiAP
Platforms
  • Windows 10, client editions (x64)
  • Windows 10, client editions (x86)
  • Windows 10, client editions (Arm64)
  • Windows 10, mobile edition (Arm)
  • Windows 10, mobile edition (Arm64)
Supported Releases
  • Windows 10
  • Windows 10, version 1511
  • Windows 10, version 1607
  • Windows 10, version 1703
  • Windows 10, version 1709
  • Windows 10, version 1803
  • Windows 10, version 1809
  • Windows 10, version 1903
  • Next update to Windows 10
Expected run time (in minutes) 12
Category Scenario
Timeout (in minutes) 720
Requires reboot false
Requires special configuration true
Type automatic

 

Additional documentation

Tests in this feature area might have additional documentation, including prerequisites, setup, and troubleshooting information, that can be found in the following topic(s):

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:

  • Configure one router (Router 0), as follows:

    • Router 0 - 2.4Ghz : WPA2PSK/AES [Preferred PHY G/Channel 6]
    • Router 0 - 5Ghz : WPA2PSK/AES [Preferred PHY N/Channel 40]
  • Perform a Scan and validate that the router is found

  • Validate that the adapter is reporting itself as AOAC capable

  • Create a profile for Router 0 - 2.4 GHz having ConnectionMode configured as manual.

  • Perform a WlanConnect using the profile

  • Disable other Network Adapters on the Client machine

  • Start monitoring WLAN state and adapter power state events

  • Enter Connected Standby for 5 minutes

  • Enable other Network Adapters on the Client machine

  • Check the WLAN state and adapter power state events to validate that the adapter went to low power and woke up

Troubleshooting

For generic troubleshooting of HLK test failures, see Troubleshooting Windows HLK Test Failures.

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

More information

Parameters

Parameter name Parameter description
TestDeviceSupports5ghz This should be set to TRUE if the device supports 5ghz networks and FALSE if it does not
APControllerIPAddress Internal Parameter
LocalDir Internal Parameter
AP1IPAddress IP Address of the first AP connected to the system
AP1Password Root password for the first AP connected to the system
AP2IPAddress IP Address of the second AP connected to the system
AP2Password Root password for the second AP connected to the system
ServiceAPChannelAddress Internal Parameter
TestDll Internal Parameter
TestName Internal Parameter
EnableTracing Yes or No to enable tracing