Send connman mailing list submissions to
[email protected]
To subscribe or unsubscribe 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. Strange inconsistant WiFi network behaviour (JH)
2. RE: Strange inconsistant WiFi network behaviour
(Ryll, Jan (GED-SDD2))
3. Re: Doesn't connect to strongest wifi (Torsten Wörtwein)
4. Re: Strange inconsistant WiFi network behaviour (JH)
----------------------------------------------------------------------
Date: Wed, 29 Jan 2020 20:21:32 +1100
From: JH <[email protected]>
Subject: Strange inconsistant WiFi network behaviour
To: linux-wireless <[email protected]>, connman
<[email protected]>
Message-ID:
<CAA=hcwtenyrapy5un7a7ryedbjmf0kocu2vojjr5ljwtbc9...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
Hi,
I have 2 iMX6 devices running uBlox Lily WiFi, mrvl firmware
sd8801_uapsta.bin in kernel 4.19.75. In my office, a WiFi router is
just 1 meter away, the WiFi signal should not be a problem. One device
could connect to the WiFi router well and stably, one could not, here
were error messages:
[ 408.990029] ieee80211 phy0: mwifiex_cfg80211_sched_scan_start :
Invalid Sched_scan parameters
.....................
[56.986414] ieee80211 phy0: mwifiex_cfg80211_sched_scan_start :
Invalid Sched_scan parameter
connmand[13469]:
../connman-1.35/src/service.c:preferred_tech_add_by_type() type 5
service 0x119120 Telstra
connmand[13469]: ../connman-1.35/src/service.c:auto_connect_service()
preferred 1 sessions 0 reason auto
connmand[13469]: ../connman-1.35/src/ntp.c:send_timeout() send timeout
2 (retries 0)
connmand[13469]:
../connman-1.35/plugins/ofono.c:netreg_update_strength() /ubloxqmi_2
Strength 80
connmand[13469]: ../connman-1.35/src/ntp.c:send_timeout() send timeout
4 (retries 1)
connmand[13469]: ../connman-1.35/plugins/wifi.c:throw_wifi_scan()
device 0x118da8 0x116c78
connmand[13469]:
../connman-1.35/src/device.c:connman_device_ref_debug() 0x118da8 ref 4
by ../connman-1.35/plugins/wifi.c:1214:throw_wifi_scan()
connmand[13469]:
../connman-1.35/src/device.c:connman_device_set_scanning() device
0x118da8 scanning 1
connmand[13469]:
../connman-1.35/src/technology.c:__connman_technology_scan_started()
device 0x118da8
connmand[13469]: ../connman-1.35/plugins/wifi.c:autoscan_timeout() interval 27
connmand[13469]: ../connman-1.35/plugins/wifi.c:interface_state() wifi
0x11a7c8 interface state 4
connmand[13469]: ../connman-1.35/plugins/wifi.c:scan_started()
connmand[13469]: ../connman-1.35/src/rtnl.c:rtnl_message() NEWLINK len
56 type 16 flags 0x0000 seq 0 pid 0
connmand[13469]: ../connman-1.35/plugins/wifi.c:scan_finished()
connmand[13469]: ../connman-1.35/plugins/wifi.c:interface_state() wifi
0x11a7c8 interface state 3
Both devices were installed the same firmware and software, if it was
firmware / software issues, both would not be able to connect to WiFi,
as one device could connect to the office WiFi router well, it could
not the WiFi router problem either.
If I move the faulty one to my home, it could connect to my home WiFi,
so the device does not have WiFi problem, that is really confusing,
what could cause that kind problem and how to debug and fix it?
Thank you.
Kind regards,
- jh
------------------------------
Date: Wed, 29 Jan 2020 10:40:28 +0000
From: "Ryll, Jan (GED-SDD2)" <[email protected]>
Subject: RE: Strange inconsistant WiFi network behaviour
To: JH <[email protected]>, linux-wireless
<[email protected]>, connman <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"
Hi,
there are WiFi routers like AVM which are implement the WiFi Stack in a
stricter way than other routers or other WiFi chips-firmware.
I mention this cause weh ad some issue with a cypress wifi firmware which leads
to "sometimes" disconnect from routers. And we figured out that this was mostly
the case with AVM. We are in contact with AVM in it turns out that the AVM
router work proberly. The issues was with the cypress chipset firmware. Now we
are in contact with cypress and they accepted the issue.
So it is not always a connman problem :-) .
Best regards
Jan
-----Original Message-----
From: JH <[email protected]>
Sent: Wednesday, January 29, 2020 10:22 AM
To: linux-wireless <[email protected]>; connman
<[email protected]>
Subject: Strange inconsistant WiFi network behaviour
Hi,
I have 2 iMX6 devices running uBlox Lily WiFi, mrvl firmware sd8801_uapsta.bin
in kernel 4.19.75. In my office, a WiFi router is just 1 meter away, the WiFi
signal should not be a problem. One device could connect to the WiFi router
well and stably, one could not, here were error messages:
[ 408.990029] ieee80211 phy0: mwifiex_cfg80211_sched_scan_start :
Invalid Sched_scan parameters
.....................
[56.986414] ieee80211 phy0: mwifiex_cfg80211_sched_scan_start :
Invalid Sched_scan parameter
connmand[13469]:
../connman-1.35/src/service.c:preferred_tech_add_by_type() type 5 service
0x119120 Telstra
connmand[13469]: ../connman-1.35/src/service.c:auto_connect_service()
preferred 1 sessions 0 reason auto
connmand[13469]: ../connman-1.35/src/ntp.c:send_timeout() send timeout
2 (retries 0)
connmand[13469]:
../connman-1.35/plugins/ofono.c:netreg_update_strength() /ubloxqmi_2 Strength 80
connmand[13469]: ../connman-1.35/src/ntp.c:send_timeout() send timeout
4 (retries 1)
connmand[13469]: ../connman-1.35/plugins/wifi.c:throw_wifi_scan()
device 0x118da8 0x116c78
connmand[13469]:
../connman-1.35/src/device.c:connman_device_ref_debug() 0x118da8 ref 4 by
../connman-1.35/plugins/wifi.c:1214:throw_wifi_scan()
connmand[13469]:
../connman-1.35/src/device.c:connman_device_set_scanning() device
0x118da8 scanning 1
connmand[13469]:
../connman-1.35/src/technology.c:__connman_technology_scan_started()
device 0x118da8
connmand[13469]: ../connman-1.35/plugins/wifi.c:autoscan_timeout() interval 27
connmand[13469]: ../connman-1.35/plugins/wifi.c:interface_state() wifi
0x11a7c8 interface state 4
connmand[13469]: ../connman-1.35/plugins/wifi.c:scan_started()
connmand[13469]: ../connman-1.35/src/rtnl.c:rtnl_message() NEWLINK len
56 type 16 flags 0x0000 seq 0 pid 0
connmand[13469]: ../connman-1.35/plugins/wifi.c:scan_finished()
connmand[13469]: ../connman-1.35/plugins/wifi.c:interface_state() wifi
0x11a7c8 interface state 3
Both devices were installed the same firmware and software, if it was firmware
/ software issues, both would not be able to connect to WiFi, as one device
could connect to the office WiFi router well, it could not the WiFi router
problem either.
If I move the faulty one to my home, it could connect to my home WiFi, so the
device does not have WiFi problem, that is really confusing, what could cause
that kind problem and how to debug and fix it?
Thank you.
Kind regards,
- jh
_______________________________________________
connman mailing list -- [email protected] To unsubscribe send an email to
[email protected]
------------------------------
Date: Wed, 29 Jan 2020 18:04:07 -0500
From: Torsten Wörtwein <[email protected]>
Subject: Re: Doesn't connect to strongest wifi
To: Daniel Wagner <[email protected]>
Cc: [email protected]
Message-ID:
<CAJ4L66hMUrvTQYfRxNox=07jmngjk7qpxsxa_qygt6hkmz4...@mail.gmail.com>
Content-Type: multipart/alternative;
boundary="0000000000003e0636059d4f5cc6"
--0000000000003e0636059d4f5cc6
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Hi Daniel,
On Wed, Jan 29, 2020 at 2:47 AM Daniel Wagner <[email protected]> wrote:
> Hi Torsten,
>
> On Tue, Jan 28, 2020 at 08:47:48PM -0500, Torsten W=C3=B6rtwein wrote:
> > On Tue, Jan 28, 2020 at 2:47 AM Daniel Wagner <[email protected]> wrote:
> > > One thing you could try for a workaround is to change the frequency
> > > stored in the settings file. First stop ConnMan (because it will
> > > overwrite those files). Go to
> > > /var/lib/connman/wifi_xxxxxxx_726976656e64656c6c_managed_psk and edit
> > > the settings file. There should be a Frequency entry with 5240. What
> > > happens if you change this to 5500?
> > >
> >
> > Thanks Daniel! Unfortunately, connman changes it automatically back to
> the
> > router lower 5Ghz wifi (5240).
> > Interestingly, the output of "connmand -n -d plugins/wifi.c" changed. I=
t
> > reports the repeaters 5Ghz wifi, which I manually entered:
> >
> > connmand[43097]: plugins/wifi.c:get_latest_connections() ssid
> > 726976656e64656c6c freq 5500 modified 1580261980
> >
> > But it still ends up using 5240 (and changes the settings file back to
> > 5240).
>
> Too bad. I've got a setup with several APs spanning one network and
> for me my device roams between the APs. I notice I don't see any of
> the 'freq' debug messages. Any chance you could give the iwd plugin a
> try? I really don't want to spend more time on wpa_supplicant.
>
I started IWD with
sudo /usr/lib/iwd/iwd -d
it then 'magically' (without connman) connected to the wifi - I assume it
reads connman's settings for that. IWD found all five wifis:
src/station.c:station_add_seen_bss() Processing BSS '04:d9:f5:26:4f:69'
with SSID: rivendell, freq: 5825, rank: 5932, strength: -6400
src/station.c:station_add_seen_bss() Processing BSS 'fa:1a:67:32:fa:1f'
with SSID: rivendell, freq: 2417, rank: 4707, strength: -3900
src/station.c:station_add_seen_bss() Processing BSS 'fa:1a:67:32:fa:20'
with SSID: rivendell, freq: 5500, rank: 4321, strength: -4400
src/station.c:station_add_seen_bss() Processing BSS '04:d9:f5:26:4f:61'
with SSID: rivendell, freq: 2427, rank: 4306, strength: -5500
src/station.c:station_add_seen_bss() Processing BSS '04:d9:f5:26:4f:65'
with SSID: rivendell, freq: 5240, rank: 2999, strength: -7000
src/station.c:station_autoconnect_next() Considering autoconnecting to BSS
'04:d9:f5:26:4f:69' with SSID: rivendell, freq: 5825, rank: 5932, strength:
-6400
5500 and 2417 should be the repeater, to which I was closer at the moment.
But it decided to connect to the router's high 5Ghz network.
And then started connmand:
sudo connmand -n -d plugins/iwd.c --wifi=3Diwd_agent
** (connmand:1923): WARNING **: 17:38:47.484: error
fi.w1.wpa_supplicant1.UnknownError
It didn't print any frequency information.
IWD seems to occasionally roam between the wifis :) For a brief period it
picked 2417. Overall it highly prefers 5825 even if that is the farthest
one away (to be fair, it worked - I didn't encounter connection issues).
Thanks,
Torsten
--0000000000003e0636059d4f5cc6
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div>Hi Daniel,<br></div><br><div class=3D"gmail_quote"><d=
iv dir=3D"ltr" class=3D"gmail_attr">On Wed, Jan 29, 2020 at 2:47 AM Daniel =
Wagner <<a href=3D"mailto:[email protected]">[email protected]</a>> wrote:<=
br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e=
x;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Torsten,<br>
<br>
On Tue, Jan 28, 2020 at 08:47:48PM -0500, Torsten W=C3=B6rtwein wrote:<br>
> On Tue, Jan 28, 2020 at 2:47 AM Daniel Wagner <<a href=3D"mailto:wa=
[email protected]" target=3D"_blank">[email protected]</a>> wrote:<br>
> > One thing you could try for a workaround is to change the frequen=
cy<br>
> > stored in the settings file. First stop ConnMan (because it will<=
br>
> > overwrite those files). Go to<br>
> > /var/lib/connman/wifi_xxxxxxx_726976656e64656c6c_managed_psk and =
edit<br>
> > the settings file. There should be a Frequency entry with 5240. W=
hat<br>
> > happens if you change this to 5500?<br>
> ><br>
> <br>
> Thanks Daniel! Unfortunately, connman changes it automatically back to=
the<br>
> router lower 5Ghz wifi (5240).<br>
> Interestingly, the output of "connmand -n -d plugins/wifi.c"=
changed. It<br>
> reports the repeaters 5Ghz wifi, which I manually entered:<br>
> <br>
> connmand[43097]: plugins/wifi.c:get_latest_connections() ssid<br>
> 726976656e64656c6c freq 5500 modified 1580261980<br>
> <br>
> But it still ends up using 5240 (and changes the settings file back to=
<br>
> 5240).<br>
<br>
Too bad. I've got a setup with several APs spanning one network and<br>
for me my device roams between the APs. I notice I don't see any of<br>
the 'freq' debug messages. Any chance you could give the iwd plugin=
a<br>
try? I really don't want to spend more time on wpa_supplicant.<br></blo=
ckquote><div><br></div><div>I started IWD with</div><div><br></div><div>sud=
o /usr/lib/iwd/iwd -d</div><div><br></div><div>it then 'magically' =
(without connman) connected to the wifi - I assume it reads connman's s=
ettings for that. IWD found all five wifis:</div><div><br></div><div>src/st=
ation.c:station_add_seen_bss() Processing BSS '04:d9:f5:26:4f:69' w=
ith SSID: rivendell, freq: 5825, rank: 5932, strength: -6400<br>src/station=
.c:station_add_seen_bss() Processing BSS 'fa:1a:67:32:fa:1f' with S=
SID: rivendell, freq: 2417, rank: 4707, strength: -3900<br>src/station.c:st=
ation_add_seen_bss() Processing BSS 'fa:1a:67:32:fa:20' with SSID: =
rivendell, freq: 5500, rank: 4321, strength: -4400<br>src/station.c:station=
_add_seen_bss() Processing BSS '04:d9:f5:26:4f:61' with SSID: riven=
dell, freq: 2427, rank: 4306, strength: -5500<br>src/station.c:station_add_=
seen_bss() Processing BSS '04:d9:f5:26:4f:65' with SSID: rivendell,=
freq: 5240, rank: 2999, strength: -7000<br>src/station.c:station_autoconne=
ct_next() Considering autoconnecting to BSS '04:d9:f5:26:4f:69' wit=
h SSID: rivendell, freq: 5825, rank: 5932, strength: -6400<br></div><div><b=
r></div><div>5500 and 2417 should be the repeater, to which I=C2=A0 was clo=
ser at the moment. But it decided to connect to the router's high 5Ghz =
network.</div><div><br></div><div>And then started connmand:</div><div><br>=
</div><div>sudo connmand -n -d plugins/iwd.c --wifi=3Diwd_agent</div><div><=
br></div><div>** (connmand:1923): WARNING **: 17:38:47.484: error fi.w1.wpa=
_supplicant1.UnknownError</div></div><div class=3D"gmail_quote"><br></div><=
div class=3D"gmail_quote">It didn't print any frequency information.<br=
></div><div class=3D"gmail_quote"><br></div><div class=3D"gmail_quote">IWD =
seems to occasionally roam between the wifis :) For a brief period it picke=
d 2417. Overall it highly prefers 5825 even if that is the farthest one awa=
y (to be fair, it worked - I didn't encounter connection issues).<br></=
div><div class=3D"gmail_quote"><br></div><div class=3D"gmail_quote">Thanks,=
<div>Torsten<br></div></div></div>
--0000000000003e0636059d4f5cc6--
------------------------------
Date: Thu, 30 Jan 2020 11:04:06 +1100
From: JH <[email protected]>
Subject: Re: Strange inconsistant WiFi network behaviour
To: "Ryll, Jan (GED-SDD2)" <[email protected]>
Cc: linux-wireless <[email protected]>, connman
<[email protected]>
Message-ID:
<CAA=hcWT=rqbxb1-ft11awqz1syk0qwp0pnvtsfrx9+v-neg...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
Thanks Emil and Jan,
On 1/29/20, Ryll, Jan (GED-SDD2) <[email protected]> wrote:
> Try to increase distance from router or other WiFi device.
Tried, but no avail.
> there are WiFi routers like AVM which are implement the WiFi Stack in a
> stricter way than other routers or other WiFi chips-firmware.
> I mention this cause weh ad some issue with a cypress wifi firmware which
> leads to "sometimes" disconnect from routers. And we figured out that this
> was mostly the case with AVM. We are in contact with AVM in it turns out
> that the AVM router work proberly. The issues was with the cypress chipset
> firmware. Now we are in contact with cypress and they accepted the issue.
> So it is not always a connman problem :-) .
That really worries me, my WiFi router is TP-Link AC1200 dual band
router, it should have no problem for my device to connect it as I
mentioned I have two devices one could connected without any issues.
that definitely won't be my WiFi chip uBlox Lily issues, if it was,
the another unit would not be possible to connect to my WiFi router in
office.
I am not saying it is connman problem or mwifiex problem or kernel
problem, what I like is to get helps and clues from open source
communities to help me to debug and to find issues, it could be my
contributions as well if there could be potential open source bugs to
be found from my test, debug and report :-).
Thank you.
Kind regards,
- jh
>
> -----Original Message-----
> From: JH <[email protected]>
> Sent: Wednesday, January 29, 2020 10:22 AM
> To: linux-wireless <[email protected]>; connman
> <[email protected]>
> Subject: Strange inconsistant WiFi network behaviour
>
> Hi,
>
> I have 2 iMX6 devices running uBlox Lily WiFi, mrvl firmware
> sd8801_uapsta.bin in kernel 4.19.75. In my office, a WiFi router is just 1
> meter away, the WiFi signal should not be a problem. One device could
> connect to the WiFi router well and stably, one could not, here were error
> messages:
>
> [ 408.990029] ieee80211 phy0: mwifiex_cfg80211_sched_scan_start :
> Invalid Sched_scan parameters
> .....................
>
> [56.986414] ieee80211 phy0: mwifiex_cfg80211_sched_scan_start :
> Invalid Sched_scan parameter
>
> connmand[13469]:
> ../connman-1.35/src/service.c:preferred_tech_add_by_type() type 5 service
> 0x119120 Telstra
> connmand[13469]: ../connman-1.35/src/service.c:auto_connect_service()
> preferred 1 sessions 0 reason auto
> connmand[13469]: ../connman-1.35/src/ntp.c:send_timeout() send timeout
> 2 (retries 0)
> connmand[13469]:
> ../connman-1.35/plugins/ofono.c:netreg_update_strength() /ubloxqmi_2
> Strength 80
> connmand[13469]: ../connman-1.35/src/ntp.c:send_timeout() send timeout
> 4 (retries 1)
> connmand[13469]: ../connman-1.35/plugins/wifi.c:throw_wifi_scan()
> device 0x118da8 0x116c78
> connmand[13469]:
> ../connman-1.35/src/device.c:connman_device_ref_debug() 0x118da8 ref 4 by
> ../connman-1.35/plugins/wifi.c:1214:throw_wifi_scan()
> connmand[13469]:
> ../connman-1.35/src/device.c:connman_device_set_scanning() device
> 0x118da8 scanning 1
> connmand[13469]:
> ../connman-1.35/src/technology.c:__connman_technology_scan_started()
> device 0x118da8
> connmand[13469]: ../connman-1.35/plugins/wifi.c:autoscan_timeout() interval
> 27
> connmand[13469]: ../connman-1.35/plugins/wifi.c:interface_state() wifi
> 0x11a7c8 interface state 4
> connmand[13469]: ../connman-1.35/plugins/wifi.c:scan_started()
> connmand[13469]: ../connman-1.35/src/rtnl.c:rtnl_message() NEWLINK len
> 56 type 16 flags 0x0000 seq 0 pid 0
> connmand[13469]: ../connman-1.35/plugins/wifi.c:scan_finished()
> connmand[13469]: ../connman-1.35/plugins/wifi.c:interface_state() wifi
> 0x11a7c8 interface state 3
>
> Both devices were installed the same firmware and software, if it was
> firmware / software issues, both would not be able to connect to WiFi, as
> one device could connect to the office WiFi router well, it could not the
> WiFi router problem either.
>
> If I move the faulty one to my home, it could connect to my home WiFi, so
> the device does not have WiFi problem, that is really confusing, what could
> cause that kind problem and how to debug and fix it?
>
> Thank you.
>
> Kind regards,
>
> - jh
> _______________________________________________
> connman mailing list -- [email protected] To unsubscribe send an email to
> [email protected]
>
------------------------------
Subject: Digest Footer
_______________________________________________
connman mailing list -- [email protected]
To unsubscribe send an email to [email protected]
------------------------------
End of connman Digest, Vol 51, Issue 38
***************************************