; Copyright (c) 2010,2011 Huawei Incorporated
; Manufacturer: Huawei Incorporated
;
; CDC ECM & NCM driver
;

[Version]
Signature="$WINDOWS NT$"
Class=Net
ClassGUID={4d36e972-e325-11ce-bfc1-08002be10318}
Provider=%Mfg%
DriverVer=01/26/2015,1.0.23.0
CatalogFile=ew_wwanecm.cat

[Manufacturer]
%Mfg% = DeviceList,NTx86,NTamd64

[SourceDisksNames]
1 = %ew_wwanecm.DiskName%,,,""

[SourceDisksFiles]
ew_wwanecm.sys  = 1,,

; For Win2K
[DeviceList]
;PNP2.0 device info
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C06&MI_03
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C07&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C09&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C0A&MI_02
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C0C&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C0E&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C0F&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C14&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C15&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C16&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C1D&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C1E&MI_03
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C1F&MI_02
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C21&MI_03
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C22&MI_02

; ==================Icera Generic PIDs==================
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1444&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1445&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_144E&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_144F&MI_01

; ==================Icera VDF PIDs==================
%VDF_NDISDeviceDesc%    = ew_wwanecm.ndi, USB\VID_12D1&PID_14AE&MI_01
%VDF_NDISDeviceDesc%    = ew_wwanecm.ndi, USB\VID_12D1&PID_14AF&MI_01
%VDF_NDISDeviceDesc%    = ew_wwanecm.ndi, USB\VID_12D1&PID_14B0&MI_01
%VDF_NDISDeviceDesc%    = ew_wwanecm.ndi, USB\VID_12D1&PID_14B1&MI_01

; ==================Balong VDF PIDs==================
%VDF_NDISDeviceDesc%    = ew_wwanecm.ndi, USB\VID_12D1&PID_14A5&MI_01
%VDF_NDISDeviceDesc%    = ew_wwanecm.ndi, USB\VID_12D1&PID_14A6&MI_01
%VDF_NDISDeviceDesc%    = ew_wwanecm.ndi, USB\VID_12D1&PID_14A7&MI_01
%VDF_NDISDeviceDesc%    = ew_wwanecm.ndi, USB\VID_12D1&PID_14D6&MI_01


%TD_NDISDeviceDesc%     = ew_wwanecm.ndi, USB\VID_12D1&PID_1C17&MI_00
%TD_NDISDeviceDesc%     = ew_wwanecm.ndi, USB\VID_12D1&PID_1C18&MI_00


;PNP2.1 device info
%PNP21_HW_NetworkDesc% = ew_wwanecm.ndi, USB\VID_12D1&Subclass_02&Prot_16
%PNP21_VDF_NetworkDesc%    = ew_wwanecm.ndi, USB\VID_12D1&Subclass_02&Prot_46
%PNP21_NetworkDesc%        = ew_wwanecm.ndi, USB\VID_12D1&Subclass_02&Prot_76

%PNP21_HW_3G_NetworkDesc% = ew_wwanecm.ndi, USB\VID_12D1&Subclass_02&Prot_07
%PNP21_VDF_NetworkDesc%    = ew_wwanecm.ndi, USB\VID_12D1&Subclass_02&Prot_37
%PNP21_NetworkDesc%        = ew_wwanecm.ndi, USB\VID_12D1&Subclass_02&Prot_67

%PNP21_HW_NetworkDesc%        = ew_wwanecm.ndi, USB\VID_12D1&Subclass_02&Prot_11

; add for v3r3 new products
%PNP21_HW_NetworkDesc%     = ew_wwanecm.ndi, USB\VID_12D1&Subclass_03&Prot_16
%PNP21_VDF_NetworkDesc%    = ew_wwanecm.ndi, USB\VID_12D1&Subclass_03&Prot_46
%PNP21_NetworkDesc%        = ew_wwanecm.ndi, USB\VID_12D1&Subclass_03&Prot_76

%PNP21_HW_3G_NetworkDesc%  = ew_wwanecm.ndi, USB\VID_12D1&Subclass_03&Prot_07
%PNP21_VDF_NetworkDesc%    = ew_wwanecm.ndi, USB\VID_12D1&Subclass_03&Prot_37
%PNP21_NetworkDesc%        = ew_wwanecm.ndi, USB\VID_12D1&Subclass_03&Prot_67

%PNP21_HW_NetworkDesc%     = ew_wwanecm.ndi, USB\VID_12D1&Subclass_03&Prot_11

; For E5 that not support WWAN
%PNP21_HW_NetworkDesc%     = ew_cdcecm.ndi, USB\VID_12D1&Subclass_02&Prot_16&ndis
%PNP21_VDF_NetworkDesc%    = ew_cdcecm.ndi, USB\VID_12D1&Subclass_02&Prot_46&ndis
%PNP21_NetworkDesc%        = ew_cdcecm.ndi, USB\VID_12D1&Subclass_02&Prot_76&ndis

%PNP21_HW_3G_NetworkDesc%  = ew_cdcecm.ndi, USB\VID_12D1&Subclass_02&Prot_07&ndis
%PNP21_VDF_NetworkDesc%    = ew_cdcecm.ndi, USB\VID_12D1&Subclass_02&Prot_37&ndis
%PNP21_NetworkDesc%        = ew_cdcecm.ndi, USB\VID_12D1&Subclass_02&Prot_67&ndis

%PNP21_HW_NetworkDesc%     = ew_cdcecm.ndi, USB\VID_12D1&Subclass_02&Prot_11&ndis


%PNP21_HW_NetworkDesc%     = ew_cdcecm.ndi, USB\VID_12D1&Subclass_03&Prot_16&ndis
%PNP21_VDF_NetworkDesc%    = ew_cdcecm.ndi, USB\VID_12D1&Subclass_03&Prot_46&ndis
%PNP21_NetworkDesc%        = ew_cdcecm.ndi, USB\VID_12D1&Subclass_03&Prot_76&ndis

%PNP21_HW_3G_NetworkDesc%  = ew_cdcecm.ndi, USB\VID_12D1&Subclass_03&Prot_07&ndis
%PNP21_VDF_NetworkDesc%    = ew_cdcecm.ndi, USB\VID_12D1&Subclass_03&Prot_37&ndis
%PNP21_NetworkDesc%        = ew_cdcecm.ndi, USB\VID_12D1&Subclass_03&Prot_67&ndis

%PNP21_HW_NetworkDesc%     = ew_cdcecm.ndi, USB\VID_12D1&Subclass_03&Prot_11&ndis

; for logo test
%HUAWEI_NDISDeviceDesc%    = ew_wwanecm.ndi, USB\VID_12D1&PID_158F&MI_00

; For WinXP and later
[DeviceList.NTx86]
;PNP2.0 device info
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C06&MI_03
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C07&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C09&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C0A&MI_02
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C0C&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C0E&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C0F&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C14&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C15&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C16&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C1D&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C1E&MI_03
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C1F&MI_02
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C21&MI_03
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C22&MI_02

; ==================Icera Generic PIDs==================
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1444&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1445&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_144E&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_144F&MI_01

; ==================Icera VDF PIDs==================
%VDF_NDISDeviceDesc%    = ew_wwanecm.ndi, USB\VID_12D1&PID_14AE&MI_01
%VDF_NDISDeviceDesc%    = ew_wwanecm.ndi, USB\VID_12D1&PID_14AF&MI_01
%VDF_NDISDeviceDesc%    = ew_wwanecm.ndi, USB\VID_12D1&PID_14B0&MI_01
%VDF_NDISDeviceDesc%    = ew_wwanecm.ndi, USB\VID_12D1&PID_14B1&MI_01

; ==================Balong VDF PIDs==================
%VDF_NDISDeviceDesc%    = ew_wwanecm.ndi, USB\VID_12D1&PID_14A5&MI_01
%VDF_NDISDeviceDesc%    = ew_wwanecm.ndi, USB\VID_12D1&PID_14A6&MI_01
%VDF_NDISDeviceDesc%    = ew_wwanecm.ndi, USB\VID_12D1&PID_14A7&MI_01
%VDF_NDISDeviceDesc%    = ew_wwanecm.ndi, USB\VID_12D1&PID_14D6&MI_01


%TD_NDISDeviceDesc%     = ew_wwanecm.ndi, USB\VID_12D1&PID_1C17&MI_00
%TD_NDISDeviceDesc%     = ew_wwanecm.ndi, USB\VID_12D1&PID_1C18&MI_00


;PNP2.1 device info
%PNP21_HW_NetworkDesc% = ew_wwanecm.ndi, USB\VID_12D1&Subclass_02&Prot_16
%PNP21_VDF_NetworkDesc%    = ew_wwanecm.ndi, USB\VID_12D1&Subclass_02&Prot_46
%PNP21_NetworkDesc%        = ew_wwanecm.ndi, USB\VID_12D1&Subclass_02&Prot_76

%PNP21_HW_3G_NetworkDesc% = ew_wwanecm.ndi, USB\VID_12D1&Subclass_02&Prot_07
%PNP21_VDF_NetworkDesc%    = ew_wwanecm.ndi, USB\VID_12D1&Subclass_02&Prot_37
%PNP21_NetworkDesc%        = ew_wwanecm.ndi, USB\VID_12D1&Subclass_02&Prot_67

%PNP21_HW_NetworkDesc%        = ew_wwanecm.ndi, USB\VID_12D1&Subclass_02&Prot_11


; add for v3r3 new products
%PNP21_HW_NetworkDesc%     = ew_wwanecm.ndi, USB\VID_12D1&Subclass_03&Prot_16
%PNP21_VDF_NetworkDesc%    = ew_wwanecm.ndi, USB\VID_12D1&Subclass_03&Prot_46
%PNP21_NetworkDesc%        = ew_wwanecm.ndi, USB\VID_12D1&Subclass_03&Prot_76

%PNP21_HW_3G_NetworkDesc%  = ew_wwanecm.ndi, USB\VID_12D1&Subclass_03&Prot_07
%PNP21_VDF_NetworkDesc%    = ew_wwanecm.ndi, USB\VID_12D1&Subclass_03&Prot_37
%PNP21_NetworkDesc%        = ew_wwanecm.ndi, USB\VID_12D1&Subclass_03&Prot_67

%PNP21_HW_NetworkDesc%     = ew_wwanecm.ndi, USB\VID_12D1&Subclass_03&Prot_11

; For E5 that not support WWAN
%PNP21_HW_NetworkDesc%     = ew_cdcecm.ndi, USB\VID_12D1&Subclass_02&Prot_16&ndis
%PNP21_VDF_NetworkDesc%    = ew_cdcecm.ndi, USB\VID_12D1&Subclass_02&Prot_46&ndis
%PNP21_NetworkDesc%        = ew_cdcecm.ndi, USB\VID_12D1&Subclass_02&Prot_76&ndis

%PNP21_HW_3G_NetworkDesc%  = ew_cdcecm.ndi, USB\VID_12D1&Subclass_02&Prot_07&ndis
%PNP21_VDF_NetworkDesc%    = ew_cdcecm.ndi, USB\VID_12D1&Subclass_02&Prot_37&ndis
%PNP21_NetworkDesc%        = ew_cdcecm.ndi, USB\VID_12D1&Subclass_02&Prot_67&ndis

%PNP21_HW_NetworkDesc%     = ew_cdcecm.ndi, USB\VID_12D1&Subclass_02&Prot_11&ndis


%PNP21_HW_NetworkDesc%     = ew_cdcecm.ndi, USB\VID_12D1&Subclass_03&Prot_16&ndis
%PNP21_VDF_NetworkDesc%    = ew_cdcecm.ndi, USB\VID_12D1&Subclass_03&Prot_46&ndis
%PNP21_NetworkDesc%        = ew_cdcecm.ndi, USB\VID_12D1&Subclass_03&Prot_76&ndis

%PNP21_HW_3G_NetworkDesc%  = ew_cdcecm.ndi, USB\VID_12D1&Subclass_03&Prot_07&ndis
%PNP21_VDF_NetworkDesc%    = ew_cdcecm.ndi, USB\VID_12D1&Subclass_03&Prot_37&ndis
%PNP21_NetworkDesc%        = ew_cdcecm.ndi, USB\VID_12D1&Subclass_03&Prot_67&ndis

%PNP21_HW_NetworkDesc%     = ew_cdcecm.ndi, USB\VID_12D1&Subclass_03&Prot_11&ndis

; for logo test
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_158F&MI_00

; For XP and later x64
[DeviceList.NTamd64]
;PNP2.0 device info
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C06&MI_03
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C07&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C09&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C0A&MI_02
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C0C&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C0E&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C0F&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C14&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C15&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C16&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C1D&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C1E&MI_03
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C1F&MI_02
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C21&MI_03
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1C22&MI_02

; ==================Icera Generic PIDs==================
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1444&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_1445&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_144E&MI_01
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_144F&MI_01

; ==================Icera VDF PIDs==================
%VDF_NDISDeviceDesc%    = ew_wwanecm.ndi, USB\VID_12D1&PID_14AE&MI_01
%VDF_NDISDeviceDesc%    = ew_wwanecm.ndi, USB\VID_12D1&PID_14AF&MI_01
%VDF_NDISDeviceDesc%    = ew_wwanecm.ndi, USB\VID_12D1&PID_14B0&MI_01
%VDF_NDISDeviceDesc%    = ew_wwanecm.ndi, USB\VID_12D1&PID_14B1&MI_01

; ==================Balong VDF PIDs==================
%VDF_NDISDeviceDesc%    = ew_wwanecm.ndi, USB\VID_12D1&PID_14A5&MI_01
%VDF_NDISDeviceDesc%    = ew_wwanecm.ndi, USB\VID_12D1&PID_14A6&MI_01
%VDF_NDISDeviceDesc%    = ew_wwanecm.ndi, USB\VID_12D1&PID_14A7&MI_01
%VDF_NDISDeviceDesc%    = ew_wwanecm.ndi, USB\VID_12D1&PID_14D6&MI_01


%TD_NDISDeviceDesc%     = ew_wwanecm.ndi, USB\VID_12D1&PID_1C17&MI_00
%TD_NDISDeviceDesc%     = ew_wwanecm.ndi, USB\VID_12D1&PID_1C18&MI_00


;PNP2.1 device info
%PNP21_HW_NetworkDesc% = ew_wwanecm.ndi, USB\VID_12D1&Subclass_02&Prot_16
%PNP21_VDF_NetworkDesc%    = ew_wwanecm.ndi, USB\VID_12D1&Subclass_02&Prot_46
%PNP21_NetworkDesc%        = ew_wwanecm.ndi, USB\VID_12D1&Subclass_02&Prot_76

%PNP21_HW_3G_NetworkDesc% = ew_wwanecm.ndi, USB\VID_12D1&Subclass_02&Prot_07
%PNP21_VDF_NetworkDesc%    = ew_wwanecm.ndi, USB\VID_12D1&Subclass_02&Prot_37
%PNP21_NetworkDesc%        = ew_wwanecm.ndi, USB\VID_12D1&Subclass_02&Prot_67

%PNP21_HW_NetworkDesc%        = ew_wwanecm.ndi, USB\VID_12D1&Subclass_02&Prot_11

; add for v3r3 new products
%PNP21_HW_NetworkDesc%     = ew_wwanecm.ndi, USB\VID_12D1&Subclass_03&Prot_16
%PNP21_VDF_NetworkDesc%    = ew_wwanecm.ndi, USB\VID_12D1&Subclass_03&Prot_46
%PNP21_NetworkDesc%        = ew_wwanecm.ndi, USB\VID_12D1&Subclass_03&Prot_76

%PNP21_HW_3G_NetworkDesc%  = ew_wwanecm.ndi, USB\VID_12D1&Subclass_03&Prot_07
%PNP21_VDF_NetworkDesc%    = ew_wwanecm.ndi, USB\VID_12D1&Subclass_03&Prot_37
%PNP21_NetworkDesc%        = ew_wwanecm.ndi, USB\VID_12D1&Subclass_03&Prot_67

%PNP21_HW_NetworkDesc%     = ew_wwanecm.ndi, USB\VID_12D1&Subclass_03&Prot_11

; For E5 that not support WWAN
%PNP21_HW_NetworkDesc%     = ew_cdcecm.ndi, USB\VID_12D1&Subclass_02&Prot_16&ndis
%PNP21_VDF_NetworkDesc%    = ew_cdcecm.ndi, USB\VID_12D1&Subclass_02&Prot_46&ndis
%PNP21_NetworkDesc%        = ew_cdcecm.ndi, USB\VID_12D1&Subclass_02&Prot_76&ndis

%PNP21_HW_3G_NetworkDesc%  = ew_cdcecm.ndi, USB\VID_12D1&Subclass_02&Prot_07&ndis
%PNP21_VDF_NetworkDesc%    = ew_cdcecm.ndi, USB\VID_12D1&Subclass_02&Prot_37&ndis
%PNP21_NetworkDesc%        = ew_cdcecm.ndi, USB\VID_12D1&Subclass_02&Prot_67&ndis

%PNP21_HW_NetworkDesc%     = ew_cdcecm.ndi, USB\VID_12D1&Subclass_02&Prot_11&ndis


%PNP21_HW_NetworkDesc%     = ew_cdcecm.ndi, USB\VID_12D1&Subclass_03&Prot_16&ndis
%PNP21_VDF_NetworkDesc%    = ew_cdcecm.ndi, USB\VID_12D1&Subclass_03&Prot_46&ndis
%PNP21_NetworkDesc%        = ew_cdcecm.ndi, USB\VID_12D1&Subclass_03&Prot_76&ndis

%PNP21_HW_3G_NetworkDesc%  = ew_cdcecm.ndi, USB\VID_12D1&Subclass_03&Prot_07&ndis
%PNP21_VDF_NetworkDesc%    = ew_cdcecm.ndi, USB\VID_12D1&Subclass_03&Prot_37&ndis
%PNP21_NetworkDesc%        = ew_cdcecm.ndi, USB\VID_12D1&Subclass_03&Prot_67&ndis

%PNP21_HW_NetworkDesc%     = ew_cdcecm.ndi, USB\VID_12D1&Subclass_03&Prot_11&ndis

; for logo test
%HUAWEI_NDISDeviceDesc% = ew_wwanecm.ndi, USB\VID_12D1&PID_158F&MI_00

;-------------------------------------------------------------------------------
; Virtual Ethernet Adapter
;
[ew_wwanecm.ndi]
*IfType            = 243 ; IF_TYPE_WWANPP
*MediaType         = 9; NdisMediumWirelessWan
*PhysicalMediaType = 8 ; NdisPhysicalMediumWirelessWan
EnableDhcp         = 0 ; DHCP Disabled
Characteristics    = 0x84 ; NCF_HAS_UI | NCF_PHYSICAL
BusType            = 15 ; if you specify NCF_PHYSICAL, you must specify bustype
AddReg             = ew_wwanecm.Reg, ParamsPromiscuous, ParamsFrameType, ParamsIsNtb32, ParamsNTBInputSize, ParamsPacketsAccumulationTimeout, ParamsMaxNumOfDatagramsInNTB, FlowControlTimeOut, DisableAccumulationUpdate, WwanMbimEnable, NcmReinitializeEnable
CopyFiles          = ew_wwanecm.CopyFiles

; For E5 that not support WWAN
[ew_cdcecm.ndi]
*IfType            = 6 ;     IF_TYPE_ETHERNET_CSMACD
*MediaType         = 0 ;     NdisMedium802_3
*PhysicalMediaType = 14 ;    NdisPhysicalMedium802_3
EnableDhcp         = 1 ; DHCP Enabled
Characteristics    = 0x84 ; NCF_HAS_UI | NCF_PHYSICAL
BusType            = 15 ; if you specify NCF_PHYSICAL, you must specify bustype
AddReg             = ew_cdcecm.Reg, ParamsPromiscuous, ParamsIsNtb32, ParamsNTBInputSize, ParamsPacketsAccumulationTimeout, ParamsMaxNumOfDatagramsInNTB,FlowControlTimeOut,DisableAccumulationUpdate, NcmReinitializeEnable
CopyFiles          = ew_wwanecm.CopyFiles

[WWAN_AddReg]
HKR,, Platform,0x00010001,0x3 
HKR,, WWAN,0x00010001,0x1
HKR,, "SelectiveSuspendIdleTime", 0x00010001, 0x05
[ew_wwanecm.ndi.Services]
AddService      = %ServiceName%, 2, ew_wwanecm.Service, ew_wwanecm.EventLog

[ew_wwanecm.ndi.HW]
AddReg = WWAN_AddReg

;-----------------------------------------------------------------------------
;
[ew_wwanecm.Reg]
HKR,    ,                         BusNumber,           0, "0"
HKR,    ,                         MPRadioState,        0x00010001, 0x00000001       ;RadioState
HKR, Ndi,                         Service,             0, "hwusb_wwanecm"
HKR, Ndi\Interfaces,              UpperRange,          0, "flpp4" and "flpp6"
HKR, Ndi\Interfaces,              LowerRange,          0, "ppip"


[ECM_AddReg]
HKR,, Platform,0x00010001,0x3 
HKR,, WWAN,0x00010001,0x0
HKR,, "SelectiveSuspendIdleTime", 0x00010001, 0x05

[ew_cdcecm.ndi.Services]
AddService      = %ServiceName%, 2, ew_wwanecm.Service, ew_wwanecm.EventLog

[ew_cdcecm.ndi.HW]
AddReg = ECM_AddReg

;-----------------------------------------------------------------------------
;
[ew_cdcecm.Reg]
HKR,    ,                         BusNumber,           0, "0"
HKR, Ndi,                         Service,             0, "hwusb_wwanecm"
HKR, Ndi\Interfaces,              UpperRange,          0, "ndis5"
HKR, Ndi\Interfaces,              LowerRange,          0, "ethernet"
HKR,    ,                         TcpAckFrqEnable,     0x00010001, 0

[ParamsPromiscuous]
;
;    Should the physical NIC be set to Promiscuous mode
;
HKR, Ndi\Params\Promiscuous,     ParamDesc, , %Promiscuous%
HKR, Ndi\Params\Promiscuous,     Default,  ,"0"
HKR, Ndi\Params\Promiscuous,     type, ,      enum
HKR, Ndi\Params\Promiscuous\enum,"1",  ,     %Promiscuous_Enable%
HKR, Ndi\Params\Promiscuous\enum,"0",  ,     %Promiscuous_Disable%

[ParamsFrameType]
HKR, Ndi\Params\FrameType,     ParamDesc, 0, %FrameType%
HKR, Ndi\Params\FrameType,     type,      0, enum
HKR, Ndi\Params\FrameType,     Default,   0, "0"
HKR, Ndi\Params\FrameType\enum,"1",       0, %FrameType_IP%
HKR, Ndi\Params\FrameType\enum,"0",       0, %FrameType_Ethernet%

[ParamsIsNtb32]
HKR, Ndi\Params\IsNtb32,      ParamDesc, , %IsNtb32%
HKR, Ndi\Params\IsNtb32,      Default, , "1"
HKR, Ndi\Params\IsNtb32,      type, , enum
HKR, Ndi\Params\IsNtb32\enum, "1", , "Yes"
HKR, Ndi\Params\IsNtb32\enum, "0", , "No"

[ParamsNTBInputSize]
HKR, Ndi\Params\NTBInputSize,     ParamDesc, , %NTBInputSize%
; If the following size is larger than the maximum allowed by the device, the
; maximum value is used. 0 means to use the maximum allowed value of the device.
HKR, Ndi\Params\NTBInputSize,     Default, , "0"
HKR, Ndi\Params\NTBInputSize,     type, , dword

[ParamsPacketsAccumulationTimeout]
HKR, Ndi\Params\PacketsAccumulationTimeout,     ParamDesc, , %PacketsAccumulationTimeout%
; Unit of PacketsAccumulationTimeout is usecs. Default value is 20 us.
HKR, Ndi\Params\PacketsAccumulationTimeout,     Default, , "20"
HKR, Ndi\Params\PacketsAccumulationTimeout,     type, , dword

[ParamsMaxNumOfDatagramsInNTB]
HKR, Ndi\Params\MaxNumOfDatagramsInNTB,     ParamDesc, , %MaxNumOfDatagramsInNTB%
HKR, Ndi\Params\MaxNumOfDatagramsInNTB,     Default, , "64"
HKR, Ndi\Params\MaxNumOfDatagramsInNTB,     type, , dword

[FlowControlTimeOut]
HKR, Ndi\Params\FlowControlTimeOut,     ParamDesc, , %FlowControlTimeout%
HKR, Ndi\Params\FlowControlTimeOut,     Default, , "2800"
HKR, Ndi\Params\FlowControlTimeOut,     type, , dword

[DisableAccumulationUpdate]
HKR, Ndi\Params\disable_accumulation_update,     ParamDesc, , %DisableAccumulationUpdate%
HKR, Ndi\Params\disable_accumulation_update,     Default, , "0"
HKR, Ndi\Params\disable_accumulation_update,     type, , dword

[WwanMbimEnable]
HKR, Ndi\Params\WwanMbimEnable, ParamDesc, , %WwanMbimEnable%
HKR, Ndi\Params\WwanMbimEnable, Default, , "0"
HKR, Ndi\Params\WwanMbimEnable, type, , dword

[NcmReinitializeEnable]
HKR, Ndi\Params\NcmReinitializeEnable, ParamDesc, , %NcmReinitializeEnable%
HKR, Ndi\Params\NcmReinitializeEnable, Default, , "1"
HKR, Ndi\Params\NcmReinitializeEnable, type, , dword

;-----------------------------------------------------------------------------
; DestinationDirs
;
[DestinationDirs]
ew_wwanecm.CopyFiles = 12

[ew_wwanecm.CopyFiles]
ew_wwanecm.sys,,,0x6  ;COPYFLG_NOSKIP | COPYFLG_NOVERSIONCHECK
;-----------------------------------------------------------------------------
; Driver and Service Section
;

[ew_wwanecm.Service]
ServiceType     = 1 ;%SERVICE_KERNEL_DRIVER%
StartType       = 3 ;%SERVICE_DEMAND_START%
ErrorControl    = 1 ;%SERVICE_ERROR_NORMAL%
ServiceBinary   = %12%\ew_wwanecm.sys
LoadOrderGroup  = NDIS
AddReg          = ew_wwanecm.Service.Reg

[ew_wwanecm.Service.Reg]
HKR, , TextModeFlags,    0x00010001, 0x0001
HKR, Parameters, DebugLevel, 0x00010001, 1
HKR, Parameters, WwanLogoTestOn, 0x00010001, 0

[ew_wwanecm.EventLog]
AddReg = ew_wwanecm.AddEventLog.Reg

[ew_wwanecm.AddEventLog.Reg]
HKR, , EventMessageFile, 0x00020000, "%%SystemRoot%%\System32\netevent.dll"
HKR, , TypesSupported,   0x00010001, 7

;-----------------------------------------------------------------------------
; Localizable Strings
;
[Strings]
Mfg = "HUAWEI"

HUAWEI_NDISDeviceDesc      = "HUAWEI Mobile Connect - Network Adapter"
VDF_NDISDeviceDesc    = "Vodafone Mobile Broadband Network Adapter (Huawei)"
TD_NDISDeviceDesc = "HUAWEI Mobile CMCC Connect - Network Adapter"

;PNP2.1 Device descriptor
PNP21_HW_3G_NetworkDesc = "HUAWEI Mobile Connect - 3G Network Card"
PNP21_HW_NetworkDesc = "HUAWEI Mobile Connect - Network Card"
PNP21_NetworkDesc = "Mobile Connect - Network Card"
PNP21_VDF_NetworkDesc = "Vodafone Mobile Broadband Network Adapter (Huawei)"

ew_wwanecm.DiskName        = "DriverCore Installation Disk"
Promiscuous                = "Set the physical NIC to promiscuous mode"
Promiscuous_Disable        = "Disable"
ServiceName                = "hwusb_wwanecm"
Promiscuous_Enable         = "Enable"
FrameType                  = "Frame Type in driver-device communications"
FrameType_Ethernet         = "Ethernet"
FrameType_IP               = "IP"

IsNtb32                    = "32bit mode"
NTBInputSize               = "NTB input size"
PacketsAccumulationTimeout = "Packets Accumulation Timeout [usec]"
MaxNumOfDatagramsInNTB     = "Maximum number of datagrams in NTB"
FlowControlTimeout         = "Flow Control timeout interval in ms"
DisableAccumulationUpdate  = "Flag to disable NCM accumulation auto updation"
WwanMbimEnable             = "Flag to enable WWAN MBIM function"
NcmReinitializeEnable      = "Flag to enable NCM reinitialize after resume"
