OID_DOT11_PORT_STATE_NOTIFICATION
Important The Native 802.11 Wireless LAN interface is deprecated in Windows 10 and later. Please use the WLAN Device Driver Interface (WDI) instead. For more information about WDI, see WLAN Universal Windows driver model.
When set, the OID_DOT11_PORT_STATE_NOTIFICATION object identifier (OID) indicates the status of the data port used for network access to the access point (AP) (for infrastructure BSS networks) or peer station (for independent BSS networks) with which the 802.11 station is associated.
The data type for OID_DOT11_PORT_STATE_NOTIFICATION is the DOT11_PORT_STATE_NOTIFICATION structure.
typedef struct DOT11_PORT_STATE_NOTIFICATION {
NDIS_OBJECT_HEADER Header;
DOT11_MAC_ADDRESS PeerMac;
BOOLEAN bOpen;
} DOT11_PORT_STATE_NOTIFICATION, *PDOT11_PORT_STATE_NOTIFICATION;
This structure includes the following members:
Header
The type, revision, and size of the DOT11_PORT_STATE_NOTIFICATION structure. This member is formatted as an NDIS_OBJECT_HEADER structure.
The miniport driver must set the members of Header to the following values:
Type
This member must be set to NDIS_OBJECT_TYPE_DEFAULT.
Revision
This member must be set to DOT11_PORT_STATE_NOTIFICATION_REVISION_1.
Size
This member must be set to sizeof(DOT11_PORT_STATE_NOTIFICATION).
For more information about these members, see NDIS_OBJECT_HEADER.
PeerMac
The media access control (MAC) address of the AP or peer station with which the 802.11 station is associated.
bOpen
The data port state. If bOpen is TRUE, the port is open for sending and receiving data packets.
The actions performed by the miniport driver following the set request of OID_DOT11_PORT_STATE_NOTIFICATION are specific to the implementation by the independent hardware vendor (IHV).
For more information about port-based network access, see Port Access Management.
Requirements
Version |
Available in Windows Vista and later versions of the Windows operating systems. |
Header |
Windot11.h (include Ndis.h) |
See also
Native 802.11 Wireless LAN OIDs