From: Vitalie Vrabie on
hi guys,

I'm developing a NDIS Intermediate Miniport driver and i want to add
some functionality to it.

My IM is designed for WiFi networks. In the driver, I need to know the
SSID of the network the underlying wifi card is currently connected
to, and whether this network is Ad-Hoc or Infrastructure.

The ideal solution is to have a callback that would be called when the
underlying is connecting/disconnecting to/from the network.

Any insight?
From: PCAUSA on
On Apr 18, 9:16 pm, Vitalie Vrabie <vitalie.vra...(a)gmail.com> wrote:
> hi guys,
>
> I'm developing a NDIS Intermediate Miniport driver and i want to add
> some functionality to it.
>
> My IM is designed for WiFi networks. In the driver, I need to know the
> SSID of the network the underlying wifi card is currently connected
> to, and whether this network is Ad-Hoc or Infrastructure.
>
> The ideal solution is to have a callback that would be called when the
> underlying is connecting/disconnecting to/from the network.
>
> Any insight?

Study the OID_802_11_xyz family of OIDs.

Good luck,

Thomas F. Divine
http://www.rawether.net
From: Vitalie Vrabie on
On Apr 19, 6:59 am, PCAUSA <pca...(a)gmail.com> wrote:
> Study the OID_802_11_xyz family of OIDs.

how do i query thosw OIDs from within the driver? (any code snippets
available?)

and when should i query them? what IM driver callback is called at
wifi network association/dissociation?
From: Pavel A. on
"Vitalie Vrabie" <vitalie.vrabie(a)gmail.com> wrote in message
news:8e46650a-d09d-4b70-a25e-af5d7d9b419e(a)2g2000hsn.googlegroups.com...
> On Apr 19, 6:59 am, PCAUSA <pca...(a)gmail.com> wrote:
>> Study the OID_802_11_xyz family of OIDs.
>
> how do i query thosw OIDs from within the driver? (any code snippets
> available?)

Your IM just sends the OIDs using NdisRequest().

> and when should i query them? what IM driver callback is called at
> wifi network association/dissociation?

Is this for NDIS 5.1 or Native (Vista) wi-fi?
For NDIS5, medium connect indications from the miniport
are the callbacks you need.

Regards,
--PA