WifiDeviceGetPowerOffloadList function (wificxpoweroffloadlist.h)

The WifiDeviceGetPowerOffloadList function gets the list of low power protocol offloads to a WiFiCx net adapter.

Syntax

void WifiDeviceGetPowerOffloadList(
  WDFDEVICE               Device,
  WIFI_POWER_OFFLOAD_LIST *List
);

Parameters

Device

[In] The WDFDEVICE object associated with the WiFiCx net adapter.

List

[Inout] A pointer to a driver-allocated and initialized WIFI_POWER_OFFLOAD_LIST structure.

Return value

None

Remarks

Call WIFI_POWER_OFFLOAD_LIST_INIT to initialize the WIFI_POWER_OFFLOAD_LIST structure, then call this function to retrieve the low power protocol offload list.

The client driver must only call WifiDeviceGetPowerOffloadList 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
IRQL PASSIVE_LEVEL

See also

WIFI_POWER_OFFLOAD_LIST

WIFI_POWER_OFFLOAD_LIST_INIT