Control and Data channels interface of RNDIS device

Hi,

I am trying to create a virtual RNDIS device by creating a raw pdo on a bus driver. The RNDIS documentation @ http://msdn.microsoft.com/en-us/library/windows/hardware/ff570594(v=vs.85).aspx
talks about the control channel compliance “The control channel must be reliable and ensure sequenced delivery”. But it does not talk about the API level details.
I have installed my virtual RNDIS device using the template @ http://msdn.microsoft.com/en-us/library/windows/hardware/ff570620(v=vs.85).aspx .
But I do not see anything coming in the device IoCtl and EvtIoWrite callbacks.

Can some one help me with the API/Interface implementation details. Basically how I can get Rndismp.sys to talk to my virtual device and with what interface.

Cheers
Mohammad Azim

Doesn’t RNDIS still require a custom micro port that sends the packets over the wire?

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Thursday, September 12, 2013 9:33 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Control and Data channels interface of RNDIS device

Hi,

I am trying to create a virtual RNDIS device by creating a raw pdo on a bus driver. The RNDIS documentation @ http://msdn.microsoft.com/en-us/library/windows/hardware/ff570594(v=vs.85).aspx
talks about the control channel compliance “The control channel must be reliable and ensure sequenced delivery”. But it does not talk about the API level details.
I have installed my virtual RNDIS device using the template @ http://msdn.microsoft.com/en-us/library/windows/hardware/ff570620(v=vs.85).aspx .
But I do not see anything coming in the device IoCtl and EvtIoWrite callbacks.

Can some one help me with the API/Interface implementation details. Basically how I can get Rndismp.sys to talk to my virtual device and with what interface.

Cheers
Mohammad Azim


NTDEV is sponsored by OSR

Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev

OSR is HIRING!! See http://www.osr.com/careers

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

The real packet transfer part would be done by the bus fdo.
Currently the pdo is of class NET. IO Requests to its default queue are
forwarded to a parent bus fdo queue for processing i.e. transfer on wire.
Actually it has to co-exist with two virtual serial ports that also share
the same bus fdo and device interface.

I first went to the path of creating a ndis miniport driver. But felt
difficulty in integrating it with my bus driver. Then I read about RNDIS
that claims of a bus independent messaging set. So why the rndis host drive
can’t talk to the virtual NET device that will route all the messages to
the real device that will implement the device rndis logic.

Cheers
Mohammad Azim
On 12 Sep 2013 17:48, “Doron Holan” wrote:

> Doesn’t RNDIS still require a custom micro port that sends the packets
> over the wire?
>
> -----Original Message-----
> From: xxxxx@lists.osr.com [mailto:
> xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
> Sent: Thursday, September 12, 2013 9:33 AM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] Control and Data channels interface of RNDIS device
>
> Hi,
>
>
> I am trying to create a virtual RNDIS device by creating a raw pdo on a
> bus driver. The RNDIS documentation @
> http://msdn.microsoft.com/en-us/library/windows/hardware/ff570594(v=vs.85).aspx
> talks about the control channel compliance “The control channel must be
> reliable and ensure sequenced delivery”. But it does not talk about the API
> level details.
> I have installed my virtual RNDIS device using the template @
> http://msdn.microsoft.com/en-us/library/windows/hardware/ff570620(v=vs.85).aspx.
> But I do not see anything coming in the device IoCtl and EvtIoWrite
> callbacks.
>
> Can some one help me with the API/Interface implementation details.
> Basically how I can get Rndismp.sys to talk to my virtual device and with
> what interface.
>
> Cheers
> Mohammad Azim
>
> —
> NTDEV is sponsored by OSR
>
> Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev
>
> OSR is HIRING!! See http://www.osr.com/careers
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
> —
> NTDEV is sponsored by OSR
>
> Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev
>
> OSR is HIRING!! See http://www.osr.com/careers
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>