aboutsummaryrefslogtreecommitdiffstats
path: root/src/p2p/p2p_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2012-05-08 14:33:14 (GMT)
committerJouni Malinen <j@w1.fi>2012-05-08 14:38:57 (GMT)
commit6f251b6bb504176bc9086cde3a1bbe744d15bce8 (patch)
tree2d2cf296a1d24febfd15e5fed68395915de3c79f /src/p2p/p2p_i.h
parentaa9bb7644b0f7acbc9403189f0c47c17079205bc (diff)
downloadhostap-6f251b6bb504176bc9086cde3a1bbe744d15bce8.zip
hostap-6f251b6bb504176bc9086cde3a1bbe744d15bce8.tar.gz
hostap-6f251b6bb504176bc9086cde3a1bbe744d15bce8.tar.bz2
P2P: Store SSID of the group in p2p_group data
This can be used with P2P management operations that need to verify whether the local device is operating a specific group based on P2P Group ID attribute from a peer. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/p2p/p2p_i.h')
-rw-r--r--src/p2p/p2p_i.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/p2p/p2p_i.h b/src/p2p/p2p_i.h
index 3a764ca..279225c 100644
--- a/src/p2p/p2p_i.h
+++ b/src/p2p/p2p_i.h
@@ -549,6 +549,8 @@ const u8 * p2p_group_get_interface_addr(struct p2p_group *group);
u8 p2p_group_presence_req(struct p2p_group *group,
const u8 *client_interface_addr,
const u8 *noa, size_t noa_len);
+int p2p_group_is_group_id_match(struct p2p_group *group, const u8 *group_id,
+ size_t group_id_len);
void p2p_buf_add_action_hdr(struct wpabuf *buf, u8 subtype, u8 dialog_token);