locked
delaying completion of NDIS oid OID_PNP_SET_POWER RRS feed

  • Question

  • In my miniport driver, I have a need to delay returning NDIS_STATUS_SUCCESS for oid OID_PNP_SET_POWER on transition to D0 or D3.

    Will the OS eventually timeout the oid if the driver doesn't send a status return in a  given amount of time?

    If so, what is that timeout, and what are the implications from the drivers perspective if that occurs?


    • Edited by chaimt Monday, March 17, 2014 3:35 PM
    Monday, March 17, 2014 3:34 PM

Answers

  • 1s should be fine from a system power manager POV. I can't speak for NDIS specifically though

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Thursday, March 20, 2014 4:29 PM

All replies

  • what bigger problem are you solving by delaying the completion? Yes, there is a timeout that will result in a bugcheck 0x9f if you wait too long during a system power state change.

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Monday, March 17, 2014 4:39 PM
  • thanks.

    how long is the timeout?

    Tuesday, March 18, 2014 10:06 AM
  • The timeout is a few minutes, if I am not mistaken. As Doron has already asked, why do you need this timeout?

    Ian Bakshan, Sr. Software Engineer at Jungo Connectivity LTD
    WinDriver – Driver Development Tool
    DriverCore – PC USB Drivers

    Tuesday, March 18, 2014 1:05 PM
  • thanks.

    We have some HW configurations that we need to do that in some situations will take some time.

    The delay wouldn't reach 1 second

    Tuesday, March 18, 2014 1:37 PM
  • 1s should be fine from a system power manager POV. I can't speak for NDIS specifically though

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Thursday, March 20, 2014 4:29 PM