[PATCH] more dbus control interface functionality

Dan Williams dcbw
Sat Jun 17 21:52:15 PDT 2006


Continue to fill out the functionality of the dbus control interface.
This patch adds:

- Interface addition and removal
- Document most functions
- Scan requests
- Scan result signals
- Property retrieval for APs
- dbus config file for wpa supplicant

The dbus-dict-helpers.c and .h files are copied over from NetworkManager
public API, and therefore have the 'nmu_' function prefix, doxygen style
documentation, a slightly different code style, and the '-' character in
the file name.  I'd really like to keep these files as close to the NM
versions as possible so that any fixes/additions to the NM ones go to
wpa_supplicant with a minimum of rework.  But if any of these issues are
a problem, I suppose we can work something out.

The attached python program is a quick example of how to use these bits
of the dbus interface.  I plan to tackle network block stuff next.

Dan

PS - Sorry for the bzipped patch, but the list apparently holds messages
> 25k for moderation.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: more-dbus.patch.bz2
Type: application/x-bzip
Size: 10463 bytes
Desc: not available
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20060618/b9dc62a0/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wpas-test.py
Type: text/x-python
Size: 2168 bytes
Desc: not available
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20060618/b9dc62a0/attachment.py 



More information about the Hostap mailing list