david harding software design engineer network devices platform microsoft corporation softap-based...

25
David Harding David Harding Software Design Engineer Software Design Engineer Network Devices Platform Network Devices Platform Microsoft Corporation Microsoft Corporation SoftAP-Based Test SoftAP-Based Test Infrastructure For Infrastructure For Obtaining The Logo For Obtaining The Logo For WLAN Drivers WLAN Drivers

Upload: daniel-armstrong

Post on 26-Dec-2015

218 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: David Harding Software Design Engineer Network Devices Platform Microsoft Corporation SoftAP-Based Test Infrastructure For Obtaining The Logo For WLAN

David HardingDavid HardingSoftware Design EngineerSoftware Design EngineerNetwork Devices PlatformNetwork Devices PlatformMicrosoft CorporationMicrosoft Corporation

SoftAP-Based Test SoftAP-Based Test Infrastructure For Obtaining Infrastructure For Obtaining The Logo For WLAN DriversThe Logo For WLAN Drivers

Page 2: David Harding Software Design Engineer Network Devices Platform Microsoft Corporation SoftAP-Based Test Infrastructure For Obtaining The Logo For WLAN

AgendaAgenda

Wireless LAN test overviewWireless LAN test overviewRunning outside the DTMRunning outside the DTM

NDISTest configurationsNDISTest configurations

Available testsAvailable tests

Future testsFuture tests

Logo RequirementsLogo Requirements

NDISTest and DTMNDISTest and DTM

Call to actionCall to action

Page 3: David Harding Software Design Engineer Network Devices Platform Microsoft Corporation SoftAP-Based Test Infrastructure For Obtaining The Logo For WLAN

NDISTestNDISTestWireless LAN test overviewWireless LAN test overview

New version of NDISTest New version of NDISTest Written to natively support Written to natively support Wireless LAN testingWireless LAN testing

Supports software AP over Realtek hardwareSupports software AP over Realtek hardware

Hardware AP’s no longer requiredHardware AP’s no longer required

AP PHY support for 802.11b and 802.11gAP PHY support for 802.11b and 802.11g802.11a available soon 802.11a available soon

AP supports WPA / WPA2 authentication and AP supports WPA / WPA2 authentication and WEP / TKIP / AES encryptionWEP / TKIP / AES encryption

Page 4: David Harding Software Design Engineer Network Devices Platform Microsoft Corporation SoftAP-Based Test Infrastructure For Obtaining The Logo For WLAN

NDISTestNDISTestWireless LAN test overviewWireless LAN test overview

Logging has been improvedLogging has been improvedTest Case and Action based loggingTest Case and Action based logging

More verbose statements More verbose statements

Improved component debugging Improved component debugging

Tests are compiled and run as DLL’sTests are compiled and run as DLL’sWritten in managed C++Written in managed C++

Dynamic compilation using SDK planned Dynamic compilation using SDK planned for the futurefor the future

Page 5: David Harding Software Design Engineer Network Devices Platform Microsoft Corporation SoftAP-Based Test Infrastructure For Obtaining The Logo For WLAN

NDISTestNDISTestWireless LAN test overviewWireless LAN test overview

Two different software access points supportedTwo different software access points supportedSoftAP supported by light weight filter driverSoftAP supported by light weight filter driver

Used by the NDISTest for primary access point supportUsed by the NDISTest for primary access point support

Adheres to 802.11 standardsAdheres to 802.11 standards

ProtocolAP supported by NDISTest protocol driverProtocolAP supported by NDISTest protocol driverUsed by NDISTest for advanced access point supportUsed by NDISTest for advanced access point support

Deviates from 802.11 standards to provide advance testing featuresDeviates from 802.11 standards to provide advance testing features

AP components (Filter, Protocol and Miniport) AP components (Filter, Protocol and Miniport) ship with NDISTestship with NDISTest

SoftAPSoftAP

Realtek Hardware

AP Miniport Driver

SoftAP Filter Driver

NDISTest ProtocolProtocolAPProtocolAP

Realtek Hardware

AP Miniport Driver

NDISTest Protocol

Page 6: David Harding Software Design Engineer Network Devices Platform Microsoft Corporation SoftAP-Based Test Infrastructure For Obtaining The Logo For WLAN

NDISTest APsNDISTest APsSoftAP Stack OverviewSoftAP Stack Overview

NDISTest ProtocolNDISTest Protocol

Handles requests and send receive for testsHandles requests and send receive for tests

Protocol sends and receives 802.3Protocol sends and receives 802.3

SoftAP Filter DriverSoftAP Filter Driver

Handles 802.11 protocol for authentication/association etc…Handles 802.11 protocol for authentication/association etc…

Handles encryption/decryption and key managementHandles encryption/decryption and key management

802.3 to 802.11 translation802.3 to 802.11 translation

AP Miniport DriverAP Miniport Driver

NDIS 6.0 Native WiFi miniport NDIS 6.0 Native WiFi miniport supports AP modesupports AP mode

Handles OID requestHandles OID request

Handles 802.11 send/receiveHandles 802.11 send/receive

AP Miniport Driver

Realtek Hardware

NDISTest Protocol

SoftAP Filter Driver802.3

802

.11

User

Kernel

Page 7: David Harding Software Design Engineer Network Devices Platform Microsoft Corporation SoftAP-Based Test Infrastructure For Obtaining The Logo For WLAN

NDISTest APsNDISTest APsProtocolAP Stack OverviewProtocolAP Stack Overview

NDISTest ProtocolNDISTest ProtocolHandles requests and send receive for testsHandles requests and send receive for tests

AP portion handle 802.11 protocol for AP portion handle 802.11 protocol for association/authentication, etc.association/authentication, etc.

Protocol sends and receives 802.11Protocol sends and receives 802.11Supports all authentication/encryptions in Supports all authentication/encryptions in beacons/probesbeacons/probes

Does not support sending/receiving with encryptionDoes not support sending/receiving with encryption

Supports AP actions for association rejection etc.Supports AP actions for association rejection etc.Provides packet capturing and statisticsProvides packet capturing and statistics

AP Miniport Driver

Realtek Hardware

NDISTest Protocol

802

.11

User

Kernel

Page 8: David Harding Software Design Engineer Network Devices Platform Microsoft Corporation SoftAP-Based Test Infrastructure For Obtaining The Logo For WLAN

NDISTest ConfigurationsNDISTest Configurations

Configuration RequirementsConfiguration Requirements1 Test and 1 support device required1 Test and 1 support device required

Test and support devices must be the sameTest and support devices must be the same

AP server machines must use Realtek 8185 devicesAP server machines must use Realtek 8185 devicesMiniport drivers must be updated with supplied INFMiniport drivers must be updated with supplied INF

SoftAP filter driver will be added/removed SoftAP filter driver will be added/removed when neededwhen needed

Page 9: David Harding Software Design Engineer Network Devices Platform Microsoft Corporation SoftAP-Based Test Infrastructure For Obtaining The Logo For WLAN

NDISTest ConfigurationsNDISTest ConfigurationsTwo machine configurationTwo machine configuration

Useful when space is limited or for Useful when space is limited or for developer testingdeveloper testing

Client machine can have mini-PCI, Client machine can have mini-PCI, CardBus or bothCardBus or both

Server machine must support 2 Server machine must support 2 CardBus or PCICardBus or PCI

Mini-PCI and USB devices are not availableMini-PCI and USB devices are not available

NDISTest ClientNDISTest Client(Test & Support Device)(Test & Support Device)

HubHub(Backchannel)(Backchannel)

NDISTestNDISTest(AP Devices #1 & #2)(AP Devices #1 & #2)

Page 10: David Harding Software Design Engineer Network Devices Platform Microsoft Corporation SoftAP-Based Test Infrastructure For Obtaining The Logo For WLAN

NDISTest ConfigurationsNDISTest ConfigurationsThree machine configurationThree machine configuration

Typical configuration for testing laptops Typical configuration for testing laptops with mini-PCIwith mini-PCI

AP machine can be desktop or laptopAP machine can be desktop or laptop

Support and AP machines both run Support and AP machines both run in server modein server mode

Hub(Backchannel)

NDISTest Server(Support Device)

NDISTest Client(Test Device)

NDISTest ServerAP Devices #1 & #2

Page 11: David Harding Software Design Engineer Network Devices Platform Microsoft Corporation SoftAP-Based Test Infrastructure For Obtaining The Logo For WLAN

NDISTest Configurations NDISTest Configurations Four machine configurationFour machine configuration

Useful when using laptops with only a Useful when using laptops with only a single CardBus slot or mini-PCIsingle CardBus slot or mini-PCI

Support and AP machines run inSupport and AP machines run inserver modeserver mode

Hub(Backchannel)

NDISTest Server(Support Device)

NDISTest ServerAP Device #1

NDISTest ClientTest Device

NDISTest ServerAP Device #2

Page 12: David Harding Software Design Engineer Network Devices Platform Microsoft Corporation SoftAP-Based Test Infrastructure For Obtaining The Logo For WLAN

NDISTest Test CasesNDISTest Test CasesCompleted test casesCompleted test cases

Driver specific testsDriver specific tests

Mandatory OIDs Mandatory OIDs

Indications Indications Important test for OS and test frameworkImportant test for OS and test framework

Send/ReceiveSend/Receive

Including specific tests for 802.1x packetsIncluding specific tests for 802.1x packets

Performance/StressPerformance/Stress

Power managementPower management

Page 13: David Harding Software Design Engineer Network Devices Platform Microsoft Corporation SoftAP-Based Test Infrastructure For Obtaining The Logo For WLAN

NDISTest Test CasesNDISTest Test CasesCompleted test casesCompleted test cases

802.11 specific tests802.11 specific testsAuthentication/AssociationAuthentication/Association

Open/Shared, WPA / WPA2Open/Shared, WPA / WPA2

EncryptionEncryptionWEP/TKIP/AESWEP/TKIP/AES

Roaming Roaming FailoverFailover

Page 14: David Harding Software Design Engineer Network Devices Platform Microsoft Corporation SoftAP-Based Test Infrastructure For Obtaining The Logo For WLAN

NDISTest Test CasesNDISTest Test CasesFuture test casesFuture test cases

Driver specific testsDriver specific testsMandatory/optional parameter testing Mandatory/optional parameter testing

Invalid packetsInvalid packetsSending corrupted packet from AP to DUTSending corrupted packet from AP to DUT

802.11 specific tests802.11 specific testsRoamingRoaming

Motion roamingMotion roaming

Power savePower saveUsing packet capture to verify DUT indicates PSUsing packet capture to verify DUT indicates PS

Available around RC1 timeframeAvailable around RC1 timeframe

Page 15: David Harding Software Design Engineer Network Devices Platform Microsoft Corporation SoftAP-Based Test Infrastructure For Obtaining The Logo For WLAN

Vista Logo RequirementsVista Logo Requirements

Standard LogoStandard LogoMiniport must be NDIS 6.0 WiFi miniportMiniport must be NDIS 6.0 WiFi miniport

Device must support 802.1b or 802.11gDevice must support 802.1b or 802.11g

Device complies with WPA and WPA2Device complies with WPA and WPA2

Supports promiscuous and multicast address filtering Supports promiscuous and multicast address filtering

Premium LogoPremium LogoDevice must support WMMDevice must support WMM

Device supports extension in beacon for ad-hoc Device supports extension in beacon for ad-hoc modemode

Device must support keys to connect at least 12 Device must support keys to connect at least 12 other stations in ad-hoc mode for WPA2other stations in ad-hoc mode for WPA2

Page 16: David Harding Software Design Engineer Network Devices Platform Microsoft Corporation SoftAP-Based Test Infrastructure For Obtaining The Logo For WLAN

NDISTest With DTMNDISTest With DTMDTM replaces HCT for device logoDTM replaces HCT for device logoRequires Windows XP or Windows Server 2003 machine for Requires Windows XP or Windows Server 2003 machine for controllercontrollerUses a 3 machine NDISTest configurationUses a 3 machine NDISTest configuration

Requires 2 devices one for test, support and 2 AP devicesRequires 2 devices one for test, support and 2 AP devicesAP devices in one machine test and support device AP devices in one machine test and support device in each of the other machinesin each of the other machinesAll machines must use the same architectureAll machines must use the same architecture

Requires manual step to install SoftAP miniportRequires manual step to install SoftAP miniport

Hub(Backchannel)

Support MachineSupport Device

DTM ControllerWindows XP or Server 2003

Test MachineTest Device

AP MachineAP Devices #1 and #2

Page 17: David Harding Software Design Engineer Network Devices Platform Microsoft Corporation SoftAP-Based Test Infrastructure For Obtaining The Logo For WLAN

DTM SetupDTM Setup

Install DTM controller software on controller machineInstall DTM controller software on controller machine

Install DTM Studio on controller machineInstall DTM Studio on controller machine

Install DTM client on all 3 Install DTM client on all 3 NDISTest machinesNDISTest machines

Install AP miniport on AP machine fromInstall AP miniport on AP machine from

\\<ctlr>\tests\<arch>\nttest\nettest\ndis\ndistest.net\\\<ctlr>\tests\<arch>\nttest\nettest\ndis\ndistest.net\softapminiportsoftapminiport

Start DTM studio on controllerStart DTM studio on controller

Create machine pool and add your 3 DTM Create machine pool and add your 3 DTM client machinesclient machines

Open device console window from explorers menuOpen device console window from explorers menu

Page 18: David Harding Software Design Engineer Network Devices Platform Microsoft Corporation SoftAP-Based Test Infrastructure For Obtaining The Logo For WLAN

DTM SetupDTM SetupSelect your machine pool Select your machine pool from drop down listfrom drop down list

Select the submission radio Select the submission radio buttonbutton

Select <New Submission> Select <New Submission> from submission drop down from submission drop down list and follow instructionslist and follow instructions

Select WLAN-NDISTest6.5 Select WLAN-NDISTest6.5 job in studiojob in studio

Click “Add Selected” to Click “Add Selected” to configure support device configure support device and AP device machinesand AP device machines

Page 19: David Harding Software Design Engineer Network Devices Platform Microsoft Corporation SoftAP-Based Test Infrastructure For Obtaining The Logo For WLAN

DTM Device SetupDTM Device Setup

HubHub(Backchannel)(Backchannel)

Support MachineSupport MachineSupport DeviceSupport Device

DTM ControllerDTM ControllerWindows XP or Server 2003 Windows XP or Server 2003

Test MachineTest MachineTest DeviceTest Device

AP MachineAP MachineAP Devices #1 and #2 AP Devices #1 and #2

Page 20: David Harding Software Design Engineer Network Devices Platform Microsoft Corporation SoftAP-Based Test Infrastructure For Obtaining The Logo For WLAN

DTM Device SetupDTM Device Setup

HubHub(Backchannel)(Backchannel)

DTM ControllerDTM ControllerWindows XP or Server 2003 Windows XP or Server 2003

Test MachineTest MachineTest DeviceTest Device

AP MachineAP MachineAP Devices #1 and #2 AP Devices #1 and #2

Support MachineSupport MachineSupport DeviceSupport Device

Page 21: David Harding Software Design Engineer Network Devices Platform Microsoft Corporation SoftAP-Based Test Infrastructure For Obtaining The Logo For WLAN

DTM SetupDTM SetupSchedule the jobSchedule the job

DTM will launch NDISTest DTM will launch NDISTest on all 3 machines andon all 3 machines and

Selects message device Selects message device for each machinefor each machine

Selects AP devicesSelects AP devices

Selects Test and Selects Test and Support DeviceSupport Device

Launches the Launches the NDISTest scriptsNDISTest scripts

Collects and generates Collects and generates DTM logs for submissionDTM logs for submission

Page 22: David Harding Software Design Engineer Network Devices Platform Microsoft Corporation SoftAP-Based Test Infrastructure For Obtaining The Logo For WLAN

Call To ActionCall To Action

Register with Native Wi-Fi Beta PlaceRegister with Native Wi-Fi Beta Placehttps://https://beta.microsoft.combeta.microsoft.com

.NET Passport Required.NET Passport Required

Sign in with guest ID “Native802.11”Sign in with guest ID “Native802.11”

Follow registration informationFollow registration information

Realtek hardware availability and Realtek hardware availability and purchase informationpurchase information

Run Device Test Manager (DTM)Run Device Test Manager (DTM)Provide feedback* and report bugsProvide feedback* and report bugs

Page 23: David Harding Software Design Engineer Network Devices Platform Microsoft Corporation SoftAP-Based Test Infrastructure For Obtaining The Logo For WLAN

Additional ResourcesAdditional Resources

Using the WDK for Windows Logo Using the WDK for Windows Logo and Signature Testingand Signature Testingwww.microsoft.com/whdc/winhec/sessions06.mspx#4www.microsoft.com/whdc/winhec/sessions06.mspx#4

Windows Hardware and Driver Windows Hardware and Driver Central (WHDC)Central (WHDC)

www.microsoft.com/whdc/default.mspxwww.microsoft.com/whdc/default.mspx

Page 24: David Harding Software Design Engineer Network Devices Platform Microsoft Corporation SoftAP-Based Test Infrastructure For Obtaining The Logo For WLAN

© 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions,

it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Page 25: David Harding Software Design Engineer Network Devices Platform Microsoft Corporation SoftAP-Based Test Infrastructure For Obtaining The Logo For WLAN