Hi,
I didn't want dnsproxy. I already have a DNS service on my device, so
I want that the nameserver configured in the final device by DHCP set
to the same ip as the default gateway
Is that possible?
Can you try setting the FallbackNameservers in /etc/connman/main.conf?
Tomasz
Hi,
>>Can you try setting the FallbackNameservers in /etc/connman/main.conf?
>
FallBackNameserver are used only if you don't have any other dns from
other connection like 3g. Correct?
That's correct, but it is also used by default (if present) as the dns
settings when tethering.
Have a loo
Hi,
FallBackNameserver are used only if you don't have any other dns from
>>other connection like 3g. Correct?
>
>
>That's correct, but it is also used by default (if present) as the dns
>settings when tethering.
>Have a look at src/tethering.c from line 234 to 261
>
I was thinking that it's o
Hi,
+++ b/src/service.c
@@ -4022,8 +4022,10 @@ static DBusMessage *connect_service(DBusConnection *conn,
if (err == -EINPROGRESS)
return NULL;
- dbus_message_unref(service->pending);
- service->pending = NULL;
+ if (service->pending) {
+ dbus
Hi
#0 __GI_raise (sig=6) at raise.c:67
#1 __GI_abort () at abort.c:91
#2 _dbus_abort () at dbus-sysdeps.c:94
#3 _dbus_warn_check_failed (format=0x403492c4 "arguments to %s() were
incorrect, assertion \"%s\" failed in file %s line %d.\nThis is
normally a bug in some application using the D-B
Hi,
- connman_agent_cancel(service);
>+ __connman_wispr_stop(service);
Just adding __connman_wispr_stop() should do the trick here.
Tomasz
___
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman
Hi,
- connman_agent_cancel(service);
>+__connman_wispr_stop(service);
Just adding __connman_wispr_stop() should do the trick here.
It could. However, if connman_agent_cancel() must be invoked every
time __connman_wispr_stop() is called then it should be impossible to
call __connman_
Hi Pasi,
Minor comments,
Sometimes captive portal system might return these status codes
when continuing with g_web_request_get after the initial 302 status
code. Let the browser handle these cases.
000 is seen with http://www.hotspotsystem.com/
505 is seen with http://nextmesh.net/
Special t
Thanks Pasi, ACK from me.
Tomasz
___
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman
Hi Pasi,
+ case 505:
>>+ DBG("HTTP version not supported, hand over to the browser");
>Anyway, though handling this status 505 like you propose is fine, it
>would be great to know what/where/how made this status to fix gweb then
>(if there is something to be fixed there).
I
As soon as p2p technology is present, whether it is enabled or not, it
will be possible to register and un-register P2P Peer services. These
will be served once p2p technology gets enabled.
When scanning for Peers is possible, Peer objects will show the proposed
services of those if some are pres
Hi Daniel,
Hi Tomasz,
On 07/04/2014 03:05 PM, Tomasz Bursztyka wrote:
As soon as p2p technology is present, whether it is enabled or not, it
will be possible to register and un-register P2P Peer services. These
will be served once p2p technology gets enabled.
When scanning for Peers is
Hi,
Hello, found out about connman after having some problems with
connecting to a network with wicd, and it's awesome.
Since I liked it so much I started working on a Ruby library to
interface with the daemon and a bundled fancy CLI.
There is already (with newer version of connman) a nice CL
Hi,
What about hidden SSIDs? Is a single hidden network shown in the list?
If not how can a user understand which one is the one he wants to
connect to?
ConnMan make services based on SSID and security specs (wep, wpa/wpa2,
etc...).
So if 2 AP shares the same SSID but with different security
Hi,
Thanks Grant for the reply. The config option sounds right to me as a
general solution. Connman folks, thoughts?
I don't think we will ever put this PassPhrase property back again.
And we don't do #ifdef here and there for small configurable parts.
Too few real use cases, which could be t
Too few real use cases, which could be themselves be solved out of
ConnMan.
too many "be" in this sentence...
___
connman mailing list
connman@connman.net
https://lists.connman.net/mailman/listinfo/connman
dhcp_invalidate is called it no_lease_cb, which one actually starts the
retry callback and the ipv4ll task, thus this is bogus to remove them
right after.
---
src/dhcp.c | 8
1 file changed, 8 deletions(-)
diff --git a/src/dhcp.c b/src/dhcp.c
index bc47c8a..3cacb6a 100644
--- a/src/dhcp.
As soon as p2p technology is present, whether it is enabled or not, it
will be possible to register and un-register P2P Peer services. These
will be served once p2p technology gets enabled.
When scanning for Peers is possible, Peer objects will show the proposed
services of those if some are prese
This patch reverts part of a8e5f414f68defa2e07d5a38d56c283ab3036826.
dhcp_invalidate is called by no_lease_cb. This one actually starts the
retry callback and the ipv4ll task, thus this is bogus to remove them
right after in dhcp_invalidate.
---
src/dhcp.c | 8
1 file changed, 8 deletion
Hi,
Nack on that patch, see below.
From: Pasi Sjöholm
Sometimes captive portal intercepts status_url-query without doing
302-redirect. It makes no sense to request browser with NULL as an url,
therefore we need to use the status_url.
---
src/wispr.c | 13 +++--
1 file changed, 11 i
Hi Grant,
As for use cases, I believe Drew and I have just presented a very real world
and credible use case. This use case, when measured in shipping unit volumes
that likely continues to make it one of the largest single (and possibly
aggregate) connman implementations, is all the more real
ations though I did not
get
any error while testing.
(*: ConnMan sets the go intent to 7 by default, so for testing: make sure the
other end as a higher go intent. At least for now.)
Tomasz Bursztyka (32):
gsupplicant: Use StopFind instead of Flush to detect P2P support
gsupplicant: Check w
These signals are sent if only the group is the GO. This will let us
know which peer successfully joined our group and thus - later - will
help to declare a peer as being connected (even though we did not
specifically asked to be connected to it).
---
gsupplicant/supplicant.c | 59
This will be used to request the proper wps method when connecting to
the peer.
---
gsupplicant/gsupplicant.h | 4
gsupplicant/supplicant.c | 28
2 files changed, 32 insertions(+)
diff --git a/gsupplicant/gsupplicant.h b/gsupplicant/gsupplicant.h
index 7a3c843.
The wifi plugin will use this function to specify the P2P device name,
and will set it according to the hostname.
---
gsupplicant/gsupplicant.h | 2 ++
gsupplicant/supplicant.c | 60 +++
2 files changed, 62 insertions(+)
diff --git a/gsupplicant/gsupp
These handlers make the link between the requested connection and the
interface of the group instanciated in case of a successful group
negociation.
---
gsupplicant/gsupplicant.h | 5 ++
gsupplicant/supplicant.c | 174 ++
2 files changed, 179 insertio
This is an important signal as it will clearly help to tell to which
group this peer belongs, and thus to be able to determine if this peer
is connected or not.
---
gsupplicant/supplicant.c | 97
1 file changed, 97 insertions(+)
diff --git a/gsuppl
Wpa_supplicant might stop without signaling the peer to be lost, thus
when cleaning up it's up to remove_peer() to call peer_lost callback so
the wifi plugin can handle it properly.
---
gsupplicant/supplicant.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gsupplicant/suppl
This is mandatory for 2 reasons:
- to get the current connecting peer's group relationship
- this provides also the peer's connection interface: the group
interface (if different than the originated connection interface)
will help the wifi plugin to set the connection device to the Peer
objec
These will let the wifi plugin know whether the peer could connect, is
connected or has disconnected.
---
gsupplicant/gsupplicant.h | 12
gsupplicant/supplicant.c | 38 ++
2 files changed, 50 insertions(+)
diff --git a/gsupplicant/gsupplicant.h b/
Flush implies a full reset of P2P status on the interface. When this is
not a problem on a normal interface, it actually is one on a
sub-interface created when connecting to a P2P peer.
---
gsupplicant/supplicant.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gsuppli
Connection interface should be the master wifi interface.
Disconnection interface should be the p2p wifi interface createn during
connection.
---
gsupplicant/gsupplicant.h | 20 +-
gsupplicant/supplicant.c | 155 +-
2 files changed, 172 insertions(
Thus it is possible now to get peer's IPv4 ipconfig:
- the IP address
- the netmask
- and the method
---
src/peer.c | 28 +++-
1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/src/peer.c b/src/peer.c
index 80120fc..0ff312f 100644
--- a/src/peer.c
+++ b/src/peer
Currently, only the peer as a client is supported. As a P2P peer is
always in IPv4 via DHCP there is just one ipconfig object, only handled
through dhcpv4.
---
plugins/wifi.c | 5 ++-
src/peer.c | 120 +
2 files changed, 124 insertions(
Thus the peer will use the proper device when running dhcp.
---
plugins/wifi.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/plugins/wifi.c b/plugins/wifi.c
index 0d5d51d..ba4ce66 100644
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -2361,6 +2361,21 @@ static void peer_change
This will be useful on a proper peer_changed() event to finally make the
relation of a Peer and the newly instanciated interface, and thus the
proper iface index to work with when running dhcp.
---
gsupplicant/gsupplicant.h | 1 +
gsupplicant/supplicant.c | 8
2 files changed, 9 insertio
This will be useful for the wifi plugin, and then gsupplicant, to
retrieve the proper peer wpa_supplicant object path when connecting or
disconnecting.
---
include/peer.h | 1 +
src/peer.c | 8
2 files changed, 9 insertions(+)
diff --git a/include/peer.h b/include/peer.h
index e069f4
- Peer objects can send a PropertiesChanged signal, thus handling it
- Fixing an issues on GroupFinished (my mistake actually)
- p2p_peer get the up-to-date properties of the peer object
---
test/p2p-on-supplicant | 33 +++--
1 file changed, 23 insertions(+), 10 deletio
Fixes current return value handling which does the contrary.
---
plugins/wifi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/wifi.c b/plugins/wifi.c
index 3c8f26f..9afff4e 100644
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -1897,7 +1897,7 @@ static void p2p_support(
Use the same command as for service, discinction will be made against
object's name: starting with peer_ or service_.
---
client/commands.c | 33 ++---
client/dbus_helpers.c | 2 +-
2 files changed, 23 insertions(+), 12 deletions(-)
diff --git a/client/commands.c
This will be used on asynchronous call. E.g. DBus call Connect() etc...
---
include/peer.h | 12 +-
plugins/wifi.c | 4 +++-
src/peer.c | 71 +-
3 files changed, 65 insertions(+), 22 deletions(-)
diff --git a/include/peer.h b/in
This will be necessary for connecting or disconnecting a peer.
---
include/peer.h | 8
src/peer.c | 20
2 files changed, 28 insertions(+)
diff --git a/include/peer.h b/include/peer.h
index 0304438..5c1d1ec 100644
--- a/include/peer.h
+++ b/include/peer.h
@@ -43,
Setting it always as the hostname.
---
plugins/wifi.c | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/plugins/wifi.c b/plugins/wifi.c
index 9afff4e..7efaa33 100644
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -54,6 +54,7 @@
#include
#include
#include
+#inclu
The dhcp callback had already a pointer for such user data, but it could
not be set anywhere. Thus adding an extra parameter to
__connman_dhcp_start so it is possible to provide such user_data.
---
src/connman.h | 5 +++--
src/dhcp.c| 11 ---
src/network.c | 5 +++--
3 files changed,
This implement the logic to link the core to gsupplicant against peer
connection and disconnection.
---
plugins/wifi.c | 83 +-
1 file changed, 82 insertions(+), 1 deletion(-)
diff --git a/plugins/wifi.c b/plugins/wifi.c
index 7efaa33..03719
Apply state changing depending on current status and events.
---
plugins/wifi.c | 121 +++--
1 file changed, 110 insertions(+), 11 deletions(-)
diff --git a/plugins/wifi.c b/plugins/wifi.c
index c1b4cfd..0d5d51d 100644
--- a/plugins/wifi.c
+++ b
A peer might get connected through a newly created specific device, thus
the ipconfig needs to be aware of its index so it will set the ip
address on the right interface.
---
include/peer.h | 2 ++
src/peer.c | 17 +
2 files changed, 19 insertions(+)
diff --git a/include/peer
Be sure the current peer is registered and not part of removed peers.
---
src/peer.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/peer.c b/src/peer.c
index 145ab78..a2c8eeb 100644
--- a/src/peer.c
+++ b/src/peer.c
@@ -126,12 +126,15 @@ static void append_existing_and
This will permit to change the peer's state relevantly either from the
wifi plugin or after configuring the ipconfig which will come later.
Currently only connect and disconnect basics are handled.
---
include/peer.h | 12
src/peer.c | 87 +
Thus dhcp code will be usable in peer, where there is no service nor
network objects.
---
src/connman.h | 8 +-
src/dhcp.c| 364 +-
src/network.c | 19 ++-
3 files changed, 203 insertions(+), 188 deletions(-)
diff --git a/src/connman.
When connecting with P2P, a new wifi device will be created and detected
by both connman and wpa_supplicant. This last one will automatically
create an interface out of it, thus the need to hold connman creating it
itself through the DBus API.
Instead, the device is put into a pending device list,
This function, not directly related to service, is used for instance
in network.c and will be used elsewhere when implementing more peer
logic.
---
Makefile.am| 5 +++--
include/dbus.h | 3 +++
src/connman.h | 2 --
src/dbus.c | 32
src/network.c | 2
This will be necessary for a connection/disconnection request to work in
the relevant wifi plugin.
---
include/peer.h | 6 +-
plugins/wifi.c | 9 +++--
src/peer.c | 43 ---
3 files changed, 48 insertions(+), 10 deletions(-)
diff --git a/includ
As for service, it keeps track of pending DBus calls and so on.
---
src/peer.c | 118 +++--
1 file changed, 116 insertions(+), 2 deletions(-)
diff --git a/src/peer.c b/src/peer.c
index 0ff312f..0dcb970 100644
--- a/src/peer.c
+++ b/src/peer.
Hi Daniel,
+++ b/gsupplicant/gsupplicant.h
@@ -78,6 +78,8 @@ extern "C" {
#define G_SUPPLICANT_WPS_PIN(1 << 2)
#define G_SUPPLICANT_WPS_REGISTRAR (1 << 3)
+#define G_SUPPLICANT_WPS_CONFIG_PBC 0x0080
+
Is there a special reason it is not like the defines above (1 << x)?
Hi Daniel,
+static void p2p_device_config_result(const char *error,
+ DBusMessageIter *iter, void *user_data)
+{
+ struct supplicant_p2p_dev_config *config = user_data;
+
+ if (error)
+ SUPPLICANT_DBG("Unable to set P2P Device confi
Hi Daniel,
GSupplicantInterface *interface;
char *path;
unsigned char device_address[6];
+ unsigned char iface_address[6];
I know it is too late but I would prefer a define ETH_ALEN from if_ether.h
Not too late no :)
I'll change device_address too.
+
Hi Daniel,
+int __connman_dhcp_start(struct connman_ipconfig *ipconfig,
>+ struct connman_network *opt_network, dhcp_cb callback);
I don't know if we should encode if a parameter is optional. Looks a bit
strange.
Looks ugly actually yes
I'll see for separating network/ipco
o it should not
generate
collateral damage. Only patches 19-20 have some implications though I did not
get
any error while testing.
(*: ConnMan sets the go intent to 7 by default, so for testing: make sure the
other end as a higher go intent. At least for now.)
Tomasz Bursztyka (32):
gsupplican
The wifi plugin will use this function to specify the P2P device name,
and will set it according to the hostname.
---
gsupplicant/gsupplicant.h | 2 ++
gsupplicant/supplicant.c | 62 +++
2 files changed, 64 insertions(+)
diff --git a/gsupplicant/gsupp
Wpa_supplicant might stop without signaling the peer to be lost, thus
when cleaning up it's up to remove_peer() to call peer_lost callback so
the wifi plugin can handle it properly.
---
gsupplicant/supplicant.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gsupplicant/suppl
This will be used to request the proper wps method when connecting to
the peer.
---
gsupplicant/gsupplicant.h | 4
gsupplicant/supplicant.c | 28
2 files changed, 32 insertions(+)
diff --git a/gsupplicant/gsupplicant.h b/gsupplicant/gsupplicant.h
index 7a3c843.
Flush implies a full reset of P2P status on the interface. When this is
not a problem on a normal interface, it actually is one on a
sub-interface created when connecting to a P2P peer.
---
gsupplicant/supplicant.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gsuppli
This is an important signal as it will clearly help to tell to which
group this peer belongs, and thus to be able to determine if this peer
is connected or not.
---
gsupplicant/supplicant.c | 97
1 file changed, 97 insertions(+)
diff --git a/gsuppl
Connection interface should be the master wifi interface.
Disconnection interface should be the p2p wifi interface createn during
connection.
---
gsupplicant/gsupplicant.h | 20 +-
gsupplicant/supplicant.c | 155 +-
2 files changed, 172 insertions(
This is mandatory for 2 reasons:
- to get the current connecting peer's group relationship
- this provides also the peer's connection interface: the group
interface (if different than the originated connection interface)
will help the wifi plugin to set the connection device to the Peer
objec
These signals are sent if only the group is the GO. This will let us
know which peer successfully joined our group and thus - later - will
help to declare a peer as being connected (even though we did not
specifically asked to be connected to it).
---
gsupplicant/supplicant.c | 59
These handlers make the link between the requested connection and the
interface of the group instanciated in case of a successful group
negociation.
---
gsupplicant/gsupplicant.h | 5 ++
gsupplicant/supplicant.c | 166 --
2 files changed, 167 insertio
This will be necessary for a connection/disconnection request to work in
the relevant wifi plugin.
---
include/peer.h | 6 +-
plugins/wifi.c | 9 +++--
src/peer.c | 43 ---
3 files changed, 48 insertions(+), 10 deletions(-)
diff --git a/includ
Setting it always as the hostname.
---
plugins/wifi.c | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/plugins/wifi.c b/plugins/wifi.c
index 9afff4e..7efaa33 100644
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -54,6 +54,7 @@
#include
#include
#include
+#inclu
When connecting with P2P, a new wifi device will be created and detected
by both connman and wpa_supplicant. This last one will automatically
create an interface out of it, thus the need to hold connman creating it
itself through the DBus API.
Instead, the device is put into a pending device list,
Apply state changing depending on current status and events.
---
plugins/wifi.c | 121 +++--
1 file changed, 110 insertions(+), 11 deletions(-)
diff --git a/plugins/wifi.c b/plugins/wifi.c
index c1b4cfd..0d5d51d 100644
--- a/plugins/wifi.c
+++ b
Fixes current return value handling which does the contrary.
---
plugins/wifi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/wifi.c b/plugins/wifi.c
index 3c8f26f..9afff4e 100644
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -1897,7 +1897,7 @@ static void p2p_support(
Be sure the current peer is registered and not part of removed peers.
---
src/peer.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/peer.c b/src/peer.c
index 145ab78..a2c8eeb 100644
--- a/src/peer.c
+++ b/src/peer.c
@@ -126,12 +126,15 @@ static void append_existing_and
Thus it is possible now to get peer's IPv4 ipconfig:
- the IP address
- the netmask
- and the method
---
src/peer.c | 28 +++-
1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/src/peer.c b/src/peer.c
index 80120fc..0ff312f 100644
--- a/src/peer.c
+++ b/src/peer
The dhcp callback had already a pointer for such user data, but it could
not be set anywhere. Thus adding an extra parameter to
__connman_dhcp_start so it is possible to provide such user_data.
---
src/connman.h | 3 ++-
src/dhcp.c| 11 ---
src/network.c | 5 +++--
3 files changed, 1
A peer might get connected through a newly created specific device, thus
the ipconfig needs to be aware of its index so it will set the ip
address on the right interface.
---
include/peer.h | 2 ++
src/peer.c | 17 +
2 files changed, 19 insertions(+)
diff --git a/include/peer
- Peer objects can send a PropertiesChanged signal, thus handling it
- Fixing an issues on GroupFinished (my mistake actually)
- p2p_peer get the up-to-date properties of the peer object
---
test/p2p-on-supplicant | 33 +++--
1 file changed, 23 insertions(+), 10 deletio
This will be useful for the wifi plugin, and then gsupplicant, to
retrieve the proper peer wpa_supplicant object path when connecting or
disconnecting.
---
include/peer.h | 1 +
src/peer.c | 8
2 files changed, 9 insertions(+)
diff --git a/include/peer.h b/include/peer.h
index e069f4
Thus the peer will use the proper device when running dhcp.
---
plugins/wifi.c | 15 +++
1 file changed, 15 insertions(+)
diff --git a/plugins/wifi.c b/plugins/wifi.c
index 0d5d51d..ba4ce66 100644
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -2361,6 +2361,21 @@ static void peer_change
These will let the wifi plugin know whether the peer could connect, is
connected or has disconnected.
---
gsupplicant/gsupplicant.h | 12 +++
gsupplicant/supplicant.c | 54 +++
2 files changed, 66 insertions(+)
diff --git a/gsupplicant/gsupplic
This implement the logic to link the core to gsupplicant against peer
connection and disconnection.
---
plugins/wifi.c | 83 +-
1 file changed, 82 insertions(+), 1 deletion(-)
diff --git a/plugins/wifi.c b/plugins/wifi.c
index 7efaa33..03719
Currently, only the peer as a client is supported. As a P2P peer is
always in IPv4 via DHCP there is just one ipconfig object, only handled
through dhcpv4.
---
plugins/wifi.c | 5 ++-
src/peer.c | 120 +
2 files changed, 124 insertions(
Thus dhcp code will be usable in peer, where there is no service nor
network objects.
---
src/connman.h | 8 +-
src/dhcp.c| 368 ++
src/network.c | 19 ++-
3 files changed, 208 insertions(+), 187 deletions(-)
diff --git a/src/connman.
As for service, it keeps track of pending DBus calls and so on.
---
src/peer.c | 118 +++--
1 file changed, 116 insertions(+), 2 deletions(-)
diff --git a/src/peer.c b/src/peer.c
index 0ff312f..a532a57 100644
--- a/src/peer.c
+++ b/src/peer.
This will be necessary for connecting or disconnecting a peer.
---
include/peer.h | 8
src/peer.c | 20
2 files changed, 28 insertions(+)
diff --git a/include/peer.h b/include/peer.h
index 0304438..5c1d1ec 100644
--- a/include/peer.h
+++ b/include/peer.h
@@ -43,
This will be useful on a proper peer_changed() event to finally make the
relation of a Peer and the newly instanciated interface, and thus the
proper iface index to work with when running dhcp.
---
gsupplicant/gsupplicant.h | 1 +
gsupplicant/supplicant.c | 8
2 files changed, 9 insertio
Use the same command as for service, discinction will be made against
object's name: starting with peer_ or service_.
---
client/commands.c | 33 ++---
client/dbus_helpers.c | 2 +-
2 files changed, 23 insertions(+), 12 deletions(-)
diff --git a/client/commands.c
This function, not directly related to service, is used for instance
in network.c and will be used elsewhere when implementing more peer
logic.
---
Makefile.am| 5 +++--
include/dbus.h | 3 +++
src/connman.h | 2 --
src/dbus.c | 32
src/network.c | 2
This will be used on asynchronous call. E.g. DBus call Connect() etc...
---
include/peer.h | 12 +-
plugins/wifi.c | 4 +++-
src/peer.c | 71 +-
3 files changed, 65 insertions(+), 22 deletions(-)
diff --git a/include/peer.h b/in
This will permit to change the peer's state relevantly either from the
wifi plugin or after configuring the ipconfig which will come later.
Currently only connect and disconnect basics are handled.
---
include/peer.h | 12
src/peer.c | 87 +
This will be used to request the proper wps method when connecting to
the peer.
---
gsupplicant/gsupplicant.h | 4
gsupplicant/supplicant.c | 32
2 files changed, 36 insertions(+)
diff --git a/gsupplicant/gsupplicant.h b/gsupplicant/gsupplicant.h
index 7a3c
This will be used to request the proper wps method when connecting to
the peer.
---
gsupplicant/gsupplicant.h | 4
gsupplicant/supplicant.c | 32
2 files changed, 36 insertions(+)
diff --git a/gsupplicant/gsupplicant.h b/gsupplicant/gsupplicant.h
index 7a3c
ntent. At least for now.)
Tomasz Bursztyka (32):
gsupplicant: Use StopFind instead of Flush to detect P2P support
gsupplicant: Check whether or not a peer support WPS PBC
gsupplicant: Add a function to set the P2P device name
gsupplicant: Always call peer_lost callback when removing a pee
Wpa_supplicant might stop without signaling the peer to be lost, thus
when cleaning up it's up to remove_peer() to call peer_lost callback so
the wifi plugin can handle it properly.
---
gsupplicant/supplicant.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gsupplicant/suppl
Flush implies a full reset of P2P status on the interface. When this is
not a problem on a normal interface, it actually is one on a
sub-interface created when connecting to a P2P peer.
---
gsupplicant/supplicant.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gsuppli
Be sure the current peer is registered and not part of removed peers.
---
src/peer.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/peer.c b/src/peer.c
index 145ab78..a2c8eeb 100644
--- a/src/peer.c
+++ b/src/peer.c
@@ -126,12 +126,15 @@ static void append_existing_and
Connection interface should be the master wifi interface.
Disconnection interface should be the p2p wifi interface createn during
connection.
---
gsupplicant/gsupplicant.h | 20 +-
gsupplicant/supplicant.c | 155 +-
2 files changed, 172 insertions(
Thus dhcp code will be usable in peer, where there is no service nor
network objects.
---
src/connman.h | 8 +-
src/dhcp.c| 368 ++
src/network.c | 19 ++-
3 files changed, 208 insertions(+), 187 deletions(-)
diff --git a/src/connman.
The dhcp callback had already a pointer for such user data, but it could
not be set anywhere. Thus adding an extra parameter to
__connman_dhcp_start so it is possible to provide such user_data.
---
src/connman.h | 3 ++-
src/dhcp.c| 11 ---
src/network.c | 5 +++--
3 files changed, 1
501 - 600 of 1218 matches
Mail list logo