none
Ndis6.20 usb to ethernet driver issue RRS feed

  • 问题

  • Our company now develops a ndis 6.20 driver for mifi product, which is a wifi router with <chmetcnv HasSpace="False" Negative="False" NumberType="1" SourceValue="3" TCSC="0" UnitName="g" w:st="on">3g</chmetcnv> wireless connection.

    The product exposes its usb interface to windows as an Ethernet card adpter, which is an ECM-like usb interface.

    The usb packet transmitted is ethernet packet.

    We have already a ndis 5.1 driver for the product, which is under the WLK test.

    As we know, if we want to have a windows 8 signature of driver (not logo), we need to write an ndis 6.2 driver for it.

    I’ve met ndis 6.2 before. But at that time, it was a mobile broadband driver for windows 7, which is an ip device.

    And the inf section of the driver, should be modified like:

    From    HKR, Ndi\Interfaces,              UpperRange,          0, "ndis5"

    HKR, Ndi\Interfaces,              LowerRange,          0, "ethernet"

    To         HKR, Ndi\Interfaces,              UpperRange,          0, "flpp4"

    HKR, Ndi\Interfaces,              LowerRange,          0, "ppip"

    And also should add the following,

                 *IfType            = 243                  ; IF_TYPE_WWANPP GSM

    *MediaType         = 9                  ;  NdisMediumWirelessWan

    *PhysicalMediaType = 8          ; NdisPhysicalMediumWirelessWan

    But currently, our product is suitable for  the mobile broad driver spectification. It’s a usb to Ethernet product.

    Besides the code modification, how should we change the inf of the ndis 5.1.  And migrate it to ndis6.2.

    Should we keep the following in ndis 6.2?

    HKR, Ndi\Interfaces,              UpperRange,          0, "ndis5"

    HKR, Ndi\Interfaces,              LowerRange,          0, "ethernet"

    2013年3月29日 2:55