How does the "Native Wi-Fi Miniport Sample Driver - PCI" implemented?

In the WDF doucument, it said its example: “Native Wi-Fi Miniport Sample Driver - PCI” and “Native Wi-Fi Miniport Sample Driver - USB” use the sample source project “usbnwifi” .

It also said “The driver(Native Wi-Fi Miniport Sample Driver - PCI) is fully operational and runs on the Realtek RTL8185 chipset.”
But I can’t find any codes of implementing the PCI bus , how does it achieve that ?

The InitializeNic8187() function is empty, and I can’t find any initialization of the RTL8185

IIRC much of the information that you are interested in is probably
implemented in various .LIBs provided by the chipset vendor.

This code is hidden from you and the functionality exposed is limited only
that which is needed to support the Microsoft Native WiFi.

Thomas F. Divine
http://www.pcausa.com


From:
Sent: Sunday, February 20, 2011 8:23 AM
To: “Windows System Software Devs Interest List”
Subject: [ntdev] How does the “Native Wi-Fi Miniport Sample Driver - PCI”
implemented?

>
> In the WDF doucument, it said its example: “Native Wi-Fi Miniport Sample
> Driver - PCI” and “Native Wi-Fi Miniport Sample Driver - USB” use the
> sample source project “usbnwifi” .
>
> It also said “The driver(Native Wi-Fi Miniport Sample Driver - PCI) is
> fully operational and runs on the Realtek RTL8185 chipset.”
> But I can’t find any codes of implementing the PCI bus , how does it
> achieve that ?
>
>
>
> —
> NTDEV is sponsored by OSR
>
> 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

This is not my thing, but:

a.) I know that that sample does not include source code for some of its
(RTL8185 specific) functionality (see the ‘lib’ dir). Whether or not this
is where your missing code is, I have no idea.

b.) The docs that you mention don’t look correct, at least to me. The PCI
and USB docs seem to have the same basic build procedure, but refer to
different binaries (Rtlnwifi.sys and Wifiusb.sys, respectively), and the usb
docs state inf changes that have to be made for usb, but those changes
already exist in the .inx.

I don’t know what this means exactly, but my guess would be that the inx/inf
is configured for USB, not PCI.

Good luck,

mm
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@gmail.com
Sent: Sunday, February 20, 2011 8:24 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] How does the “Native Wi-Fi Miniport Sample Driver - PCI”
implemented?

In the WDF doucument, it said its example: “Native Wi-Fi Miniport Sample
Driver - PCI” and “Native Wi-Fi Miniport Sample Driver - USB” use the sample
source project “usbnwifi” .

It also said “The driver(Native Wi-Fi Miniport Sample Driver - PCI) is
fully operational and runs on the Realtek RTL8185 chipset.”
But I can’t find any codes of implementing the PCI bus , how does it
achieve that ?


NTDEV is sponsored by OSR

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