aboutsummaryrefslogtreecommitdiffstats
path: root/src/p2p/p2p_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2012-08-23 15:20:58 (GMT)
committerJouni Malinen <j@w1.fi>2012-08-23 15:20:58 (GMT)
commit37448ede3181deead81fe04f5f0da9ca382e176b (patch)
treeb190c887b2c32c344b69015868afbefe3523babc /src/p2p/p2p_i.h
parent065d2895b4693e8c923580dbfa31123297c8bb7d (diff)
downloadhostap-37448ede3181deead81fe04f5f0da9ca382e176b.zip
hostap-37448ede3181deead81fe04f5f0da9ca382e176b.tar.gz
hostap-37448ede3181deead81fe04f5f0da9ca382e176b.tar.bz2
P2P: Add option for adding extra delay to p2p_find
A new optional delay=<search delay in milliseconds> parameter can now be used with p2p_find command to request an extra delay between search iterations. This can be used, e.g., to make p2p_find friendlier to concurrent operations by avoiding it from taking 100% of the radio resources. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/p2p/p2p_i.h')
-rw-r--r--src/p2p/p2p_i.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/p2p/p2p_i.h b/src/p2p/p2p_i.h
index 027cad2..3c50556 100644
--- a/src/p2p/p2p_i.h
+++ b/src/p2p/p2p_i.h
@@ -427,6 +427,10 @@ struct p2p_data {
u8 go_timeout;
u8 client_timeout;
+
+ /* Extra delay in milliseconds between search iterations */
+ unsigned int search_delay;
+ int in_search_delay;
};
/**