[DA patch]Add timeout configuration
[platform/core/connectivity/wifi-direct-manager.git] / oem / wifi-direct-oem.h
index 60be73c..4f49fab 100644 (file)
@@ -54,6 +54,7 @@ extern "C" {
 #define DEFAULT_OPER_CHANNEL 1
 #define DEFAULT_CONFIG_METHOD "display push_button keypad p2ps"
 #define DEFAULT_NO_GROUP_IFACE 0
+#define DEFAULT_CONNECTION_TIMEOUT 120
 
 #define OEM_MACSTR_LEN 18
 #define OEM_MACADDR_LEN 6
@@ -212,6 +213,7 @@ typedef struct {
        char config_methods[OEM_CONFIG_METHOD_LEN+1];
        gboolean no_group_iface;
        int group_operating_freq;
+       int connection_timeout;
 } wfd_oem_config_s;
 
 typedef struct {