none
NDIS KMDF USB driver unable to bind to native wifi filter RRS feed

  • Question

  • I am developing a wifi miniport driver for a USB adapter.

    The driver is unable to bind to native wifi filter driver and returns a code od NDIS_STATUS_ADAPTER_NOT_FOUND.

    I checked the output of !ndiskd.miniport. The adapter is in power state D0, started and media state connected.

    The adapter also shows with other adapters in device manager and "change adapter settings".

    Are there any settings in the inf file that specify the bindings?Can Ndi keys play a role here?I have the Ndi keys in the inf file,but cannot locate them in the registry.

    However,the ndis traces show the failure to bind with native wifi filter:


    00001440 mp 4 256 3 0 06\29\2015-10:58:40:59 ==>ndisCheckMiniportFilters: Miniport FFFFFA801288D1A0
    00001441 mp 4 256 3 0 06\29\2015-10:58:40:59 ==>ndisAttachFilterToMiniport: FilterDriver FFFFFA8011854010, Miniport FFFFFA801288D1A0, Native WiFi Filter Driver
    00001442 mp 4 256 3 0 06\29\2015-10:58:40:59 <==ndisAttachFilterToMiniport: FilterDriver FFFFFA8011854010, Miniport FFFFFA801288D1A0, Status c0010006
    00001443 mp 4 92 1 0 06\29\2015-10:58:40:59 ndisPnPDispatch: Miniport FFFFFA801288D1A0, MinorFunction: 8
    00001444 mp 4 92 1 0 06\29\2015-10:58:40:59 ndisPnPDispatch: Miniport FFFFFA801288D1A0, MinorFunction 0x8
    00001445 mp 4 256 3 0 06\29\2015-10:58:40:59 ==>ndisAttachFilterToMiniport: FilterDriver FFFFFA8010510850, Miniport FFFFFA801288D1A0, Virtual PC Network Filter Driver
    00001446 mp 4 256 3 0 06\29\2015-10:58:40:59 <==ndisAttachFilterToMiniport: FilterDriver FFFFFA8010510850, Miniport FFFFFA801288D1A0, Status c0010006
    00001447 mp 4 256 3 0 06\29\2015-10:58:40:59 ==>ndisAttachFilterToMiniport: FilterDriver FFFFFA801039C280, Miniport FFFFFA801288D1A0, Virtual WiFi Filter Driver
    00001448 mp 4 256 3 0 06\29\2015-10:58:40:59 <==ndisAttachFilterToMiniport: FilterDriver FFFFFA801039C280, Miniport FFFFFA801288D1A0, Status c0010006
    00001449 mp 4 256 3 0 06\29\2015-10:58:40:59 ==>ndisAttachFilterToMiniport: FilterDriver FFFFFA801039A4A0, Miniport FFFFFA801288D1A0, QoS Packet Scheduler
    00001450 mp 4 256 3 0 06\29\2015-10:58:40:59 <==ndisAttachFilterToMiniport: FilterDriver FFFFFA801039A4A0, Miniport FFFFFA801288D1A0, Status c0010006
    00001451 mp 4 256 3 0 06\29\2015-10:58:40:59 ==>ndisAttachFilterToMiniport: FilterDriver FFFFFA801039AD60, Miniport FFFFFA801288D1A0, WFP LightWeight Filter
    00001452 mp 4 256 3 0 06\29\2015-10:58:40:59 <==ndisAttachFilterToMiniport: FilterDriver FFFFFA801039AD60, Miniport FFFFFA801288D1A0, Status c0010006
    00001453 mp 4 256 3 0 06\29\2015-10:58:40:59 <==ndisCheckMiniportFilters: Miniport FFFFFA801288D1A0
    00001454 mp 4 256 3 0 06\29\2015-10:58:40:59 ==>ndisCheckAdapterBindings: Miniport FFFFFA801288D1A0, Protocol 0000000000000000
    00001455 mp 4 92 1 0 06\29\2015-10:58:40:59 <==ndisPnPDispatch: Miniport FFFFFA801288D1A0, MinorFunction 8, Status c00000bb
    00001456 mp 4 256 3 0 06\29\2015-10:58:40:59 ==>ndisReferenceProtocolByName: Protocol: Ndisuio
    00001457 mp 4 256 3 0 06\29\2015-10:58:40:59 <==ndisReferenceProtocolByName: Protocol FFFFFA80127F3910, Status 0
    00001458 mp 4 256 3 0 06\29\2015-10:58:40:59 ==>ndisInitializeBinding: Miniport FFFFFA801288D1A0, Protocol FFFFFA80127F3910
    00001459 mp 4 256 3 0 06\29\2015-10:58:40:59 ==>ndisInitializeBindingEx: Miniport FFFFFA801288D1A0, Protocol FFFFFA80127F3910
    00001460 mp 4 256 3 0 06\29\2015-10:58:40:59 ==>ndisProtocolAlreadyBound: Protocol FFFFFA80127F3910, Miniport FFFFFA801288D1A0
    00001461 mp 4 256 3 0 06\29\2015-10:58:40:59 <==ndisProtocolAlreadyBound: Protocol FFFFFA80127F3910, Miniport FFFFFA801288D1A0
    00001462 mp 4 256 3 0 06\29\2015-10:58:40:59 ==>ndisIsMiniportStarted: Miniport FFFFFA801288D1A0
    00001463 mp 4 256 3 0 06\29\2015-10:58:40:59 <==ndisIsMiniportStarted: Miniport FFFFFA801288D1A0, Started 1
    00001464 mp 4 256 3 0 06\29\2015-10:58:40:59 ==>ndisProtocolAlreadyBound: Protocol FFFFFA80127F3910, Miniport FFFFFA801288D1A0
    00001465 mp 4 256 3 0 06\29\2015-10:58:40:59 <==ndisProtocolAlreadyBound: Protocol FFFFFA80127F3910, Miniport FFFFFA801288D1A0
    00001466 mp 4 256 3 0 06\29\2015-10:58:40:59 ==>NdisOpenAdapterEx: Protocol FFFFFA80127F3910: NDISUIO is opening Adapter: \DEVICE\{26128C3E-96A3-4C72-93D8-10A8609DF6A1}


    Monday, June 29, 2015 10:33 AM