OID_802_11_BSSID

When set, the OID_802_11_BSSID OID requests that the miniport driver set the media access control (MAC) address of the access point to associate with. After this OID is set, the device can only associate with an access point (AP) with the desired BSSID.

Setting the desired BSSID results in the following actions:

  • If the device is associated with an AP that has the same BSSID, the device must reassociate with the AP.

  • If the device is associated with an AP that has a different BSSID, the device must disassociate from that AP. The device must then attempt to associate with an AP with the specified BSSID within the current Extended Service Set (ESS).

  • If the device is not associated with any AP, the device must attempt to associate with an AP that has the specified BSSID within the current ESS.

Once the BSSID is set, the device must remain associated with the desired BSSID and cannot roam to another BSSID.

The desired BSSID is cleared when set to the broadcast MAC address of 0xFFFFFFFFFFFF. After the BSSID is cleared, the device can roam to any BSSID within the desired SSID.

The miniport driver must follow the media sense rules described in 802.11 Network Association and Disassociation when associating with the AP with the desired BSSID.

When queried, this OID requests that the miniport driver return the MAC address of the associated AP. If the device is operating in ad hoc mode, the miniport driver returns the IBSS MAC address. The miniport driver must return an error code of NDIS_STATUS_ADAPTER_NOT_READY if the device is neither operating in ad hoc mode nor associated with an AP.

Note  Starting with Windows 8.1, the IBSS and SoftAP features have been deprecated in favor of Wi-Fi Direct (WFD).

The data type for this OID is the NDIS_802_11_MAC_ADDRESS array type, which is defined as follows:



        typedef UCHAR NDIS_802_11_MAC_ADDRESS[6];


 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft