Send connman mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.01.org/mailman/listinfo/connman
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."
Today's Topics:
1. Re: [PATCH] neard: Remove extra dbus_message_unref()
(Patrik Flykt)
2. Re: [PATCHv3] client: Fix Memory Leak (Patrik Flykt)
3. Re: Fast connect path in wpa_supplicant (Patrik Flykt)
4. Re: [PATCHv3] client: Fix Memory Leak (Patrik Flykt)
5. Problem with reconnect to WiFi (Pushkin Andrei)
6. Re: Problem with reconnect to WiFi (Tomasz Bursztyka)
7. HA: Problem with reconnect to WiFi (Pushkin Andrei)
----------------------------------------------------------------------
Message: 1
Date: Fri, 05 Feb 2016 11:10:39 +0200
From: Patrik Flykt <[email protected]>
To: Milind Ramesh Murhekar <[email protected]>
Cc: [email protected], [email protected]
Subject: Re: [PATCH] neard: Remove extra dbus_message_unref()
Message-ID: <[email protected]>
Content-Type: text/plain; charset="UTF-8"
On Wed, 2016-02-03 at 18:34 +0530, Milind Ramesh Murhekar wrote:
> Remove extra dbus_message_unref(), If dbus_connection_send_with_reply()
> fails.
Applied, thanks!
Patrik
------------------------------
Message: 2
Date: Fri, 05 Feb 2016 11:03:30 +0200
From: Patrik Flykt <[email protected]>
To: Niraj Kumar Goit <[email protected]>
Cc: [email protected], [email protected]
Subject: Re: [PATCHv3] client: Fix Memory Leak
Message-ID: <[email protected]>
Content-Type: text/plain; charset="UTF-8"
On Wed, 2016-02-03 at 12:04 +0530, Niraj Kumar Goit wrote:
> In cmd_service_move_before() function, allocate memory to services
> structure after error checks to fix memory leak.
> ---
> v3: Declare services struct at beginning of function and allocate
> memory to services after all error checks.
Applied, I updated the commit message summary to distinguish between
this patch and the next.
Patrik
------------------------------
Message: 3
Date: Fri, 05 Feb 2016 11:19:53 +0200
From: Patrik Flykt <[email protected]>
To: Naveen Singh <[email protected]>
Cc: [email protected]
Subject: Re: Fast connect path in wpa_supplicant
Message-ID: <[email protected]>
Content-Type: text/plain; charset="UTF-8"
Hi,
On Tue, 2016-02-02 at 23:57 -0800, Naveen Singh wrote:
> Hi All
> Just after losing wifi link because of an incoming deauth with reason
> code 6 or 7, wpa_supplicant sets the fast_reconnect and
> fast_reconnect_ssid to current bss and current ssid.
>
> Later on if fast_reconnect is not NULL it tries to connect to same
> SSID. This makes sense for some devices which does not use connman.
> Devices using wpa_supplicant with connman this connect is not useful
> at all as connman when it gets notified of this disconnect would
> disable the network that would end up causing a locally generated
> deauth and would nullify this connection attempt.
>
> In stead of having this feature turned on all the time, it would be
> good to have a configuration from connman. Initialized value of this
> configuration would be turned on meaning fast connect is enabled and
> devices using connman along with wpa_supplicant would disable this
> feature.
>
> Does this make sense?
So the fix to the above is to have ConnMan turn off fast reconnect in
wpa_supplicant, right?
Patrik
------------------------------
Message: 4
Date: Fri, 05 Feb 2016 11:02:26 +0200
From: Patrik Flykt <[email protected]>
To: Niraj Kumar Goit <[email protected]>
Cc: [email protected], [email protected]
Subject: Re: [PATCHv3] client: Fix Memory Leak
Message-ID: <[email protected]>
Content-Type: text/plain; charset="UTF-8"
On Wed, 2016-02-03 at 12:07 +0530, Niraj Kumar Goit wrote:
> In cmd_service_move_after() function, allocate memory to services
> structure after error checks to fix memory leak.
> ---
> v3: Declare services struct at beginning of function and allocate
> memory to services after all error checks.
Applied. I updated the commit message summary to distinguish it from the
other commit.
Patrik
------------------------------
Message: 5
Date: Fri, 5 Feb 2016 11:35:55 +0000
From: Pushkin Andrei <[email protected]>
To: "[email protected]" <[email protected]>
Subject: Problem with reconnect to WiFi
Message-ID:
<b2c6c6c6422e5f47a75eaed990eaefe3029df8e...@sv-exmb01-lo1.promwad.corp>
Content-Type: text/plain; charset="koi8-r"
Hello. I use connman 1.12 with embedded linux on mips platform.
I implement my custom connman client with agent. But connman do no reconnect to
WiFi:
1. I connect to WiFi (with PSK). Its connect.
2. I reboot my board. WiFi does not connect to AP after reboot. .GetServices
show me:
object path
"/net/connman/service/wifi_bc14efa91c57_50726f6d7761642054657374_managed_psk"
array [
dict entry(
string "Type"
variant string "wifi"
)
dict entry(
string "Security"
variant array [
string "psk"
]
)
dict entry(
string "State"
variant string "idle"
)
dict entry(
string "Strength"
variant byte 42
)
dict entry(
string "Favorite"
variant boolean true
)
dict entry(
string "Immutable"
variant boolean false
)
dict entry(
string "AutoConnect"
variant boolean true
)
dict entry(
string "Name"
variant string "Promwad Test"
)
3. When I choose connect in my application, agent does not ask password, and
WiFi does not associate. GetServices :
object path
"/net/connman/service/wifi_bc14efa91c57_50726f6d7761642054657374_managed_psk"
array [
dict entry(
string "Type"
variant string "wifi"
)
dict entry(
string "Security"
variant array [
string "psk"
]
)
dict entry(
string "State"
variant string "association"
)
dict entry(
string "Strength"
variant byte 41
)
dict entry(
string "Favorite"
variant boolean true
)
dict entry(
string "Immutable"
variant boolean false
)
dict entry(
string "AutoConnect"
variant boolean true
)
dict entry(
string "Name"
variant string "Promwad Test"
)
4. My /var/lib/connman:
# ls /var/lib/connman
ethernet_647002111801_cable
settings
wifi_bc14efa91c57_50726f6d7761642054657374_managed_psk
# cat /var/lib/connman/settings
[WiFi]
Enable=true
[global]
OfflineMode=false
[Wired]
Enable=true
# cat
/var/lib/connman/wifi_bc14efa91c57_50726f6d7761642054657374_managed_psk/se
ttings
[wifi_bc14efa91c57_50726f6d7761642054657374_managed_psk]
Name=Promwad Test
SSID=50726f6d7761642054657374
Frequency=2412
Favorite=true
AutoConnect=true
Modified=2014-01-01T00:05:44.775573Z
Passphrase=OpenStringWithMyWalidPassword
IPv4.method=dhcp
IPv4.DHCP.LastAddress=10.54.11.43
IPv6.method=off
IPv6.privacy=disabled
5. It fixed by removing all from /var/lib/connman/* and reboot board.
Andrei Pushkin
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.01.org/pipermail/connman/attachments/20160205/05ccecd6/attachment-0001.html>
------------------------------
Message: 6
Date: Fri, 5 Feb 2016 12:51:49 +0100
From: Tomasz Bursztyka <[email protected]>
To: [email protected]
Subject: Re: Problem with reconnect to WiFi
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252; format=flowed
Hi Andrei,
Could you upgrade ConnMan to latest version? 1.12 is *very* old.
There have been a huge amount of bug fixed since.
Tomasz
------------------------------
Message: 7
Date: Fri, 5 Feb 2016 12:14:30 +0000
From: Pushkin Andrei <[email protected]>
To: Tomasz Bursztyka <[email protected]>,
"[email protected]" <[email protected]>
Subject: HA: Problem with reconnect to WiFi
Message-ID:
<b2c6c6c6422e5f47a75eaed990eaefe3029df8e...@sv-exmb01-lo1.promwad.corp>
Content-Type: text/plain; charset="us-ascii"
Hi Tomasz,
Thank you for answer. I update connman to version 1.28.
Now connman always connect fine to WiFi AP, and this bug is fixed.
But why it does not reconnect after reboot my device or after I reboot my AP.
GetServices show me that AutoConnect is true.
Andrei Pushkin
________________________________________
Hi Andrei,
Could you upgrade ConnMan to latest version? 1.12 is *very* old.
There have been a huge amount of bug fixed since.
Tomasz
_______________________________________________
connman mailing list
[email protected]
https://lists.01.org/mailman/listinfo/connman
------------------------------
Subject: Digest Footer
_______________________________________________
connman mailing list
[email protected]
https://lists.01.org/mailman/listinfo/connman
------------------------------
End of connman Digest, Vol 4, Issue 6
*************************************