diff options
author | Jouni Malinen <jouni@qca.qualcomm.com> | 2012-03-02 21:48:57 +0200 |
---|---|---|
committer | Vishal Mahaveer <vishalm@ti.com> | 2012-12-14 13:36:02 -0600 |
commit | d275d38bddc7580415304b2a904f56e84154049b (patch) | |
tree | 8e34652214aee476a897be6173f0c14f31d68cb2 /src/p2p/p2p.h | |
parent | c293a48d26ea795e5cf4459d20923172c4ec7c55 (diff) | |
download | external_wpa_supplicant_8_ti-d275d38bddc7580415304b2a904f56e84154049b.zip external_wpa_supplicant_8_ti-d275d38bddc7580415304b2a904f56e84154049b.tar.gz external_wpa_supplicant_8_ti-d275d38bddc7580415304b2a904f56e84154049b.tar.bz2 |
WFD: Add support for sending Wi-Fi Display service discovery requests
wpa_cli p2p_serv_disc_req command can now be used to request WSD
request to be sent to specified or all peers who support WSD.
format: wifi-display <list of roles> <list of subelements>
examples:
p2p_serv_disc_req 00:00:00:00:00:00 wifi-display [source] 2,3,4,5
p2p_serv_disc_req 02:01:02:03:04:05 wifi-display [pri-sink] 3
p2p_serv_disc_req 00:00:00:00:00:00 wifi-display [sec-source] 2
p2p_serv_disc_req 00:00:00:00:00:00 wifi-display [source+sink] 2,3,4,5
p2p_serv_disc_req 00:00:00:00:00:00 wifi-display [source][pri-sink] 2,3,4,5
Change-Id: I14f8a92aa9a2161d7db97f5670d2dfe3b63ef1e3
Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
Diffstat (limited to 'src/p2p/p2p.h')
-rw-r--r-- | src/p2p/p2p.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/p2p/p2p.h b/src/p2p/p2p.h index ff15aee..b5d3ef9 100644 --- a/src/p2p/p2p.h +++ b/src/p2p/p2p.h @@ -963,6 +963,11 @@ int p2p_prov_disc_req(struct p2p_data *p2p, const u8 *peer_addr, void * p2p_sd_request(struct p2p_data *p2p, const u8 *dst, const struct wpabuf *tlvs); +#ifdef CONFIG_WIFI_DISPLAY +void * p2p_sd_request_wfd(struct p2p_data *p2p, const u8 *dst, + const struct wpabuf *tlvs); +#endif /* CONFIG_WIFI_DISPLAY */ + /** * p2p_sd_cancel_request - Cancel a pending service discovery query * @p2p: P2P module context from p2p_init() |