Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > NDIS Intermediate Driver for 802.11

Reply
Thread Tools Display Modes

NDIS Intermediate Driver for 802.11

 
 
Ganesan
Guest
Posts: n/a

 
      10-01-2004
Hello

Thank you for reading this message.

I am developing an Intermediate Driver for 802.11.
I have problem Binding to the Underlying Miniport.

The NdisOpenAdapter() funtion takes in a Array of supported mediums. I
have given the following mediums array to this function.

1. NdisMedium802_3
2. NdisMedium802_5
3. NdisMedium802_11

I have a 802.11 card inserted (Linksys card), but the NdisOpenAdapter
is binding to NdisMedium802_3 medium. It doesn't recognize
NdisMedium802_11.

In otherwords, HOW DO WE BIND TO 802_11 miniport drivers as an
Intermediate driver?

The NdisOpenAdapter document doesn't specify 802_11 support, BUT
NDIS.H does have this medium supported.

Though I am developing this driver in Pocket PC, NT, 2000 etc. area
help is fine.

ANY HELP is WELCOME and really appreciated.

Thank you
Ganesan
 
Reply With Quote
 
 
 
 
Thomas F. Divine [DDK MVP]
Guest
Posts: n/a

 
      10-01-2004
Current Windows system do not provide support for "native Wi-Fi"
(NdisMedium802_11). The 802.11 adapters appear to the system as if they were
ordinary 802.3 Ethernet adapters (NdisMedium802_3);

Bind to NdisMedium802_3 until Longhorn arrives.

If you are working on Windows CE, then the situation may be different. I
think that Windows CE 5.0 DOES include some native Wi-Fi support (perhaps
support for NdisMedium802_11...), but this is the wrong forum for Windows CE
discussions.

Good luck,

Thomas F. Divine, Windows DDK MVP
http://www.rawether.net

"Ganesan" <> wrote in message
news: om...
> Hello
>
> Thank you for reading this message.
>
> I am developing an Intermediate Driver for 802.11.
> I have problem Binding to the Underlying Miniport.
>
> The NdisOpenAdapter() funtion takes in a Array of supported mediums. I
> have given the following mediums array to this function.
>
> 1. NdisMedium802_3
> 2. NdisMedium802_5
> 3. NdisMedium802_11
>
> I have a 802.11 card inserted (Linksys card), but the NdisOpenAdapter
> is binding to NdisMedium802_3 medium. It doesn't recognize
> NdisMedium802_11.
>
> In otherwords, HOW DO WE BIND TO 802_11 miniport drivers as an
> Intermediate driver?
>
> The NdisOpenAdapter document doesn't specify 802_11 support, BUT
> NDIS.H does have this medium supported.
>
> Though I am developing this driver in Pocket PC, NT, 2000 etc. area
> help is fine.
>
> ANY HELP is WELCOME and really appreciated.
>
> Thank you
> Ganesan



 
Reply With Quote
 
Arkady Frenkel
Guest
Posts: n/a

 
      10-02-2004
Exactly , possible to see definitions of native802_11 functions ( NDIS6 ) in
hw_im_interface.h of WCE 5 PB
Arkady

"Thomas F. Divine [DDK MVP]" <> wrote in message
news:...
> Current Windows system do not provide support for "native Wi-Fi"
> (NdisMedium802_11). The 802.11 adapters appear to the system as if they

were
> ordinary 802.3 Ethernet adapters (NdisMedium802_3);
>
> Bind to NdisMedium802_3 until Longhorn arrives.
>
> If you are working on Windows CE, then the situation may be different. I
> think that Windows CE 5.0 DOES include some native Wi-Fi support (perhaps
> support for NdisMedium802_11...), but this is the wrong forum for Windows

CE
> discussions.
>
> Good luck,
>
> Thomas F. Divine, Windows DDK MVP
> http://www.rawether.net
>
> "Ganesan" <> wrote in message
> news: om...
> > Hello
> >
> > Thank you for reading this message.
> >
> > I am developing an Intermediate Driver for 802.11.
> > I have problem Binding to the Underlying Miniport.
> >
> > The NdisOpenAdapter() funtion takes in a Array of supported mediums. I
> > have given the following mediums array to this function.
> >
> > 1. NdisMedium802_3
> > 2. NdisMedium802_5
> > 3. NdisMedium802_11
> >
> > I have a 802.11 card inserted (Linksys card), but the NdisOpenAdapter
> > is binding to NdisMedium802_3 medium. It doesn't recognize
> > NdisMedium802_11.
> >
> > In otherwords, HOW DO WE BIND TO 802_11 miniport drivers as an
> > Intermediate driver?
> >
> > The NdisOpenAdapter document doesn't specify 802_11 support, BUT
> > NDIS.H does have this medium supported.
> >
> > Though I am developing this driver in Pocket PC, NT, 2000 etc. area
> > help is fine.
> >
> > ANY HELP is WELCOME and really appreciated.
> >
> > Thank you
> > Ganesan

>
>



 
Reply With Quote
 
Ganesan
Guest
Posts: n/a

 
      10-02-2004
Thank you for the response,

It did bind to 802_3 medium (NOT 802_11). But when I FORWARD the NDIS
packets coming FROM upper protocol layers using NdisSend(), it returns
me an ERROR (invalid packet format). So how do we (as an) intermediate
NDIS driver send and receive 802_11 packets over 802_3 bound medium??

Any suggestions?. Any books? Any articles?

Yes I am developing Intermediate driver for Pocket PC 2003(Windows CE
4.2), but you help seems to be on track. NDIS for Windows CE is just a
subset of Windows 2000. If you can suggest how to do it in Win 2000 or
NT, I can translate it to CE(mostly).

Thanx again.
Ganesan

"Arkady Frenkel" <arkadyf@hotmailxdotxcom> wrote in message news:<>...
> Exactly , possible to see definitions of native802_11 functions ( NDIS6 ) in
> hw_im_interface.h of WCE 5 PB
> Arkady
>
> "Thomas F. Divine [DDK MVP]" <> wrote in message
> news:...
> > Current Windows system do not provide support for "native Wi-Fi"
> > (NdisMedium802_11). The 802.11 adapters appear to the system as if they

> were
> > ordinary 802.3 Ethernet adapters (NdisMedium802_3);
> >
> > Bind to NdisMedium802_3 until Longhorn arrives.
> >
> > If you are working on Windows CE, then the situation may be different. I
> > think that Windows CE 5.0 DOES include some native Wi-Fi support (perhaps
> > support for NdisMedium802_11...), but this is the wrong forum for Windows

> CE
> > discussions.
> >
> > Good luck,
> >
> > Thomas F. Divine, Windows DDK MVP
> > http://www.rawether.net
> >
> > "Ganesan" <> wrote in message
> > news: om...
> > > Hello
> > >
> > > Thank you for reading this message.
> > >
> > > I am developing an Intermediate Driver for 802.11.
> > > I have problem Binding to the Underlying Miniport.
> > >
> > > The NdisOpenAdapter() funtion takes in a Array of supported mediums. I
> > > have given the following mediums array to this function.
> > >
> > > 1. NdisMedium802_3
> > > 2. NdisMedium802_5
> > > 3. NdisMedium802_11
> > >
> > > I have a 802.11 card inserted (Linksys card), but the NdisOpenAdapter
> > > is binding to NdisMedium802_3 medium. It doesn't recognize
> > > NdisMedium802_11.
> > >
> > > In otherwords, HOW DO WE BIND TO 802_11 miniport drivers as an
> > > Intermediate driver?
> > >
> > > The NdisOpenAdapter document doesn't specify 802_11 support, BUT
> > > NDIS.H does have this medium supported.
> > >
> > > Though I am developing this driver in Pocket PC, NT, 2000 etc. area
> > > help is fine.
> > >
> > > ANY HELP is WELCOME and really appreciated.
> > >
> > > Thank you
> > > Ganesan

> >
> >

 
Reply With Quote
 
Arkady Frenkel
Guest
Posts: n/a

 
      10-02-2004
Just some hint and better ask on microsoft.public.windowsce.platbuilder or
other CE NGs.
4.x / 5 use NDISUIO as intermediate driver and zero configure utility (
WZC ) use it to work
with wireless miniports. Check in PB code of NDISUIO how that done
Arkady

"Ganesan" <> wrote in message
news: om...
> Thank you for the response,
>
> It did bind to 802_3 medium (NOT 802_11). But when I FORWARD the NDIS
> packets coming FROM upper protocol layers using NdisSend(), it returns
> me an ERROR (invalid packet format). So how do we (as an) intermediate
> NDIS driver send and receive 802_11 packets over 802_3 bound medium??
>
> Any suggestions?. Any books? Any articles?
>
> Yes I am developing Intermediate driver for Pocket PC 2003(Windows CE
> 4.2), but you help seems to be on track. NDIS for Windows CE is just a
> subset of Windows 2000. If you can suggest how to do it in Win 2000 or
> NT, I can translate it to CE(mostly).
>
> Thanx again.
> Ganesan
>
> "Arkady Frenkel" <arkadyf@hotmailxdotxcom> wrote in message

news:<>...
> > Exactly , possible to see definitions of native802_11 functions (

NDIS6 ) in
> > hw_im_interface.h of WCE 5 PB
> > Arkady
> >
> > "Thomas F. Divine [DDK MVP]" <> wrote in message
> > news:...
> > > Current Windows system do not provide support for "native Wi-Fi"
> > > (NdisMedium802_11). The 802.11 adapters appear to the system as if

they
> > were
> > > ordinary 802.3 Ethernet adapters (NdisMedium802_3);
> > >
> > > Bind to NdisMedium802_3 until Longhorn arrives.
> > >
> > > If you are working on Windows CE, then the situation may be different.

I
> > > think that Windows CE 5.0 DOES include some native Wi-Fi support

(perhaps
> > > support for NdisMedium802_11...), but this is the wrong forum for

Windows
> > CE
> > > discussions.
> > >
> > > Good luck,
> > >
> > > Thomas F. Divine, Windows DDK MVP
> > > http://www.rawether.net
> > >
> > > "Ganesan" <> wrote in message
> > > news: om...
> > > > Hello
> > > >
> > > > Thank you for reading this message.
> > > >
> > > > I am developing an Intermediate Driver for 802.11.
> > > > I have problem Binding to the Underlying Miniport.
> > > >
> > > > The NdisOpenAdapter() funtion takes in a Array of supported mediums.

I
> > > > have given the following mediums array to this function.
> > > >
> > > > 1. NdisMedium802_3
> > > > 2. NdisMedium802_5
> > > > 3. NdisMedium802_11
> > > >
> > > > I have a 802.11 card inserted (Linksys card), but the

NdisOpenAdapter
> > > > is binding to NdisMedium802_3 medium. It doesn't recognize
> > > > NdisMedium802_11.
> > > >
> > > > In otherwords, HOW DO WE BIND TO 802_11 miniport drivers as an
> > > > Intermediate driver?
> > > >
> > > > The NdisOpenAdapter document doesn't specify 802_11 support, BUT
> > > > NDIS.H does have this medium supported.
> > > >
> > > > Though I am developing this driver in Pocket PC, NT, 2000 etc. area
> > > > help is fine.
> > > >
> > > > ANY HELP is WELCOME and really appreciated.
> > > >
> > > > Thank you
> > > > Ganesan
> > >
> > >



 
Reply With Quote
 
Thomas F. Divine [DDK MVP]
Guest
Posts: n/a

 
      10-02-2004
The best thing for you to do is to start with the PassThru NDIS IM driver
sample from the Windows CE Platform Builder. The last time I looked (CE 4.0)
the CE PassThru sample has problems with PnP and power management. However,
it is probably a better place to start then the "Big Windows" DDK PassThru
NDIS IM driver sample.

Good luck,

Thomas F. Divine, Windows DDK MVP
http://www.rawether.net

"Ganesan" <> wrote in message
news: om...
> Thank you for the response,
>
> It did bind to 802_3 medium (NOT 802_11). But when I FORWARD the NDIS
> packets coming FROM upper protocol layers using NdisSend(), it returns
> me an ERROR (invalid packet format). So how do we (as an) intermediate
> NDIS driver send and receive 802_11 packets over 802_3 bound medium??
>
> Any suggestions?. Any books? Any articles?
>
> Yes I am developing Intermediate driver for Pocket PC 2003(Windows CE
> 4.2), but you help seems to be on track. NDIS for Windows CE is just a
> subset of Windows 2000. If you can suggest how to do it in Win 2000 or
> NT, I can translate it to CE(mostly).
>
> Thanx again.
> Ganesan
>
> "Arkady Frenkel" <arkadyf@hotmailxdotxcom> wrote in message
> news:<>...
>> Exactly , possible to see definitions of native802_11 functions ( NDIS6 )
>> in
>> hw_im_interface.h of WCE 5 PB
>> Arkady
>>
>> "Thomas F. Divine [DDK MVP]" <> wrote in message
>> news:...
>> > Current Windows system do not provide support for "native Wi-Fi"
>> > (NdisMedium802_11). The 802.11 adapters appear to the system as if they

>> were
>> > ordinary 802.3 Ethernet adapters (NdisMedium802_3);
>> >
>> > Bind to NdisMedium802_3 until Longhorn arrives.
>> >
>> > If you are working on Windows CE, then the situation may be different.
>> > I
>> > think that Windows CE 5.0 DOES include some native Wi-Fi support
>> > (perhaps
>> > support for NdisMedium802_11...), but this is the wrong forum for
>> > Windows

>> CE
>> > discussions.
>> >
>> > Good luck,
>> >
>> > Thomas F. Divine, Windows DDK MVP
>> > http://www.rawether.net
>> >
>> > "Ganesan" <> wrote in message
>> > news: om...
>> > > Hello
>> > >
>> > > Thank you for reading this message.
>> > >
>> > > I am developing an Intermediate Driver for 802.11.
>> > > I have problem Binding to the Underlying Miniport.
>> > >
>> > > The NdisOpenAdapter() funtion takes in a Array of supported mediums.
>> > > I
>> > > have given the following mediums array to this function.
>> > >
>> > > 1. NdisMedium802_3
>> > > 2. NdisMedium802_5
>> > > 3. NdisMedium802_11
>> > >
>> > > I have a 802.11 card inserted (Linksys card), but the NdisOpenAdapter
>> > > is binding to NdisMedium802_3 medium. It doesn't recognize
>> > > NdisMedium802_11.
>> > >
>> > > In otherwords, HOW DO WE BIND TO 802_11 miniport drivers as an
>> > > Intermediate driver?
>> > >
>> > > The NdisOpenAdapter document doesn't specify 802_11 support, BUT
>> > > NDIS.H does have this medium supported.
>> > >
>> > > Though I am developing this driver in Pocket PC, NT, 2000 etc. area
>> > > help is fine.
>> > >
>> > > ANY HELP is WELCOME and really appreciated.
>> > >
>> > > Thank you
>> > > Ganesan
>> >
>> >



 
Reply With Quote
 
Arkady Frenkel
Guest
Posts: n/a

 
      10-03-2004
Oops , that mp_hw_interface.h not as I previously wrote
Arkady

"Arkady Frenkel" <arkadyf@hotmailxdotxcom> wrote in message
news:...
> Exactly , possible to see definitions of native802_11 functions ( NDIS6 )

in
> hw_im_interface.h of WCE 5 PB
> Arkady
>
> "Thomas F. Divine [DDK MVP]" <> wrote in message
> news:...
> > Current Windows system do not provide support for "native Wi-Fi"
> > (NdisMedium802_11). The 802.11 adapters appear to the system as if they

> were
> > ordinary 802.3 Ethernet adapters (NdisMedium802_3);
> >
> > Bind to NdisMedium802_3 until Longhorn arrives.
> >
> > If you are working on Windows CE, then the situation may be different. I
> > think that Windows CE 5.0 DOES include some native Wi-Fi support

(perhaps
> > support for NdisMedium802_11...), but this is the wrong forum for

Windows
> CE
> > discussions.
> >
> > Good luck,
> >
> > Thomas F. Divine, Windows DDK MVP
> > http://www.rawether.net
> >
> > "Ganesan" <> wrote in message
> > news: om...
> > > Hello
> > >
> > > Thank you for reading this message.
> > >
> > > I am developing an Intermediate Driver for 802.11.
> > > I have problem Binding to the Underlying Miniport.
> > >
> > > The NdisOpenAdapter() funtion takes in a Array of supported mediums. I
> > > have given the following mediums array to this function.
> > >
> > > 1. NdisMedium802_3
> > > 2. NdisMedium802_5
> > > 3. NdisMedium802_11
> > >
> > > I have a 802.11 card inserted (Linksys card), but the NdisOpenAdapter
> > > is binding to NdisMedium802_3 medium. It doesn't recognize
> > > NdisMedium802_11.
> > >
> > > In otherwords, HOW DO WE BIND TO 802_11 miniport drivers as an
> > > Intermediate driver?
> > >
> > > The NdisOpenAdapter document doesn't specify 802_11 support, BUT
> > > NDIS.H does have this medium supported.
> > >
> > > Though I am developing this driver in Pocket PC, NT, 2000 etc. area
> > > help is fine.
> > >
> > > ANY HELP is WELCOME and really appreciated.
> > >
> > > Thank you
> > > Ganesan

> >
> >

>
>



 
Reply With Quote
 
Maxim S. Shatskih
Guest
Posts: n/a

 
      10-03-2004
> 3. NdisMedium802_11

Forget this. Bind to 802.3 only.

Send OID_GEN_PHYSICAL_MEDIUM (or is it misnamed a bit?) to check whether this
is a Wi-Fi adapter.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation

http://www.storagecraft.com


 
Reply With Quote
 
Maxim S. Shatskih
Guest
Posts: n/a

 
      10-03-2004
> The best thing for you to do is to start with the PassThru NDIS IM driver
> sample from the Windows CE Platform Builder. The last time I looked (CE 4.0)
> the CE PassThru sample has problems with PnP and power management.


It just caused the iPaq to hang completely if the power button is pressed. So,
it was not possible to suspend/resume the device, a soft reset was necessary
after each suspend.

The reason is deadlock inside the resume paths, since CE's NDIS uses a single
thread to handle all power management, which was blocked waiting on a pending
OID (sent by IP stack) inside passthru.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation

http://www.storagecraft.com


 
Reply With Quote
 
Ganesan
Guest
Posts: n/a

 
      10-04-2004
Well

THANX A LOT for the help. I have all the respect for you guys.

I did start with passthru sample. It works simple for 802_3.
But my work involves trapping 802_3, 802_11, irda and Async(Wan).

Looks like passthru is too simple a code to work for other mediums.
Who is really sitting on TOP and BOTTOM becomes a problem.

Since I am an Intermediate driver, I am not going to modify the
packets,
I just want to anayse it and pass it on.

Its getting bit complex than I thought.

I had some succes for IRDA, but the WAN stuff crashed. Its trying to
bind to
PPP, PPTP, L2TP, AsyncMac all at once since all of them are WAN type.
At it halted.

Well I will have to dig deep into their examples from PB.

If NOT

Probably i will have get Microsoft Help on how the "LAYERS STACK UP"
for these
mediums.


Kind of Info To Maxim S. Shatskih
=================================

using the Ndis Query (OID_GEN_PHYSICAL_MEDIUM) I "think" it it will
return 803_3 since thats the adapter it got bound to. If it were to be
802_11 (Wi-fi), then the packets would have gone thru.
"To me" the layers are not sync since NDIS does something which I
don't know.

I will be posting some questions on NDIS IM drivers as I go along.
Please don't mind.

Thank you again for the help


"Maxim S. Shatskih" <> wrote in message news:<>...
> > 3. NdisMedium802_11

>
> Forget this. Bind to 802.3 only.
>
> Send OID_GEN_PHYSICAL_MEDIUM (or is it misnamed a bit?) to check whether this
> is a Wi-Fi adapter.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Intermediate NDIS driver conflict Shlomo Jacobson Windows Vista Drivers 0 10-23-2003 08:55 AM
Ndis Intermediate driver questions Pete Davis Windows Vista Drivers 4 09-22-2003 03:24 PM
NDIS Intermediate driver for CE Jeff Ayers Windows Vista Drivers 1 09-04-2003 08:05 PM
NDIS Intermediate Driver. Bill Tang Windows Vista Drivers 1 07-15-2003 03:48 AM
Re: NDIS Intermediate Driver. Thomas F. Divine Windows Vista Drivers 0 07-14-2003 03:00 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59