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 an 802.11 station is in Extensible Access Point (ExtAP) mode, the miniport driver and 802.11 station must follow the guidelines defined in General Association Operation Guidelines and Association Operation Guidelines for Infrastructure BSS Networks.
In addition, the miniport driver and 802.11 station must follow these guidelines when associating with a peer station:
The NIC issues an NDIS_STATUS_DOT11_INCOMING_ASSOC_REQUEST_RECEIVED indication to the operating system.
After the operating system receives the association request indication, if it decides to make the association it calls the direct OID OID_DOT11_INCOMING_ASSOCIATION_DECISION. The operating system can optionally specify additional information elements (IEs) that the NIC must add to the association response frame. The operating system does this by setting values for the uAssocResponseIEsOffset and uAssocResponseIEsLength members of the DOT11_INCOMING_ASSOC_DECISION structure. The operating system will only make this OID call after it receives an NDIS_STATUS_DOT11_INCOMING_ASSOC_REQUEST_RECEIVED indication.
The NIC should accept the association request only if both it and the operating system decide to accept the association request. If so, the NIC should send an association response packet that indicates that it accepts the association request. Otherwise, the NIC should send an association response packet that indicates that it does not accept the association request.
The NIC makes an NDIS_STATUS_DOT11_INCOMING_ASSOC_COMPLETION status indication when it completes the association with the peer station, whether or not the association is successful. If the association is successful, the 802.11 miniport driver should indicate all data related to the association in the corresponding DOT11_INCOMING_ASSOC_COMPLETION_PARAMETERS structure. This data includes the current authentication and cipher algorithms ( AuthAlgo, UnicastCipher, and MulticastCipher ), and the latest Beacon frame data ( uBeaconOffset and uBeaconSize).
For each successful association, a port authorization procedure can be performed by the operating system. In this procedure, the operating system adds encryption keys and/or message integrity keys, as described in Native 802.11 Authentication Operations. After a previously associated client is disassociated, the miniport driver should remove the pair-wise key for that client from the key table.