Windows 7 : 移动宽带 微软公司 宋鸿鸣 项目经理 硬件创新中心 9/22/2018 1:50 PM Windows 7 : 移动宽带 宋鸿鸣 项目经理 硬件创新中心 微软公司 © 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.
议程 Windows 7: 移动宽带概述 移动宽带的驱动模式 移动宽带业务API Windows徽标要求 演示 立即行动
专业术语 移动宽带Mobile Broadband (MB) 也称为 移动宽带驱动也称为 Wireless WAN WWAN MB 硬件厂商微端口驱动 MB驱动 微端口驱动
What Is New? 移动宽带提供简单即用的使用体验 移动宽带设备的驱动模型 移动宽带APIs 移动宽带设备的Windows徽标项目 类似于WLAN, VPN and Dial-up 移动宽带设备的驱动模型 移动宽带APIs 移动宽带设备的Windows徽标项目
Mobile Broadband Driver Model 架构 View Available Network UI Connection Flow Experience UI Properties UI 第三方连接软件 Command Line Interface User Mode Mobile Broadband API WWAN Service Profiles Session 0 NDISUIO Provided by: Microsoft ISV OEM IHV Kernel Mode This architecture diagram illustrates the control path of the Mobile Broadband stack. The data path is through the NDIS send/receive and is not captured in this block diagram. Mobile Broadband Driver Model is newly introduced in Windows 7 for Mobile Broadband devices. Mobile Broadband Driver Model defines the kernel mode interfaces that the IHV drivers need to implement and behavior that the drivers need to comply with. We will discuss in detail about the MB driver model specification in this session. NDISUIO is a kernel mode component that is responsible for User mode IO for the WiFi. In Win7, this is extended to handle Mobile Broadband devices OID and event notification queuing between user mode and kernel mode. As the primary objective of NDISUIO is to provide a reliable control transport channel between user mode service and kernel mode drivers, in the upcoming slides, for simplicity sake this component will not be explicitly shown. As all other Windows Services, WWANService is in Session 0. WWANService manages the device, network and connectivity functionalities of Mobile Broadband devices in the User Mode. In addition, WWAN Service, using state machine implementation takes care of PIN, SMS as well as profile related functionalities in addition. The upper edge of WWAN Service provides Mobile Broadband API to the Windows 7 user mode applications. 3rd Party Connection Managers and applications will be using the Mobile Broadband API for managing and using the Mobile Broadband devices. Mobile Broadband Driver Model WWAN Miniport Driver WWAN Miniport Driver MB Miniport Driver
Mobile Broadband 驱动模板
驱动模板 支持数据包交换连接的无线广域网(3GPP/3GPP2)设 备 连结方式无关– 支持 USB, PCMCIA/PC Card 和其他 连接方式 引进新的NDIS 介质 – NdisMediumWirelessWAN 驱动框架为基于AT 命令的慢相应设备设计 基于NDIS6.20 miniport 的驱动模板 Old mode was ethernet emmulation, now new WWAN model
NDIS6.20 – 数据路径 IHV Miniport Driver Windows Vista Windows 7 少写代码,多重视质量 TCP/IP Stack Send / Receive 802.3 Frames NDIS 6.20 IP Frames DHCP模拟 ARP 模拟 Windows Vista Windows 7 Windows 7 移动宽带硬件厂商微端口驱动能够 利用纯IP包支持发送/接收功能 摒除DHCP和ARP 欺骗 少写代码,多重视质量
控制通道上的功能 MB 驱动模型定义了控制通道上功能 设备状态管理 连接管理 射频控制 SMS (短消息服务) PIN码 提供的上下文(Provisioned context) 厂商定制, 例如. 服务激活 Device state management == profiles, Connectivity management == Radio Control == driver can physically turn on/off devices Provisioned Contexts = username/password & APN
控制路径的DDI WWAN 服务使用NDIS OIDs 来处理微端 口驱动的控制请求(设置或询问) 慢响应设备的异步语义(semantics) 为基于AT 命令的调制解调器设计
针对实施来设计 在开发Windows7 驱动时候应考虑以下的实 施场景 从Vista升级到Windows7 确认Windows7下的驱动能够支持Windows Vista 的连接管理器 设备可以在Windows7及低版本Windows上使 用 开发单一的板侧软件来支持所有版本的Windows Vista CM using OID calls to legacy NDIS drivers. Single firmware package.
针对实施来设计 通过Windows Update发布驱动 必须是基于INF的驱动安装 板侧软件的更新必须通过设备的Co-Installer Plug in device -? PNP Event -> search driver store, WU, and media. (copies into windows.inf) -> reads INF Copies files to appropriate location copies .sys files to sys32.drivers; co-installer specifies new reg values & INF.
移动宽带API
支持的功能 设备管理 SMS 射频状态管理 PIN码 连接管理 定制化激活 配置管理 厂商自定义操作 Profile API 给运营商提供展示品牌的机会 定制化业务激活 透传API 让厂商商完全自定义业务激活 负载数据传给MB驱动程序 需要MB驱动程序的支持
3rd Party Apps/Connection Managers 定制化的特性 整个框架 提供厂商定制API去实现自定 义功能 WWAN Service 给Windows7的应用程 序提供透传的控制通道,去调用硬件 厂商的驱动 常用例子 SIM 工具命令集 USSD 命令集 电话本命令集 语音服务命令集 更多… 3rd Party Apps/Connection Managers Set VendorSpecific OnEventNotification WWAN Service NDIS_STATUS_WWAN_ VENDOR_SPECIFIC OID_WWAN_VENDOR_SPECIFIC MB Miniport Driver
移动宽带(MB)徽标 移动宽带设备的Windows徽标项目是考虑最终用户的使用体验而设立的- 使用新的测试方法来保证用户的良好体验 新的测试方式有: 端对端应用场景的测试 Live网络测试 徽标认证要求使用新的测试方式 有12项测试,涵盖4个类别的测试指标 功能 一致性 可提供业务 性能 Mobile Broadband Logo Program is introduced with the introduction of native support for Mobile Broadband Networking Technology (a.k.a, WWAN or 3G Networking) in Windows 7. In the past, different vendors implement Mobile Broadband differently: either emulating Ethernet or Modem. This is a non-ideal solution as the provide different type of user-experience to the end-users depending on the device they use. In Windows 7, the driver model for Mobile Broadband devices is standardized with the introduction of the new Mobile Broadband Driver Model Specifications. The Mobile Broadband Logo Program is created specifically to validate driver implementation against the Mobile Broadband Driver Model Specifications to ensure the stability and reliability of the drivers. Once the driver is certified through this program (WHQL), it can be easily distributed to the end users via the Windows Update mechanism build into every Windows client.
演示
立即行动 开发符合MB驱动模型的 NDIS6.20驱动 开发驱动时应考虑实施场景 在Windows7 下测试商用的移动宽带设备 多阶段的开发模式请参照Mobile Broadband 白皮书 开发驱动时应考虑实施场景 在Windows7 下测试商用的移动宽带设备 评测移动宽带设备的徽标认证要求,给我们反馈 联系我们win7mb@microsoft.com
附加资源 Mobile Broadband 徽标要求 https://winqual.microsoft.com/ Log in, click on the Logopoint link on the left side menu, and search for “MBN” requirements WDK Documentation on MSDN Porting NDIS 5.x Drivers to NDIS 6.0 - http://msdn.microsoft.com/hi-in/library/ms795567(en- us).aspx IP Helper - http://msdn.microsoft.com/hi-in/library/bb742902(en-us).aspx WDK 相关文档 Mobile Broadband Driver Model Specification Mobile Broadband Driver Test App (WwanDriverTestApp) NDIS 6.20 Windows Logo Kit (WLK) Mobile Broadband 徽标测试 WHDC Web site at http://www.microsoft.com/whdc/default.mspx Mobile Broadband 驱动开发白皮书
本地化参考资源 网络资源 Windows 硬件开发者网站 http://www.microsoft.com/China/WHDC https://winqual.microsoft.com Windows 媒体中心中文网站: http://www.microsoft.com/china/windows/products /winfamily/mediacenter/default.mspx Windows徽标计划中文技术论坛 http://forums.microsoft.com/china/ShowForum.aspx ?ForumID=2150&SiteID=15 Windows徽标流程问题联系 HICWHQL@microsoft.com
© 2008 Microsoft Corporation. All rights reserved © 2008 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.