Modifying MTU

How can I modify the Framesize returned by NIC driver in my IM and inform the
protocol drivers about it.

Daniel


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

When protocols drivers ask your IM driver about it, just return modified
value.

Best regards,

Michal Vodicka
Veridicom
(RKK - Skytale)
[WWW: http://www.veridicom.com , http://www.skytale.com]


From: Pradeep Daniel[SMTP:xxxxx@atheros.com]
Reply To: NT Developers Interest List
Sent: Monday, July 30, 2001 8:33 PM
To: NT Developers Interest List
Subject: [ntdev] Modifying MTU

How can I modify the Framesize returned by NIC driver in my IM and inform
the
protocol drivers about it.

Daniel


You are currently subscribed to ntdev as: xxxxx@rkk.cz
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Michal,
What I want to know is, Protocol drivers use Query Handler with
OID_MAx_Frame_si…to get the cards’ value. In my IM I want to make it (card
size - x )and inform the drivers above. So, I need to trap the return path from
the miniport and modify the value and send it above. Or is there another way of
going about this.

Thanks
Daniel

Michal Vodicka wrote:

When protocols drivers ask your IM driver about it, just return modified
value.

Best regards,

Michal Vodicka
Veridicom
(RKK - Skytale)
[WWW: http://www.veridicom.com , http://www.skytale.com]

> ----------
> From: Pradeep Daniel[SMTP:xxxxx@atheros.com]
> Reply To: NT Developers Interest List
> Sent: Monday, July 30, 2001 8:33 PM
> To: NT Developers Interest List
> Subject: [ntdev] Modifying MTU
>
> How can I modify the Framesize returned by NIC driver in my IM and inform
> the
> protocol drivers about it.
>
> Daniel
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@rkk.cz
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>


You are currently subscribed to ntdev as: xxxxx@atheros.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Daniel,

you can’t send this value above, you can only answer with proper value when
above drivers ask. They usually ask when your virtual adapter initializes
i.e. when their ProtocolBindAdapter handlers are called.

My driver performs it following way:

  • when ProtocolBindAdapter is called, it opens below adapter and if
    successful, calls NdisRequest several times to get some below driver values
    as max frame and total size.
  • it calls NdisIMInitializeDeviceInstanceEx to create virtual adapter
  • when MiniportQueryInformation is called, it traps
    OID_GEN_MAXIMUM_FRAME_SIZE and OID_GEN_MAXIMUM_TOTAL_SIZE and returns
    adjusted values immediately (without asking below driver).

It isn’t the only possibility, you can also send these OIDs below and adjust
values on ProtocolRequestComplete before NdisMQueryInformationComplete call.

Best regards,

Michal Vodicka
Veridicom
(RKK - Skytale)
[WWW: http://www.veridicom.com , http://www.skytale.com]


From: Pradeep Daniel[SMTP:xxxxx@atheros.com]
Reply To: NT Developers Interest List
Sent: Monday, July 30, 2001 9:15 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Modifying MTU

Michal,
What I want to know is, Protocol drivers use Query Handler with
OID_MAx_Frame_si…to get the cards’ value. In my IM I want to make it
(card
size - x )and inform the drivers above. So, I need to trap the return path
from
the miniport and modify the value and send it above. Or is there another
way of
going about this.

Thanks
Daniel

Michal Vodicka wrote:

> When protocols drivers ask your IM driver about it, just return modified
> value.
>
> Best regards,
>
> Michal Vodicka
> Veridicom
> (RKK - Skytale)
> [WWW: http://www.veridicom.com , http://www.skytale.com]
>
> > ----------
> > From: Pradeep Daniel[SMTP:xxxxx@atheros.com]
> > Reply To: NT Developers Interest List
> > Sent: Monday, July 30, 2001 8:33 PM
> > To: NT Developers Interest List
> > Subject: [ntdev] Modifying MTU
> >
> > How can I modify the Framesize returned by NIC driver in my IM and
inform
> > the
> > protocol drivers about it.
> >
> > Daniel
> >
> >
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@rkk.cz
> > To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
> >
>
> —
> You are currently subscribed to ntdev as: xxxxx@atheros.com
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: xxxxx@rkk.cz
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com