wpa_supplicant messaging

Roy Marples uberlord
Mon Apr 25 04:33:38 PDT 2005


On Sat, 2005-04-23 at 20:53 -0700, Jouni Malinen wrote:
> On Wed, Apr 20, 2005 at 10:36:52AM +0100, Roy Marples wrote:
> 
> > Attached to this email is a patch to wpa_supplicant CVS which replaces
> > existing Connected, Disconnected and Terminating messages with ones like
> > the above. It also includes a new file, events.h, which defines the text
> > of the messages so that other programs can include it and ensure that
> > the text is an exact match.
> 
> Thanks! I made similar changes to the development version of
> wpa_supplicant. The fixed prefixes are now defined in wpa_ctrl.h.
> 
> > wpa_monitor.c (based loosely off wpa_cli.c) is a new program whose sole
> > purpose is to listen to those three wpa_supplicant events and take
> > appropriate action via a shell script (wpa_monitor.action) which can be
> > customised per OS.
> 
> In order to avoid having similar code in multiple programs, I ended up
> including this kind of functionality in wpa_cli. This is enabled by
> using -a command line argument to select which script to run on the
> connect/disconnect events.
> 

Excellent! I'll into retooling Gentoo's wpa_supplicant module around
your CVS tree later this week.

-- 
Roy Marples <uberlord at gentoo.org>
Gentoo Linux Developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20050425/67e91e28/attachment.pgp 



More information about the Hostap mailing list