WIFI_POWER_OFFLOAD_LIST structure (wificxpoweroffloadlist.h)

The WIFI_POWER_OFFLOAD_LIST structure represents a list of low power protocol offloads to a WiFiCx net adapter.

Syntax

typedef struct _WIFI_POWER_OFFLOAD_LIST {
  ULONG Size;
  void  *Reserved[4];
} WIFI_POWER_OFFLOAD_LIST;

Members

Size

The size of this structure, in bytes.

Reserved[4]

Reserved. Client drivers must not read or write to this value directly.

Remarks

Call WIFI_POWER_OFFLOAD_LIST_INIT to initialize this structure, then call WifiDeviceGetPowerOffloadList to get the list of low power offloads to this WiFiCx net adapter. After you obtain the list, call WifiPowerOffloadListGetCount with this structure to get the number of WIFIPOWEROFFLOAD objects that represents the offloads, then loop over the objects and call WifiPowerOffloadListGetElement to retrieve each one. Once you have obtained a WIFIPOWEROFFLOAD object, call WifiPowerOffloadGetType to get the type of that offload so you can call the appropriate function to get the offload's parameters.

The client driver must only call power offload-related functions during a power transition, typically from its EVT_WDF_DEVICE_ARM_WAKE_FROM_SX, EVT_WDF_DEVICE_ARM_WAKE_FROM_S0, or EVT_NET_DEVICE_PREVIEW_POWER_OFFLOAD callback function. Otherwise, the call results in a system bugcheck.

Requirements

Requirement Value
Minimum supported client Windows 11
Minimum supported server Windows Server 2022
Header wificxpoweroffloadlist.h

See also

WIFI_POWER_OFFLOAD_LIST_INIT

WifiDeviceGetPowerOffloadList

WifiPowerOffloadListGetCount

WifiPowerOffloadListGetElement

WifiPowerOffloadGetType