aboutsummaryrefslogtreecommitdiffstats
path: root/src/p2p/p2p_i.h
diff options
context:
space:
mode:
authorDeepthi Gowri <deepthi@codeaurora.org>2013-02-25 16:41:32 (GMT)
committerJouni Malinen <j@w1.fi>2013-03-01 16:40:39 (GMT)
commit79879f4ae8f3eacee52699e3ccd5e0baba601c4d (patch)
tree56e9a1e4a5d3a3f69185adeaf0f91253bc99738d /src/p2p/p2p_i.h
parent851b73eb28a8cd693170433d091e48a5a5a4c234 (diff)
downloadhostap-79879f4ae8f3eacee52699e3ccd5e0baba601c4d.zip
hostap-79879f4ae8f3eacee52699e3ccd5e0baba601c4d.tar.gz
hostap-79879f4ae8f3eacee52699e3ccd5e0baba601c4d.tar.bz2
P2P: Allow all channels in case of multi channel concurrency
If multi channel concurrency is supported, we have to populate the p2p_channels with list of channels that we support. Use the same design that was previously added for GO Negotiation. 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 e91959f..856f78f 100644
--- a/src/p2p/p2p_i.h
+++ b/src/p2p/p2p_i.h
@@ -713,5 +713,7 @@ int p2p_send_action(struct p2p_data *p2p, unsigned int freq, const u8 *dst,
const u8 *src, const u8 *bssid, const u8 *buf,
size_t len, unsigned int wait_time);
void p2p_stop_listen_for_freq(struct p2p_data *p2p, int freq);
+int p2p_prepare_channel(struct p2p_data *p2p, struct p2p_device *dev,
+ unsigned int force_freq, unsigned int pref_freq);
#endif /* P2P_I_H */