Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results

Home NTDEV
Before Posting...
Please check out the Community Guidelines in the Announcements and Administration Category.

More Info on Driver Writing and Debugging


The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.


Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/


facing issue with non wdi OIDs query for WDI NDIS Windows 10 drivers

sudhagaddamsudhagaddam Member Posts: 1

Hi all,

I have registered custom non-WDI OIDs list with NDIS via WDI_TLV_IHV_NON_WDI_OIDS_LIST.

Used the WDI_GET_ADAPTER_CAPABILITIES_PARAMETERS::InterfaceAttributes::NonWdiOidsList and added implementation for custom OID in standard path where all DOT11 Oids are getting executed.

I have confirmed my OIDs list by printing the output buffer which returns the GenerateWdiGetAdapterCapabilities() APIs.

implemented a test app to send an OID to WDI based Windows 10 driver. I have used IOCTL_NDIS_QUERY_GLOBAL_STATS in DeviceIOControl() API.
Whatever i have implemented the the custom OID is not reaching to the driver.

I am getting error code 31 (0x1F) ERROR_GEN_FAILURE system can not read from the specified device.

Can please any one help me whether the approach is correct or not. If its correct what Im missing. can please share the any Docs or samples for WDI windows 10 drivers OIDs Support. (app to WDI driver communications using OIDs IOCTL_NDIS_QUERY_GLOBAL_STATS)

Thanks,

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Upcoming OSR Seminars
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead!
Internals & Software Drivers 30 Nov 2020 LIVE ONLINE
Writing WDF Drivers 7 Dec 2020 LIVE ONLINE
Developing Minifilters Early 2021 LIVE ONLINE