Thomas
Fri Mar 05 10:27:53 CST 2004
You might need to filter OID_GEN_SUPPORTED_LIST to remove 802.11 OIDs as
well.
Thomas F. Divine
http://www.pcausa.com
"Thomas F. Divine [DDK MVP]" <tdivine@NOpcausaSPAM.com> wrote in message
news:%232b%23UosAEHA.1420@TK2MSFTNGP11.phx.gbl...
>
> "Maxim S. Shatskih" <maxim@storagecraft.com> wrote in message
> news:eSZhfzrAEHA.232@TK2MSFTNGP10.phx.gbl...
> > > However, a better test is to make a "safe" mandatory OID_802_11_XYZ
> query
> >
> > OK. Let's imagine the following: I have an IM driver, which must filter
IP
> > traffic only, and must not ever touch the OID set/queries done by WZC.
In
> this
> > case, I want to have the following bindings:
> >
> > Tcpip -> MyIMMiniport
> > MyIMProtocol -> RealMiniport
> > WZC (does it use NDISUIO? or not?) -> RealMiniport
> >
> > I must prevent WZC from understanding the upper edge of my IM as one
more
> > 802.11 adapter. In this case, I will need to fail some 802.11 OIDs
> properly, so
> > that WZC will not even touch the upper egde of my IM, and will talk to
> real
> > miniport only.
> >
>
> Altering OID OID_GEN_PHYSICAL_MEDIUM would be one step in "hiding" the
> 802.11 capability of your virtual miniport. It is simple enough to do, and
> if sufficient you are done.
>
> The topic "NDIS IEEE 802.11 Notes" at NDIS.COM includes a log of WZC
> operations at startup:
>
>
http://www.ndis.com/papers/ieee802_11_notes.htm
>
> You should probably fail the first few "mandatory" queries as
unimplemented
> when passed to your virtual adapter. For example, fail
> OID_802_11_AUTHENTICATION_MODE query, etc.
>
> Good luck,
>
> Thomas F. Divine
>
http://www.rawether.net
>
>
> > So, the question is - how to fail them properly, to hide the "802.11"
> nature of
> > the underlying adapter from WZC?
> >
> > Or just patch the UpperBind values in the registry to prevent anybody
> except
> > TCP/IP from binding to my IM's upper edge? Maybe use "ndis5_ip" value in
> the
> > INF file?
> >
> > Otherwise, the IM's power management will hinder the flow of "set OID"
> requests
> > from WZC to the miniport during awaken, and the miniport will enter some
> > idiotic state where it fails all operations with "media disconnected"
> status,
> > and NdisReset does not help. It seems to need several OID requests from
> WZC to
> > go up and indicate the media connect, and this sequence was broken by
IM's
> > power management.
> >
> > Well, this is more a WinCE issue then Windows one :-) (WinCE PASSTHRU
has
> > absolutely defunct power management paths which hang the machine on
> awaken.
> > Another WinCE's issue is that "Turn Wireless Off" facility uses power
> > management to explicitly power the miniport down - never saw such
> facilities in
> > Windows), but I think that "802.11 support in IMs" topic can be a
headache
> in
> > Windows too.
> >
> > --
> > Maxim Shatskih, Windows DDK MVP
> > StorageCraft Corporation
> > maxim@storagecraft.com
> >
http://www.storagecraft.com
> >
> >
>
>