P2P: Add some more details on Service Query TLV format
Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
93c7e332c2
commit
9aadb8774e
1 changed files with 13 additions and 0 deletions
|
@ -225,6 +225,19 @@ This command returns an identifier for the pending query (e.g.,
|
||||||
will be automatically removed when the specified peer has replied to
|
will be automatically removed when the specified peer has replied to
|
||||||
it.
|
it.
|
||||||
|
|
||||||
|
Service Query TLV has following format:
|
||||||
|
Length (2 octets, little endian) - length of following data
|
||||||
|
Service Protocol Type (1 octet) - see the table below
|
||||||
|
Service Transaction ID (1 octet) - nonzero identifier for the TLV
|
||||||
|
Query Data (Length - 2 octets of data) - service protocol specific data
|
||||||
|
|
||||||
|
Service Protocol Types:
|
||||||
|
0 = All service protocols
|
||||||
|
1 = Bonjour
|
||||||
|
2 = UPnP
|
||||||
|
3 = WS-Discovery
|
||||||
|
4 = Wi-Fi Display
|
||||||
|
|
||||||
For UPnP, an alternative command format can be used to specify a
|
For UPnP, an alternative command format can be used to specify a
|
||||||
single query TLV (i.e., a service discovery for a specific UPnP
|
single query TLV (i.e., a service discovery for a specific UPnP
|
||||||
service):
|
service):
|
||||||
|
|
Loading…
Reference in a new issue