// windot11.h
typedef struct DOT11_CIPHER_ALGORITHM_LIST {
NDIS_OBJECT_HEADER Header;
ULONG uNumOfEntries;
ULONG uTotalNumOfEntries;
DOT11_CIPHER_ALGORITHM AlgorithmIds[1];
} DOT11_CIPHER_ALGORITHM_LIST, *PDOT11_CIPHER_ALGORITHM_LIST;
View the official Windows Driver Kit DDI reference
No 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_CIPHER_ALGORITHM_LIST structure defines a list of DOT11_CIPHER_ALGORITHM structures that can be enabled on the 802.11 station.
Header
The type, revision, and size of the DOT11_CIPHER_ALGORITHM_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_CIPHER_ALGORITHM_LIST_REVISION_1.
This member must be set to sizeof(DOT11_CIPHER_ALGORITHM_LIST).
For more information about these members, see NDIS_OBJECT_HEADER.
uNumOfEntries
The number of entries in the AlgorithmIds array.
uTotalNumOfEntries
The maximum number of entries that the AlgorithmIds array can contain.
AlgorithmIds
The cipher algorithm, which is defined by a DOT11_CIPHER_ALGORITHM enumerator value.
The list of cipher algorithms is sorted by preference. AlgorithmIds [0] defines the cipher algorithm with the highest preference.
typedef struct DOT11_CIPHER_ALGORITHM_LIST {
NDIS_OBJECT_HEADER Header;
ULONG uNumOfEntries;
ULONG uTotalNumOfEntries;
DOT11_CIPHER_ALGORITHM AlgorithmIds[1];
} DOT11_CIPHER_ALGORITHM_LIST, *PDOT11_CIPHER_ALGORITHM_LIST;
A miniport driver returns the DOT11_CIPHER_ALGORITHM_LIST structure when it is queried by either OID_DOT11_SUPPORTED_UNICAST_ALGORITHM_PAIR or OID_DOT11_SUPPORTED_MULTICAST_ALGORITHM_PAIR.
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_CIPHER_ALGORITHM_LIST structure, including all entries in the AlgorithmIds array. The value of the InformationBufferLength member of the OidRequest parameter determines what the miniport driver must do, as the following list shows:
OID_DOT11_SUPPORTED_UNICAST_ALGORITHM_PAIR
OID_DOT11_SUPPORTED_MULTICAST_ALGORITHM_PAIR