Media Status Indications for Ad Hoc Networks
An ad hoc network is formed when two or more stations (STAs) associate and join the IBSS cell. When configured to operate within ad hoc networks, the 802.11 miniport driver must make a media connect indication only when the driver first sees another STA for the SSID. When no other stations are visible, the driver must make a media disconnect indication.
When its network mode is set to Ndis802_11IBSS, the miniport driver must use the following rules when making media connect indications and media disconnect indications:
If the device is the STA that forms the IBSS cell, then it must not make a media connect indication. The rationale is that an ad hoc network forms only when there are two or more STAs in the IBSS cell.
The device that forms the IBSS cell makes a media connect indication only when another STA associates with the cell.
If the device associates with an IBSS cell in which there are one or more STAs, then the driver must make a media connect indication.
If the device disassociates from the IBSS cell, then the driver must make a media disconnect indication.
If other STAs disassociate from the IBSS cell and the device is the only STA in the cell, then the driver must make a media disconnect indication.