Hi everybody,

Using wpa_supplicant : I have to kill and restart process in order to recover 
normal cpu % use.

Without WIFI, wpa_supplicant (with connmanctl) is called many times (with my 
program) and use more and more %CPU.

I will have a look in source code, but is there anybody who can tell me around 
where?
Or is there any information about wpa_supplicant sources organisation?

Thanks
Daniel.


-------------------------------------------------------------------------------------------------
Hi Cristian,

In angström v2012.05:
Wpa_supplicant v1.0
Connman v1.23 

Many calls to connmanctl (services ...) in order to find the network or its 
strength ...

You can see that without doing anything, wpa_supplicant use almost 0.3 more % 
CPU after a few calls to connman.
If you wait a few hours (our application looks if wifi is here every time each 
10 seconds), wpa_supplicant use more and more %cpu.
Even if wifi is stopper - started.

The only way to reduce wpa_supplicant %CPU is to kill and restart it.

How can i add logs?

If nobody has ever see this problem, perhaps is it still alive in the last 
release ?

Thanks
Daniel.

-----Message d'origine-----
De : [email protected] 
[mailto:[email protected]] De la part de Iorga, 
Cristian Envoyé : mercredi 21 janvier 2015 10:35 À : 
[email protected]
Objet : Re: [oe] connman + wpa_supplicant

Hi Daniel,
Your issue description is very light on details.
Can you add some logs to it, the detailed versions of connman and 
wpa_supplicant, maybe some logs from these components, etc?

I don't remember such an issue being reported, but everything is possible.

Regards,
Cristian Iorga
Yocto Project
Intel Corporation

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of MONDON 
Daniel
Sent: Wednesday, January 14, 2015 11:08 AM
To: [email protected]
Subject: [oe] connman + wpa_supplicant

Hi,

I've got a angstrom v2012.05 based system with 3.2.30 kernel (forbidden to full 
update!).

My application is using connmanctl (and wpa_supplicant) for wifi communication.
In fact, the application is looking for wifi hot spot, connect if needed and 
the make tcp communication.

When no network is present, of after user is disconnected, the application is 
going more and more slowly.

I found wpa_supplicant process which use more and more cpu.
If I kill and restart the process, everything is ok.

In fact, more I use connmanctl command, more the wpa_supplicant process use CPU.
When connexion is established, there is no access to connmanctl, and no problem 
occurs.
But users may or may not use wifi.
Then I have to correct the problem.

Is it a known problem ? and solved ?

Thanks
Daniel.
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to