NDIS framework and Device Capabilities(power state)

Guys
When the bus driver reports a device power capabilities (supported device states) during the device enumeration time to the OS (hope it is PnP manager), does NDIS framework gets these capabilities advertised by bus driver ? If it gets, does it change before giving it OS ?

In a nutshell, I want to know if NDIS driver changes/filters the device power state capabilities advertised by the busdriver of the device.

Thanks in advance for your inputs…

Warm regards
Raja

Raja,

I’m not sure I completely understand your question – however, when NDIS
initializes a miniport, it calls the bus driver for DEVICE_CAPABILITIES
via IRP_MJ_PNP/IRP_MN_QUERY_CAPABILITIES and uses the requests it gets
to make several decisions later on. You can see this call if you do
NDIS tracing with DebugSystems set to 0xffffffff, DebugLevel set to zero
as:

==>ndisQueryPowerCapabilities: Miniport C1495BA0
ndisQueryPowerCapabilities: Miniport C1495BA0, Bus PM capabilities
DeviceD1: 0
DeviceD2: 0
WakeFromD0: 0
WakeFromD1: 0
WakeFromD2: 0
WakeFromD3: 0

SystemState DeviceState
PowerSystemUnspecified D0
S0 D0
S1 D0
S2 D0
S3 D0
S4 D0
S5 D3
SystemWake: S5
DeviceWake: D3
<==ndisQueryPowerCapabilities: Miniport C1495BA0, Status 0x0

HTH,

Bryan S. Burgin
xxxxx@microsoft.com

This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Narayanasamy, Raja
M
Sent: Monday, August 04, 2003 3:06 PM
To: Windows System Software Developers Interest List
Subject: [ntdev] NDIS framework and Device Capabilities(power state)

Guys
When the bus driver reports a device power capabilities (supported
device states) during the device enumeration time to the OS (hope it is
PnP manager), does NDIS framework gets these capabilities advertised by
bus driver ? If it gets, does it change before giving it OS ?

In a nutshell, I want to know if NDIS driver changes/filters the device
power state capabilities advertised by the busdriver of the device.

Thanks in advance for your inputs…

Warm regards
Raja


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Bryan
Thanks for the input. Let me put the question clearly.

Let say for example, a bus driver reports the power capabilities indicating the adpater supports d0, d3 states and its mapping as {s0-d0 , s1- d0, s3-d3).

Does NDIS change the above mapping advertised by bus driver for any reason ?
Say for this example, Can NDIS change the s3-d3 mapping as s3-d0 and reports ?

I understood from your mail that NDIS uses and makes decision based on the capabilities queried via IRP_MJ_PNP/IRP_MN_QUERY_CAPABILITIES. Is there any change NDIS can assume different mapping/capabilitie from the one reported by bus driver ?

Warm Regards
Raja

-----Original Message-----
From: Bryan Burgin [mailto:xxxxx@microsoft.com]
Sent: Monday, August 04, 2003 3:34 PM
To: Windows System Software Developers Interest List
Cc: Narayanasamy, Raja M
Subject: [ntdev] RE: NDIS framework and Device Capabilities(power state)

Raja,

I’m not sure I completely understand your question – however, when NDIS
initializes a miniport, it calls the bus driver for DEVICE_CAPABILITIES
via IRP_MJ_PNP/IRP_MN_QUERY_CAPABILITIES and uses the requests it gets
to make several decisions later on. You can see this call if you do
NDIS tracing with DebugSystems set to 0xffffffff, DebugLevel set to zero
as:

==>ndisQueryPowerCapabilities: Miniport C1495BA0
ndisQueryPowerCapabilities: Miniport C1495BA0, Bus PM capabilities
DeviceD1: 0
DeviceD2: 0
WakeFromD0: 0
WakeFromD1: 0
WakeFromD2: 0
WakeFromD3: 0

SystemState DeviceState
PowerSystemUnspecified D0
S0 D0
S1 D0
S2 D0
S3 D0
S4 D0
S5 D3
SystemWake: S5
DeviceWake: D3
<==ndisQueryPowerCapabilities: Miniport C1495BA0, Status 0x0

HTH,

Bryan S. Burgin
xxxxx@microsoft.com

This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Narayanasamy, Raja
M
Sent: Monday, August 04, 2003 3:06 PM
To: Windows System Software Developers Interest List
Subject: [ntdev] NDIS framework and Device Capabilities(power state)

Guys
When the bus driver reports a device power capabilities (supported
device states) during the device enumeration time to the OS (hope it is
PnP manager), does NDIS framework gets these capabilities advertised by
bus driver ? If it gets, does it change before giving it OS ?

In a nutshell, I want to know if NDIS driver changes/filters the device
power state capabilities advertised by the busdriver of the device.

Thanks in advance for your inputs…

Warm regards
Raja


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@intel.com
To unsubscribe send a blank email to xxxxx@lists.osr.com