NDISTest 6.5 - WLanAddRemoveKeys

NDISTest 6.5 - WLanAddRemoveKeys

This automated test adds and removes wireless LAN keys.

Test details

Associated requirements

Device.Network.WLAN.Base.ConformToNDIS Device.Network.WLAN.Base.MeetScanAndConnReq Device.Network.WLAN.Base.OnlyWDFOrNDIS630Calls Device.Network.WLAN.CSBBase.ConformToNDIS Device.Network.WLAN.CSBBase.MeetScanAndConnReq Device.Network.WLAN.CSBBase.OnlyWDFOrNDIS630Calls

See the device hardware requirements.

Platforms

Windows 7 (x64) Windows 7 (x86) 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.

The following suites are available in this test:

  • AddRemoveKey_cmn

  • AddRemoveKey_ext

The AddRemoveKey_cmn suite consists of the following:

NameDescription

Pre-configuration

  • Start testsoft access point

  • Query supported authentication/cipher types

  • Ignore open none

  • Start access point comm helper

  • Start DUT comm helper

Fill default key table

Inserts a key into every index in the default key table

  • Insert {x} key into default table with index {y}

Fill pairwise key table

Inserts a key into every index in the pairwise key table

  • Insert key into pairwise table index {x}

Remove default keys

Tests data transmission using all possible key table indexes on the device's key table. Data is sent in both directions between the DUT and the access point (support device) using 2-way keys.

  • Add {x} default key to DUT at index {y}, send broadcast data from AP to DUT, and then verify the DUT can receive packets from the access point.

  • Remove {x} default key index {y}, send broadcast data from access point to DUT, and then verify the DUT and access point can no longer communicate.

Remove pairwise keys

Tests data transmission using all possible key table indexes on the device's key table. Data is received by the DUT using 2-way keys.

  • Add {x} pairwise key to DUT and then verify the DUT and access point can communicate

  • Remove {x} pairwise key from DUT, and then verify the DUT and access point can no longer communicate

Overwrite default keys

Overwrites incorrect keys in the default key table with correct keys and verifies that the keys can be used correctly. This only tests unicast data transmission using default tables.

  • Overwrite bad default key with {x} key on DUT, send broadcast data from the access point to DUT, and then verify that new key is used

Overwrite pairwise keys

Overwrites the incorrect keys in the pairwise key table with correct keys and verifies that the keys can be used correctly.

  • Overwrite bad pairwise key with {x} key and then verify that the new key is used

 

The AddRemoveKey_ext suite consists of the following:

NameDescription

Pre-configuration

  • Start testsoft access point

  • Query supported authentication/cipher types

  • Ignore open none

  • Start access point comm helper

  • Start DUT comm helper

Test key ID

  • Assign current default key ID to {x}

  • Query current default key ID and verify that it matches assignment of {x}

  • Attempt to set default key ID larger than the size of the table

  • Verify that the default key ID query returns 0 immediately after reset

Test default static key

  • Verify that the static key {x} on DUT can be used for communication.

  • Verify that the non-static default key {x} on DUT was removed and cannot be used for communication.

Test query response

  • Query the default key table for a key and expect a failure.

  • Query the pairwise key table for a key and expect a failure

 

Troubleshooting

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

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft