aboutsummaryrefslogtreecommitdiffstats
path: root/src/p2p/p2p_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2012-08-23 16:42:53 (GMT)
committerJouni Malinen <j@w1.fi>2012-08-23 16:42:53 (GMT)
commit99fcd404091a90317f6619e466f544ee32128a23 (patch)
tree111986c2315038ecc5f646d2ca2bbb26d6f30e32 /src/p2p/p2p_i.h
parent05a77b3b46eff4aaf2bc7526f56b2fa0dbbc5f1e (diff)
downloadhostap-99fcd404091a90317f6619e466f544ee32128a23.zip
hostap-99fcd404091a90317f6619e466f544ee32128a23.tar.gz
hostap-99fcd404091a90317f6619e466f544ee32128a23.tar.bz2
P2P: Allow scan operations during p2p_find
Previously, all station mode scan operations were either skipped or delayed while any P2P operation was in progress. To make concurrent operations easier to use, reduce this limitation by allowing a scan operation to be completed in the middle of a p2p_find. In addition, allow station mode association to be completed. When the station mode operation is run to its completion (scan results not acted on, connection to an AP completed, connection failed), resume the p2p_find operation. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'src/p2p/p2p_i.h')
-rw-r--r--src/p2p/p2p_i.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/p2p/p2p_i.h b/src/p2p/p2p_i.h
index 3c50556..7dbdf80 100644
--- a/src/p2p/p2p_i.h
+++ b/src/p2p/p2p_i.h
@@ -207,6 +207,11 @@ struct p2p_data {
* P2P_SEARCH_WHEN_READY - Waiting to start Search
*/
P2P_SEARCH_WHEN_READY,
+
+ /**
+ * P2P_CONTINUE_SEARCH_WHEN_READY - Waiting to continue Search
+ */
+ P2P_CONTINUE_SEARCH_WHEN_READY,
} state;
/**