aboutsummaryrefslogtreecommitdiffstats
path: root/src/p2p/p2p_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2013-10-22 15:44:05 (GMT)
committerJouni Malinen <j@w1.fi>2013-10-22 21:39:17 (GMT)
commit941dae0a2e2f6cacee90d2ea8fcd7e94229d3528 (patch)
treec86d604c0789b0e4fc0f08259c152db0f51cd2ec /src/p2p/p2p_i.h
parent538922a628d4f5403b9a96b171a59235bcb3d921 (diff)
downloadhostap-941dae0a2e2f6cacee90d2ea8fcd7e94229d3528.zip
hostap-941dae0a2e2f6cacee90d2ea8fcd7e94229d3528.tar.gz
hostap-941dae0a2e2f6cacee90d2ea8fcd7e94229d3528.tar.bz2
P2P: Add more user friendly debug print of channel lists
This makes it easier to go through the P2P channel list operations in the debug log without having to parse through the hexdump manually. 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 e12e6f0..56056fa 100644
--- a/src/p2p/p2p_i.h
+++ b/src/p2p/p2p_i.h
@@ -572,6 +572,8 @@ void p2p_channels_intersect(const struct p2p_channels *a,
struct p2p_channels *res);
int p2p_channels_includes(const struct p2p_channels *channels, u8 reg_class,
u8 channel);
+void p2p_channels_dump(struct p2p_data *p2p, const char *title,
+ const struct p2p_channels *chan);
/* p2p_parse.c */
int p2p_parse_p2p_ie(const struct wpabuf *buf, struct p2p_message *msg);