From: Eric Boudrand on
Hello,

I am working on a NDIS filter under Windows 7 64 bits. The filter is
working well as NetService Class with classical Ethernet Adapters. But,
it does not work with an USB Modem with "Modem" class.

Packets handled by the modem are not sent to the filter. How can I get
them ? I suspect I should register the driver in another manner.

Regards.

Eric Boudrand
From: Maxim S. Shatskih on
> Packets handled by the modem are not sent to the filter. How can I get
> them ? I suspect I should register the driver in another manner.

You need to support PPP in your filter, this requires some effort, see the samples.

--
Maxim S. Shatskih
Windows DDK MVP
maxim(a)storagecraft.com
http://www.storagecraft.com

From: Eric Boudrand on
Hi,

Maxim S. Shatskih a �crit :
> You need to support PPP in your filter, this requires some effort, see the samples.

Thanks for answering.

At first sight, it looks more like an installation issue. I am using an
USB 3G modem from HUAWEI. The NDIS filter is perfectly registered under
Windows Vista 32 bits, but not under Windows 7 64 bits. Under Windows 7,
if I install by hand the driver thought the properties window of a
network adapter, it works. If I do the same on the 3G modem "network
management" tab, it failed. Is there a way for enabling output debug
traces when Netcfgx.dll is used ?

In FilterAttach() function, the filter does not receive any
AttachParameters with MiniportMediaType == NdisMediumWan under W7. It
receives a NdisMedium802_3 and a NdisMediumNative802_11. And that's all.
Under Vista, it receives NdisMediumWan and NdisMedium802_3.

Regards.

Eric Boudrand
From: Pavel A. on
Perhaps this device works per the new WWAN driver model in win7.

--pa


"Eric Boudrand" <ebo2002fr(a)yahoo.fr> wrote in message
news:4b719f7d$0$14658$426a74cc(a)news.free.fr...
> Hi,
>
> Maxim S. Shatskih a �crit :
>> You need to support PPP in your filter, this requires some effort, see
>> the samples.
>
> Thanks for answering.
>
> At first sight, it looks more like an installation issue. I am using an
> USB 3G modem from HUAWEI. The NDIS filter is perfectly registered under
> Windows Vista 32 bits, but not under Windows 7 64 bits. Under Windows 7,
> if I install by hand the driver thought the properties window of a network
> adapter, it works. If I do the same on the 3G modem "network management"
> tab, it failed. Is there a way for enabling output debug traces when
> Netcfgx.dll is used ?
>
> In FilterAttach() function, the filter does not receive any
> AttachParameters with MiniportMediaType == NdisMediumWan under W7. It
> receives a NdisMedium802_3 and a NdisMediumNative802_11. And that's all.
> Under Vista, it receives NdisMediumWan and NdisMedium802_3.
>
> Regards.
>
> Eric Boudrand

From: Eric Boudrand on
Pavel A. a �crit :
> Perhaps this device works per the new WWAN driver model in win7.

Yes, maybe. Looks promising. I found this link :
http://www.microsoft.com/whdc/connect/MB/MBChangesWin7.mspx

Thanks.

Eric Boudrand