NDIS_STATUS_PM_OFFLOAD_REJECTED
The NDIS_STATUS_PM_OFFLOAD_REJECTED status indicates to overlying drivers that a power management protocol offload was rejected.
Remarks
NDIS or miniport drivers can generate the NDIS_STATUS_PM_OFFLOAD_REJECTED status indication when either of them removes an offloaded protocol. The StatusBuffer member of the NDIS_STATUS_INDICATION structure contains a ULONG for the protocol offload identifier of the rejected protocol offload. NDIS provided the protocol offload identifier in the ProtocolOffloadId member of the NDIS_PM_PROTOCOL_OFFLOAD structure.
NDIS generates an NDIS_STATUS_PM_OFFLOAD_REJECTED status indication when it has to remove a previously offloaded protocol from a network adapter. For example, NDIS might remove the protocol offload to free resources for a higher priority protocol offload. NDIS sends the status indication to the binding that offloaded the rejected protocol offload, but does not send it to other bindings.
Miniport drivers report this status indication to reject a previously accepted protocol offload. For example, for a WiFi WOL case, the miniport driver must make an NDIS_STATUS_PM_OFFLOAD_REJECTED status indication when PTK/GTK rotation is not required to support WOL (due to vendor specific infrastructure support).
For wireless network adapters that use infrastructure elements to offload protocols and roam across the infrastructure, it is possible that a new infrastructure element might not support the same capabilities as the previous one. In this case, the miniport driver can issue a status indication to NDIS, and NDIS will issue NDIS_STATUS_PM_OFFLOAD_REJECTED with a specific error code.
A WiFi driver might cache protocol offload requests locally. When the driver processes an OID for adding or deleting a protocol offload, the driver can choose to only update its local cache. The driver can defer the update of the infrastructure until it receives the OID_PM_PARAMETERS OID.
The infrastructure might not have enough resources to accommodate all of the protocol offloads. In this case, the infrastructure can accept a partial list of the protocol offloads. When the miniport driver completes the OID_PM_PARAMETERS set request, the miniport driver must make NDIS_STATUS_PM_OFFLOAD_REJECTED status indications for each of the protocol offloads that the AP rejects.
For example, a network adapter can use the AP's proxy ARP to support ARP offload.
Requirements
Version |
Supported in NDIS 6.20 and later. |
Header |
Ndis.h (include Ndis.h) |