次の方法で共有


NDIS_802_11_WEP_STATUS (Windows Embedded CE 6.0)

1/6/2010

This enumeration defines the Wireless Equivalent Privacy (WEP) implementation status for a particular 802.11 NIC.

Syntax

typedef enum _NDIS_802_11_WEP_STATUS {
  Ndis802_11WEPEnabled,
  Ndis802_11Encryption1Enabled = Ndis802_11WEPEnabled,
  Ndis802_11WEPDisabled,
  Ndis802_11EncryptionDisabled = Ndis802_11WEPDisabled,
  Ndis802_11WEPKeyAbsent,
  Ndis802_11Encryption1KeyAbsent = Ndis802_11WEPNotSupported,
  Ndis802_11WEPNotSupported,
  Ndis802_11EncryptionNotSupported = Ndis802_11WEPNotSupported,
  Ndis802_11Encryption2Enabled,
  Ndis802_11Encryption2KeyAbsent,
  Ndis802_11Encryption3Enabled,
  Ndis802_11Encryption3KeyAbsent
} NDIS_802_11_WEP_STATUS, *PNDIS_802_11_WEP_STATUS, NDIS_802_11_ENCRYPTION_STATUS, *PNDIS_802_11_ENCRYPTION_STATUS;

Elements

  • Ndis802_11WEPEnabled
    Indicates that WEP is enabled.
  • Ndis802_11Encryption1Enabled
    Indicates that WEP is enabled; TKIP and AES are not enabled, and a transmit key may or may not be available.
  • Ndis802_11WEPDisabled
    Indicates that WEP is disabled.
  • Ndis802_11EncryptionDisabled
    Indicates that AES, TKIP, and WEP are disabled, and a transmit key is available.
  • Ndis802_11WEPKeyAbsent
    Indicates that the WEP key is absent.
  • Ndis802_11Encryption1KeyAbsent
    Indicates that AES, TKIP, and WEP are disabled, and a transmit key is not available.
  • Ndis802_11WEPNotSupported
    Indicates that the WEP key is not supported.
  • Ndis802_11EncryptionNotSupported
    Indicates that encryption (WEP, TKIP, and AES) is not supported.
  • Ndis802_11Encryption2Enabled
    Indicates that TKIP and WEP are enabled; AES is not enabled, and a transmit key is available.
  • Ndis802_11Encryption2KeyAbsent
    Indicates that there are no transmit keys available for use by TKIP or WEP, and TKIP and WEP are enabled; AES is not enabled.
  • Ndis802_11Encryption3Enabled
    Indicates that AES, TKIP, and WEP are enabled, and a transmit key is available.
  • Ndis802_11Encryption3KeyAbsent
    Indicates that there are no transmit keys available for use by AES, TKIP, or WEP, and AES, TKIP, and WEP are enabled.

Remarks

OID_802_11_WEP_STATUS uses this enumeration to define WEP status.

When set, the object identifier requests the miniport driver to set the NIC 802.11 WEP status to enabled or disabled. The NIC must have the WEP key for MPDU transmission with encryption before it can set the WEP status. If the NIC cannot set the WEP status, the miniport driver should return an NDIS_STATUS value of NDIS_STATUS_NOT_ACCEPTED.

When queried, the object identifier requests the miniport driver to return its NIC 802.11 WEP status indication. In response to this query, the miniport driver can indicate that WEP status is enabled or disabled, that the WEP key is absent, or that WEP is not supported:

  • A response indicating that WEP is enabled or disabled implies that the WEP key is available for the NIC to encrypt data. In other words, the WEP key is available for MPDU transmission with encryption.
  • A response indicating that WEP is not supported implies that the NIC does not support the desired WEP. In other words, the NIC is not capable of encrypting data and WEP cannot be enabled or disabled.
  • A response indicating that the WEP key is absent implies that the WEP key is not available for the NIC to encrypt data and, therefore, that WEP cannot be enabled or disabled. This implies that, while one or more WEP keys may be available, the NIC does not have a WEP key for MPDU transmission with encryption.

Requirements

Header ntddndis.h
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Network Driver Enumerations
NDIS_STATUS