// windot11.h
typedef struct DOT11_BYTE_ARRAY {
NDIS_OBJECT_HEADER Header;
ULONG uNumOfBytes;
ULONG uTotalNumOfBytes;
UCHAR ucBuffer[1];
} DOT11_BYTE_ARRAY, *PDOT11_BYTE_ARRAY;
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_BYTE_ARRAY structure precedes a list of variable-length structures in the InformationBuffer member of the MiniportOidRequest function's OidRequest parameter.
HeaderThe type, revision, and size of the DOT11_BYTE_ARRAY 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 the revision of the variable-length structures which follow the DOT11_BYTE_ARRAY structure. For more information about the revision of these structures, refer to the object identifiers (OIDS) listed in the "See Also" section.
This member must be set to sizeof(DOT11_BYTE_ARRAY).
For more information about these members, see NDIS_OBJECT_HEADER.
uNumOfBytesThe number of bytes in the ucBuffer array.
uTotalNumOfBytesThe maximum number of bytes that the ucBuffer array requires.
ucBufferThe list of variable-length structures.
typedef struct DOT11_BYTE_ARRAY {
NDIS_OBJECT_HEADER Header;
ULONG uNumOfBytes;
ULONG uTotalNumOfBytes;
UCHAR ucBuffer[1];
} DOT11_BYTE_ARRAY, *PDOT11_BYTE_ARRAY;
The type of structures stored in the ucBuffer array depends on the OID set and query request. For example, when queried by OID_DOT11_ENUM_BSS_LIST, a miniport driver stores one or more DOT11_BSS_ENTRY structures in the ucBuffer array.
When queried by an OID that uses the DOT11_BYTE_ARRAY structure, the miniport driver must verify that the InformationBuffer member of the MiniportOidRequest function's OidRequest parameter is large enough to return the entire structure, including all entries in the ucBuffer 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_BYTE_ARRAY 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_BYTE_ARRAY structure, the miniport driver must do the following to complete a successful query request:
OID_DOT11_CIPHER_KEY_MAPPING_KEY