// windot11.h
typedef struct DOT11_PHY_ID_LIST {
NDIS_OBJECT_HEADER Header;
ULONG uNumOfEntries;
ULONG uTotalNumOfEntries;
ULONG dot11PhyId[1];
} DOT11_PHY_ID_LIST, *PDOT11_PHY_ID_LIST;
View the official Windows Driver Kit DDI referenceNo description available.
[!Important] WiFiCx is the new Wi-Fi driver model released in Windows 11. We recommend that you use WiFiCx to take advantage of the latest features. The WDI driver model is now in maintenance mode and will only receive high priority fixes.
The DOT11_PHY_ID_LIST structure specifies a list of zero or more PHY types.
HeaderThe type, revision, and size of the DOT11_PHY_ID_LIST structure. This member is formatted as an NDIS_OBJECT_HEADER structure.
The miniport driver must set the members of Header to the following values:
This member must be set to NDIS_OBJECT_TYPE_DEFAULT.
This member must be set to DOT11_PHY_ID_LIST_REVISION_1.
This member must be set to sizeof(DOT11_PHY_ID_LIST).
For more information about these members, see NDIS_OBJECT_HEADER.
uNumOfEntriesThe number of entries in the dot11PhyId array.
uTotalNumOfEntriesThe maximum number of entries that the dot11PhyId array can contain.
dot11PhyIdThe list of PHY identifiers (IDs).
typedef struct DOT11_PHY_ID_LIST {
NDIS_OBJECT_HEADER Header;
ULONG uNumOfEntries;
ULONG uTotalNumOfEntries;
ULONG dot11PhyId[1];
} DOT11_PHY_ID_LIST, *PDOT11_PHY_ID_LIST;
A PHY ID in the dot11PhyId array must be one of the following:
A miniport driver returns the DOT11_PHY_ID_LIST structure when queried by either OID_DOT11_ACTIVE_PHY_LIST or OID_DOT11_DESIRED_PHY_LIST.
When these OIDs are queried, the miniport driver must verify that the InformationBuffer member of the MiniportOidRequest function's OidRequest parameter is large enough to return the entire DOT11_PHY_ID_LIST structure, including all entries in the dot11PhyId array. The value of the InformationBufferLength member of the OidRequest parameter determines what the miniport driver must do, as the following list shows:
If the value of the InformationBufferLength member is less than the length, in bytes, of the entire DOT11_PHY_ID_LIST structure, the miniport driver must do the following:
If the value of the InformationBufferLength member is greater than or equal to the length, in bytes, of the entire DOT11_PHY_ID_LIST structure, the miniport driver must do the following to complete a successful query request: