WifiDeviceSetBandCapabilities - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wificx.h

NTSTATUS WifiDeviceSetBandCapabilities(
  WDFDEVICE                    Device,
  const WIFI_BAND_CAPABILITIES *BandCapabilities
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wificx-wifidevicesetbandcapabilities)

Description

The WifiDeviceSetBandCapabilities function sets the band capabilities for a WiFiCx device.

Parameters

Device

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

BandCapabilities

A pointer to a client driver-allocated and initialized WIFI_BAND_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 WifiDeviceSetBandCapabilities within EvtDevicePrepareHardware.

Call WIFI_BAND_CAPABILITIES_INIT to initialize the WIFI_BAND_CAPABILITIES structure and fill in its Size field. Then call WifiDeviceSetBandCapabilities to report band capabilities to WiFiCx.

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

See also

WIFI_BAND_CAPABILITIES

WIFI_BAND_CAPABILITIES_INIT

Default (station) adapter creation flow