From: Mohamed Abbas mab...@linux.intel.com
Initial revision.
---
plugins/pptp.c | 278
1 files changed, 278 insertions(+), 0 deletions(-)
create mode 100644 plugins/pptp.c
diff --git a/plugins/pptp.c b/plugins/pptp.c
new file mode
From: Mohamed Abbas mab...@linux.intel.com
pppd will use this library to talk with connman vpn plugin.
Original patch comes from Mohamed Abbas.
Jukka Rissanen changed the pptp function prefix to ppp as
the plugin is used by both pptp and l2tp plugins.
---
scripts/libppp-plugin.c | 308
From: Mohamed Abbas mab...@linux.intel.com
Initial revision.
---
plugins/l2tp.c | 470
1 files changed, 470 insertions(+), 0 deletions(-)
create mode 100644 plugins/l2tp.c
diff --git a/plugins/l2tp.c b/plugins/l2tp.c
new file mode
From: Mohamed Abbas mab...@linux.intel.com
Modify connect-vpn script to handle pptp/l2tp connection.
---
test/connect-vpn | 18 ++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/test/connect-vpn b/test/connect-vpn
index a43c4cd..00fa717 100755
---
---
Makefile.plugins | 18 ++
configure.ac | 14 ++
2 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/Makefile.plugins b/Makefile.plugins
index 23524df..4e33524 100644
--- a/Makefile.plugins
+++ b/Makefile.plugins
@@ -137,6 +137,24 @@
---
Makefile.plugins | 19 +++
configure.ac | 20
2 files changed, 39 insertions(+), 0 deletions(-)
diff --git a/Makefile.plugins b/Makefile.plugins
index 4e33524..5b1225d 100644
--- a/Makefile.plugins
+++ b/Makefile.plugins
@@ -155,6 +155,25 @@
---
Makefile.plugins | 14 ++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/Makefile.plugins b/Makefile.plugins
index 5b1225d..3fdfac0 100644
--- a/Makefile.plugins
+++ b/Makefile.plugins
@@ -3,6 +3,8 @@ plugin_cflags = -fvisibility=hidden -I$(srcdir)/gdbus \
Without this patch the service connect timeout handler will
stop the provider service after two minutes.
---
plugins/l2tp.c | 37 ++---
1 files changed, 34 insertions(+), 3 deletions(-)
diff --git a/plugins/l2tp.c b/plugins/l2tp.c
index 0209b2f..84f4843 100644
---
plugins/l2tp.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins/l2tp.c b/plugins/l2tp.c
index 84f4843..6bfc725 100644
--- a/plugins/l2tp.c
+++ b/plugins/l2tp.c
@@ -157,6 +157,9 @@ static int l2tp_notify(DBusMessage *msg, struct
connman_provider *provider)
The ppp plugin now checks ppp authentication error and report it
to correct connman plugin.
---
scripts/libppp-plugin.c | 12 +++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/scripts/libppp-plugin.c b/scripts/libppp-plugin.c
index 74f6207..b0276c2 100644
---
---
plugins/pptp.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/plugins/pptp.c b/plugins/pptp.c
index ea0b599..7c62276 100644
--- a/plugins/pptp.c
+++ b/plugins/pptp.c
@@ -120,6 +120,9 @@ static int pptp_notify(DBusMessage *msg, struct
connman_provider *provider)
.
This patch is prepared by Jukka Rissanen and it contains
Mohamed Abbas original patch + fixes suggested by Daniel Wagner.
---
plugins/vpn.c | 116 +
plugins/vpn.h |4 ++
2 files changed, 88 insertions(+), 32 deletions(-)
diff --git
Without this patch the service connect timeout handler will
stop the provider service after two minutes.
---
plugins/pptp.c | 37 ++---
1 files changed, 34 insertions(+), 3 deletions(-)
diff --git a/plugins/pptp.c b/plugins/pptp.c
index 7c62276..fed322b 100644
---
README | 15 +++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/README b/README
index 0cec62b..532e327 100644
--- a/README
+++ b/README
@@ -41,6 +41,21 @@ To compile and install run:
make make install
+VPN
+===
+
+In order to compile pptp and l2tp
---
plugins/pptp.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/plugins/pptp.c b/plugins/pptp.c
index fed322b..465f2dc 100644
--- a/plugins/pptp.c
+++ b/plugins/pptp.c
@@ -55,7 +55,6 @@ struct {
int type;
} pptp_options[] = {
{ PPTP.User, user, NULL,
---
plugins/vpn.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/plugins/vpn.c b/plugins/vpn.c
index ee85dd7..8a51bda 100644
--- a/plugins/vpn.c
+++ b/plugins/vpn.c
@@ -158,6 +158,8 @@ vpn_exit:
connman_provider_set_index(provider, -1);
Provider name is already allocated in connman_provider_get() so we
must deallocate it before setting it again.
---
src/provider.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/provider.c b/src/provider.c
index 90f145d..5a1dffb 100644
--- a/src/provider.c
+++
If a task refuses to kill itself, then wait two secs before
trying again and if that does not help then forcefully kill it.
---
src/task.c | 44 +++-
1 files changed, 43 insertions(+), 1 deletions(-)
diff --git a/src/task.c b/src/task.c
index
---
TODO | 14 --
1 files changed, 0 insertions(+), 14 deletions(-)
diff --git a/TODO b/TODO
index 36f8240..7bf512d 100644
--- a/TODO
+++ b/TODO
@@ -153,20 +153,6 @@ Cellular
VPN
===
-- l2tp support
-
- Priority: Low
- Complexity: C2
- Owner: Mohamed Abbas
Hi Marcel,
On 07/20/2011 03:45 PM, Marcel Holtmann wrote:
Hi Jukka,
+static void send_cached_response(int sk, unsigned char *buf, int len,
+ const struct sockaddr *to, socklen_t tolen,
+ int protocol, int id, uint16_t answers)
+{
+
Hi Marcel,
On 07/21/2011 02:11 PM, Marcel Holtmann wrote:
Hi Jukka,
+ hdr = (void *) (buf + offset);
+
+ hdr-id = id;
+ hdr-qr = 1;
+ hdr-rcode = 0;
+ hdr-ancount = htons(answers);
+ hdr-nscount = 0;
+ hdr-arcount = 0;
I am still worried about
---
src/dnsproxy.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/dnsproxy.c b/src/dnsproxy.c
index 9701343..33206c0 100644
--- a/src/dnsproxy.c
+++ b/src/dnsproxy.c
@@ -215,8 +215,11 @@ static void send_response(int sk, unsigned char *buf, int
len,
.
Regards,
Jukka
Jukka Rissanen (2):
dnsproxy: Implement A and DNS record caching.
TODO: DNS caching
TODO |9 -
src/dnsproxy.c | 787 +++-
2 files changed, 778 insertions(+), 18 deletions
---
TODO |9 -
1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/TODO b/TODO
index 36f8240..22078c8 100644
--- a/TODO
+++ b/TODO
@@ -36,15 +36,6 @@ Core
credentials, ConnMan should be able to initiate a WiSPR authentication.
-- DNS caching
-
- Priority: Low
-
---
src/dnsproxy.c | 787 +++-
1 files changed, 778 insertions(+), 9 deletions(-)
diff --git a/src/dnsproxy.c b/src/dnsproxy.c
index 33206c0..1241a61 100644
--- a/src/dnsproxy.c
+++ b/src/dnsproxy.c
@@ -32,6 +32,7 @@
#include sys/types.h
Hi Daniel,
On 07/22/2011 12:43 PM, Daniel Wagner wrote:
Hi Jukka,
+ data-if_name = (char *)g_strdup(ifname);
I know this should not part of your patch, but I think we do not free
data-if_name. Or do I miss something?
cheers,
daniel
The free is done in patch #18.
So I did not
Hi Daniel,
On 07/22/2011 12:57 PM, Daniel Wagner wrote:
Hi Jukka,
On Wed, Jul 20, 2011 at 10:30:38AM +0300, Jukka Rissanen wrote:
From: Mohamed Abbasmab...@linux.intel.com
Initial revision.
---
plugins/pptp.c | 278
1 files changed
Hi Daniel,
On 07/22/2011 01:19 PM, Daniel Wagner wrote:
Hi Jukka,
@@ -187,14 +193,39 @@ static int l2tp_notify(DBusMessage *msg, struct
connman_provider *provider)
...
+
+ g_free(addressv4);
+ g_free(netmask);
+ g_free(gateway);
+ connman_ipaddress_free(ipaddress);
---
src/connman.h |3 +++
src/service.c | 36
2 files changed, 39 insertions(+), 0 deletions(-)
diff --git a/src/connman.h b/src/connman.h
index 408b809..e687502 100644
--- a/src/connman.h
+++ b/src/connman.h
@@ -552,6 +552,9 @@ void
Hi,
the following patchset fixes the problem in bug #21068
https://bugs.meego.com/show_bug.cgi?id=21068
We suggest the DHCP server to give us the IP address we had
last time. This is done by sending the DHCP REQUESTED IP option
to server.
Regards,
Jukka
Jukka Rissanen (4):
service: Remember
---
tools/dhcp-test.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/dhcp-test.c b/tools/dhcp-test.c
index 1fbf1f9..18527c8 100644
--- a/tools/dhcp-test.c
+++ b/tools/dhcp-test.c
@@ -170,7 +170,7 @@ int main(int argc, char *argv[])
timer = g_timer_new();
---
gdhcp/client.c | 22 ++
gdhcp/gdhcp.h |2 +-
2 files changed, 19 insertions(+), 5 deletions(-)
diff --git a/gdhcp/client.c b/gdhcp/client.c
index 0cf39cd..9ac7752 100644
--- a/gdhcp/client.c
+++ b/gdhcp/client.c
@@ -109,6 +109,7 @@ struct _GDHCPClient {
This fix sends the DHCP_REQUESTED_IP option to server.
Fixes BMC #21068
---
src/dhcp.c | 21 -
1 files changed, 20 insertions(+), 1 deletions(-)
diff --git a/src/dhcp.c b/src/dhcp.c
index 20fc599..0f93b95 100644
--- a/src/dhcp.c
+++ b/src/dhcp.c
@@ -42,6 +42,7 @@ struct
---
src/connman.h |3 +++
src/ipconfig.c | 40 +++-
2 files changed, 42 insertions(+), 1 deletions(-)
diff --git a/src/connman.h b/src/connman.h
index 408b809..d6acae4 100644
--- a/src/connman.h
+++ b/src/connman.h
@@ -257,6 +257,9 @@ unsigned char
I just noticed that this patch is not yet ready. I missed the
non-authoritative server case where the server ignores the request with
REQUESTED IP option. I will send a new version soonish.
Jukka
On 07/27/2011 01:58 PM, Jukka Rissanen wrote:
Hi,
changes in this v2 patch:
- The IP address
---
src/connman.h |3 +++
src/ipconfig.c | 40 +++-
2 files changed, 42 insertions(+), 1 deletions(-)
diff --git a/src/connman.h b/src/connman.h
index 681b29f..3fc5a8a 100644
--- a/src/connman.h
+++ b/src/connman.h
@@ -257,6 +257,9 @@ unsigned char
patchset fixes the problem in bug #21068
https://bugs.meego.com/show_bug.cgi?id=21068
We suggest the DHCP server to give us the IP address we had
last time. This is done by sending the DHCP REQUESTED IP option
to server.
Regards,
Jukka
Jukka Rissanen (2):
ipconfig: Remember last DHCP IP
This fix will cause the DHCP_REQUESTED_IP option to be sent to
the server.
Fixes BMC #21068
---
gdhcp/client.c| 27 +++
gdhcp/gdhcp.h |2 +-
src/dhcp.c| 23 ++-
tools/dhcp-test.c |2 +-
4 files changed, 47 insertions(+), 7
---
src/connman.h |3 +++
src/ipconfig.c | 40 +++-
2 files changed, 42 insertions(+), 1 deletions(-)
diff --git a/src/connman.h b/src/connman.h
index 681b29f..3fc5a8a 100644
--- a/src/connman.h
+++ b/src/connman.h
@@ -257,6 +257,9 @@ unsigned char
by sending the DHCP REQUESTED IP option
to server.
Regards,
Jukka
Jukka Rissanen (2):
ipconfig: Remember last DHCP IP address.
dhcp: Try to reuse the IP address we had last time.
gdhcp/client.c| 27 +++
gdhcp/gdhcp.h |2 +-
src/connman.h |3
This fix will cause the DHCP_REQUESTED_IP option to be sent to
the server.
Fixes BMC #21068
---
gdhcp/client.c| 27 +++
gdhcp/gdhcp.h |2 +-
src/dhcp.c| 15 ++-
tools/dhcp-test.c |2 +-
4 files changed, 39 insertions(+), 7
Hi Marcel,
On 07/28/2011 02:13 PM, Marcel Holtmann wrote:
Hi Jukka,
src/connman.h |3 +++
src/ipconfig.c | 40 +++-
2 files changed, 42 insertions(+), 1 deletions(-)
@@ -2169,9 +2198,18 @@ int __connman_ipconfig_save(struct connman_ipconfig
the dhcp. I had no
time to investigate this.
Regards,
Jukka
Jukka Rissanen (14):
provider: NULL pointer check.
vpn: Set authentication failure error code properly in provider.
service: Add function to get the ipconfig state.
network: Change the service disconnect state when necessary
---
src/provider.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/provider.c b/src/provider.c
index 9ae62cd..633ca40 100644
--- a/src/provider.c
+++ b/src/provider.c
@@ -879,6 +879,9 @@ int connman_provider_append_route(struct connman_provider
*provider,
const
This patch is needed so that we can catch the authentication
error from vpn driver and inform the failure to user.
---
plugins/vpn.c |5 +
plugins/vpn.h |1 +
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/plugins/vpn.c b/plugins/vpn.c
index e028b63..efeb959 100644
---
If we are in idle or failure states, then we should not change to
disconnect state when the service is disconnected. This is because we
were not connected in the first place.
---
src/network.c | 18 --
1 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/src/network.c
---
src/connman.h |3 +++
src/service.c | 13 +
2 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/src/connman.h b/src/connman.h
index 681b29f..ff3ea97 100644
--- a/src/connman.h
+++ b/src/connman.h
@@ -499,6 +499,9 @@ void __connman_service_set_string(struct
If the userconnect is not set, then informatation about authentication
errors cannot be reported by agent API.
---
src/service.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/service.c b/src/service.c
index 091233a..257fe3c 100644
--- a/src/service.c
+++
---
src/service.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/service.c b/src/service.c
index 257fe3c..d8fe898 100644
--- a/src/service.c
+++ b/src/service.c
@@ -3426,7 +3426,7 @@ static void report_error_cb(struct connman_service
*service,
}
}
---
src/service.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/service.c b/src/service.c
index d8fe898..fcbfc87 100644
--- a/src/service.c
+++ b/src/service.c
@@ -3437,9 +3437,6 @@ static int service_indicate_state(struct connman_service
*service)
If we have IPv6 state as DISCONNECT and IPv4 state as
ONLINE or READY then we are not disconnected.
---
src/service.c | 64 ++--
1 files changed, 16 insertions(+), 48 deletions(-)
diff --git a/src/service.c b/src/service.c
index
---
src/provider.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/provider.c b/src/provider.c
index 633ca40..bbd462e 100644
--- a/src/provider.c
+++ b/src/provider.c
@@ -143,7 +143,7 @@ static void provider_unregister(struct connman_provider
*provider)
struct
---
src/service.c | 28 +++-
1 files changed, 27 insertions(+), 1 deletions(-)
diff --git a/src/service.c b/src/service.c
index 9319323..34dbc79 100644
--- a/src/service.c
+++ b/src/service.c
@@ -3642,6 +3642,7 @@ int __connman_service_ipconfig_indicate_state(struct
The reference counting problems were clearly seen with VPN service.
---
src/connection.c |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/connection.c b/src/connection.c
index 4f3b3f8..38269d6 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -227,6 +227,7
---
src/provider.c |9 +
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/provider.c b/src/provider.c
index bbd462e..8f1862e 100644
--- a/src/provider.c
+++ b/src/provider.c
@@ -571,11 +571,12 @@ int __connman_provider_create_and_connect(DBusMessage
*msg)
---
src/network.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/network.c b/src/network.c
index ae82dc5..4a1e33c 100644
--- a/src/network.c
+++ b/src/network.c
@@ -1333,6 +1333,9 @@ int __connman_network_set_ipconfig(struct connman_network
*network,
enum
---
src/service.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/service.c b/src/service.c
index 34dbc79..dd75eba 100644
--- a/src/service.c
+++ b/src/service.c
@@ -4609,6 +4609,9 @@ struct connman_service
*__connman_service_lookup_from_network(struct
---
Hi,
this patch fixes possible memory alignment issue when dealing with
DNS packet. I will send the fixed DNS cache patch after this has
been commited.
Regards,
Jukka
src/dnsproxy.c | 85 +++
1 files changed, 48 insertions(+), 37
---
Hi,
this patch fixes possible memory alignment issue when dealing with
DNS packet. This version uses alignment macros from Bluez.
Jukka
include/types.h | 17 +++
src/dnsproxy.c | 134 +--
2 files changed, 98 insertions(+), 53
---
Hi,
this 3rd version fixes the alignment macro namespace issue.
Jukka
include/types.h | 16
src/dnsproxy.c | 114 +++
2 files changed, 97 insertions(+), 33 deletions(-)
diff --git a/include/types.h b/include/types.h
index
---
src/connection.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/connection.c b/src/connection.c
index 9ceefd3..3cd89eb 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -269,8 +269,8 @@ static void set_default_gateway(struct gateway_data *data,
---
src/connection.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/connection.c b/src/connection.c
index 3cd89eb..5ea3c9b 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -282,7 +282,8 @@ static void set_default_gateway(struct gateway_data *data,
---
src/service.c | 49 +
1 files changed, 45 insertions(+), 4 deletions(-)
diff --git a/src/service.c b/src/service.c
index 7cd21b5..4cb90fb 100644
--- a/src/service.c
+++ b/src/service.c
@@ -2920,6 +2920,8 @@ static DBusMessage
---
src/service.c | 28
1 files changed, 24 insertions(+), 4 deletions(-)
diff --git a/src/service.c b/src/service.c
index 4cb90fb..5f7242d 100644
--- a/src/service.c
+++ b/src/service.c
@@ -2912,6 +2912,22 @@ static DBusMessage *remove_service(DBusConnection
---
src/connman.h |1 +
src/service.c | 19 +++
2 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/src/connman.h b/src/connman.h
index 6e68c99..3d9f459 100644
--- a/src/connman.h
+++ b/src/connman.h
@@ -559,6 +559,7 @@ void __connman_service_notify(struct
---
src/service.c | 16 ++--
1 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/src/service.c b/src/service.c
index e92412e..1382705 100644
--- a/src/service.c
+++ b/src/service.c
@@ -3297,9 +3297,21 @@ static gint service_compare(gconstpointer a,
gconstpointer b,
Fixes BMC#22540
---
src/connection.c | 93 -
1 files changed, 91 insertions(+), 2 deletions(-)
diff --git a/src/connection.c b/src/connection.c
index 84e3ab4..ef39ff2 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -326,6 +326,70 @@
Hi,
attached patches do minor cleanup for device.c and wifi.c
Regards,
Jukka
Jukka Rissanen (2):
device: Device scan function made private.
wifi: Remove not used code.
plugins/wifi.c | 14 --
src/connman.h |1 -
src/device.c |4 ++--
3 files changed, 2 insertions
The __connman_device_scan() is now static as it is only
called from device.c
---
src/connman.h |1 -
src/device.c |4 ++--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/connman.h b/src/connman.h
index 17add6d..9ed9d24 100644
--- a/src/connman.h
+++ b/src/connman.h
@@
---
plugins/wifi.c | 14 --
1 files changed, 0 insertions(+), 14 deletions(-)
diff --git a/plugins/wifi.c b/plugins/wifi.c
index 469ec67..f3ea836 100644
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -764,26 +764,12 @@ static void interface_removed(GSupplicantInterface
*interface)
---
src/service.c | 49 +
1 files changed, 45 insertions(+), 4 deletions(-)
diff --git a/src/service.c b/src/service.c
index fc90934..b8f1c70 100644
--- a/src/service.c
+++ b/src/service.c
@@ -2920,6 +2920,8 @@ static DBusMessage
properly set.
Regards,
Jukka
Jukka Rissanen (6):
service: Ignore ipconfig that is not active when moving service.
service: Allow ready service to be moved before online one.
service: Allow state downgrade from online to ready.
service: Prefer online state over ready when comparing services
---
src/connman.h |1 +
src/service.c | 19 +++
2 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/src/connman.h b/src/connman.h
index 17add6d..d74e653 100644
--- a/src/connman.h
+++ b/src/connman.h
@@ -560,6 +560,7 @@ void __connman_service_notify(struct
---
test/service-move-before | 27 +++
1 files changed, 27 insertions(+), 0 deletions(-)
create mode 100755 test/service-move-before
diff --git a/test/service-move-before b/test/service-move-before
new file mode 100755
index 000..f1fddd1
--- /dev/null
+++
---
src/service.c | 28
1 files changed, 24 insertions(+), 4 deletions(-)
diff --git a/src/service.c b/src/service.c
index b8f1c70..2819d51 100644
--- a/src/service.c
+++ b/src/service.c
@@ -2912,6 +2912,22 @@ static DBusMessage *remove_service(DBusConnection
Fixes BMC#22540
---
src/connection.c | 90 -
1 files changed, 88 insertions(+), 2 deletions(-)
diff --git a/src/connection.c b/src/connection.c
index 84e3ab4..3a6a116 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -326,6 +326,70 @@
Hi,
here is the fast connect patches sent again. The patches
consists of Mohamed's original patches + some fixes to
make the fast connect work properly.
The patches also require supplicant changes (patch sent to
supplicant mailing list 23 Aug).
Jukka
Jukka Rissanen (4):
gsupplicant: Fix
From: Mohamed Abbas mohamed.ab...@intel.com
Get the frequncy of gsupplicant network on connman network
creation, and always save the frequency of the wifi service.
---
gsupplicant/gsupplicant.h |1 +
gsupplicant/supplicant.c | 10 ++
plugins/wifi.c|3 +++
From: Mohamed Abbas mohamed.ab...@intel.com
---
gsupplicant/gsupplicant.h |2 ++
gsupplicant/supplicant.c | 18 +-
2 files changed, 19 insertions(+), 1 deletions(-)
diff --git a/gsupplicant/gsupplicant.h b/gsupplicant/gsupplicant.h
index a634141..5f7adc0 100644
---
---
gsupplicant/gsupplicant.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gsupplicant/gsupplicant.h b/gsupplicant/gsupplicant.h
index 059837f..93e1c8e 100644
--- a/gsupplicant/gsupplicant.h
+++ b/gsupplicant/gsupplicant.h
@@ -135,7 +135,7 @@ typedef struct
From: Mohamed Abbas mohamed.ab...@intel.com
---
gsupplicant/gsupplicant.h | 16
gsupplicant/supplicant.c | 134 ++--
plugins/wifi.c| 217 -
3 files changed, 357 insertions(+), 10 deletions(-)
diff --git
---
src/device.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/device.c b/src/device.c
index 6b8e873..6e84bc4 100644
--- a/src/device.c
+++ b/src/device.c
@@ -106,7 +106,7 @@ static void reset_scan_trigger(struct connman_device
*device)
} else
The wifi_scan_fast() is already called in connman_device_set_powered()
so no need to call it again immediately.
---
plugins/wifi.c |2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/plugins/wifi.c b/plugins/wifi.c
index b9e30db..c0607f5 100644
--- a/plugins/wifi.c
+++
---
plugins/wifi.c |9 ++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/plugins/wifi.c b/plugins/wifi.c
index c0607f5..410095d 100644
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -506,13 +506,16 @@ static int wifi_scan_fast(struct connman_device *device)
if
---
src/connman.h |3 +++
src/service.c | 13 +
2 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/src/connman.h b/src/connman.h
index 17add6d..6b2216a 100644
--- a/src/connman.h
+++ b/src/connman.h
@@ -502,6 +502,9 @@ void __connman_service_set_string(struct
---
src/provider.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/provider.c b/src/provider.c
index 9ae62cd..633ca40 100644
--- a/src/provider.c
+++ b/src/provider.c
@@ -879,6 +879,9 @@ int connman_provider_append_route(struct connman_provider
*provider,
const
If we have IPv6 state as DISCONNECT and IPv4 state as
ONLINE or READY then we are not disconnected.
---
src/service.c | 64 ++--
1 files changed, 16 insertions(+), 48 deletions(-)
diff --git a/src/service.c b/src/service.c
index
---
src/service.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/service.c b/src/service.c
index 7ec4a30..089a715 100644
--- a/src/service.c
+++ b/src/service.c
@@ -3501,9 +3501,6 @@ static int service_indicate_state(struct connman_service
*service)
---
src/service.c | 28 +++-
1 files changed, 27 insertions(+), 1 deletions(-)
diff --git a/src/service.c b/src/service.c
index 2aebff2..a081b79 100644
--- a/src/service.c
+++ b/src/service.c
@@ -3711,6 +3711,7 @@ int __connman_service_ipconfig_indicate_state(struct
---
src/provider.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/provider.c b/src/provider.c
index 633ca40..bbd462e 100644
--- a/src/provider.c
+++ b/src/provider.c
@@ -143,7 +143,7 @@ static void provider_unregister(struct connman_provider
*provider)
struct
---
src/network.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/network.c b/src/network.c
index 31e7eaa..b8175a5 100644
--- a/src/network.c
+++ b/src/network.c
@@ -1330,6 +1330,9 @@ int __connman_network_set_ipconfig(struct connman_network
*network,
enum
---
src/provider.c |9 +
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/provider.c b/src/provider.c
index bbd462e..8f1862e 100644
--- a/src/provider.c
+++ b/src/provider.c
@@ -571,11 +571,12 @@ int __connman_provider_create_and_connect(DBusMessage
*msg)
The reference counting problems were clearly seen with VPN service.
---
src/connection.c |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/connection.c b/src/connection.c
index 84e3ab4..6323401 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -229,6 +229,7
Hi,
v2 contains the fixes to comments by Samuel.
Jukka
Mohamed Abbas (5):
service: Add frequency support to service.
wifi: Add support to multi scan type.
gsupplicant: Add support to append char ** entries to dbus dict.
gsupplicant: Get the number of scan ssids from supplicant.
From: Mohamed Abbas mohamed.ab...@intel.com
Allow multi scan type for fast connect.
Scanning request removed from interface_added() because it is already
called in connman_device_set_powered() so no need to call it again
immediately (fix by Jukka Rissanen jukka.rissa...@linux.intel.com
From: Mohamed Abbas mohamed.ab...@intel.com
Get the frequncy of gsupplicant network on connman network
creation, and always save the frequency of the wifi service.
---
gsupplicant/gsupplicant.h |1 +
gsupplicant/supplicant.c | 10 ++
plugins/wifi.c|3 +++
From: Mohamed Abbas mohamed.ab...@intel.com
---
gsupplicant/gsupplicant.h |2 ++
gsupplicant/supplicant.c | 18 +-
2 files changed, 19 insertions(+), 1 deletions(-)
diff --git a/gsupplicant/gsupplicant.h b/gsupplicant/gsupplicant.h
index 8e3690b..1419157 100644
---
From: Mohamed Abbas mohamed.ab...@intel.com
Quite many fixes by Jukka Rissanen jukka.rissa...@linux.intel.com
---
gsupplicant/gsupplicant.h | 16
gsupplicant/supplicant.c | 135 -
plugins/wifi.c| 206
This is needed as the default routes are not set properly
if we allow a service to be moved before a VPN service.
---
Hi,
it would be nice to allow a service to be moved before VPN service
but unfortunately it would require bigger changes in connection.c
so atm just disallow this.
Jukka
We must not read ipconfig data from file if there is already a valid
address that was set by service set_property().
Fixes BMC#22767
---
Hi,
the following patches fix the bug https://bugs.meego.com/show_bug.cgi?id=22767
where user is unable to set manual ipaddress. The bug is about IPv6 but
the
201 - 300 of 1860 matches
Mail list logo