Hi

I am new in miniport driver.

Is Anywhere sample source code for wifi card available ?
I read in msdn different type of NICs e.g. Bus-master DMA NICs and
Nonbusmaster DMA NICs . For knowning type of NIC and other details, Should I
contact with card manufacturer?

Please shom some way.
--
With regards
thanks
Anand Choubey

Re: wifi sample driver code by Stephan

Stephan
Tue Sep 12 10:43:20 CDT 2006

If you want to write an NDIS miniport driver for a WLAN card, you for
sure need to know many details about the card. Whether it's a PCI card
or not is just one (minor) aspect of this.

Sure you should contact the card manufacturer to get information about
the hardware. But AFAIK manufacturers usually do not give away such
information without you signing an NDA.

Also, most manufacturers usually supply driver source code for various
operating systems. Again an NDA is needed and the source code and
hardware details are probably not for free.

Note that writing a WLAN driver from scratch means a lot of work. Not
sure if you actually want to do that.

Stephan
---
Anand Choubey wrote:
> Hi
>
> I am new in miniport driver.
>
> Is Anywhere sample source code for wifi card available ?
> I read in msdn different type of NICs e.g. Bus-master DMA NICs and
> Nonbusmaster DMA NICs . For knowning type of NIC and other details, Should I
> contact with card manufacturer?
>
> Please shom some way.
> --
> With regards
> thanks
> Anand Choubey


Re: wifi sample driver code by AnandChoubey

AnandChoubey
Wed Sep 13 02:05:02 CDT 2006

Hi

Thanks fo reply.
I would like to know that if I read other OS(Linux/Fress BSD) driver and try
to convert into Windows. There is any major problem.

Please let me know.
--
With regards
thanks
Anand Choubey


"Stephan Wolf [MVP]" wrote:

> If you want to write an NDIS miniport driver for a WLAN card, you for
> sure need to know many details about the card. Whether it's a PCI card
> or not is just one (minor) aspect of this.
>
> Sure you should contact the card manufacturer to get information about
> the hardware. But AFAIK manufacturers usually do not give away such
> information without you signing an NDA.
>
> Also, most manufacturers usually supply driver source code for various
> operating systems. Again an NDA is needed and the source code and
> hardware details are probably not for free.
>
> Note that writing a WLAN driver from scratch means a lot of work. Not
> sure if you actually want to do that.
>
> Stephan
> ---
> Anand Choubey wrote:
> > Hi
> >
> > I am new in miniport driver.
> >
> > Is Anywhere sample source code for wifi card available ?
> > I read in msdn different type of NICs e.g. Bus-master DMA NICs and
> > Nonbusmaster DMA NICs . For knowning type of NIC and other details, Should I
> > contact with card manufacturer?
> >
> > Please shom some way.
> > --
> > With regards
> > thanks
> > Anand Choubey
>
>

Re: wifi sample driver code by Calvin

Calvin
Wed Sep 13 03:43:55 CDT 2006

You may be able reverse engineer part of the spec from open source drivers.
But you may having problem with power mangement since Linux/BSD may not
support WOL so its driver may not show how that works.

If you want to do it for fun, then yes you can try that.(personally, I'd
never write a WLAN ndis driver for free:):)). If you mean for production
driver, no.

--
Calvin Guan (DDK MVP)
Sr. Staff Engineer
NetXtreme Vista/Longhorn Server Miniport
Broadcom Corporation
Connecting Everything(r)

"Anand Choubey" <AnandChoubey@discussions.microsoft.com> wrote in message
news:97944888-BC0A-4E2B-9927-130E3BE0E0CE@microsoft.com...
> Hi
>
> Thanks fo reply.
> I would like to know that if I read other OS(Linux/Fress BSD) driver and
> try
> to convert into Windows. There is any major problem.
>
> Please let me know.
> --
> With regards
> thanks
> Anand Choubey
>
>
> "Stephan Wolf [MVP]" wrote:
>
>> If you want to write an NDIS miniport driver for a WLAN card, you for
>> sure need to know many details about the card. Whether it's a PCI card
>> or not is just one (minor) aspect of this.
>>
>> Sure you should contact the card manufacturer to get information about
>> the hardware. But AFAIK manufacturers usually do not give away such
>> information without you signing an NDA.
>>
>> Also, most manufacturers usually supply driver source code for various
>> operating systems. Again an NDA is needed and the source code and
>> hardware details are probably not for free.
>>
>> Note that writing a WLAN driver from scratch means a lot of work. Not
>> sure if you actually want to do that.
>>
>> Stephan
>> ---
>> Anand Choubey wrote:
>> > Hi
>> >
>> > I am new in miniport driver.
>> >
>> > Is Anywhere sample source code for wifi card available ?
>> > I read in msdn different type of NICs e.g. Bus-master DMA NICs and
>> > Nonbusmaster DMA NICs . For knowning type of NIC and other details,
>> > Should I
>> > contact with card manufacturer?
>> >
>> > Please shom some way.
>> > --
>> > With regards
>> > thanks
>> > Anand Choubey
>>
>>



Re: wifi sample driver code by Stephan

Stephan
Wed Sep 13 09:48:53 CDT 2006

Anand Choubey wrote:
> I would like to know that if I read other OS(Linux/Fress BSD) driver and try
> to convert into Windows. There is any major problem.

AFAIK, there are only some very few open source drivers available for
WLAN cards, if any at all. This is apparently why there are Linux
projects like "ndiswrapper", which implement an NDIS Wrapper for Linux
and then run the original (!) Windows driver under Linux (i.e. the same
binary .SYS file).

Stephan


Re: wifi sample driver code by Stephan

Stephan
Wed Sep 13 09:50:42 CDT 2006

Note: Intel x86 machines only (obviously).

Stephan
---
Stephan Wolf [MVP] wrote:
> Anand Choubey wrote:
> > I would like to know that if I read other OS(Linux/Fress BSD) driver and try
> > to convert into Windows. There is any major problem.
>
> AFAIK, there are only some very few open source drivers available for
> WLAN cards, if any at all. This is apparently why there are Linux
> projects like "ndiswrapper", which implement an NDIS Wrapper for Linux
> and then run the original (!) Windows driver under Linux (i.e. the same
> binary .SYS file).
>
> Stephan