Vista stopped support of 802.11 OIDs

Hi,
Does anyone noticed that on Vista the 802.11 OIDs like SSID, BSSID, and
RSSI queries no longer works. I discovered that from my light weight filter
driver which sits above the MS native Wifi. I toke the query code from XP
(which works) to Vista and got error code NDIS_STATUS_INVALID_OID
(0xC0010017). I donot quite understand why MS stopped this support. So on
Vista is the wlanapi the only way to get these Wlan parameters?

Jicun Zhong

Native WiFi drivers do not support them, but the Ethernet-to-native WiFi
filter driver should do this.


Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

“Jicun Zhong” wrote in message news:xxxxx@ntdev…
> Hi,
> Does anyone noticed that on Vista the 802.11 OIDs like SSID, BSSID, and
> RSSI queries no longer works. I discovered that from my light weight filter
> driver which sits above the MS native Wifi. I toke the query code from XP
> (which works) to Vista and got error code NDIS_STATUS_INVALID_OID
> (0xC0010017). I donot quite understand why MS stopped this support. So on
> Vista is the wlanapi the only way to get these Wlan parameters?
>
>
> Jicun Zhong
>
>

“Jicun Zhong” wrote in message news:xxxxx@ntdev…

> So on Vista is the wlanapi the only way to get these Wlan parameters?
>

Use the new OID_DOT11 OIDs ; and yes, wlanapi.

Regards,
–PA

> -----Original Message-----

From: xxxxx@lists.osr.com [mailto:bounce-314419-
xxxxx@lists.osr.com] On Behalf Of Jicun Zhong
Sent: Tuesday, February 12, 2008 2:44 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Vista stopped support of 802.11 OIDs

Hi,
Does anyone noticed that on Vista the 802.11 OIDs like SSID, BSSID,
and
RSSI queries no longer works. I discovered that from my light weight
filter
driver which sits above the MS native Wifi. I toke the query code from
XP
(which works) to Vista and got error code NDIS_STATUS_INVALID_OID
(0xC0010017). I donot quite understand why MS stopped this support. So
on
Vista is the wlanapi the only way to get these Wlan parameters?

Jicun Zhong

For Vista Microsoft completely replaced the 802.11 implementation. At the NDIS level they implemented a NDIS filter (NativeWiFi) of their own that binds to the actual “native wi-fi” miniports. The Microsoft NativeWiFi filter does a lot of work, including LAN emulation, authentication, etc. The Miniport’s media is native Wi-Fi (below the Microsoft filter…) and the Microsoft filter translates and emulates 802.3 and exposes only virtual Ethernet adapters to any higher-level bindings.

The new native Wi-Fi miniports don’t respond to the pre-Vista OID_802_11_XYZ family of OIDs. Instead, they use the new OID_DOT11_XYZ family of OIDs and other NDIS 6 structures. But the Microsoft NativeWiFi filter is not transparent. In particular, it blocks at least some OID_DOT11_XYZ OIDs if they are made by filters or protocols that are above their proprietary filter. So, even if you attempt to use the new OID_DOT11_XYZ OIDs, if you are above the NativeWiFi filter they may not work for you.

As yet another a bonus, Microsoft has modified the network class installer so that only the Microsoft Native Wi-Fi filter can bind to the lowest-level real Native Wi-Fi miniports. No NDIS protocols or modifying NDIS 6 LWFs can actually bind to the actual Native Wi-Fi miniports. Of course, the 802.11 group has always modified WMI so it doesn’t work on 802.11 miniports except for some queries.

The only exception that I know of is that a Monitoring NDIS 6 LWF can bind above and below the Microsoft NativeWiFi filter.

Good luck,

Thomas F. Divine