2.2.8.1 Capability Attribute

The Capability attribute indicates whether a connection over Miracast over Infrastructure is possible. This attribute MUST be present in the Vendor Extension attribute.


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

AttributeID

Length

CapabilityInfo

AttributeID (2 bytes): The Capability attribute ID, which is 0x2001.

Length (2 bytes): The length of the CapabilityInfo field, in bytes, which is 0x0001.

CapabilityInfo (1 byte): A bit field table with capability information, which has the following structure:


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

X

D

C

B

A

A - MiracastOverInfrastructureSupport (1 bit): 0 = not supported, 1 = supported.

B - StreamEncryptionSupported (1 bit): 0 = not supported, 1 = supported.

C - Version (3 bits): The version of this protocol, which is 0x1.

D - PinSupported (1 bit): 0 = not supported, 1 = supported. Bit B MUST be set to 1 in order to set this to 1, otherwise it is implicitly set to 0.

X - Reserved (2 bits): These bits MUST be set to zero and MUST be ignored on receipt.