Media Status Indications for Infrastructure Networks
When its network mode is set to Ndis802_11Infrastructure, the 802.11 miniport driver must make media connect indications and media disconnect indications as follows:
The driver must make a media connect indication when any of the following occur:
- The 802.11 device associates with an access point (AP).
- The 802.11 device reassociates with the same AP.
- The 802.11 device roams and associates to a new AP within the same BSS.
The driver must not make a media disconnect indication when reassociating or roaming.
If the device loses contact with the AP with which it is associated, then the driver must wait 10 seconds before making a media disconnect indication. If during this time the driver reassociates with the same AP or associates with another AP within the same BSS, then the driver must make a media connect indication.
The driver must make a media disconnect indication shortly after the driver's MiniportInitialize function returns.
The driver must make a media disconnect indication when OID_802_11_DISASSOCIATE has been set.
The driver must not make a media connect indication if the device stops sending to the AP for a brief period and then starts sending again without associating or reassociating to the AP. For example, if the 802.11 device enters a power-saving mode, then the driver must not generate a media connect indication when the device exits the power-saving mode.
If the device disassociates from the AP in response to receiving an encrypted packet that cannot be decrypted, then the driver must not make a media disconnect indication unless the subsequent reassociation request fails.
When the desired SSID is set through OID_802_11_SSID, the 802.11 miniport driver must make media connect and disconnect indications as follows:
If the device is currently associated with an AP and the desired SSID is changed, then the driver must first make a media disconnect indication before attempting to associate with a new AP. This indication must be made as quickly as possible after the desired SSID is set.
The driver must make a media connect indication after the 802.11 association is completed successfully.
If the device is currently associated with an AP and the desired SSID is not changed, then the device must reassociate to the same AP or associate to another AP within the BSS. The driver must make a media connect indication after the 802.11 association is completed successfully.
If the device cannot complete an association after 10 seconds, then the driver must make a media disconnect indication.
If the device is not currently associated with an AP, then the device must attempt to associate with any AP within the BSS following the set of OID_802_11_SSID. The driver must make a media connect indication after the 802.11 association is completed successfully.
If the device cannot complete an association after 10 seconds, then the driver must not make a media disconnect indication.
When the desired BSSID is set through OID_802_11_BSSID, the driver must make media connect and disconnect indications as follows:
If the device is currently associated with an AP and the desired BSSID is changed, then the driver must associate or reassociate with the AP identified by the desired BSSID. The driver must make a media connect indication after the 802.11 association is completed successfully.
If the device cannot complete an association after 10 seconds, then the driver must make a media disconnect indication.
If the device is not currently associated with an AP and the desired BSSID is changed, then the driver must associate with the AP identified by the desired BSSID. The driver must make a media connect indication after the 802.11 association is completed successfully.
If the device cannot complete an association after 10 seconds, then the driver must not make a media disconnect indication.
Note The driver must not associate with a BSSID unless there is a match between the network configuration settings on the 802.11 device and those advertised in the beacon or probe response from the BSSID. In particular, the device should only associate if there is a match on its network mode (ESS or IBSS), authentication mode, and enabled cipher suites. For more information about 802.11 network configuration settings, see 802.11 Network Configuration.