Questions about fi.w1.wpa_supplicant1.Peer

Flávio Ceolin flavio.ceolin at profusion.mobi
Thu Jan 12 14:44:26 EST 2012


Hi folks,

I' ve some concerns about the fi.w1.wpa_supplicant1.Peer interface.

First, there is a special reason to all peer properties are grouped into the
property "Properties" instead of these properties are separated as in
fi.w1.wpa_supplicant1.BSS ?

Second, some Peer properties are missed in the dbus interface, to
clarify it, below are the properties obtained using DBus and wpa_cli:

DBus:

dbus-send --system --print-reply --reply-timeout=2000 --type=method_
call --dest=fi.w1.wpa_supplicant1
/fi/w1/wpa_supplicant1/Interfaces/0/Peers/0011224488ff
 org.freedesktop.DBus.Properties.Get string:fi.w1.wpa_supplicant1.Peer
string:Properties
method return sender=:1.11 -> dest=:1.19 reply_serial=2
   variant       array [
         dict entry(
            string "DeviceName"
            variant                string ""
         )
         dict entry(
            string "PrimaryDeviceType"
            variant                array of bytes [
                  00 00 00 00 00 00 00 00
               ]
         )
         dict entry(
            string "config_method"
            variant                uint16 264
         )
         dict entry(
            string "level"
            variant                int32 -52
         )
         dict entry(
            string "devicecapability"
            variant                byte 35
         )
         dict entry(
            string "groupcapability"
            variant                byte 0
         )
         dict entry(
            string "VendorExtension"
            variant                array [
               ]
         )
      ]

wpa_cli:
> p2p_peers
00:11:22:44:88:ff
> p2p_peer 00:11:22:44:88:ff
00:11:22:44:88:ff
pri_dev_type=0-00000000-0
device_name=
manufacturer=
model_name=
model_number=
serial_number=
config_methods=0x108
dev_capab=0x23
group_capab=0x0
level=-45
age=0
listen_freq=2412
wps_method=not-ready
interface_addr=00:00:00:00:00:00
member_in_go_dev=00:00:00:00:00:00
member_in_go_iface=00:00:00:00:00:00
go_neg_req_sent=0
go_state=unknown
dialog_token=0
intended_addr=00:00:00:00:00:00
country=XX
oper_freq=0
req_config_methods=0x0
flags=[REPORTED]
status=0
wait_count=0
invitation_reqs=0
>

Someone is working on it (p2p and dbus) ?

Best Regards,
Flávio Ceolin


More information about the HostAP mailing list