From 5b0f9e542dd3da54d37b8042f0c383553753b315 Mon Sep 17 00:00:00 2001 From: Nishant Chaprana Date: Tue, 16 Feb 2016 18:23:50 +0530 Subject: [PATCH] [TIZEN_WIFI_MODULE_BUNDLE] updated p2p_supp.conf and CONF_FILE_PATH -> "/opt/etc/p2p_supp.conf" Change-Id: I77ca81100c54574826bb9148d7565b1fbb83a736 Signed-off-by: Nishant Chaprana --- files/bundle/p2p_supp.conf | 11 +++++++++++ packaging/wifi-direct-manager.spec | 2 +- .../ctrl_iface_dbus/include/wfd-plugin-wpasupplicant.h | 4 ++-- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/files/bundle/p2p_supp.conf b/files/bundle/p2p_supp.conf index 5cd2582..f89deba 100644 --- a/files/bundle/p2p_supp.conf +++ b/files/bundle/p2p_supp.conf @@ -1,4 +1,15 @@ + ##### p2p_supplicant configuration file template ##### update_config=1 +ctrl_interface=/var/run/wpa_supplicant eapol_version=1 ap_scan=1 +p2p_listen_reg_class=81 +p2p_listen_channel=1 +p2p_oper_reg_class=81 +p2p_oper_channel=1 +device_name=[TV]Tizen +device_type=7-0050F204-1 +config_methods=keypad virtual_push_button physical_display +persistent_reconnect=1 +p2p_no_group_iface=1 diff --git a/packaging/wifi-direct-manager.spec b/packaging/wifi-direct-manager.spec index 60358a7..737958a 100755 --- a/packaging/wifi-direct-manager.spec +++ b/packaging/wifi-direct-manager.spec @@ -1,6 +1,6 @@ Name: wifi-direct-manager Summary: Wi-Fi Direct manger -Version: 1.2.136 +Version: 1.2.137 Release: 1 Group: Network & Connectivity/Wireless License: Apache-2.0 diff --git a/plugin/wpasupplicant/ctrl_iface_dbus/include/wfd-plugin-wpasupplicant.h b/plugin/wpasupplicant/ctrl_iface_dbus/include/wfd-plugin-wpasupplicant.h index b874e5f..afa5dc9 100755 --- a/plugin/wpasupplicant/ctrl_iface_dbus/include/wfd-plugin-wpasupplicant.h +++ b/plugin/wpasupplicant/ctrl_iface_dbus/include/wfd-plugin-wpasupplicant.h @@ -40,9 +40,8 @@ #define IPSECSTR "%d..%d" #define OBJECT_PATH_MAX 150 -#define CONF_FILE_PATH "/etc/wpa_supplicant/wpa_supplicant.conf" - #if defined TIZEN_MOBILE +# define CONF_FILE_PATH "/etc/wpa_supplicant/wpa_supplicant.conf" # define DEFAULT_MAC_FILE_PATH "/opt/etc/.mac.info" # define COMMON_IFACE_NAME "wlan0" @@ -68,6 +67,7 @@ #endif /* TIZEN_MOBILE */ #if defined TIZEN_TV +# define CONF_FILE_PATH "/opt/etc/p2p_supp.conf" # if defined TIZEN_WIFI_MODULE_BUNDLE # define DEFAULT_MAC_FILE_PATH "/sys/class/net/wlan0/address" -- 2.7.4