Partager via


NDISTest 6.5 - WLanBasic

This automated test completes an 802.11 conformance test for testing authentication with either emulated or extensible wireless drivers, and verifies the connection and data transmission with different authentication and cipher combinations that are supported on the network adapter.

Test details

Associated requirements

Device.Network.WLAN.Base.ConformToNDIS Device.Network.WLAN.Base.MeetScanAndConnReq Device.Network.WLAN.Base.OnlyWDFOrNDIS630Calls Device.Network.WLAN.Base.SupportVirtualWiFi Device.Network.WLAN.CSBBase.ConformToNDIS Device.Network.WLAN.CSBBase.MeetScanAndConnReq Device.Network.WLAN.CSBBase.OnlyWDFOrNDIS630Calls Device.Network.WLAN.CSBBase.SupportVirtualWiFi Device.Network.WLAN.CSBSoftAP.SupportSoftAP Device.Network.WLAN.SoftAP.SupportSoftAP

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

~9 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:

  • Capability_ext

  • CurrentOpMode_ext

  • EnableDisable_cmn

  • LogoCheck_cmn

  • OIDs_ext

  • OpModeCapability_ext

  • Regression_ext

  • SignalStrength_ext

  • VirtualStation_ext

  • VWiFiOids_ext

  • StandardizedKeywords

The Capability_ext suite consists of the following:

  • DOT11_EXTSTA_CAPABILITY.Header.Revision is dOT11_EXTSTA_CAPABILITY_REVISION_1

  • DOT11_EXTSTA_CAPABILITY.uScanSSIDListSize has a value of at least 4

  • DOT11_EXTSTA_CAPABILITY.uDesiredBSSIDListSize has a value of at least 1

  • DOT11_EXTSTA_CAPABILITY.uDesiredSSIDListSize has a value of at least 1

  • DOT11_EXTSTA_CAPABILITY.uPMKIDCacheSize has a value of either 0 or at least 3

  • DOT11_EXTSTA_CAPABILITY.uMaxNumPerSTADefaultKeyTables has a value of at least 32

  • DOT11_EXTSTA_CAPABILITY.uDefaultKeyTableSize has a value of at least 4

  • DOT11_EXTSTA_CAPABILITY.uKeyMappingTableSize

  • DOT11_EXTSTA_CAPABILITY.uPrivacyExemptionListSize has a value of at least 1

  • DOT11_EXTSTA_CAPABILITY.uExcludedMacAddressListSize has a value of at least 4

  • the device can gracefully respond to a reset request while compiling a capability list

The CurrentOpMode_ext suite consists of the following:

Name Description

Pre-configuration

  • Start testsoft access point as extensible station

  • Query supported authentication/cipher types

  • Ignore open none

  • Start access point comm helper

  • Start DUT comm helper

VerifyOpModeSetRequest

Verifying set request for OID_DOT11_CURRENT_OPERATION_MODE. This test case issues a set request to set DUT to extensible station mode. A subsequent query request must return extensible station.

VerifyOpModeAfterDisconnect

Verifying OID_DOT11_CURRENT_OPERATION_MODE after disconnect. Test case sets the device to extensible station mode, associate with an AP, disassociate from the AP. Then DUT will be queried for operation mode which must return extensible station

 

The EnableDisable_cmn suite consists of the following:

Name Description

Pre-configuration

  • Start testsoft access point as extensible station

  • Query supported authentication/cipher types

  • Ignore open none

  • Start access point comm helper

  • Start DUT comm helper

VerifyDisconnectOnLoad

Verify DUT indicates disconnect when driver is first loaded.

DisableEnableDUTOnly

Disables and enables DUT several times and verifies that DUT is capable of association and communication after DUT is enabled.

DisableEnableAllDevices

Disables all SUTs on the same machine, then disables and enables DUT several times and verifies that DUT is capable of association and communication after DUT is enabled.

 

LogoCheck_cmn consists of the following:

Name Description

ExtensibleLogoCheck

  • Verifies that DUT supports at least 802.11b or 802.11g PHY.

  • Verifies that DUT supports at least 32 multicast addresses.

  • Verifies that DUT supports at least 4 per-STA default key tables.

 

OIDs_ext consists of the following:

Name Description

VerifyMandatoryOIDs

Verifies that DUT reports all Required OIDs in OID_GEN_SUPPORTED_LIST.

VerifyOIDBehavior

Verifies that OID set and/or query behavior is as expected - {0}, State {1}.

 

OIDs_ext checks the following OIDs:

  • OID_DOT11_MPDU_MAX_LENGTHOID_OPTION_ANYDEVICE

  • OID_DOT11_OPERATION_MODE_CAPABILITYOID_OPTION_ANYDEVICE

  • OID_DOT11_CURRENT_OPERATION_MODEOID_OPTION_ANYDEVICE

  • OID_DOT11_CURRENT_PACKET_FILTEROID_OPTION_ANYDEVICE

  • OID_DOT11_ATIM_WINDOWOID_OPTION_ANYDEVICE

  • OID_DOT11_SCAN_REQUEST OID_OPTION_ANYDEVICE

  • OID_DOT11_CURRENT_PHY_TYPEOID_OPTION_ANYDEVICE

  • OID_DOT11_JOIN_REQUESTOID_OPTION_ANYDEVICE

  • OID_DOT11_AP_JOIN_REQUESTOID_OPTION_ANYDEVICE

  • OID_DOT11_START_REQUESTOID_OPTION_ANYDEVICE

  • OID_DOT11_UPDATE_IEOID_OPTION_ANYDEVICE

  • OID_DOT11_RESET_REQUESTOID_OPTION_ANYDEVICE

  • OID_DOT11_NIC_POWER_STATEOID_OPTION_ANYDEVICE

  • OID_DOT11_RSSI_RANGEOID_OPTION_ANYDEVICE

  • OID_DOT11_RF_USAGEOID_OPTION_ANYDEVICE

  • OID_DOT11_MAX_MAC_ADDRESS_STATESOID_OPTION_ANYDEVICE

  • OID_DOT11_RECV_SENSITIVITY_LISTOID_OPTION_ANYDEVICE

  • OID_DOT11_NIC_SPECIFIC_EXTENSIONOID_OPTION_ANYDEVICE

  • OID_DOT11_OPTIONAL_CAPABILITYOID_OPTION_ANYDEVICE

  • OID_DOT11_CURRENT_OPTIONAL_CAPABILITYOID_OPTION_ANYDEVICE

  • OID_DOT11_STATION_IDOID_OPTION_ANYDEVICE

  • OID_DOT11_MEDIUM_OCCUPANCY_LIMITOID_OPTION_ANYDEVICE

  • OID_DOT11_CF_POLLABLEOID_OPTION_ANYDEVICE

  • OID_DOT11_CFP_PERIODOID_OPTION_ANYDEVICE

  • OID_DOT11_CFP_MAX_DURATIONOID_OPTION_ANYDEVICE

  • OID_DOT11_POWER_MGMT_MODEOID_OPTION_ANYDEVICE

  • OID_DOT11_OPERATIONAL_RATE_SETOID_OPTION_ANYDEVICE

  • OID_DOT11_BEACON_PERIODOID_OPTION_ANYDEVICE

  • OID_DOT11_DTIM_PERIODOID_OPTION_ANYDEVICE

  • OID_DOT11_MULTI_DOMAIN_CAPABILITY_IMPLEMENTEDOID_OPTION_ANYDEVICE

  • OID_DOT11_MULTI_DOMAIN_CAPABILITY_ENABLEDOID_OPTION_MULTIDOMAIN

  • OID_DOT11_COUNTRY_STRINGOID_OPTION_MULTIDOMAIN

  • OID_DOT11_WEP_ICV_ERROR_COUNTOID_OPTION_WEP

  • OID_DOT11_MULTI_DOMAIN_CAPABILITYOID_OPTION_MULTIDOMAIN

  • OID_DOT11_MAC_ADDRESSOID_OPTION_ANYDEVICE

  • OID_DOT11_RTS_THRESHOLDOID_OPTION_ANYDEVICE

  • OID_DOT11_SHORT_RETRY_LIMITOID_OPTION_ANYDEVICE

  • OID_DOT11_LONG_RETRY_LIMITOID_OPTION_ANYDEVICE

  • OID_DOT11_FRAGMENTATION_THRESHOLDOID_OPTION_ANYDEVICE

  • OID_DOT11_MAX_TRANSMIT_MSDU_LIFETIMEOID_OPTION_ANYDEVICE

  • OID_DOT11_MAX_RECEIVE_LIFETIMEOID_OPTION_ANYDEVICE

  • OID_DOT11_COUNTERS_ENTRYOID_OPTION_ANYDEVICE

  • OID_DOT11_SUPPORTED_PHY_TYPESOID_OPTION_ANYDEVICE

  • OID_DOT11_CURRENT_REG_DOMAINOID_OPTION_ANYDEVICE

  • OID_DOT11_TEMP_TYPEOID_OPTION_ANYDEVICE

  • OID_DOT11_CURRENT_TX_ANTENNAOID_OPTION_ANYDEVICE

  • OID_DOT11_DIVERSITY_SUPPORTOID_OPTION_ANYDEVICE

  • OID_DOT11_CURRENT_RX_ANTENNAOID_OPTION_ANYDEVICE

  • OID_DOT11_SUPPORTED_POWER_LEVELSOID_OPTION_ANYDEVICE

  • OID_DOT11_CURRENT_TX_POWER_LEVELOID_OPTION_ANYDEVICE

  • OID_DOT11_HOP_TIMEOID_OPTION_PHY_FHSS

  • OID_DOT11_CURRENT_CHANNEL_NUMBEROID_OPTION_PHY_FHSS

  • OID_DOT11_MAX_DWELL_TIMEOID_OPTION_PHY_FHSS

  • OID_DOT11_CURRENT_DWELL_TIMEOID_OPTION_PHY_FHSS

  • OID_DOT11_CURRENT_SETOID_OPTION_PHY_FHSS

  • OID_DOT11_CURRENT_PATTERNOID_OPTION_PHY_FHSS

  • OID_DOT11_CURRENT_INDEXOID_OPTION_PHY_FHSS

  • OID_DOT11_CURRENT_CHANNELOID_OPTION_PHY_DSSS

  • OID_DOT11_CCA_MODE_SUPPORTEDOID_OPTION_PHY_DSSS

  • OID_DOT11_CURRENT_CCA_MODEOID_OPTION_PHY_DSSS

  • OID_DOT11_ED_THRESHOLDOID_OPTION_PHY_DSSS

  • OID_DOT11_CURRENT_FREQUENCYOID_OPTION_PHY_OFDM

  • OID_DOT11_TI_THRESHOLDOID_OPTION_PHY_OFDM

  • OID_DOT11_FREQUENCY_BANDS_SUPPORTEDOID_OPTION_PHY_OFDM

  • OID_DOT11_SHORT_PREAMBLE_OPTION_IMPLEMENTEDOID_OPTION_PHY_HRDSSS

  • OID_DOT11_PBCC_OPTION_IMPLEMENTEDOID_OPTION_PHY_HRDSSS

  • OID_DOT11_CHANNEL_AGILITY_PRESENTOID_OPTION_PHY_HRDSSS

  • OID_DOT11_CHANNEL_AGILITY_ENABLEDOID_OPTION_PHY_HRDSSS

  • OID_DOT11_HR_CCA_MODE_SUPPORTEDOID_OPTION_PHY_HRDSSS

  • OID_DOT11_REG_DOMAINS_SUPPORT_VALUEOID_OPTION_ANYDEVICE

  • OID_DOT11_SUPPORTED_TX_ANTENNAOID_OPTION_ANYDEVICE

  • OID_DOT11_DIVERSITY_SELECTION_RXOID_OPTION_ANYDEVICE

  • OID_DOT11_SUPPORTED_DATA_RATES_VALUEOID_OPTION_ANYDEVICE

  • OID_DOT11_DATA_RATE_MAPPING_TABLEOID_OPTION_ANYDEVICE

  • OID_DOT11_ERP_PBCC_OPTION_IMPLEMENTEDOID_OPTION_PHY_ERP

  • OID_DOT11_ERP_PBCC_OPTION_ENABLEDOID_OPTION_PHY_ERP

  • OID_DOT11_DSSS_OFDM_OPTION_IMPLEMENTEDOID_OPTION_PHY_ERP

  • OID_DOT11_DSSS_OFDM_OPTION_ENABLEDOID_OPTION_PHY_ERP

  • OID_DOT11_SHORT_SLOT_TIME_OPTION_IMPLEMENTEDOID_OPTION_PHY_ERP

  • OID_DOT11_SHORT_SLOT_TIME_OPTION_ENABLEDOID_OPTION_PHY_ERP

  • OID_DOT11_AUTO_CONFIG_ENABLEDOID_OPTION_ANYDEVICE

  • OID_DOT11_ENUM_BSS_LISTOID_OPTION_ANYDEVICE

  • OID_DOT11_FLUSH_BSS_LISTOID_OPTION_ANYDEVICE

  • OID_DOT11_POWER_MGMT_REQUESTOID_OPTION_ANYDEVICE

  • OID_DOT11_DESIRED_SSID_LISTOID_OPTION_ANYDEVICE

  • OID_DOT11_EXCLUDED_MAC_ADDRESS_LISTOID_OPTION_ANYDEVICE

  • OID_DOT11_DESIRED_BSSID_LISTOID_OPTION_ANYDEVICE

  • OID_DOT11_DESIRED_BSS_TYPEOID_OPTION_ANYDEVICE

  • OID_DOT11_PMKID_LISTOID_OPTION_RSNAWPA

  • OID_DOT11_CONNECT_REQUESTOID_OPTION_ANYDEVICE

  • OID_DOT11_EXCLUDE_UNENCRYPTEDOID_OPTION_CIPHER

  • OID_DOT11_STATISTICSOID_OPTION_ANYDEVICE

  • OID_DOT11_PRIVACY_EXEMPTION_LISTOID_OPTION_CIPHER

  • OID_DOT11_ENABLED_AUTHENTICATION_ALGORITHMOID_OPTION_ANYDEVICE

  • OID_DOT11_SUPPORTED_UNICAST_ALGORITHM_PAIROID_OPTION_ANYDEVICE

  • OID_DOT11_ENABLED_UNICAST_CIPHER_ALGORITHMOID_OPTION_CIPHER

  • OID_DOT11_SUPPORTED_MULTICAST_ALGORITHM_PAIROID_OPTION_ANYDEVICE

  • OID_DOT11_ENABLED_MULTICAST_CIPHER_ALGORITHMOID_OPTION_CIPHER

  • OID_DOT11_CIPHER_DEFAULT_KEY_IDOID_OPTION_CIPHER

  • OID_DOT11_CIPHER_DEFAULT_KEYOID_OPTION_CIPHER

  • OID_DOT11_CIPHER_KEY_MAPPING_KEYOID_OPTION_ANYDEVICE

  • OID_DOT11_ENUM_ASSOCIATION_INFOOID_OPTION_ANYDEVICE

  • OID_DOT11_DISCONNECT_REQUESTOID_OPTION_ANYDEVICE

  • OID_DOT11_UNICAST_USE_GROUP_ENABLEDOID_OPTION_RSNAWPA

  • OID_DOT11_HARDWARE_PHY_STATEOID_OPTION_ANYDEVICE

  • OID_DOT11_DESIRED_PHY_LISTOID_OPTION_ANYDEVICE

  • OID_DOT11_CURRENT_PHY_IDOID_OPTION_ANYDEVICE

  • OID_DOT11_MEDIA_STREAMING_ENABLEDOID_OPTION_ANYDEVICE

  • OID_DOT11_UNREACHABLE_DETECTION_THRESHOLDOID_OPTION_ANYDEVICE

  • OID_DOT11_ACTIVE_PHY_LISTOID_OPTION_ANYDEVICE

  • OID_DOT11_EXTSTA_CAPABILITYOID_OPTION_ANYDEVICE

  • OID_DOT11_SUPPORTED_COUNTRY_OR_REGION_STRING

  • OID_OPTION_ANYDEVICE

  • OID_DOT11_DESIRED_COUNTRY_OR_REGION_STRINGOID_OPTION_MULTIDOMAIN

  • OID_DOT11_PORT_STATE_NOTIFICATIONOID_OPTION_ANYDEVICE

  • OID_DOT11_IBSS_PARAMSOID_OPTION_ANYDEVICE

  • OID_DOT11_QOS_PARAMSOID_OPTION_80211E

  • OID_DOT11_SAFE_MODE_ENABLEDOID_OPTION_ANYDEVICE

OpModeCapability_ext consists of the following:

Name Description

QueryOpModeCapability

Query for operation mode capability.

VerifyOpModeCapability

  • Verifies OID_DOT11_OPERATION_MODE_CAPABILITY, which must support ExtSta Mode.

  • Verifies OID_DOT11_OPERATION_MODE_CAPABILITY, which must support Netmon Mode.

VerifyOpModeVersionInfo

Verifies OID_DOT11_OPERATION_MODE_CAPABILITY version information. Major version must be set to 2 and minior version must be set to 0.

VerifyOpModeSetRequest

Verifies a set request, which is invalid and the request must return failure, for OID_DOT11_OPERATION_MODE_CAPABILITY.

VerifyOpModeQueryRequestWithSmallBuffer

Verifies a query request for OID_DOT11_OPERATION_MODE_CAPABILITY that has insufficient buffer size. The request must return failure and bytesNeeded is set to right value.

 

Regression_ext consists of the following:

Name Description

Pre-configuration

  • Start testsoft access point as extensible station.

  • Query supported authentication/cipher types.

  • Ignore open none.

  • Start access point comm helper.

  • Start DUT comm helper.

VerifyScanAndEnumScanResult

Perform a scan, enumerate the scan result, and then display the scan result.

VerifyDeviceReset

Verify DUT behavior on a DOT11 reset.

VerifyDeviceAssociateWithAP

Verify DUT can associate with an AP.

Verify send/receive

  • Send packets from DUT to AP and verify the send/recv result.

  • Send packets from AP to DUT and verify the send/recv result.

VerifyDeviceJoinAdhocSTA

Verify DUT can join IBSS.

Verify send/receive

  • Send packets from DUT to support adhoc device and verify the send/recv result.

  • Send packets from support adhoc device to DUT and verify the send/recv result.

 

SignalStrength_ext consists of the following:

Name Description

Pre-configuration

  • Start testsoft access point as extensible station.

  • Query supported authentication/cipher types.

  • Ignore open none.

  • Start access point comm helper.

  • Start DUT comm helper.

Change AP Transmit Power to 100%

  • Get Link Quality and RSSI through Scan Operation.

  • Get Link Quality through Connect Operation.

  • Get RSSI through traffic from AP to DUT.

  • Disconnect DUT from AP.

Change AP Transmit Power to 2%

  • Get Link Quality and RSSI through Scan Operation.

  • Get Link Quality through Connect Operation.

  • Get RSSI through traffic from AP to DUT.

  • Disconnect DUT from AP.

 

VirtualStation_ext – Win7 and below only. This test runs through the oids for virtual station.

VWiFiOids_ext

Name Description

Testing OID_DOT11_CREATE_MAC

Create all possible MACs that the miniport claims to support.

Testing OID_DOT11_DELETE_MAC

Delete all possible MACs that the miniport claims to support.

Valid VWiFi Combinations

InfraAdHocSoftAP
101
101
100

 

 

StandardizedKeywords

To verify correct behavior for keywords, each of the following keywords is checked and if it is supported, it is tested. This is a no-op for non-AOAC. Magic packet and wake on pattern are tested for AOAC only.

  • FlowControl // Partially tested (NDI params only)

  • HeaderDataSplit

  • InterruptModeration

  • IPChecksumOffloadIPv4

  • LsoV2IPv4

  • LsoV2IPv6

  • NumRssQueues // Partially tested (NDI params only)

  • RSCIPv4

  • RSCIPv6

  • RSS

  • SpeedDuplex

  • TCPChecksumOffloadIPv4

  • TCPChecksumOffloadIPv6

  • TCPConnectionOffloadIPv4

  • TCPConnectionOffloadIPv6

  • CPUDPChecksumOffloadIPv4

  • CPUDPChecksumOffloadIPv6

  • UDPChecksumOffloadIPv4

  • UDPChecksumOffloadIPv6

  • VMQ

  • WakeOnMagicPacket

  • WakeOnPattern

Troubleshooting

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

 

 

Send comments about this topic to Microsoft