// wificx.h
NTSTATUS WifiDeviceSetPhyCapabilities(
WDFDEVICE Device,
const WIFI_PHY_CAPABILITIES *PhyCapabilities
);
View the official Windows Driver Kit DDI referenceNo description available.
The WifiDeviceSetPhyCapabilities function sets the PHY capabilities for a WiFiCx device.
DeviceA handle to a framework device object the client driver obtained from a previous call to WdfDeviceCreate.
PhyCapabilitiesA pointer to a client driver-allocated and initialized WIFI_PHY_CAPABILITIES structure.
Returns STATUS_SUCCESS if the operation succeeds. Otherwise, this function may return an appropriate NTSTATUS error code.
Client drivers typically call WifiDeviceSetPhyCapabilities within EvtDevicePrepareHardware.
Call WIFI_PHY_CAPABILITIES_INIT to initialize the WIFI_PHY_CAPABILITIES structure and fill in its Size field. Then call WifiDeviceSetPhyCapabilities to report PHY capabilities to WiFiCx.
For more information see Default (station) adapter creation flow.
Default (station) adapter creation flow