WifiDeviceSetPhyCapabilities function (wificx.h)

The WifiDeviceSetPhyCapabilities function sets the PHY capabilities for a WiFiCx device.

Syntax

NTSTATUS WifiDeviceSetPhyCapabilities(
  WDFDEVICE                   Device,
  const WIFI_PHY_CAPABILITIES *PhyCapabilities
);

Parameters

Device

A handle to a framework device object the client driver obtained from a previous call to WdfDeviceCreate.

PhyCapabilities

A pointer to a client driver-allocated and initialized WIFI_PHY_CAPABILITIES structure.

Return value

Returns STATUS_SUCCESS if the operation succeeds. Otherwise, this function may return an appropriate NTSTATUS error code.

Remarks

Client drivers typically call WifiDeviceSetPhyCapabilities within EvtDevicePrepareHardware.

For more information see Default (station) adapter creation flow.

Requirements

Requirement Value
Minimum supported client Windows 11
Minimum supported server Windows Server 2022
Header wificx.h
IRQL PASSIVE_LEVEL

See also

WIFI_PHY_CAPABILITIES

Default (station) adapter creation flow