]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
P2P: Add commands for p2p redirection
authorDmitry Shmidt <dimitrysh@google.com>
Fri, 16 Aug 2013 22:29:47 +0000 (15:29 -0700)
committerJouni Malinen <j@w1.fi>
Fri, 1 Nov 2013 14:36:33 +0000 (16:36 +0200)
Bug: 9056601

Change-Id: I6d78433df656c24af74a6825624c68231a4bf87d
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
wpa_supplicant/ctrl_iface.c

index cf13af5b447dc2ae1c973b19714022cfdc993a70..61c6e1cf0c95b2d5cb6dc0cde23815f050875468 100644 (file)
@@ -5966,6 +5966,11 @@ static char * wpas_global_ctrl_iface_redir_p2p(struct wpa_global *global,
 {
 #ifdef CONFIG_P2P
        static const char * cmd[] = {
+#ifdef ANDROID_P2P
+               "LIST_NETWORKS",
+               "SAVE_CONFIG",
+               "STATUS",
+#endif
                "P2P_FIND",
                "P2P_STOP_FIND",
                "P2P_LISTEN",
@@ -5980,6 +5985,12 @@ static char * wpas_global_ctrl_iface_redir_p2p(struct wpa_global *global,
                NULL
        };
        static const char * prefix[] = {
+#ifdef ANDROID_P2P
+               "DRIVER ",
+               "GET_NETWORK ",
+               "REMOVE_NETWORK ",
+               "SET ",
+#endif
                "P2P_FIND ",
                "P2P_CONNECT ",
                "P2P_LISTEN ",