[PATCH pacrunner 2/2] build: Use AM_CPPFLAGS instead of INCLUDES
Makefile.am:141: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 4e6218f..3205cfe 100644 --- a/Makefile.am +++ b/Makefile.am @@ -138,7 +138,7 @@ AM_CFLAGS = @GLIB_CFLAGS@ @GTHREAD_LIBS@ @DBUS_CFLAGS@ @CAPNG_CFLAGS@ \ AM_CXXFLAGS = $(AM_CFLAGS) -INCLUDES = -I$(builddir)/src -I$(srcdir)/src -I$(srcdir)/gdbus +AM_CPPFLAGS = -I$(builddir)/src -I$(srcdir)/src -I$(srcdir)/gdbus test_scripts = test/find-proxy-for-url test/create-proxy-config -- 1.8.1 ___ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman
[PATCH pacrunner 1/2] build: Do not use deprecated AM_CONFIG_HEADER
The long-obsoleted AM_CONFIG_HEADER macro was removed in automake 1.13. Use AC_CONFIG_HEADERS instead. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index d3ce7e2..cb455fc 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ AC_PREREQ(2.60) AC_INIT(pacrunner, 0.5) AM_INIT_AUTOMAKE([foreign subdir-objects color-tests]) -AM_CONFIG_HEADER(config.h) +AC_CONFIG_HEADERS(config.h) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) -- 1.8.1 ___ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman
Connman upstream test result_20130111
Hi all, This is test report for connman-1.10.32.gc388d1a-1.1.i586. In this testing,we ran 259 cases. 259 cases passed and 0 cases failed. The pass rate is 100%. We found 1 new bug,reopen 0 bug and verify 0 bug. In this commit we found 1 new bug that Connmanctl can't display hidden SSID correctly. New bug === 25953 - Connmanctl can't display hidden SSID correctly https://bugs.meego.com/show_bug.cgi?id=25953 Re-open bugs: === N/A Verified bugs: === N/A reproduced bugs: === 25862 - service-move-before does not change the connman state https://bugs.meego.com/show_bug.cgi?id=25862 25884 - Still see wifi service after disable wifi https://bugs.meego.com/show_bug.cgi?id=25884 25895 - Connmanctl can't remove connected wifi services https://bugs.meego.com/show_bug.cgi?id=25895 25925 - Connmanctl can't set ipv6 address https://bugs.meego.com/show_bug.cgi?id=25925 25930 - Wifi disconnects from AP after set invalid IPv4 https://bugs.meego.com/show_bug.cgi?id=25930 === Testing Environment == Hardware: netbook Eeepc 1005PE / Cedar Trail / Ocktrail Green Ridge Image: meego-netbook-ia32-1.2.0 / netbook-ia32-pinetrail-tizen_20120424.2 ConnMan: connman-1.10.32.gc388d1a-1.1.i586 wpa_supplicant: wpa_supplicant-1.0-13.1.i586 Ofono:ofono-1.12.16.g7738e3a-1.1.i586 bluez: bluez-4.87-1.12.i586 3G: Unicom Sim card/ZTE MF190/HuaWei E261 BT: Palm Pre/AnyCom AP/CSR dongle (disable the onboard BT device) Wireless AP:netgear WNR2000/dlink Test Execution Summary == Category Total PASS FAIL N/A Comments WiFi 46 46 Bt 13 13 3G23 23 Ethernet14 14 Advance52 52 status 66 66 API 34 34 Session 44 Openvpn 77 Total 259 259 Bug referred here is bug at bugs.meego.com, for example, bug #23110 refer to http://bugs.meego.com/show_bug.cgi?id=23110 ConnMan Test Report List Date:2013-1-11 ---NetworkSel--- CM_NetworkSel_Best PASS CM_NetworkSel_BroadcastNoSec PASS CM_NetworkSel_HideWEPPASS CM_NetworkSel_NoneToWPA PASS CM_NetworkSel_HideNoSec PASS CM_NetworkSel_BroadcastWEP PASS CM_NetworkSel_HiddenWPAToNonePASS CM_NetworkSel_HideWPAPASS CM_NetworkSel_NoneToHiddenWEPPASS CM_NetworkSel_WEPToNone PASS CM_NetworkSel_HiddenWPAToWEP PASS Total:11 Pass:11 Fail:0 N/A:0 ---BT--- CM_BT_IsReadyPASS CM_BT_ConnectPASS CM_BT_SmallPing PASS CM_BT_PoweredOff PASS CM_BT_Disconnect PASS CM_BT_IsPoweredOnPASS CM_BT_PoweredOn PASS CM_BT_BigPingPASS CM_BT_IsReEnableWorksPASS CM_BT_Connect_PANPASS CM_BT_List_PAN PASS CM_BT_DeviceIsExist PASS CM_BT_HasDHCPPASS Total:13 Pass:13 Fail:0 N/A:0 ---Ethernet--- CM_Eth_DeviceIsExist PASS CM_Eth_BigBroadcastPing PASS CM_Eth_Conn PASS CM_Eth_HasDHCP PASS CM_Eth_IsReEnableWorks PASS CM_Eth_PoweredOn PASS CM_Eth_SmallBroadcastPingPASS CM_Eth_IsPoweredOn PASS CM_Eth_IsReady PASS CM_Eth_DisconnectPASS CM_Eth_PoweredOffPASS CM_Eth_Hotplug PASS CM_Eth_HasIP PASS CM_Eth_Connect PASS Total:14 Pass:14 Fail:0 N/A:0 ---Signal--- CM_SM_Services PASS CM_SM_ConnectedTechnologies PASS CM_SC_Services PASS CM_SM_EnabledTechnologiesPASS CM_SM_DefaultTechnology PASS CM_SC_ConnectedTechnologies PASS CM_SC_OfflineModePASS CM_SC_State PASS CM_SC_IPv4 PASS CM_SC_Favorite PASS CM_SC_DefaultTechnology PASS CM_SC_EnabledTechnologiesPASS CM_SS_IPv4 PASS CM_SS_Favorite PASS CM_SS_AutoConnectPASS CM_SM_State PASS Total:16 Pass:16 Fail:0 N/A:0 ---Advance--- CM_Advance_NTP PASS CM_Advance_3G_WiFi_Handover PASS CM_Advance_Monitors PASS CM_Advance_StaticIP_BT PASS CM_Advance_RegulatoryPASS
Re: Pre-configuring an ethernet interface
Hi, On Wed, 2013-01-09 at 18:07 -0800, Justin Maggard wrote: Personally, it doesn't matter to me if it's in the service list, or in some other list. All I really want to do is find which interfaces connman is controlling (connected or disconnected), and configure them whether or not I have the cable plugged in. It seems to me that there should be a way to do this, but I can't find a way currently. Currently only the plugged in ethernet interfaces or scanned wifi networks show up as services with the interface information information made available in the 'Ethernet' property. There is no list that would show all interfaces in the device. What use case do you have in mind? Cheers, Patrik ___ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman
Re: [PATCH] gsupplicant: Return max SSIDs to scan given by wpa_supplicant
Hi, On 08.01.2013 11:32, patrik.fl...@linux.intel.com wrote: From: Patrik Flykt patrik.fl...@linux.intel.com Although it seems wpa_supplicant can handle 4 SSIDs in version 0.7.x and 16 starting with 0.8.x, in practise this does not work. Thus return the value reported without relying on wpa_supplicant internals to handle the situation. --- At least the supplicant.c part should apply to almost any usable version of ConnMan. Please report if this fix works. Cheers, Patrik gsupplicant/gsupplicant.h |9 - gsupplicant/supplicant.c |3 --- 2 files changed, 12 deletions(-) diff --git a/gsupplicant/gsupplicant.h b/gsupplicant/gsupplicant.h index 790cfed..1b1fce2 100644 --- a/gsupplicant/gsupplicant.h +++ b/gsupplicant/gsupplicant.h @@ -138,15 +138,6 @@ struct _GSupplicantSSID { typedef struct _GSupplicantSSID GSupplicantSSID; -/* - * Max number of SSIDs that can be scanned. - * In wpa_s 0.7x the limit is 4. - * In wps_s 0.8 or later it is 16. - * The value is only used if wpa_supplicant does not return any max limit - * for number of scannable SSIDs. - */ -#define WPAS_MAX_SCAN_SSIDS 4 - We should probably set the max value to 1 if supplicant returns 0 or does not return any value, as otherwise we might have some issues when trying to autoconnect a hidden network. struct scan_ssid { unsigned char ssid[32]; uint8_t ssid_len; diff --git a/gsupplicant/supplicant.c b/gsupplicant/supplicant.c index d9dfdbb..9aa951d 100644 --- a/gsupplicant/supplicant.c +++ b/gsupplicant/supplicant.c @@ -764,9 +764,6 @@ unsigned int g_supplicant_interface_get_max_scan_ssids( if (interface == NULL) return 0; - if (interface-max_scan_ssids == 0) - return WPAS_MAX_SCAN_SSIDS; - return interface-max_scan_ssids; } Cheers, Jukka ___ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman