[PATCH] wpa_supplicant/dbus AP: Add support for WPS Internal Registrar.

Gustavo Sverzut Barbieri barbieri
Tue Dec 13 07:00:02 PST 2011


Hi all,

Find attached a patch to make DBus API match the behavior of the
socket/ctl_iface for WPS start within the P2P case.

Whenever doing p2p the command "wps_pbc" may use the internal
registrar. But this path did not exist with the DBus version
WPS.Start(). See commit 3ec97afe571f159ea95213262c1c6b89965827d4 by
Jouni Malinen when this was added to the ctl_iface.

Remarks:

    +#include "../driver_i.h"

needed because ap.h uses structures defined in files pulled by it.
Keeping the same as ctl_iface.

     +               wpa_printf(MSG_DEBUG, "dbus: WPS.Start - Wrong "
     +                          "P2PDeviceAddress type, byte array required");

keeping the same debug as the other functions in this file, for consistency.

Regards,

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: barbieri at gmail.com
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-wpa_supplicant-dbus-AP-Add-support-for-WPS-Internal-.patch
Type: text/x-patch
Size: 4364 bytes
Desc: not available
Url : http://lists.shmoo.com/pipermail/hostap/attachments/20111213/54d761c2/attachment.bin 



More information about the Hostap mailing list