2.2.2.2 Connect Response Message

A sink device MUST send a connect response message in reply to a Connect Message (section 2.2.2.1).

The Connect Response message MUST contain the following message-specific header following the Common Message Header (section 2.2.1.2).


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Diag_Support_Level

Reserved_1

W

BSSID

...

Reserved_2

SSID_Length

SSID (variable)

...

BSS_Type

Phy_Type

Channel

Reserved_3

Diag_Support_Level (4 bytes): A 32-bit unsigned integer that specifies the level of diagnostics support that the sink device offers. This value MUST be one of the following.

Value

Meaning

0x00000000

No diagnostics support.

0x00000001

The sink device supports static diagnostics (section 1.3).

0x00000002

The sink device supports both static and runtime diagnostics (section 1.3).

Reserved_1 (31 bits): A value that MUST be zero and MUST be ignored on receipt.

W (1 bit): A flag that indicates whether the sink device is connected to a wireless network.

BSSID (6 bytes): The basic service set identifier (BSSID) of the wireless network to which the sink is joined. If the device is not connected wirelessly, this structure MUST be zero.

Reserved_2 (2 bytes): A value that MUST be zero and MUST be ignored on receipt.

SSID_Length (4 bytes): A 32-bit unsigned integer that specifies the length in octets of the SSID field. If the device is not connected wirelessly, this value MUST be zero. Otherwise, this value MUST be greater than zero and less than or equal to 0x00000020.

SSID (variable): The SSID of the basic service set (BSS) with which the wireless network interface of the sink device is currently associated. The maximum length of this field is 32 octets.

BSS_Type (4 bytes): A 32-bit unsigned integer that specifies the method by which a sink device's wireless network interface connects to the network. This value MUST be one of the following.

Value

Meaning

0x00000000

Unknown mode or device not connected wirelessly.

0x00000001

802.11 infrastructure mode [IEEE802.11-2007].

0x00000002

802.11 IBSS or ad-hoc mode [IEEE802.11-2007].

Phy_Type (4 bytes): A 32-bit unsigned integer that specifies the wireless band that the wireless network interface of a sink device is using to connect to the network. This value MUST be one of the following.

Value

Meaning

0x00000000

Unknown wireless band or device not connected wirelessly.

0x00000001

802.11b [IEEE802.11-2007]

0x00000002

802.11g [IEEE802.11-2007]

0x00000003

802.11a [IEEE802.11-2007]

Channel (1 byte): The wireless channel used by a sink device's wireless network interface when connected to the access point. If the device is not connected wirelessly, this value MUST be zero.

Reserved_3 (3 bytes): A value that MUST be zero and MUST be ignored on receipt.