Hi.

I changed passthru NDIS intermediate driver to handle WAN interfaces.
I tried to bind driver between PPP and AsyncMac.

I can see in logs that MiniportQueryInformation function called 4
times (with OID_GEN_VENDOR_DRIVER_VERSION, OID_GEN_MAXIMUM_LOOKAHEAD,
OID_GEN_MAC_OPTIONS, OID_802_3_MAXIMUM_LIST_SIZE)
and MiniportHalt is called after this.

What can be a possible reason of halting the driver?
Is there a way to debug driver on PocketPC from Visual Studio 2005?

Re: Passthru NDIS driver on WM 5.0 by Stephan

Stephan
Fri Nov 17 07:08:00 CST 2006

See

http://groups.google.com/groups/search?q=passthru+wan&qt_s=Search

Stephan
---
mginev@gmail.com wrote:
> Hi.
>
> I changed passthru NDIS intermediate driver to handle WAN interfaces.
> I tried to bind driver between PPP and AsyncMac.
>
> I can see in logs that MiniportQueryInformation function called 4
> times (with OID_GEN_VENDOR_DRIVER_VERSION, OID_GEN_MAXIMUM_LOOKAHEAD,
> OID_GEN_MAC_OPTIONS, OID_802_3_MAXIMUM_LIST_SIZE)
> and MiniportHalt is called after this.
>
> What can be a possible reason of halting the driver?
> Is there a way to debug driver on PocketPC from Visual Studio 2005?


Re: Passthru NDIS driver on WM 5.0 by mginev

mginev
Fri Nov 17 10:33:18 CST 2006

Thank you for your reply,
I used these topics when I made WAN support in passthru.
Unfortunately where is nothing about my problem.


Re: Passthru NDIS driver on WM 5.0 by mginev

mginev
Mon Nov 20 12:46:07 CST 2006

I found that with OID_802_3_MAXIMUM_LIST_SIZE ProtocolRequestComplete
returns
NDIS_STATUS_INVALID_OID status.
Is that normal behaviour or I missed something important?


Re: Passthru NDIS driver on WM 5.0 by Stephan

Stephan
Wed Nov 22 14:58:06 CST 2006

mginev@gmail.com wrote:
> I found that with OID_802_3_MAXIMUM_LIST_SIZE ProtocolRequestComplete
> returns
> NDIS_STATUS_INVALID_OID status.
> Is that normal behaviour or I missed something important?

Who is returning NDIS_STATUS_INVALID_OID? The miniport below your IM or
your IM itself?

OID_802_3_MAXIMUM_LIST_SIZE is a mandatory OID that must return a valid
list of OIDs supported by the miniport.

Stephan


Re: Passthru NDIS driver on WM 5.0 by Stephan

Stephan
Thu Nov 23 06:26:42 CST 2006

Umm, sorry, my fault. For some reason I was refering to
OID_GEN_SUPPORTED_LIST.

OID_802_3_MAXIMUM_LIST_SIZE is the maximum number of multicast
addresses supported by the miniport. So as WAN drivers might not
support multicasts at all, they might return a value of zero
(multicasts) here. However, NDIS_STATUS_INVALID_OID is IMHO still an
invalid status.

Stephan
---
Stephan Wolf [MVP] wrote:
> mginev@gmail.com wrote:
> > I found that with OID_802_3_MAXIMUM_LIST_SIZE ProtocolRequestComplete
> > returns
> > NDIS_STATUS_INVALID_OID status.
> > Is that normal behaviour or I missed something important?
>
> Who is returning NDIS_STATUS_INVALID_OID? The miniport below your IM or
> your IM itself?
>
> OID_802_3_MAXIMUM_LIST_SIZE is a mandatory OID that must return a valid
> list of OIDs supported by the miniport.
>
> Stephan