How to change VMINIPORT MaxSpeed

I wrote params in inf file to change the transport speed. but when I change
the speed manualy,virtual NIC would stop and restart . this is not allowed
in my app env.and i manually change the speed is also a bad way.
so how can I change the speed use IOCTL in the NDIS virtual miniport
automaticly,and then show it in the status panel??

thanks!!!

Add some custom OID (variant: a WMI accessible OID)
and send it from usermode.

Variant: make your custom Advanced tab for Device manager,
and send this OID from there, rather than changing the value in the registry.

Then your driver should make indication of the new speed.
For NDIS 6 this is NDIS_STATUS_LINK_SPEED_CHANGE,
for NDIS 5 maybe you need to simulate cable disconnect and reconnect.

Regards,
– pa

If you are an NDIS6 miniport, send up an NDIS_STATUS_LINK_STATE status indication.
Otherwise, send an NDIS_STATUS_LINK_SPEED_CHANGE indication.

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Stephen Hawking
Sent: Thursday, June 03, 2010 4:52 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] How to change VMINIPORT MaxSpeed

I wrote params in inf file to change the transport speed. but when I change the speed manualy,virtual NIC would stop and restart . this is not allowed in my app env.and i manually change the speed is also a bad way.
so how can I change the speed use IOCTL in the NDIS virtual miniport automaticly,and then show it in the status panel??

thanks!!!
— NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and other seminars visit: http://www.osr.com/seminars To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

yes , I develop it in win7, it is NDIS6.

and I really strange why it disconnected when I change the speed in the
advanced page

2010/6/4 Jeffrey Tippet

> If you are an NDIS6 miniport, send up an NDIS_STATUS_LINK_STATE status
> indication.
>
> Otherwise, send an NDIS_STATUS_LINK_SPEED_CHANGE indication.
>
>
>
> From: xxxxx@lists.osr.com [mailto:
> xxxxx@lists.osr.com] *On Behalf Of *Stephen Hawking
> Sent: Thursday, June 03, 2010 4:52 AM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] How to change VMINIPORT MaxSpeed
>
>
>
> I wrote params in inf file to change the transport speed. but when I change
> the speed manualy,virtual NIC would stop and restart . this is not allowed
> in my app env.and i manually change the speed is also a bad way.
>
> so how can I change the speed use IOCTL in the NDIS virtual miniport
> automaticly,and then show it in the status panel??
>
>
>
> thanks!!!
>
> — NTDEV is sponsored by OSR For our schedule of WDF, WDM, debugging and
> other seminars visit: http://www.osr.com/seminars To unsubscribe, visit
> the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>

thank you for reply!

you give me a good way to do it.

2010/6/3

> Add some custom OID (variant: a WMI accessible OID)
> and send it from usermode.
>
> Variant: make your custom Advanced tab for Device manager,
> and send this OID from there, rather than changing the value in the
> registry.
>
> Then your driver should make indication of the new speed.
> For NDIS 6 this is NDIS_STATUS_LINK_SPEED_CHANGE,
> for NDIS 5 maybe you need to simulate cable disconnect and reconnect.
>
>
> Regards,
> – pa
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>