aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJavier Lopez <jlopex@gmail.com>2014-09-01 04:23:33 (GMT)
committerJouni Malinen <j@w1.fi>2014-11-16 17:43:11 (GMT)
commit603a3f34c44cbcd9f843ed18b5accaf9540d6755 (patch)
tree805c5ad4f0f2e45433806685c29b3db1eef3803d /src
parent798b3182238c563bddfa19e9182fe58d36227881 (diff)
downloadhostap-603a3f34c44cbcd9f843ed18b5accaf9540d6755.zip
hostap-603a3f34c44cbcd9f843ed18b5accaf9540d6755.tar.gz
hostap-603a3f34c44cbcd9f843ed18b5accaf9540d6755.tar.bz2
Add mesh_group_{add,remove} control interface commands
Parse MESH_GROUP_ADD/REMOVE commands on ctrl interface and call wpa_supplicant routines. These commands are used to start or join and leave a mesh network. The mesh id is given in the configuration file, therefore there is no need to scan before joining a mesh network. We reuse the connect_without_scan construct used by P2P for that same purpose. Signed-off-by: Javier Cardona <javier@cozybit.com> Signed-off-by: Javier Lopez <jlopex@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/common/wpa_ctrl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/wpa_ctrl.h b/src/common/wpa_ctrl.h
index af1e776..a91cc38 100644
--- a/src/common/wpa_ctrl.h
+++ b/src/common/wpa_ctrl.h
@@ -121,6 +121,8 @@ extern "C" {
#define WPS_EVENT_ER_SET_SEL_REG "WPS-ER-AP-SET-SEL-REG "
/* MESH events */
+#define MESH_GROUP_STARTED "MESH-GROUP-STARTED "
+#define MESH_GROUP_REMOVED "MESH-GROUP-REMOVED "
#define MESH_PEER_CONNECTED "MESH-PEER-CONNECTED "
#define MESH_PEER_DISCONNECTED "MESH-PEER-DISCONNECTED "