aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/README-P2P
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-01-13 11:43:54 (GMT)
committerJouni Malinen <j@w1.fi>2013-01-13 11:43:54 (GMT)
commit9aadb8774e1065ad2648e2526de296b5f8905ce1 (patch)
tree78c6a7c8daa3a914fcfff698f424826bf1013280 /wpa_supplicant/README-P2P
parent93c7e332c2ed28238628a52c259670da93ed663a (diff)
downloadhostap-9aadb8774e1065ad2648e2526de296b5f8905ce1.zip
hostap-9aadb8774e1065ad2648e2526de296b5f8905ce1.tar.gz
hostap-9aadb8774e1065ad2648e2526de296b5f8905ce1.tar.bz2
P2P: Add some more details on Service Query TLV format
Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/README-P2P')
-rw-r--r--wpa_supplicant/README-P2P13
1 files changed, 13 insertions, 0 deletions
diff --git a/wpa_supplicant/README-P2P b/wpa_supplicant/README-P2P
index 5e98c95..fb99c7b 100644
--- a/wpa_supplicant/README-P2P
+++ b/wpa_supplicant/README-P2P
@@ -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
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
single query TLV (i.e., a service discovery for a specific UPnP
service):