blob: 87f4c02fbbd4c4187b76f5a499730d369fe3fe2e [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001/**
2\page dbus wpa_supplicant D-Bus API
3
4This section documents the wpa_supplicant D-Bus API. Every D-Bus
5interface implemented by wpa_supplicant is described here including
6their methods, signals, and properties with arguments, returned
7values, and possible errors.
8
9Interfaces:
10- \ref dbus_main
11- \ref dbus_interface
12- \ref dbus_wps
13- \ref dbus_p2pdevice
14- \ref dbus_bss
15- \ref dbus_network
16- \ref dbus_peer
17- \ref dbus_group
18- \ref dbus_persistent_group
19- \ref dbus_mesh
20
21
22\section dbus_main fi.w1.wpa_supplicant1
23
24Interface implemented by the main wpa_supplicant D-Bus object
25registered in the bus with fi.w1.wpa_supplicant1 name.
26
27\subsection dbus_main_methods Methods
28
29<ul>
30 <li>
31 <h3>CreateInterface ( a{sv} : args ) --> o : interface</h3>
32 <p>Registers a wireless interface in wpa_supplicant.</p>
33 <h4>Arguments</h4>
34 <dl>
35 <dt>a{sv} : args</dt>
36 <dd>
37 A dictionary with arguments used to add the interface to wpa_supplicant. The dictionary may contain the following entries:
38 <table>
39 <tr><th>Key</th><th>Value type</th><th>Description</th><th>Required</th>
40 <tr><td>Ifname</td><td>s</td><td>Name of the network interface to control, e.g., wlan0</td><td>Yes</td>
41 <tr><td>BridgeIfname</td><td>s</td><td>Name of the bridge interface to control, e.g., br0</td><td>No</td>
42 <tr><td>Driver</td><td>s</td><td>Driver name which the interface uses, e.g., nl80211</td><td>No</td>
43 <tr><td>ConfigFile</td><td>s</td><td>Configuration file path</td><td>No</td>
44 <tr><td>Create</td><td>b</td><td>Whether to create a new interface in the kernel</td><td>No</td>
45 <tr><td>Type</td><td>s</td><td>Interface type to create (sta or ap)</td><td>No</td>
46 <tr><td>Address</td><td>s</td><td>MAC address in colon-delimited format to be used in the created interface</td><td>No</td>
47 </table>
48 </dd>
49 </dl>
50 <h4>Returns</h4>
51 <dl>
52 <dt>o : interface</dt>
53 <dd>A D-Bus path to object representing created interface</dd>
54 </dl>
55 <h4>Possible errors</h4>
56 <dl>
57 <dt>fi.w1.wpa_supplicant1.InterfaceExists</dt>
58 <dd>wpa_supplicant already controls this interface.</dd>
59 <dt>fi.w1.wpa_supplicant1.UnknownError</dt>
60 <dd>Creating interface failed for an unknown reason.</dd>
61 <dt>fi.w1.wpa_supplicant1.InvalidArgs</dt>
62 <dd>Invalid entries were found in the passed argument.</dd>
63 </dl>
64 </li>
65
66 <li>
67 <h3>RemoveInterface ( o : interface ) --> nothing</h3>
68 <p>Deregisters a wireless interface from wpa_supplicant.</p>
69 <h4>Arguments</h4>
70 <dl>
71 <dt>o : interface</dt>
72 <dd>A D-Bus path to an object representing an interface to remove returned by CreateInterface</dd>
73 </dl>
74 <h4>Possible errors</h4>
75 <dl>
76 <dt>fi.w1.wpa_supplicant1.InterfaceUnknown</dt>
77 <dd>Object pointed by the path doesn't exist or doesn't represent an interface.</dd>
78 <dt>fi.w1.wpa_supplicant1.UnknownError</dt>
79 <dd>Removing interface failed for an unknown reason.</dd>
80 </dl>
81 </li>
82
83 <li>
84 <h3>GetInterface ( s : ifname ) --> o : interface</h3>
85 <p>Returns a D-Bus path to an object related to an interface which wpa_supplicant already controls.</p>
86 <h4>Arguments</h4>
87 <dl>
88 <dt>s : ifname</dt>
89 <dd>Name of the network interface, e.g., wlan0</dd>
90 </dl>
91 <h4>Returns</h4>
92 <dl>
93 <dt>o : interface</dt>
94 <dd>A D-Bus path to an object representing an interface</dd>
95 </dl>
96 <h4>Possible errors</h4>
97 <dl>
98 <dt>fi.w1.wpa_supplicant1.InterfaceUnknown</dt>
99 <dd>An interface with the passed name in not controlled by wpa_supplicant.</dd>
100 <dt>fi.w1.wpa_supplicant1.UnknownError</dt>
101 <dd>Getting an interface object path failed for an unknown reason.</dd>
102 </dl>
103 </li>
104
105 <li>
106 <h3>ExpectDisconnect ( ) --> nothing</h3>
107 <p>Notify wpa_supplicant of an externally triggered disconnection, e.g., due to system suspend.</p>
108 </li>
109 </ul>
110
111\subsection dbus_main_properties Properties
112
113<ul>
114 <li>
115 <h3>DebugLevel - s - (read/write)</h3>
116 <p>Global wpa_supplicant debugging level. Possible values are
117 "msgdump" (verbose debugging), "debug" (debugging),
118 "info" (informative), "warning" (warnings), and "error" (errors).</p>
119 </li>
120
121 <li>
122 <h3>DebugTimestamp - b - (read/write)</h3>
123 <p>Global wpa_supplicant debugging parameter. Determines if timestamps are shown in debug logs.</p>
124 </li>
125
126 <li>
127 <h3>DebugShowKeys - b - (read/write)</h3>
128 <p>Global wpa_supplicant debugging parameter. Determines if secrets are shown in debug logs.</p>
129 </li>
130
131 <li>
132 <h3>Interfaces - ao - (read)</h3>
133 <p>An array with paths to D-Bus objects representing controlled interfaces each.</p>
134 </li>
135
136 <li>
137 <h3>EapMethods - as - (read)</h3>
138 <p>An array with supported EAP methods names.</p>
139 </li>
140
141 <li>
142 <h3>Capabilities - as - (read)</h3>
143 <p>An array with supported capabilities (e.g., "ap", "ibss-rsn", "p2p", "interworking").</p>
144 </li>
145
146 <li>
147 <h3>WFDIEs - ay - (read/write)</h3>
148 <p>Wi-Fi Display subelements.</p>
149 </li>
150 </ul>
151
152\subsection dbus_main_signals Signals
153
154<ul>
155 <li>
156 <h3>InterfaceAdded ( o : interface, a{sv} : properties )</h3>
157 <p>A new interface was added to wpa_supplicant.</p>
158 <h4>Arguments</h4>
159 <dl>
160 <dt>o : interface</dt>
161 <dd>A D-Bus path to an object representing the added interface</dd>
162 </dl>
163 <dl>
164 <dt>a{sv} : properties</dt>
165 <dd>A dictionary containing properties of added interface.</dd>
166 </dl>
167 </li>
168
169 <li>
170 <h3>InterfaceRemoved ( o : interface )</h3>
171 <p>An interface was removed from wpa_supplicant.</p>
172 <h4>Arguments</h4>
173 <dl>
174 <dt>o : interface</dt>
175 <dd>A D-Bus path to an object representing the removed interface</dd>
176 </dl>
177 </li>
178
179 <li>
180 <h3>PropertiesChanged ( a{sv} : properties )</h3>
181 <p>Some properties have changed.</p>
182 <h4>Arguments</h4>
183 <dl>
184 <dt>a{sv} : properties</dt>
185 <dd>A dictionary with pairs of properties names which have changed and theirs new values. Possible dictionary keys are: "DebugParams"</dd>
186 </dl>
187 </li>
188 </ul>
189
190
191\section dbus_interface fi.w1.wpa_supplicant1.Interface
192
193Interface implemented by objects related to network interface added to
194wpa_supplicant, i.e., returned by
195fi.w1.wpa_supplicant1.CreateInterface.
196
197\subsection dbus_interface_methods Methods
198
199<ul>
200 <li>
201 <h3>Scan ( a{sv} : args ) --> nothing</h3>
202 <p>Triggers a scan.</p>
203 <h4>Arguments</h4>
204 <dl>
205 <dt>a{sv} : args</dt>
206 <dd>
207 A dictionary with arguments describing scan type:
208 <table>
209 <tr><th>Key</th><th>Value type</th><th>Description</th><th>Required</th>
210 <tr><td>Type</td><td>s</td><td>Type of the scan. Possible values: "active", "passive"</td><td>Yes</td>
211 <tr><td>SSIDs</td><td>aay</td><td>Array of SSIDs to scan for (applies only if scan type is active)</td><td>No</td>
212 <tr><td>IEs</td><td>aay</td><td>Information elements to used in active scan (applies only if scan type is active)</td><td>No</td>
213 <tr><td>Channels</td><td>a(uu)</td><td>Array of frequencies to scan in form of (center, width) in MHz.</td><td>No</td>
214 <tr><td>AllowRoam</td><td>b</td><td>TRUE (or absent) to allow a roaming decision based on the results of this scan, FALSE to prevent a roaming decision.</td><td>No</td>
215 </table>
216 </dd>
217 </dl>
218 <h4>Possible errors</h4>
219 <dl>
220 <dt>fi.w1.wpa_supplicant1.InvalidArgs</dt>
221 <dd>Invalid entries were found in the passed argument.</dd>
222 </dl>
223 </li>
224
225 <li>
226 <h3>Disconnect ( ) --> nothing</h3>
227 <p>Disassociates the interface from current network.</p>
228 <h4>Possible errors</h4>
229 <dl>
230 <dt>fi.w1.wpa_supplicant1.NotConnected</dt>
231 <dd>Interface is not connected to any network.</dd>
232 </dl>
233 </li>
234
235 <li>
236 <h3>AddNetwork ( a{sv} : args ) --> o : network</h3>
237 <p>Adds a new network to the interface.</p>
238 <h4>Arguments</h4>
239 <dl>
240 <dt>a{sv} : args</dt>
241 <dd>A dictionary with network configuration. Dictionary entries are equivalent to entries in the "network" block in wpa_supplicant configuration file. Entry values should be appropriate type to the entry, e.g., an entry with key "frequency" should have value type int.</dd>
242 </dl>
243 <h4>Returns</h4>
244 <dl>
245 <dt>o : network</dt>
246 <dd>A D-Bus path to an object representing a configured network</dd>
247 </dl>
248 <h4>Possible errors</h4>
249 <dl>
250 <dt>fi.w1.wpa_supplicant1.InvalidArgs</dt>
251 <dd>Invalid entries were found in the passed argument.</dd>
252 <dt>fi.w1.wpa_supplicant1.UnknownError</dt>
253 <dd>Adding network failed for an unknown reason.</dd>
254 </dl>
255 </li>
256
257 <li>
258 <h3>RemoveNetwork ( o : network ) --> nothing</h3>
259 <p>Removes a configured network from the interface.</p>
260 <h4>Arguments</h4>
261 <dl>
262 <dt>o : network</dt>
263 <dd>A D-Bus path to an object representing a configured network returned by fi.w1.wpa_supplicant1.Interface.AddNetwork</dd>
264 </dl>
265 <h4>Possible errors</h4>
266 <dl>
267 <dt>fi.w1.wpa_supplicant1.NetworkUnknown</dt>
268 <dd>A passed path doesn't point to any network object.</dd>
269 <dt>fi.w1.wpa_supplicant1.InvalidArgs</dt>
270 <dd>A passed path doesn't point to any network object.</dd>
271 <dt>fi.w1.wpa_supplicant1.UnknownError</dt>
272 <dd>Removing network failed for an unknown reason.</dd>
273 </dl>
274 </li>
275
276 <li>
277 <h3>RemoveAllNetworks ( ) --> nothing</h3>
278 <p>Remove all configured networks from the interface.</p>
279 </li>
280
281 <li>
282 <h3>SelectNetwork ( o : network ) --> nothing</h3>
283 <p>Attempt association with a configured network.</p>
284 <h4>Arguments</h4>
285 <dl>
286 <dt>o : network</dt>
287 <dd>A D-Bus path to an object representing a configured network returned by fi.w1.wpa_supplicant1.Interface.AddNetwork</dd>
288 </dl>
289 <h4>Possible errors</h4>
290 <dl>
291 <dt>fi.w1.wpa_supplicant1.NetworkUnknown</dt>
292 <dd>A passed path doesn't point to any network object.</dd>
293 <dt>fi.w1.wpa_supplicant1.InvalidArgs</dt>
294 <dd>A passed path doesn't point to any network object.</dd>
295 </dl>
296 </li>
297
298 <li>
299 <h3>Reassociate ( ) --> nothing</h3>
300 <p>Attempt reassociation.</p>
301 <h4>Possible errors</h4>
302 <dl>
303 <dt>fi.w1.wpa_supplicant1.InterfaceDisabled</dt>
304 <dd>The interface is disabled.</dd>
305 </dl>
306 </li>
307
308 <li>
309 <h3>Reattach ( ) --> nothing</h3>
310 <p>Attempt reassociation back to the current BSS.</p>
311 <h4>Possible errors</h4>
312 <dl>
313 <dt>fi.w1.wpa_supplicant1.NotConnected</dt>
314 <dd>Interface is not connected to any network.</dd>
315 </dl>
316 </li>
317
318 <li>
319 <h3>Reconnect ( ) --> nothing</h3>
320 <p>Attempt reconnection and connect if in disconnected state.</p>
321 <h4>Possible errors</h4>
322 <dl>
323 <dt>fi.w1.wpa_supplicant1.InterfaceDisabled</dt>
324 <dd>The interface is disabled.</dd>
325 </dl>
326 </li>
327
328 <li>
329 <h3>Roam ( s : addr ) --> nothing</h3>
330 <p>Initiate a roam to another BSS within the current ESS.</p>
331 <h4>Possible errors</h4>
332 <dl>
333 <dt>fi.w1.wpa_supplicant1.InvalidArgs</dt>
334 <dd>Missing address argument.</dd>
335 <dt>fi.w1.wpa_supplicant1.InvalidArgs</dt>
336 <dd>Invalid hardware address format.</dd>
337 <dt>fi.w1.wpa_supplicant1.InvalidArgs</dt>
338 <dd>Target BSS not found.</dd>
339 <dt>fi.w1.wpa_supplicant1.NotConnected</dt>
340 <dd>Interface is not connected to any network.</dd>
341 <dt>fi.w1.wpa_supplicant1.UnknownError</dt>
342 <dd>Scan processing was not included in the build.</dd>
343 </dl>
344 </li>
345
346 <li>
347 <h3>AddBlob ( s : name, ay : data ) --> nothing</h3>
348 <p>Adds a blob to the interface.</p>
349 <h4>Arguments</h4>
350 <dl>
351 <dt>s : name</dt>
352 <dd>A name of a blob</dd>
353 <dt>ay : data</dt>
354 <dd>A blob data</dd>
355 </dl>
356 <h4>Possible errors</h4>
357 <dl>
358 <dt>fi.w1.wpa_supplicant1.BlobExists</dt>
359 <dd>A blob with the specified name already exists.</dd>
360 </dl>
361 </li>
362
363 <li>
364 <h3>RemoveBlob ( s : name ) --> nothing</h3>
365 <p>Removes the blob from the interface.</p>
366 <h4>Arguments</h4>
367 <dl>
368 <dt>s : name</dt>
369 <dd>A name of the blob to remove</dd>
370 </dl>
371 <h4>Possible errors</h4>
372 <dl>
373 <dt>fi.w1.wpa_supplicant1.BlobUnknown</dt>
374 <dd>A blob with the specified name doesn't exist.</dd>
375 </dl>
376 </li>
377
378 <li>
379 <h3>GetBlob ( s : name ) --> ay : data</h3>
380 <p>Returns the blob data of a previously added blob.</p>
381 <h4>Arguments</h4>
382 <dl>
383 <dt>s : name</dt>
384 <dd>A name of the blob</dd>
385 </dl>
386 <h4>Returns</h4>
387 <dl>
388 <dt>ay : data</dt>
389 <dd>A blob data</dd>
390 </dl>
391 <h4>Possible errors</h4>
392 <dl>
393 <dt>fi.w1.wpa_supplicant1.BlobUnknown</dt>
394 <dd>A blob with the specified name doesn't exist.</dd>
395 </dl>
396 </li>
397 <li>
398 <h3>AutoScan ( s : arg ) --> nothing</h3>
399 <p>Set autoscan parameters for the interface.</p>
400 <h4>Arguments</h4>
401 <dl>
402 <dt>s : arg</dt>
403 <dd>Autoscan parameter line or empty to unset autoscan.</dd>
404 </dl>
405 <h4>Possible errors</h4>
406 <dl>
407 <dt>fi.w1.wpa_supplicant1.NoMemory</dt>
408 <dd>Needed memory was not possible to get allocated.</dd>
409 <dt>fi.w1.wpa_supplicant1.InvalidArgs</dt>
410 <dd>Invalid entries were found in the passed argument.</dd>
411 </dl>
412 </li>
413 <li>
414 <h3>TDLSDiscover ( s : peer_address ) --> nothing</h3>
415 <p>Initiate a TDLS discovery for a peer.</p>
416 <h4>Arguments</h4>
417 <dl>
418 <dt>s : peer_address</dt>
419 <dd>MAC address for the peer to perform TDLS discovery.</dd>
420 </dl>
421 <h4>Possible errors</h4>
422 <dl>
423 <dt>fi.w1.wpa_supplicant1.InvalidArgs</dt>
424 <dd>The "peer_address" argument is not a properly formatted MAC.</dd>
425 <dt>fi.w1.wpa_supplicant1.UnknownError</dt>
426 <dd>Initiating the TDLS operation failed for an unknown reason.</dd>
427 </dl>
428 </li>
429 <li>
430 <h3>TDLSSetup ( s : peer_address ) --> nothing</h3>
431 <p>Setup a TDLS session for a peer.</p>
432 <h4>Arguments</h4>
433 <dl>
434 <dt>s : peer_address</dt>
435 <dd>MAC address for the peer to perform TDLS setup.</dd>
436 </dl>
437 <h4>Possible errors</h4>
438 <dl>
439 <dt>fi.w1.wpa_supplicant1.InvalidArgs</dt>
440 <dd>The "peer_address" argument is not a properly formatted MAC.</dd>
441 <dt>fi.w1.wpa_supplicant1.UnknownError</dt>
442 <dd>Initiating the TDLS operation failed for an unknown reason.</dd>
443 </dl>
444 </li>
445 <li>
446 <h3>TDLSStatus ( s : peer_address ) --> s</h3>
447 <p>Return TDLS status with respect to a peer.</p>
448 <h4>Arguments</h4>
449 <dl>
450 <dt>s : peer_address</dt>
451 <dd>MAC address for the peer for which status is requested.</dd>
452 </dl>
453 <h4>Returns</h4>
454 <dl>
455 <dt>s : status</dt>
456 <dd>Current status of the TDLS link with the selected peer.</dd>
457 </dl>
458 <h4>Possible errors</h4>
459 <dl>
460 <dt>fi.w1.wpa_supplicant1.InvalidArgs</dt>
461 <dd>The "peer_address" argument is not a properly formatted MAC.</dd>
462 </dl>
463 </li>
464 <li>
465 <h3>TDLSTeardown ( s : peer_address ) --> nothing</h3>
466 <p>Tear down a TDLS session with a peer.</p>
467 <h4>Arguments</h4>
468 <dl>
469 <dt>s : peer_address</dt>
470 <dd>MAC address for the peer to tear down TDLS connectivity with.</dd>
471 </dl>
472 <h4>Possible errors</h4>
473 <dl>
474 <dt>fi.w1.wpa_supplicant1.InvalidArgs</dt>
475 <dd>The "peer_address" argument is not a properly formatted MAC.</dd>
476 <dt>fi.w1.wpa_supplicant1.UnknownError</dt>
477 <dd>Initiating the TDLS operation failed for an unknown reason.</dd>
478 </dl>
479 </li>
480 <li>
481 <h3>TDLSChannelSwitch ( a{sv} : args ) --> nothing</h3>
482 <p>Configure TDLS channel switching behavior with a peer.</p>
483 <h4>Arguments</h4>
484 <dl>
485 <dt>a{sv} : args</dt>
486 <dd>A dictionary with arguments identifying the peer and channel switching behavior.</dd>
487 </dl>
488 </li>
489 <li>
490 <h3>TDLSCancelChannelSwitch ( s : peer_address ) --> nothing</h3>
491 <p>Disable channel switching for a TDLS session with a peer.</p>
492 <h4>Arguments</h4>
493 <dl>
494 <dt>s : peer_address</dt>
495 <dd>MAC address for the peer.</dd>
496 </dl>
497 </li>
498 <li>
499 <h3>VendorElemAdd ( i: frame_id, ay: ielems ) --> nothing</h3>
500 <p>Add Vendor Elements to corresponding frame ID.</p>
501 <h4>Arguments</h4>
502 <dl>
503 <dt>i : frame_id</dt>
504 <dd>Frame ID for which Vendor specific IE is to be added.</dd>
505 <dt>ay : ielems</dt>
506 <dd>Information Element(s).</dd>
507 </dl>
508 <h4>Possible errors</h4>
509 <dl>
510 <dt>fi.w1.wpa_supplicant1.InvalidArgs</dt>
511 <dd>The "ielems" argument is not a properly formatted or size mismatch.</dd>
512 <dt>fi.w1.wpa_supplicant1.NoMemory</dt>
513 <dd>Needed memory was not possible to get allocated.</dd>
514 </dl>
515 </li>
516 <li>
517 <h3>VendorElemGet ( i: frame_id ) --> ay: ielems</h3>
518 <p>Get Vendor Elements of corresponding frame ID.</p>
519 <h4>Arguments</h4>
520 <dl>
521 <dt>i : frame_id</dt>
522 <dd>Frame ID for which Vendor specific IE is being queried.</dd>
523 <dt>ay : ielems</dt>
524 <dd>Information Element(s).</dd>
525 </dl>
526 <h4>Possible errors</h4>
527 <dl>
528 <dt>fi.w1.wpa_supplicant1.InvalidArgs</dt>
529 <dd>The "frame_id" argument is not valid.</dd>
530 </dl>
531 </li>
532 <li>
533 <h3>VendorElemRem ( i: frame_id, ay: ielems ) --> nothing</h3>
534 <p>Remove Vendor Elements of corresponding frame ID.</p>
535 <h4>Arguments</h4>
536 <dl>
537 <dt>i : frame_id</dt>
538 <dd>Frame ID for which Vendor specific IE is to be removed.</dd>
539 <dt>ay : ielems</dt>
540 <dd>Information Element(s) OR * to remove all.</dd>
541 </dl>
542 <h4>Possible errors</h4>
543 <dl>
544 <dt>fi.w1.wpa_supplicant1.InvalidArgs</dt>
545 <dd>The "ielems" argument is not a properly formatted or size mismatch.</dd>
546 <dt>fi.w1.wpa_supplicant1.NoMemory</dt>
547 <dd>Needed memory was not possible to get allocated.</dd>
548 </dl>
549 </li>
550 <li>
551 <h3>SaveConfig ( ) --> nothing</h3>
552 <p>Save configuration to the configuration file.</p>
553 </li>
554 <li>
555 <h3>AbortScan ( ) --> nothing</h3>
556 <p>Abort ongoing scan operation.</p>
557 </li>
558 <li>
559 <h3>AddCred ( a{sv} : args ) --> o : path</h3>
560 <p>Add an Interworking/Hotspot 2.0 credential.</p>
561 <h4>Arguments</h4>
562 <dl>
563 <dt>a{sv} : args</dt>
564 <dd>A dictionary with credential configuration. Dictionary entries are equivalent to entries in the "cred" block in wpa_supplicant configuration file.</dd>
565 </dl>
566 <h4>Returns</h4>
567 <dl>
568 <dt>o : path</dt>
569 <dd>A D-Bus path to an object representing the added credential</dd>
570 </dl>
571 </li>
572 <li>
573 <h3>RemoveCred ( o : path ) --> nothing</h3>
574 <p>Remove the specified Interworking/Hotspot 2.0 credential.</p>
575 </li>
576 <li>
577 <h3>RemoveAllCreds ( ) --> nothing</h3>
578 <p>Remove all configured Interworking/Hotspot 2.0 credentials.</p>
579 </li>
580 <li>
581 <h3>InterworkingSelect ( ) --> nothing</h3>
582 <p>Perform Interworking (Hotspot 2.0) network selection.</p>
583 </li>
584 <li>
585 <h3>EAPLogoff ( ) --> nothing</h3>
586 <p>IEEE 802.1X EAPOL state machine logoff.</p>
587 </li>
588 <li>
589 <h3>EAPLogon ( ) --> nothing</h3>
590 <p>IEEE 802.1X EAPOL state machine logon.</p>
591 </li>
592
593 <li>
594 <h3>NetworkReply ( o : network, s : field, s : value ) --> nothing</h3>
595 <p>Provide parameter requested by NetworkRequest().</p>
596 <h4>Arguments</h4>
597 <dl>
598 <dt>o : network</dt>
599 <dd>A D-Bus path to an object representing the network (copied from NetworkRequest()).</dd>
600 <dt>s : field</dt>
601 <dd>Requested information (copied from NetworkRequest()).</dd>
602 <dt>s : value</dt>
603 <dd>The requested information (e.g., password for EAP authentication).</dd>
604 </dl>
605 <h4>Possible errors</h4>
606 <dl>
607 <dt>fi.w1.wpa_supplicant1.NetworkUnknown</dt>
608 <dd>A passed path doesn't point to any network object.</dd>
609 <dt>fi.w1.wpa_supplicant1.InvalidArgs</dt>
610 <dd>A passed path doesn't point to any network object.</dd>
611 <dt>fi.w1.wpa_supplicant1.UnknownError</dt>
612 <dd>IEEE 802.1X support was not included in the build.</dd>
613 </dl>
614 </li>
615
616 <li>
617 <h3>SetPKCS11EngineAndModulePath ( s : pkcs11_engine_path, s : pkcs11_module_path ) --> nothing</h3>
618 <p>Set PKCS #11 engine and module path.</p>
619 <h4>Arguments</h4>
620 <dl>
621 <dt>s : pkcs11_engine_path</dt>
622 <dd>PKCS #11 engine path.</dd>
623 <dt>s : pkcs11_module_path</dt>
624 <dd>PKCS #11 module path.</dd>
625 </dl>
626 <h4>Possible errors</h4>
627 <dl>
628 <dt>org.freedesktop.DBus.Error.Failed.InvalidArgs</dt>
629 <dd>Invalid PKCS #11 engine or module path.</dd>
630 <dt>org.freedesktop.DBus.Error.Failed</dt>
631 <dd>Reinit of the EAPOL state machine with the new PKCS #11 engine and module path failed.</dd>
632 </dl>
633 </li>
634 <li>
635 <h3>SignalPoll ( ) --> a{sv} : properties</h3>
636 <p>Fetch signal properties for the current connection.</p>
637 <h4>Returns</h4>
638 <dl>
639 <dt>a{sv} : properties</dt>
640 <dd>
641 <table>
642 <tr><th>Key</th><th>Value type</th><th>Description</th><th>Required</th>
643 <tr><td>linkspeed</td><td>i</td><td>Link speed (Mbps)</td><td>No</td>
644 <tr><td>noise</td><td>i</td><td>Noise (dBm)</td><td>No</td>
645 <tr><td>width</td><td>s</td><td>Channel width</td><td>No</td>
646 <tr><td>frequency</td><td>u</td><td>Frequency (MHz)</td><td>No</td>
647 <tr><td>rssi</td><td>i</td><td>RSSI (dBm)</td><td>No</td>
648 <tr><td>avg-rssi</td><td>i</td><td>Average RSSI (dBm)</td><td>No</td>
649 <tr><td>center-frq1</td><td>i</td><td>VHT segment 1 frequency (MHz)</td><td>No</td>
650 <tr><td>center-frq2</td><td>i</td><td>VHT segment 2 frequency (MHz)</td><td>No</td>
651 <tr><td>rx-bytes</td><td>i</td><td>Bytes recieved</td><td>No</td>
652 <tr><td>tx-bytes</td><td>i</td><td>Bytes sent</td><td>No</td>
653 <tr><td>rx-packets</td><td>i</td><td>Packets recieved</td><td>No</td>
654 <tr><td>tx-packets</td><td>i</td><td>Packets sent</td><td>No</td>
655 <tr><td>beacons</td><td>i</td><td>Beacons received</td><td>No</td>
656 <tr><td>linkrxspeed</td><td>i</td><td>Link Speed (RX, kbps)</td><td>No</td>
657 <tr><td>linktxspeed</td><td>i</td><td>Link Speed (TX, kbps)</td><td>No</td>
658 <tr><td>retries-failed</td><td>i</td><td>Retries (failed)</td><td>No</td>
659 <tr><td>retries</td><td>i</td><td>Retries</td><td>No</td>
660 <tr><td>last-ack-rssi</td><td>i</td><td>RSSI of last ACK frame (dBm)</td><td>No</td>
661 <tr><td>fcs-errors</td><td>i</td><td>FCS errors</td><td>No</td>
662 <tr><td>beacon-losses</td><td>i</td><td>Beacons lost</td><td>No</td>
663 <tr><td>expected-throughput</td><td>i</td><td>Expected Throughput (kbps)</td><td>No</td>
664 <tr><td>rx-drop-misc</td><td>i</td><td>RX packets dropped for unspecified reasons</td><td>No</td>
665 <tr><td>rx-mpdus</td><td>i</td><td>Recieved packets</td><td>No</td>
666 <tr><td>rx-he-mcs</td><td>i</td><td>MCS index (rx, he)</td><td>No</td>
667 <tr><td>tx-he-mcs</td><td>i</td><td>MCS index (tx, he)</td><td>No</td>
668 <tr><td>rx-vht-mcs</td><td>i</td><td>MCS index (rx, vht)</td><td>No</td>
669 <tr><td>tx-vht-mcs</td><td>i</td><td>MCS index (tx, vht)</td><td>No</td>
670 <tr><td>rx-mcs</td><td>i</td><td>MCS index (rx)</td><td>No</td>
671 <tr><td>tx-mcs</td><td>i</td><td>MCS index (tx)</td><td>No</td>
672 <tr><td>rx-he-nss</td><td>i</td><td>Number of streams (rx, he)</td><td>No</td>
673 <tr><td>tx-he-nss</td><td>i</td><td>Number of streams (tx, he)</td><td>No</td>
674 <tr><td>rx-vht-nss</td><td>i</td><td>Number of streams (rx, vht)</td><td>No</td>
675 <tr><td>tx-vht-nss</td><td>i</td><td>Number of streams (tx, vht)</td><td>No</td>
676 <tr><td>avg-beacon-rssi</td><td>i</td><td>Average Beacon RSSI (dBm)</td><td>No</td>
677 <tr><td>avg-ack-rssi</td><td>i</td><td>Average ACK frame RSSI (dBm)</td><td>No</td>
678 </table>
679 </dd>
680 </dl>
681 </li>
682 <li>
683 <h3>FlushBSS ( u : age ) --> nothing</h3>
684 <p>Flush BSS entries from the cache.</p>
685 <h4>Arguments</h4>
686 <dl>
687 <dt>u : age</dt>
688 <dd>Maximum age in seconds for BSS entries to keep in cache (0 = remove all entries).</dd>
689 </dl>
690 </li>
691
692 <li>
693 <h3>SubscribeProbeReq ( ) --> nothing</h3>
694 <p>Subscribe to receive Probe Request events. This is needed in addition to registering a signal handler for the ProbeRequest signal to avoid flooding D-Bus with all Probe Request indications when no application is interested in them.</p>
695 <h4>Possible errors</h4>
696 <dl>
697 <dt>fi.w1.wpa_supplicant1.SubscriptionInUse</dt>
698 <dd>Another application is already subscribed.</dd>
699 <dt>fi.w1.wpa_supplicant1.NoMemory</dt>
700 <dd>Needed memory was not possible to get allocated.</dd>
701 </dl>
702 </li>
703
704 <li>
705 <h3>UnsubscribeProbeReq ( ) --> nothing</h3>
706 <p>Unsubscribe from receiving Probe Request events.</p>
707 <h4>Possible errors</h4>
708 <dl>
709 <dt>fi.w1.wpa_supplicant1.NoSubscription</dt>
710 <dd>No subscription in place.</dd>
711 <dt>fi.w1.wpa_supplicant1.SubscriptionNotYou</dt>
712 <dd>Subscription in place, but for another process.</dd>
713 </dl>
714 </li>
715 </ul>
716
717\subsection dbus_interface_properties Properties
718
719<ul>
720 <li>
721 <h3>Capabilities - a{sv} - (read)</h3>
722 <p>Capabilities of the interface. Dictionary contains following entries:</p>
723 <table>
724 <tr><th>Key</th><th>Value type</th><th>Description</th>
725 <tr><td>Pairwise</td><td>as</td><td>Possible array elements: "ccmp-256", "gcmp-256", "ccmp", "gcmp", "tkip", "none"</td>
726 <tr><td>Group</td><td>as</td><td>Possible array elements: "ccmp-256", "gcmp-256", "ccmp", "gcmp", "tkip", "wep104", "wep40"</td>
727 <tr><td>GroupMgmt</td><td>as</td><td>Possible array elements: "aes-128-cmac", "bip-gmac-128", "bip-gmac-256", "bip-cmac-256"</td>
728 <tr><td>KeyMgmt</td><td>as</td><td>Possible array elements: "wpa-psk", "wpa-ft-psk", "wpa-psk-sha256", "wpa-eap", "wpa-ft-eap", "wpa-eap-sha256", "sae", "owe", "ieee8021x", "wpa-none", "wps", "none"</td>
729 <tr><td>Protocol</td><td>as</td><td>Possible array elements: "rsn", "wpa"</td>
730 <tr><td>AuthAlg</td><td>as</td><td>Possible array elements: "open", "shared", "leap"</td>
731 <tr><td>Scan</td><td>as</td><td>Possible array elements: "active", "passive", "ssid"</td>
732 <tr><td>Modes</td><td>as</td><td>Possible array elements: "infrastructure", "ad-hoc", "ap"</td>
733 </table>
734 </li>
735
736 <li>
737 <h3>State - s - (read)</h3>
738 <p>A state of the interface. Possible values are: return "disconnected", "inactive", "scanning", "authenticating", "associating", "associated", "4way_handshake", "group_handshake", "completed","unknown".</p>
739 </li>
740
741 <li>
742 <h3>Scanning - b - (read)</h3>
743 <p>Determines if the interface is already scanning or not</p>
744 </li>
745
746 <li>
747 <h3>ApScan - u - (read/write)</h3>
748 <p>Identical to ap_scan entry in wpa_supplicant configuration file. Possible values are 0, 1 or 2.</p>
749 </li>
750
751 <li>
752 <h3>BSSExpireAge - u - (read/write)</h3>
753 <p>Identical to bss_expiration_age entry in wpa_supplicant configuration file.</p>
754 </li>
755
756 <li>
757 <h3>BSSExpireCount - u - (read/write)</h3>
758 <p>Identical to bss_expiration_scan_count entry in wpa_supplicant configuration file.</p>
759 </li>
760
761 <li>
762 <h3>Country - s - (read/write)</h3>
763 <p>Identical to country entry in wpa_supplicant configuration file.</p>
764 </li>
765
766 <li>
767 <h3>Ifname - s - (read)</h3>
768 <p>Name of network interface controlled by the interface, e.g., wlan0.</p>
769 </li>
770
771 <li>
772 <h3>BridgeIfname - s - (read)</h3>
773 <p>Name of bridge network interface controlled by the interface, e.g., br0.</p>
774 </li>
775
776 <li>
777 <h3>Driver - s - (read)</h3>
778 <p>Name of driver used by the interface, e.g., nl80211.</p>
779 </li>
780
781 <li>
782 <h3>ConfigFile - s - (read)</h3>
783 <p>Configuration file path. Returns an empty string if no configuration file is in use.</p>
784 </li>
785
786 <li>
787 <h3>CurrentBSS - o - (read)</h3>
788 <p>Path to D-Bus object representing BSS which wpa_supplicant is associated with, or "/" if is not associated at all.</p>
789 </li>
790
791 <li>
792 <h3>CurrentNetwork - o - (read)</h3>
793 <p>Path to D-Bus object representing configured network which wpa_supplicant uses at the moment, or "/" if doesn't use any.</p>
794 </li>
795
796 <li>
797 <h3>CurrentAuthMode - s - (read)</h3>
798 <p>Current authentication type.</p>
799 </li>
800
801 <li>
802 <h3>Blobs - as - (read)</h3>
803 <p>List of blobs names added to the Interface.</p>
804 </li>
805
806 <li>
807 <h3>BSSs - ao - (read)</h3>
808 <p>List of D-Bus objects paths representing BSSs known to the interface, i.e., scan results.</p>
809 </li>
810
811 <li>
812 <h3>Stations - ao - (read)</h3>
813 <p>List of D-Bus objects paths representing connected stations in AP mode.</p>
814 </li>
815
816 <li>
817 <h3>Networks - ao - (read)</h3>
818 <p>List of D-Bus objects paths representing configured networks.</p>
819 </li>
820
821 <li>
822 <h3>FastReauth - b - (read/write)</h3>
823 <p>Identical to fast_reauth entry in wpa_supplicant configuration file.</p>
824 </li>
825
826 <li>
827 <h3>ScanInterval - i - (read/write)</h3>
828 <p>Time (in seconds) between scans for a suitable AP. Must be >= 0.</p>
829 </li>
830
831 <li>
832 <h3>PKCS11EnginePath - s - (read)</h3>
833 <p>PKCS #11 engine path.</p>
834 </li>
835
836 <li>
837 <h3>PKCS11ModulePath - s - (read)</h3>
838 <p>PKCS #11 module path.</p>
839 </li>
840
841 <li>
842 <h3>DisconnectReason - i - (read)</h3>
843 <p>The most recent IEEE 802.11 reason code for disconnect. Negative value indicates locally generated disconnection.</p>
844 </li>
845
846 <li>
847 <h3>AuthStatusCode - i - (read)</h3>
848 <p>The most recent IEEE 802.11 status code for authentication.</p>
849 </li>
850
851 <li>
852 <h3>AssocStatusCode - i - (read)</h3>
853 <p>The most recent IEEE 802.11 status code for association rejection.</p>
854 </li>
855
856 <li>
857 <h3>RoamTime - u - (read)</h3>
858 <p>The most recent roam time in milliseconds.</p>
859 </li>
860
861 <li>
862 <h3>RoamComplete - b - (read)</h3>
863 <p>The most recent roam success or failure.</p>
864 </li>
865
866 <li>
867 <h3>SessionLength - u - (read)</h3>
868 <p>The most recent BSS session length in milliseconds.</p>
869 </li>
870
871 <li>
872 <h3>BSSTMStatus - u - (read)</h3>
873 <p>The most recent BSS Transition Management status code.</p>
874 </li>
875
876 <li>
877 <h3>EapolVersion - s - (read/write)</h3>
878 <p>IEEE 802.1X/EAPOL version number</p>
879 </li>
880
881 <li>
882 <h3>Bgscan - s - (read/write)</h3>
883 <p>Background scan and roaming parameters or an empty string if none</p>
884 </li>
885
886 <li>
887 <h3>DisableScanOffload - s - (read/write)</h3>
888 <p>Disable automatic offloading of scan requests</p>
889 </li>
890
891 <li>
892 <h3>OpenscEnginePath - s - (read/write)</h3>
893 <p>Path to the OpenSSL engine for opensc</p>
894 </li>
895
896 <li>
897 <h3>OpensslCiphers - s - (read/write)</h3>
898 <p>OpenSSL cipher string</p>
899 </li>
900
901 <li>
902 <h3>PcscReader - s - (read/write)</h3>
903 <p>PC/SC reader name prefix</p>
904 </li>
905
906 <li>
907 <h3>PcscPin - s - (read/write)</h3>
908 <p>PIN for USIM, GSM SIM, and smartcards</p>
909 </li>
910
911 <li>
912 <h3>ExternalSim - s - (read/write)</h3>
913 <p>Use external processing for SIM/USIM operations</p>
914 </li>
915
916 <li>
917 <h3>DriverParam - s - (read/write)</h3>
918 <p>Driver interface parameters</p>
919 </li>
920
921 <li>
922 <h3>Dot11RSNAConfigPMKLifetime - s - (read/write)</h3>
923 <p>Maximum lifetime of a PMK</p>
924 </li>
925
926 <li>
927 <h3>Dot11RSNAConfigPMKReauthThreshold - s - (read/write)</h3>
928 <p>PMK re-authentication threshold</p>
929 </li>
930
931 <li>
932 <h3>Dot11RSNAConfigSATimeout - s - (read/write)</h3>
933 <p>Security association timeout</p>
934 </li>
935
936 <li>
937 <h3>BssMaxCount - s - (read/write)</h3>
938 <p>Maximum number of BSS entries to keep in memory</p>
939 </li>
940
941 <li>
942 <h3>FilterSsids - s - (read/write)</h3>
943 <p>SSID-based scan result filtering</p>
944 </li>
945
946 <li>
947 <h3>FilterRssi - s - (read/write)</h3>
948 <p>RSSI-based scan result filtering</p>
949 </li>
950
951 <li>
952 <h3>MaxNumSta - s - (read/write)</h3>
953 <p>Maximum number of STAs in an AP/P2P GO</p>
954 </li>
955
956 <li>
957 <h3>DisassocLowAck - s - (read/write)</h3>
958 <p>Disassocicate stations with massive packet loss</p>
959 </li>
960
961 <li>
962 <h3>Interworking - s - (read/write)</h3>
963 <p>Whether Interworking (IEEE 802.11u) is enabled</p>
964 </li>
965
966 <li>
967 <h3>Hessid - s - (read/write)</h3>
968 <p>Homogeneous ESS identifier</p>
969 </li>
970
971 <li>
972 <h3>AccessNetworkType - s - (read/write)</h3>
973 <p>Access Network Type</p>
974 </li>
975
976 <li>
977 <h3>PbcInM1 - s - (read/write)</h3>
978 <p>AP mode WPS probing workaround for PBC with Windows 7</p>
979 </li>
980
981 <li>
982 <h3>Autoscan - s - (read/write)</h3>
983 <p>Automatic scan parameters or an empty string if none</p>
984 </li>
985
986 <li>
987 <h3>WpsNfcDevPwId - s - (read/write)</h3>
988 <p>NFC Device Password ID for password token</p>
989 </li>
990
991 <li>
992 <h3>WpsNfcDhPubkey - s - (read/write)</h3>
993 <p>NFC DH Public Key for password token</p>
994 </li>
995
996 <li>
997 <h3>WpsNfcDhPrivkey - s - (read/write)</h3>
998 <p>NFC DH Private Key for password token</p>
999 </li>
1000
1001 <li>
1002 <h3>WpsNfcDevPw - s - (read/write)</h3>
1003 <p>NFC Device Password for password token</p>
1004 </li>
1005
1006 <li>
1007 <h3>ExtPasswordBackend - s - (read/write)</h3>
1008 <p>External password backend or an empty string if none</p>
1009 </li>
1010
1011 <li>
1012 <h3>P2pGoMaxInactivity - s - (read/write)</h3>
1013 <p>Timeout in seconds to detect STA inactivity</p>
1014 </li>
1015
1016 <li>
1017 <h3>AutoInterworking - s - (read/write)</h3>
1018 <p>Whether to use network selection automatically</p>
1019 </li>
1020
1021 <li>
1022 <h3>Okc - s - (read/write)</h3>
1023 <p>Whether to enable opportunistic key caching by default</p>
1024 </li>
1025
1026 <li>
1027 <h3>Pmf - s - (read/write)</h3>
1028 <p>Whether to enable/require PMF by default</p>
1029 </li>
1030
1031 <li>
1032 <h3>SaeGroups - s - (read/write)</h3>
1033 <p>Preference list of enabled groups for SAE</p>
1034 </li>
1035
1036 <li>
1037 <h3>DtimPeriod - s - (read/write)</h3>
1038 <p>Default DTIM period in Beacon intervals</p>
1039 </li>
1040
1041 <li>
1042 <h3>BeaconInt - s - (read/write)</h3>
1043 <p>Default Beacon interval in TU</p>
1044 </li>
1045
1046 <li>
1047 <h3>IgnoreOldScanRes - s - (read/write)</h3>
1048 <p>Ignore scan results older than request</p>
1049 </li>
1050
1051 <li>
1052 <h3>FreqList - s - (read/write)</h3>
1053 <p>Array of allowed scan frequencies or an empty string for all</p>
1054 </li>
1055
1056 <li>
1057 <h3>ScanCurFreq - s - (read/write)</h3>
1058 <p>Whether to scan only the current channel</p>
1059 </li>
1060
1061 <li>
1062 <h3>SchedScanInterval - s - (read/write)</h3>
1063 <p>schedule scan interval</p>
1064 </li>
1065
1066 <li>
1067 <h3>TdlsExternalControl - s - (read/write)</h3>
1068 <p>External control for TDLS setup requests</p>
1069 </li>
1070
1071 <li>
1072 <h3>OsuDir - s - (read/write)</h3>
1073 <p>OSU provider information directory</p>
1074 </li>
1075
1076 <li>
1077 <h3>WowlanTriggers - s - (read/write)</h3>
1078 <p>Wake-on-WLAN triggers</p>
1079 </li>
1080
1081 <li>
1082 <h3>P2pSearchDelay - s - (read/write)</h3>
1083 <p>Extra delay between concurrent search iterations</p>
1084 </li>
1085
1086 <li>
1087 <h3>MacAddr - s - (read/write)</h3>
1088 <p>MAC address policy default</p>
1089 </li>
1090
1091 <li>
1092 <h3>RandAddrLifetime - s - (read/write)</h3>
1093 <p>Lifetime of random MAC address in seconds</p>
1094 </li>
1095
1096 <li>
1097 <h3>PreassocMacAddr - s - (read/write)</h3>
1098 <p>Pre-association MAC address policy</p>
1099 </li>
1100
1101 <li>
1102 <h3>KeyMgmtOffload - s - (read/write)</h3>
1103 <p>Use key management offload</p>
1104 </li>
1105
1106 <li>
1107 <h3>PassiveScan - s - (read/write)</h3>
1108 <p>Whether to force passive scan for network connection</p>
1109 </li>
1110
1111 <li>
1112 <h3>ReassocSameBssOptim - s - (read/write)</h3>
1113 <p>Whether to optimize reassoc-to-same-BSS</p>
1114 </li>
1115
1116 <li>
1117 <h3>WpsPriority - s - (read/write)</h3>
1118 <p>Priority for the networks added through WPS</p>
1119 </li>
1120
1121 <li>
1122 <h3>MACAddressRandomizationMask - a{say} - (read/write)</h3>
1123 <p>Masks to show which bits not to randomize with MAC address randomization. Possible keys are "scan", "sched_scan", and "pno". Values must be an array of 6 bytes.</p>
1124 <p>When this property is set, the new dictionary replaces the old value, rather than merging them together. Leaving a key out of the dictionary will turn off MAC address randomization for that scan type.</p>
1125 </li>
1126
1127 <li>
1128 <h3>MACAddress - ay - (read)</h3>
1129 <p>MAC address of the interface</p>
1130 </ul>
1131
1132\subsection dbus_interface_signals Signals
1133
1134<ul>
1135 <li>
1136 <h3>ScanDone ( b : success )</h3>
1137 <p>Scanning finished. </p>
1138 <h4>Arguments</h4>
1139 <dl>
1140 <dt>s : success</dt>
1141 <dd>Determines if scanning was successful. If so, results are available.</dd>
1142 </dl>
1143 </li>
1144
1145 <li>
1146 <h3>BSSAdded ( o : BSS, a{sv} : properties )</h3>
1147 <p>Interface became aware of a new BSS.</p>
1148 <h4>Arguments</h4>
1149 <dl>
1150 <dt>o : BSS</dt>
1151 <dd>A D-Bus path to an object representing the new BSS.</dd>
1152 </dl>
1153 <dl>
1154 <dt>a{sv} : properties</dt>
1155 <dd>A dictionary containing properties of added BSS.</dd>
1156 </dl>
1157 </li>
1158
1159 <li>
1160 <h3>BSSRemoved ( o : BSS )</h3>
1161 <p>BSS disappeared.</p>
1162 <h4>Arguments</h4>
1163 <dl>
1164 <dt>o : BSS</dt>
1165 <dd>A D-Bus path to an object representing the BSS.</dd>
1166 </dl>
1167 </li>
1168
1169 <li>
1170 <h3>BlobAdded ( s : blobName )</h3>
1171 <p>A new blob has been added to the interface.</p>
1172 <h4>Arguments</h4>
1173 <dl>
1174 <dt>s : blobName</dt>
1175 <dd>A name of the added blob.</dd>
1176 </dl>
1177 </li>
1178
1179 <li>
1180 <h3>BlobRemoved ( s : blobName )</h3>
1181 <p>A blob has been removed from the interface.</p>
1182 <h4>Arguments</h4>
1183 <dl>
1184 <dt>s : blobName</dt>
1185 <dd>A name of the removed blob.</dd>
1186 </dl>
1187 </li>
1188
1189 <li>
1190 <h3>NetworkAdded ( o : network, a{sv} : properties )</h3>
1191 <p>A new network has been added to the interface.</p>
1192 <h4>Arguments</h4>
1193 <dl>
1194 <dt>o : network</dt>
1195 <dd>A D-Bus path to an object representing the added network.</dd>
1196 </dl>
1197 <dl>
1198 <dt>a{sv} : properties</dt>
1199 <dd>A dictionary containing properties of added network.</dd>
1200 </dl>
1201 </li>
1202
1203 <li>
1204 <h3>NetworkRemoved ( o : network )</h3>
1205 <p>The network has been removed from the interface.</p>
1206 <h4>Arguments</h4>
1207 <dl>
1208 <dt>o : network</dt>
1209 <dd>A D-Bus path to an object representing the removed network.</dd>
1210 </dl>
1211 </li>
1212
1213 <li>
1214 <h3>NetworkSelected ( o : network )</h3>
1215 <p>The network has been selected.</p>
1216 <h4>Arguments</h4>
1217 <dl>
1218 <dt>o : network</dt>
1219 <dd>A D-Bus path to an object representing the selected network.</dd>
1220 </dl>
1221 </li>
1222
1223 <li>
1224 <h3>StaAuthorized ( s : mac )</h3>
1225 <p>A new station has been authorized to the interface.</p>
1226 <h4>Arguments</h4>
1227 <dl>
1228 <dt>s : mac</dt>
1229 <dd>A mac address which has been authorized.</dd>
1230 </dl>
1231 </li>
1232
1233 <li>
1234 <h3>StaDeauthorized ( s : mac )</h3>
1235 <p>A station has been deauthorized to the interface.</p>
1236 <h4>Arguments</h4>
1237 <dl>
1238 <dt>s : mac</dt>
1239 <dd>A mac address which has been deauthorized.</dd>
1240 </dl>
1241 </li>
1242
1243 <li>
1244 <h3>StationAdded ( o : Station, a{sv} : properties )</h3>
1245 <p>A new station has been added to the interface.</p>
1246 <p>This signal complements StaAuthorized, passing the Station object and its properties.</p>
1247 <h4>Arguments</h4>
1248 <dl>
1249 <dt>o : Station</dt>
1250 <dd>A D-Bus path to an object representing the new Station.</dd>
1251 </dl>
1252 <dl>
1253 <dt>a{sv} : properties</dt>
1254 <dd>A dictionary containing properties of added Station.</dd>
1255 </dl>
1256 </li>
1257
1258 <li>
1259 <h3>StationRemoved ( o : Station )</h3>
1260 <p>The station has been removed from the interface.</p>
1261 <p>This signal complements StaDeauthorized, passing the Station object.</p>
1262 <h4>Arguments</h4>
1263 <dl>
1264 <dt>o : Station</dt>
1265 <dd>A D-Bus path to an object representing the Station.</dd>
1266 </dl>
1267 </li>
1268
1269 <li>
1270 <h3>PropertiesChanged ( a{sv} : properties )</h3>
1271 <p>Some properties have changed.</p>
1272 <h4>Arguments</h4>
1273 <dl>
1274 <dt>a{sv} : properties</dt>
1275 <dd>A dictionary with pairs of properties names which have changed and their new values. Possible dictionary keys are: "ApScan", "Scanning", "State", "CurrentBSS", "CurrentNetwork", "SignalChange"</dd>
1276 </dl>
1277 </li>
1278
1279 <li>
1280 <h3>Certification ( a{sv} : parameters )</h3>
1281 <p>Information about server TLS certificates.</p>
1282 <h4>Arguments</h4>
1283 <dl>
1284 <dt>a{sv} : parameters</dt>
1285 <dd>A dictionary with pairs of field names and their values. Possible dictionary keys are: "depth", "subject", "altsubject", "cert_hash", "cert".</dd>
1286 </dl>
1287 </li>
1288
1289 <li>
1290 <h3>EAP ( s : status, s : parameter )</h3>
1291 <p>Information about EAP peer status.</p>
1292 <h4>Arguments</h4>
1293 <dl>
1294 <dt>s : status</dt>
1295 <dd>Operation, e.g., "started", "accept proposed method", "remote certificate verification", "eap parameter needed", "completion".</dd>
1296 <dt>s : parameter</dt>
1297 <dd>Information about the operation, e.g., EAP method name, "success".</dd>
1298 </dl>
1299 </li>
1300
1301 <li>
1302 <h3>NetworkRequest ( o : network, s : field, s : txt )</h3>
1303 <p>Request for network parameter. NetworkResponse() is used to provide the requested parameter.</p>
1304 <h4>Arguments</h4>
1305 <dl>
1306 <dt>o : network</dt>
1307 <dd>D-Bus path to an object representing the network.</dd>
1308 <dt>s : field</dt>
1309 <dd>Requested information, e.g., "PASSWORD".</dd>
1310 <dt>txt : field</dt>
1311 <dd>Human readable information about the requested information.</dd>
1312 </dl>
1313 </li>
1314
1315 <li>
1316 <h3>ProbeRequest ( a{sv} : args )</h3>
1317 <p>Information about a received Probe Request frame. This signal is delivered only to a single application that has subscribed to received the events with SubscribeProbeReq().</p>
1318 <h4>Arguments</h4>
1319 <dl>
1320 <dt>a{sv} : args</dt>
1321 <dd>A dictionary with pairs of field names and their values. Possible dictionary keys are: "addr", "dst", "bssid", "ies", "signal".</dd>
1322 </dl>
1323 </li>
1324
1325 <li>
1326 <h3>InterworkingAPAdded ( o : bss, o : cred, a{sv} : args )</h3>
1327 </li>
1328
1329 <li>
1330 <h3>InterworkingSelectDone ( )</h3>
1331 </li>
1332
1333 <li>
1334 <h3>PskMismatch ( )</h3>
1335 <p>A possible PSK mismatch is identified.</p>
1336 </li>
1337 </ul>
1338
1339
1340\section dbus_wps fi.w1.wpa_supplicant1.Interface.WPS
1341
1342Interface for performing WPS (Wi-Fi Simple Config) operations.
1343
1344\subsection dbus_wps_methods Methods
1345
1346<ul>
1347 <li>
1348 <h3>Start ( a{sv} : args ) --> a{sv} : output</h3>
1349 <p>Starts WPS configuration. Note: When used with P2P groups, this needs to be issued on the GO group interface.</p>
1350 <h4>Arguments</h4>
1351 <dl>
1352 <dt>a{sv} : args</dt>
1353 <dd>
1354 A dictionary with arguments used to start WPS configuration. The dictionary may contain the following entries:
1355 <table>
1356 <tr><th>Key</th><th>Value type</th><th>Description</th><th>Required</th>
1357 <tr><td>Role</td><td>s</td><td>The device's role. Possible values are "enrollee" and "registrar".</td><td>Yes</td>
1358 <tr><td>Type</td><td>s</td><td>WPS authentication type. Applies only for enrollee role. Possible values are "pin" and "pbc".</td><td>Yes, for enrollee role; otherwise no</td>
1359 <tr><td>Pin</td><td>s</td><td>WPS Pin.</td><td>Yes, for registrar role; otherwise optional</td>
1360 <tr><td>Bssid</td><td>ay</td><td>Note: This is used to specify the peer MAC address when authorizing WPS connection in AP or P2P GO role.</td><td>No</td>
1361 <tr><td>P2PDeviceAddress</td><td>ay</td><td>P2P Device Address of a peer to authorize for PBC connection. Used only in P2P GO role.</td><td>No</td>
1362 </table>
1363 </dd>
1364 </dl>
1365 <h4>Returns</h4>
1366 <dl>
1367 <dt>a{sv} : output</dt>
1368 <dd>
1369 <table>
1370 <tr><th>Key</th><th>Value type</th><th>Description</th><th>Required</th>
1371 <tr><td>Pin</td><td>s</td><td>Newly generated PIN, if not specified for enrollee role and pin authentication type.</td><td>No</td>
1372 </table>
1373 </dd>
1374 </dl>
1375 <h4>Possible errors</h4>
1376 <dl>
1377 <dt>fi.w1.wpa_supplicant1.UnknownError</dt>
1378 <dd>Starting WPS configuration failed for an unknown reason.</dd>
1379 <dt>fi.w1.wpa_supplicant1.InvalidArgs</dt>
1380 <dd>Invalid entries were found in the passed argument.</dd>
1381 </dl>
1382 </li>
1383 <li>
1384 <h3>Cancel ( nothing ) --> nothing</h3>
1385 <p>Cancel ongoing WPS operation.</p>
1386 </li>
1387 </ul>
1388
1389\subsection dbus_wps_properties Properties
1390
1391<ul>
1392 <li>
1393 <h3>ProcessCredentials - b - (read/write)</h3>
1394 <p>Determines if the interface will process the credentials (credentials_processed configuration file parameter).</p>
1395 </li>
1396 <li>
1397 <h3>ConfigMethods - s - (read/write)</h3>
1398 <p>The currently advertised WPS configuration methods. Available methods: usba ethernet label display ext_nfc_token int_nfc_token nfc_interface push_button keypad virtual_display physical_display virtual_push_button physical_push_button.</p>
1399 </li>
1400 <li>
1401 <h3>DeviceName - s - (read/write)</h3>
1402 <p>User-friendly description of device; up to 32 octets encoded in UTF-8.</p>
1403 </li>
1404 <li>
1405 <h3>Manufacturer - s - (read/write)</h3>
1406 <p>The manufacturer of the device (up to 64 ASCII characters).</p>
1407 </li>
1408 <li>
1409 <h3>ModelName - s - (read/write)</h3>
1410 <p>Model of the device (up to 32 ASCII characters).</p>
1411 </li>
1412 <li>
1413 <h3>ModelNumber - s - (read/write)</h3>
1414 <p>Additional device description (up to 32 ASCII characters).</p>
1415 </li>
1416 <li>
1417 <h3>SerialNumber - s - (read/write)</h3>
1418 <p>Serial number of the device (up to 32 characters).</p>
1419 </li>
1420 <li>
1421 <h3>DeviceType - ay - (read/write)</h3>
1422 <p>Device Type (8 octet value with 2 octet category, 4 octet OUI, 2 octet subcategory.</p>
1423 </li>
1424 </ul>
1425
1426\subsection dbus_wps_signals Signals
1427
1428<ul>
1429 <li>
1430 <h3>Event ( s : name, a{sv} : args )</h3>
1431 <p>WPS event occurred.</p>
1432 <h4>Arguments</h4>
1433 <dl>
1434 <dt>s : event</dt>
1435 <dd>Event type. Possible values are: "success, "fail", "m2d", and
1436 "pbc-overlap".</dd>
1437 <dt>a{sv} : args</dt>
1438 <dd>
1439 Event arguments. Empty for success and pbc-overlap events, error information ( "msg" : i, "config_error" : i, "error_indication" : i ) for fail event and following entries for m2d event:
1440 <table>
1441 <tr><th>config_methods</th><th>Value type</th>
1442 <tr><td>manufacturer</td><td>q</td>
1443 <tr><td>model_name</td><td>ay</td>
1444 <tr><td>model_number</td><td>ay</td>
1445 <tr><td>serial_number</td><td>ay</td>
1446 <tr><td>dev_name</td><td>ay</td>
1447 <tr><td>primary_dev_type</td><td>ay</td>
1448 <tr><td>config_error</td><td>q</td>
1449 <tr><td>dev_password_id</td><td>q</td>
1450 </table>
1451 </dd>
1452 </dl>
1453 </li>
1454
1455 <li>
1456 <h3>Credentials ( a{sv} : credentials )</h3>
1457 <p>WPS credentials. Dictionary contains:</p>
1458 <table>
1459 <tr><th>Key</th><th>Value type</th><th>Description</th>
1460 <tr><td>BSSID</td><td>ay</td><td></td>
1461 <tr><td>SSID</td><td>s</td><td></td>
1462 <tr><td>AuthType</td><td>as</td><td>Possible array elements: "open", "shared", "wpa-psk", "wpa-eap", "wpa2-eap", "wpa2-psk"</td>
1463 <tr><td>EncrType</td><td>as</td><td>Possible array elements: "none", "wep", "tkip", "aes"</td>
1464 <tr><td>Key</td><td>ay</td><td>Key data</td>
1465 <tr><td>KeyIndex</td><td>u</td><td>Key index</td>
1466 </table>
1467 </li>
1468
1469 <li>
1470 <h3>PropertiesChanged ( a{sv} : properties )</h3>
1471 <p>Some properties have changed.</p>
1472 <h4>Arguments</h4>
1473 <dl>
1474 <dt>a{sv} : properties</dt>
1475 <dd>A dictionary with pairs of properties names which have changed and theirs new values. Possible dictionary keys are: "ProcessCredentials"</dd>
1476 </dl>
1477 </li>
1478 </ul>
1479
1480
1481\section dbus_p2pdevice fi.w1.wpa_supplicant1.Interface.P2PDevice
1482
1483Interface for performing P2P (Wi-Fi Peer-to-Peer) P2P Device operations.
1484
1485\subsection dbus_p2pdevice_methods Methods
1486
1487<ul>
1488 <li>
1489 <h3>Find ( a{sv} : args ) --> nothing</h3>
1490 <p>Start P2P find operation (i.e., alternating P2P Search and Listen states to discover peers and be discoverable).</p>
1491 <h4>Arguments</h4>
1492 <dl>
1493 <dt>a{sv} : args</dt>
1494 <dd>
1495 A dictionary with parameters for the P2P find operation:
1496 <table>
1497 <tr><th>Key</th><th>Value type</th><th>Description</th><th>Required</th></tr>
1498 <tr><td>Timeout</td><td>i</td><td>Timeout for operating in seconds</td><td>no</td></tr>
1499 <tr><td>RequestedDeviceTypes</td><td>aay</td><td>WPS Device Types to search for</td><td>no</td></tr>
1500 <tr><td>DiscoveryType</td><td>s</td><td>"start_with_full" (default, if not specified), "social", "progressive"</td><td>no</td></tr>
1501 <tr><td>freq</td><td>i</td><td>Initial scan channel (frequency in MHz) for the start_with_full case to limit the initial scan to the specified channel</td><td>no</td></tr>
1502 </table>
1503 </dd>
1504 </dl>
1505 </li>
1506
1507 <li>
1508 <h3>StopFind ( nothing ) --> nothing</h3>
1509 <p>Stop P2P find operation.</p>
1510 </li>
1511
1512 <li>
1513 <h3>Listen ( i : timeout ) --> nothing</h3>
1514 <p>Start P2P listen operation (i.e., be discoverable).</p>
1515 <h4>Arguments</h4>
1516 <dl>
1517 <dt>i : timeout</dt>
1518 <dd>Timeout in seconds for stopping the listen operation.</dd>
1519 </dl>
1520 </li>
1521
1522 <li>
1523 <h3>ExtendedListen ( a{sv} : args ) --> nothing</h3>
1524 <p>Configure Extended Listen Timing. If the parameters are omitted, this feature is disabled. If the parameters are included, Listen State will be entered every interval msec for at least period msec. Both values have acceptable range of 1-65535 (with interval obviously having to be larger than or equal to duration). If the P2P module is not idle at the time the Extended Listen Timing timeout occurs, the Listen State operation will be skipped.</p>
1525 <h4>Arguments</h4>
1526 <dl>
1527 <dt>a{sv} : args</dt>
1528 <dd>
1529 A dictionary with parameters for extended listen. Leave out all items to disable extended listen.
1530 <table>
1531 <tr><th>Key</th><th>Value type</th><th>Description</th><th>Required</th></tr>
1532 <tr><td>period</td><td>i</td><td>Extended listen period in milliseconds; 1-65535.</td><td>no</td></tr>
1533 <tr><td>interval</td><td>i</td><td>Extended listen interval in milliseconds; 1-65535.</td><td>no</td></tr>
1534 </table>
1535 </dd>
1536 </dl>
1537 </li>
1538
1539 <li>
1540 <h3>PresenceRequest ( a{sv} : args ) --> nothing</h3>
1541 <p>Request a specific GO presence in a P2P group where the local device is a P2P Client. Send a P2P Presence Request to the GO (this is only available when acting as a P2P client). If no duration/interval pairs are given, the request indicates that this client has no special needs for GO presence. The first parameter pair gives the preferred duration and interval values in microseconds. If the second pair is included, that indicates which value would be acceptable.
1542 \note This needs to be issued on a P2P group interface if separate group interfaces are used.
1543 \bug It would be cleaner to not require .P2PDevice methods to be issued on a group interface. In other words, args['group_object'] could be used to specify the group or this method could be moved to be a .Group PresenceRequest() method.</p>
1544 <h4>Arguments</h4>
1545 <dl>
1546 <dt>a{sv} : args</dt>
1547 <dd>
1548 A dictionary with parameters for the presence request.
1549 <table>
1550 <tr><th>Key</th><th>Value type</th><th>Description</th><th>Required</th></tr>
1551 <tr><td>duration1</td><td>i</td><td>Duration in microseconds.</td><td>no</td></tr>
1552 <tr><td>interval1</td><td>i</td><td>Interval in microseconds.</td><td>no</td></tr>
1553 <tr><td>duration2</td><td>i</td><td>Duration in microseconds.</td><td>no</td></tr>
1554 <tr><td>interval2</td><td>i</td><td>Interval in microseconds.</td><td>no</td></tr>
1555 </table>
1556 </dd>
1557 </dl>
1558 </li>
1559
1560 <li>
1561 <h3>ProvisionDiscoveryRequest ( o : peer, s : config_method ) --> nothing</h3>
1562 </li>
1563
1564 <li>
1565 <h3>Connect ( a{sv} : args ) --> s : generated_pin</h3>
1566 <p>Request a P2P group to be started through GO Negotiation or by joining an already operating group.</p>
1567 <h4>Arguments</h4>
1568 <dl>
1569 <dt>a{sv} : args</dt>
1570 <dd>
1571 A dictionary with parameters for the requested connection:
1572 <table>
1573 <tr><th>Key</th><th>Value type</th><th>Description</th><th>Required</th></tr>
1574 <tr><td>peer</td><td>o</td><td></td><td>yes</td></tr>
1575 <tr><td>persistent</td><td>b</td><td>Whether to form a persistent group.</td><td>no</td></tr>
1576 <tr><td>join</td><td>b</td><td>Whether to join an already operating group instead of forming a new group.</td><td>no</td></tr>
1577 <tr><td>authorize_only</td><td>b</td><td>Whether to authorize a peer to initiate GO Negotiation instead of initiating immediately.</td><td>no</td></tr>
1578 <tr><td>frequency</td><td>i</td><td>Operating frequency in MHz</td><td>no</td></tr>
1579 <tr><td>go_intent</td><td>i</td><td>GO intent 0-15</td><td>no</td></tr>
1580 <tr><td>wps_method</td><td>s</td><td>"pbc", "display", "keypad", "pin" (alias for "display")</td><td>yes</td></tr>
1581 <tr><td>pin</td><td>s</td><td></td><td>no</td></tr>
1582 </table>
1583 </dd>
1584 </dl>
1585 </li>
1586
1587 <li>
1588 <h3>GroupAdd ( a{sv} : args ) --> nothing</h3>
1589 <p>Request a P2P group to be started without GO Negotiation.</p>
1590 <h4>Arguments</h4>
1591 <dl>
1592 <dt>a{sv} : args</dt>
1593 <dd>
1594 A dictionary with parameters for the requested group:
1595 <table>
1596 <tr><th>Key</th><th>Value type</th><th>Description</th><th>Required</th></tr>
1597 <tr><td>persistent</td><td>b</td><td>Whether to form a persistent group.</td><td>no</td></tr>
1598 <tr><td>persistent_group_object</td><td>o</td><td></td><td>no</td></tr>
1599 <tr><td>frequency</td><td>i</td><td>Operating frequency in MHz</td><td>no</td></tr>
1600 <tr><td>retry_limit</td><td>i</td><td>Optional limit on the number of scan attempts to join a group</td><td>no</td></tr>
1601 </table>
1602 </dd>
1603 </dl>
1604 </li>
1605
1606 <li>
1607 <h3>Cancel ( nothing ) --> nothing</h3>
1608 <p>Stop ongoing P2P group formation operation.</p>
1609 </li>
1610
1611 <li>
1612 <h3>Invite ( a{sv} : args ) --> nothing</h3>
1613 <p>Invite a peer to join an already operating group or to re-invoke a persistent group.</p>
1614 <h4>Arguments</h4>
1615 <dl>
1616 <dt>a{sv} : args</dt>
1617 <dd>
1618 A dictionary with parameters for the invitation:
1619 <table>
1620 <tr><th>Key</th><th>Value type</th><th>Description</th><th>Required</th></tr>
1621 <tr><td>peer</td><td>o</td><td></td><td>yes</td></tr>
1622 <tr><td>persistent_group_object</td><td>o</td><td></td><td>no</td></tr>
1623 </table>
1624 </dd>
1625 </dl>
1626 </li>
1627
1628 <li>
1629 <h3>Disconnect ( nothing ) --> nothing</h3>
1630 <p>Terminate a P2P group.
1631 \note This needs to be issued on a P2P group interface if separate group interfaces are used.
1632 \bug It would be cleaner to not require .P2PDevice methods to be issued on a group interface. In other words, this would either need to be Disconnect(group_object) or moved to be a .Group Disconnect() method.</p>
1633 </li>
1634
1635 <li>
1636 <h3>RejectPeer ( o : peer ) --> nothing</h3>
1637 <p>Reject connection attempt from a peer (specified with a device address). This is a mechanism to reject a pending GO Negotiation with a peer and request to automatically block any further connection or discovery of the peer.</p>
1638 </li>
1639
1640 <li>
1641 <h3>RemoveClient ( a{sv} : args ) --> nothing</h3>
1642 <p>Remove the client from all groups (operating and persistent) from the local GO.</p>
1643 <h4>Arguments</h4>
1644 <dl>
1645 <dt>a{sv} : args</dt>
1646 <dd>
1647 A dictionary with parameters for removing a client:
1648 <table>
1649 <tr><th>Key</th><th>Value type</th><th>Description</th><th>Required</th></tr>
1650 <tr><td>peer</td><td>o</td><td>Object path for peer's P2P Device Address</td><td>yes</td></tr>
1651 <tr><td>iface</td><td>s</td><td>Interface address[MAC Address format] of the peer to be disconnected. Required if object path is not provided.</td><td>no</td></tr>
1652 </table>
1653 </dd>
1654 </dl>
1655 </li>
1656
1657 <li>
1658 <h3>Flush ( nothing ) --> nothing</h3>
1659 <p>Flush P2P peer table and state.</p>
1660 </li>
1661
1662 <li>
1663 <h3>AddService ( a{sv} : args ) --> nothing</h3>
1664 <p></p>
1665 <h4>Arguments</h4>
1666 <dl>
1667 <dt>a{sv} : args</dt>
1668 <dd>
1669 A dictionary with parameters for the service:
1670 <table>
1671 <tr><th>Key</th><th>Value type</th><th>Description</th><th>Required</th></tr>
1672 <tr><td>service_type</td><td>s</td><td>"upnp", "bonjour"</td><td>yes</td></tr>
1673 <tr><td>version</td><td>u</td><td>Required for UPnP services.</td><td>no</td></tr>
1674 <tr><td>service</td><td>s</td><td></td><td></td></tr>
1675 <tr><td>query</td><td>ay</td><td></td><td></td></tr>
1676 <tr><td>response</td><td>ay</td><td></td><td></td></tr>
1677 </table>
1678 </dd>
1679 </dl>
1680 </li>
1681
1682 <li>
1683 <h3>DeleteService ( a{sv} : args ) --> nothing</h3>
1684 <p></p>
1685 <h4>Arguments</h4>
1686 <dl>
1687 <dt>a{sv} : args</dt>
1688 <dd>
1689 A dictionary with parameters for the service:
1690 <table>
1691 <tr><th>Key</th><th>Value type</th><th>Description</th><th>Required</th></tr>
1692 <tr><td>service_type</td><td>s</td><td>"upnp", "bonjour"</td><td>yes</td></tr>
1693 <tr><td>version</td><td>u</td><td>Required for UPnP services.</td><td>no</td></tr>
1694 <tr><td>service</td><td>s</td><td></td><td></td></tr>
1695 <tr><td>query</td><td>ay</td><td></td><td></td></tr>
1696 </table>
1697 </dd>
1698 </dl>
1699 </li>
1700
1701 <li>
1702 <h3>FlushService ( nothing ) --> nothing</h3>
1703 </li>
1704
1705 <li>
1706 <h3>ServiceDiscoveryRequest ( a{sv} : args ) --> t : ref</h3>
1707 <p></p>
1708 <h4>Arguments</h4>
1709 <dl>
1710 <dt>a{sv} : args</dt>
1711 <dd>
1712 A dictionary with following parameters:
1713 <table>
1714 <tr><th>Key</th><th>Value type</th><th>Description</th><th>Required</th></tr>
1715 <tr><td>peer_object</td><td>o</td><td></td><td>no</td></tr>
1716 <tr><td>service_type</td><td>s</td><td>"upnp"</td><td>no</td></tr>
1717 <tr><td>version</td><td>u</td><td>Required for UPnP services.</td><td>no</td></tr>
1718 <tr><td>service</td><td>s</td><td></td><td></td></tr>
1719 <tr><td>tlv</td><td>ay</td><td></td><td></td></tr>
1720 </table>
1721 </dd>
1722 </dl>
1723 </li>
1724
1725 <li>
1726 <h3>ServiceDiscoveryResponse ( a{sv} : args ) --> nothing : ref</h3>
1727 <p></p>
1728 <h4>Arguments</h4>
1729 <dl>
1730 <dt>a{sv} : args</dt>
1731 <dd>
1732 A dictionary with following parameters:
1733 <table>
1734 <tr><th>Key</th><th>Value type</th><th>Description</th><th>Required</th></tr>
1735 <tr><td>peer_object</td><td>o</td><td></td><td>yes</td></tr>
1736 <tr><td>frequency</td><td>i</td><td></td><td>yes</td></tr>
1737 <tr><td>dialog_token</td><td>i</td><td></td><td>yes</td></tr>
1738 <tr><td>tlvs</td><td>ay</td><td></td><td>yes</td></tr>
1739 </table>
1740 </dd>
1741 </dl>
1742 </li>
1743
1744 <li>
1745 <h3>ServiceDiscoveryCancelRequest ( t : args ) --> nothing : ref</h3>
1746 </li>
1747
1748 <li>
1749 <h3>ServiceUpdate ( nothing ) --> nothing</h3>
1750 </li>
1751
1752 <li>
1753 <h3>ServiceDiscoveryExternal ( i : arg ) --> nothing</h3>
1754 </li>
1755
1756 <li>
1757 <h3>AddPersistentGroup ( a{sv} : args ) --> o : path</h3>
1758 <p></p>
1759 <h4>Arguments</h4>
1760 <dl>
1761 <dt>a{sv} : args</dt>
1762 <dd>
1763 A dictionary with following parameters:
1764 <table>
1765 <tr><th>Key</th><th>Value type</th><th>Description</th><th>Required</th></tr>
1766 <tr><td>bssid</td><td>s</td><td>P2P Device Address of the GO in the persistent group.</td><td>yes</td></tr>
1767 <tr><td>ssid</td><td>s</td><td>SSID of the group</td><td>yes</td></tr>
1768 <tr><td>psk</td><td>s</td><td>Passphrase (on the GO and optionally on P2P Client) or PSK (on P2P Client if passphrase ise not known)</td><td>yes</td></tr>
1769 <tr><td>mode</td><td>s</td><td>"3" on GO or "0" on P2P Client</td><td>yes</td></tr>
1770 </table>
1771 </dd>
1772 </dl>
1773 </li>
1774
1775 <li>
1776 <h3>RemovePersistentGroup ( o : path ) --> nothing</h3>
1777 </li>
1778
1779 <li>
1780 <h3>RemoveAllPersistentGroups ( nothing ) --> nothing</h3>
1781 </li>
1782</ul>
1783
1784\subsection dbus_p2pdevice_properties Properties
1785
1786<ul>
1787 <li>
1788 <h3>P2PDeviceConfig - a{sv} - (read/write)</h3>
1789 <p>Dictionary with following entries. On write, only the included values are changed.</p>
1790 <table>
1791 <tr><th>Key</th><th>Value type</th><th>Description</th></tr>
1792 <tr><td>DeviceName</td><td>s</td><td></td></tr>
1793 <tr><td>PrimaryDeviceType</td><td>ay</td><td></td></tr>
1794 <tr><td>SecondaryDeviceTypes</td><td>aay</td><td></td></tr>
1795 <tr><td>VendorExtension</td><td>aay</td><td></td></tr>
1796 <tr><td>GOIntent</td><td>u</td><td></td></tr>
1797 <tr><td>PersistentReconnect</td><td>b</td><td></td></tr>
1798 <tr><td>ListenRegClass</td><td>u</td><td></td></tr>
1799 <tr><td>ListenChannel</td><td>u</td><td></td></tr>
1800 <tr><td>OperRegClass</td><td>u</td><td></td></tr>
1801 <tr><td>OperChannel</td><td>u</td><td></td></tr>
1802 <tr><td>SsidPostfix</td><td>s</td><td></td></tr>
1803 <tr><td>IntraBss</td><td>b</td><td></td></tr>
1804 <tr><td>GroupIdle</td><td>u</td><td></td></tr>
1805 <tr><td>disassoc_low_ack</td><td>u</td><td></td></tr>
1806 <tr><td>NoGroupIface</td><td>b</td><td></td></tr>
1807 <tr><td>p2p_search_delay</td><td>u</td><td></td></tr>
1808 </table>
1809 </li>
1810
1811 <li>
1812 <h3>Peers - ao - (read)</h3>
1813 </li>
1814
1815 <li>
1816 <h3>Role - s - (read)</h3>
1817 <p>\bug What is this trying to indicate? It does not make much sense to have a P2PDevice property role since there can be multiple concurrent groups and the P2P Device role is always active anyway.</p>
1818 </li>
1819
1820 <li>
1821 <h3>Group - o - (read)</h3>
1822 <p>\bug What is this trying to indicate? It does not make much sense to have a P2PDevice property Group since there can be multiple concurrent groups.</p>
1823 </li>
1824
1825 <li>
1826 <h3>PeerGO - o - (read)</h3>
1827 <p>\bug What is this trying to indicate? It does not make much sense to have a P2PDevice property PeerGO since there can be multiple concurrent groups.</p>
1828 </li>
1829
1830 <li>
1831 <h3>PersistentGroups - ao - (read)</h3>
1832 </li>
1833</ul>
1834
1835\subsection dbus_p2pdevice_signals Signals
1836
1837<ul>
1838 <li>
1839 <h3>DeviceFound ( o : path )</h3>
1840 </li>
1841
1842 <li>
1843 <h3>DeviceFoundProperties ( o : path, a{sv} : properties )</h3>
1844 <p>A new peer device has been found.</p>
1845 <h4>Arguments</h4>
1846 <dl>
1847 <dt>o : path</dt>
1848 <dd>A D-Bus path to an object representing the found peer device.</dd>
1849 </dl>
1850 <dl>
1851 <dt>a{sv} : properties</dt>
1852 <dd>A dictionary containing properties of the found peer device.</dd>
1853 </dl>
1854 </li>
1855
1856 <li>
1857 <h3>DeviceLost ( o : path )</h3>
1858 </li>
1859
1860 <li>
1861 <h3>FindStopped ( )</h3>
1862 </li>
1863
1864 <li>
1865 <h3>ProvisionDiscoveryRequestDisplayPin ( o : peer_object, s : pin )</h3>
1866 </li>
1867
1868 <li>
1869 <h3>ProvisionDiscoveryResponseDisplayPin ( o : peer_object, s : pin )</h3>
1870 </li>
1871
1872 <li>
1873 <h3>ProvisionDiscoveryRequestEnterPin ( o : peer_object )</h3>
1874 </li>
1875
1876 <li>
1877 <h3>ProvisionDiscoveryResponseEnterPin ( o : peer_object )</h3>
1878 </li>
1879
1880 <li>
1881 <h3>ProvisionDiscoveryPBCRequest ( o : peer_object )</h3>
1882 </li>
1883
1884 <li>
1885 <h3>ProvisionDiscoveryPBCResponse ( o : peer_object )</h3>
1886 </li>
1887
1888 <li>
1889 <h3>ProvisionDiscoveryFailure ( o : peer_object, i : status )</h3>
1890 </li>
1891
1892 <li>
1893 <h3>GroupStarted ( a{sv} : properties )</h3>
1894 <p>A new P2P group was started or joined.</p>
1895 <h4>Arguments</h4>
1896 <dl>
1897 <dt>a{sv} : properties</dt>
1898 <dd>A dictionary with following information on the added group:
1899 <table>
1900 <tr><th>Key</th><th>Value type</th><th>Description</th></tr>
1901 <tr><td>interface_object</td><td>o</td><td>D-Bus path of the interface on which this group is operating on. See \ref dbus_interface.</td></tr>
1902 <tr><td>role</td><td>s</td><td>The role of the local device in the group: "GO" or "client".</td></tr>
1903 <tr><td>group_object</td><td>o</td><td>D-Bus path of the group. See \ref dbus_group.</td></tr>
1904 </table>
1905 </dd>
1906 </dl>
1907 </li>
1908
1909 <li>
1910 <h3>GONegotiationSuccess ( a{sv} : properties )</h3>
1911 <p></p>
1912 <h4>Arguments</h4>
1913 <dl>
1914 <dt>a{sv} : properties</dt>
1915 <dd>A dictionary with following information:
1916 <table>
1917 <tr><th>Key</th><th>Value type</th><th>Description</th></tr>
1918 <tr><td>peer_object</td><td>o</td><td>D-Bus path of the peer. See \ref dbus_peer.</td></tr>
1919 <tr><td>status</td><td>i</td><td></td></tr>
1920 <tr><td>passphrase</td><td>s</td><td>Passphrase for the group. Included only if this device becomes the GO of the group.</td></tr>
1921 <tr><td>role_go</td><td>s</td><td>The role of the local device in the group: "GO" or "client".</td></tr>
1922 <tr><td>ssid</td><td>ay</td><td></td></tr>
1923 <tr><td>peer_device_addr</td><td>ay</td><td></td></tr>
1924 <tr><td>peer_interface_addr</td><td>ay</td><td></td></tr>
1925 <tr><td>wps_method</td><td>s</td><td></td></tr>
1926 <tr><td>frequency_list</td><td>ai</td><td></td></tr>
1927 <tr><td>persistent_group</td><td>i</td><td></td></tr>
1928 <tr><td>peer_config_timeout</td><td>u</td><td></td></tr>
1929 </table>
1930 </dd>
1931 </dl>
1932 </li>
1933
1934 <li>
1935 <h3>GONegotiationFailure ( a{sv} : properties )</h3>
1936 <p></p>
1937 <h4>Arguments</h4>
1938 <dl>
1939 <dt>a{sv} : properties</dt>
1940 <dd>A dictionary with following information:
1941 <table>
1942 <tr><th>Key</th><th>Value type</th><th>Description</th></tr>
1943 <tr><td>peer_object</td><td>o</td><td>D-Bus path of the peer. See \ref dbus_peer.</td></tr>
1944 <tr><td>status</td><td>i</td><td></td></tr>
1945 </table>
1946 </dd>
1947 </dl>
1948 </li>
1949
1950 <li>
1951 <h3>GONegotiationRequest ( o : path, q : dev_passwd_id, y : device_go_intent )</h3>
1952 </li>
1953
1954 <li>
1955 <h3>InvitationResult ( a{sv} : invite_result )</h3>
1956 <p></p>
1957 <h4>Arguments</h4>
1958 <dl>
1959 <dt>a{sv} : invite_result</dt>
1960 <dd>A dictionary with following information:
1961 <table>
1962 <tr><th>Key</th><th>Value type</th><th>Description</th></tr>
1963 <tr><td>status</td><td>i</td><td></td></tr>
1964 <tr><td>BSSID</td><td>ay</td><td>Optionally present</td></tr>
1965 </table>
1966 </dd>
1967 </dl>
1968 </li>
1969
1970 <li>
1971 <h3>GroupFinished ( a{sv} : properties )</h3>
1972 <p>A P2P group was removed.</p>
1973 <h4>Arguments</h4>
1974 <dl>
1975 <dt>a{sv} : properties</dt>
1976 <dd>A dictionary with following information of the removed group:
1977 <table>
1978 <tr><th>Key</th><th>Value type</th><th>Description</th></tr>
1979 <tr><td>interface_object</td><td>o</td><td>D-Bus path of the interface on which this group is operating on. See \ref dbus_interface.</td></tr>
1980 <tr><td>role</td><td>s</td><td>The role of the local device in the group: "GO" or "client".</td></tr>
1981 <tr><td>group_object</td><td>o</td><td>D-Bus path of the group. See \ref dbus_group.</td></tr>
1982 </table>
1983 </dd>
1984 </dl>
1985 </li>
1986
1987 <li>
1988 <h3>ServiceDiscoveryRequest ( a{sv} : sd_request )</h3>
1989 <p></p>
1990 <h4>Arguments</h4>
1991 <dl>
1992 <dt>a{sv} : sd_request</dt>
1993 <dd>A dictionary with following information:
1994 <table>
1995 <tr><td>peer_object</td><td>o</td><td></td></tr>
1996 <tr><td>frequency</td><td>i</td><td></td></tr>
1997 <tr><td>dialog_token</td><td>i</td><td></td></tr>
1998 <tr><td>update_indicator</td><td>q</td><td></td></tr>
1999 <tr><td>tlvs</td><td>ay</td><td></td></tr>
2000 </table>
2001 </dd>
2002 </dl>
2003 </li>
2004
2005 <li>
2006 <h3>ServiceDiscoveryResponse ( a{sv} : sd_response )</h3>
2007 <p></p>
2008 <h4>Arguments</h4>
2009 <dl>
2010 <dt>a{sv} : sd_response</dt>
2011 <dd>A dictionary with following information:
2012 <table>
2013 <tr><td>peer_object</td><td>o</td><td></td></tr>
2014 <tr><td>update_indicator</td><td>q</td><td></td></tr>
2015 <tr><td>tlvs</td><td>ay</td><td></td></tr>
2016 </table>
2017 </dd>
2018 </dl>
2019 </li>
2020
2021 <li>
2022 <h3>PersistentGroupAdded ( o : path, a{sv} : properties )</h3>
2023 <p></p>
2024 <h4>Arguments</h4>
2025 <dl>
2026 <dt>o : path</dt>
2027 <dd>D-Bus object path for the persistent group. See \ref dbus_persistent_group.</dd>
2028 <dt>a{sv} : properties</dt>
2029 <dd>A dictionary with following information:
2030 <table>
2031 <tr><th>Key</th><th>Value type</th><th>Description</th></tr>
2032 <tr><td>bssid</td><td>s</td><td>P2P Device Address of the GO in the persistent group.</td></tr>
2033 <tr><td>ssid</td><td>s</td><td>SSID of the group</td></tr>
2034 <tr><td>psk</td><td>s</td><td>Passphrase (on the GO and optionally on P2P Client) or PSK (on P2P Client if passphrase ise not known)</td></tr>
2035 <tr><td>disabled</td><td>s</td><td>Set to "2" to indicate special network block use as a P2P persistent group information</td></tr>
2036 <tr><td>mode</td><td>s</td><td>"3" on GO or "0" on P2P Client</td></tr>
2037 </table>
2038 </dd>
2039 </dl>
2040 </li>
2041
2042 <li>
2043 <h3>PersistentGroupRemoved ( o : path )</h3>
2044 <p></p>
2045 <h4>Arguments</h4>
2046 <dl>
2047 <dt>o : path</dt>
2048 <dd>D-Bus object path for the persistent group. See \ref dbus_persistent_group.</dd>
2049 </dl>
2050 </li>
2051
2052 <li>
2053 <h3>WpsFailed ( s : name, a{sv} : args )</h3>
2054 <p></p>
2055 <h4>Arguments</h4>
2056 <dl>
2057 <dt>s : name</dt>
2058 <dd>"fail"</dd>
2059 <dt>a{sv} : args</dt>
2060 <dd>A dictionary with following information:
2061 <table>
2062 <tr><th>Key</th><th>Value type</th><th>Description</th></tr>
2063 <tr><td>msg</td><td>i</td><td></td></tr>
2064 <tr><td>config_error</td><td>n</td><td></td></tr>
2065 </table>
2066 </dd>
2067 </dl>
2068 </li>
2069
2070 <li>
2071 <h3>InvitationReceived ( a{sv} : properties )</h3>
2072 <p></p>
2073 <h4>Arguments</h4>
2074 <dl>
2075 <dt>a{sv} : properties</dt>
2076 <dd>A dictionary with following information:
2077 <table>
2078 <tr><th>Key</th><th>Value type</th><th>Description</th></tr>
2079 <tr><td>sa</td><td>ay</td><td>Optionally present</td></tr>
2080 <tr><td>go_dev_addr</td><td>ay</td><td>Optionally present</td></tr>
2081 <tr><td>bssid</td><td>ay</td><td>Optionally present</td></tr>
2082 <tr><td>persistent_id</td><td>i</td><td>Optionally present</td></tr>
2083 <tr><td>op_freq</td><td>i</td><td></td></tr>
2084 </table>
2085 </dd>
2086 </dl>
2087 </li>
2088
2089 <li>
2090 <h3>GroupFormationFailure ( s : reason )</h3>
2091 <p></p>
2092 <h4>Arguments</h4>
2093 <dl>
2094 <dt>s : reason</dt>
2095 <dd>Reason for failure or empty string if not known.</dd>
2096 </dl>
2097 </li>
2098</ul>
2099
2100\section dbus_bss fi.w1.wpa_supplicant1.BSS
2101
2102Interface implemented by objects representing a scanned BSSs, i.e.,
2103scan results.
2104
2105\subsection dbus_bss_properties Properties
2106
2107<ul>
2108 <li>
2109 <h3>BSSID - ay - (read)</h3>
2110 <p>BSSID of the BSS.</p>
2111 </li>
2112 <li>
2113 <h3>SSID - ay - (read)</h3>
2114 <p>SSID of the BSS.</p>
2115 </li>
2116 <li>
2117 <h3>WPA - a{sv} - (read)</h3>
2118 <p>WPA information of the BSS. Empty dictionary indicates no WPA support. Dictionary entries are:</p>
2119 <table>
2120 <tr><td>KeyMgmt</td><td>as</td><td>Key management suite. Possible array elements: "wpa-psk", "wpa-eap", "wpa-none"</td>
2121 <tr><td>Pairwise</td><td>as</td><td>Pairwise cipher suites. Possible array elements: "ccmp", "tkip"</td>
2122 <tr><td>Group</td><td>s</td><td>Group cipher suite. Possible values are: "ccmp", "tkip", "wep104", "wep40"</td>
2123 </table>
2124 </li>
2125 <li>
2126 <h3>RSN - a{sv} - (read)</h3>
2127 <p>RSN information of the BSS. Empty dictionary indicates no RSN support. Dictionary entries are:</p>
2128 <table>
2129 <tr><td>KeyMgmt</td><td>as</td><td>Key management suite. Possible array elements: "wpa-psk", "wpa-ft-psk", "wpa-psk-sha256", "wpa-eap", "wpa-ft-eap", "wpa-eap-sha256", "wpa-eap-suite-b", "wpa-eap-suite-b-192", "wpa-fils-sha256", "wpa-fils-sha384", "wpa-ft-fils-sha256", "wpa-ft-fils-sha384", "sae", "ft-sae", "wpa-none"</td>
2130 <tr><td>Pairwise</td><td>as</td><td>Pairwise cipher suites. Possible array elements: "ccmp", "tkip"</td>
2131 <tr><td>Group</td><td>s</td><td>Group cipher suite. Possible values are: "ccmp", "tkip", "wep104", "wep40"</td>
2132 <tr><td>MgmtGroup</td><td>s</td><td>Management frames cipher suite. Possible values are: "aes128cmac"</td>
2133 </table>
2134 </li>
2135 <li>
2136 <h3>WPS - a{sv} - (read)</h3>
2137 <p>WPS information of the BSS. Empty dictionary indicates no WPS support. Dictionary entries are:</p>
2138 <table>
2139 <tr><td>Type</td><td>s</td><td>"pbc", "pin", ""</td>
2140 </table>
2141 </li>
2142 <li>
2143 <h3>IEs - ay - (read)</h3>
2144 <p>All IEs of the BSS as a chain of TLVs</p>
2145 </li>
2146 <li>
2147 <h3>Privacy - b - (read)</h3>
2148 <p>Indicates if BSS supports privacy.</p>
2149 </li>
2150 <li>
2151 <h3>Mode - s - (read)</h3>
2152 <p>Describes mode of the BSS. Possible values are: "ad-hoc" and "infrastructure".</p>
2153 </li>
2154 <li>
2155 <h3>Frequency - q - (read)</h3>
2156 <p>Frequency of the BSS in MHz.</p>
2157 </li>
2158 <li>
2159 <h3>Rates - au - (read)</h3>
2160 <p>Descending ordered array of rates supported by the BSS in bits per second.</p>
2161 </li>
2162 <li>
2163 <h3>Signal - n - (read)</h3>
2164 <p>Signal strength of the BSS.</p>
2165 </li>
2166 <li>
2167 <h3>Age - u - (read)</h3>
2168 <p>Number of seconds since the BSS was last seen.</p>
2169 </li>
2170 </ul>
2171
2172\subsection dbus_bss_signals Signals
2173
2174<ul>
2175 <li>
2176 <h3>PropertiesChanged ( a{sv} : properties )</h3>
2177 <p>Some properties have changed.</p>
2178 <h4>Arguments</h4>
2179 <dl>
2180 <dt>a{sv} : properties</dt>
2181 <dd>A dictionary with pairs of properties names which have changed and theirs new values.</dd>
2182 </dl>
2183 </li>
2184 </ul>
2185
2186
2187\section dbus_network fi.w1.wpa_supplicant1.Network
2188
2189Interface implemented by objects representing configured networks,
2190i.e., returned by fi.w1.wpa_supplicant1.Interface.AddNetwork.
2191
2192\subsection dbus_network_properties Properties
2193
2194<ul>
2195 <li>
2196 <h3>Enabled - b - (read/write)</h3>
2197 <p>Determines if the configured network is enabled or not.</p>
2198 </li>
2199
2200 <li>
2201 <h3>Properties - a{sv} - (read/write)</h3>
2202 <p>Properties of the configured network. Dictionary contains entries from "network" block of wpa_supplicant configuration file. All values are string type, e.g., frequency is "2437", not 2437. When setting the properties, use the same format as for the AddNetwork() function.</p>
2203 </li>
2204 </ul>
2205
2206\subsection dbus_network_signals Signals
2207
2208<ul>
2209 <li>
2210 <h3>PropertiesChanged ( a{sv} : properties )</h3>
2211 <p>Some properties have changed.</p>
2212 <h4>Arguments</h4>
2213 <dl>
2214 <dt>a{sv} : properties</dt>
2215 <dd>A dictionary with pairs of properties names which have changed and theirs new values. Possible dictionary keys are: "Enabled"</dd>
2216 </dl>
2217 </li>
2218 </ul>
2219
2220\section dbus_peer fi.w1.wpa_supplicant1.Peer
2221
2222Interface implemented by objects representing P2P peer devices.
2223
2224\subsection dbus_peer_properties Properties
2225
2226<ul>
2227 <li>
2228 <h3>DeviceName - s - (read)</h3>
2229 </li>
2230
2231 <li>
2232 <h3>Manufacturer - s - (read)</h3>
2233 </li>
2234
2235 <li>
2236 <h3>ModelName - s - (read)</h3>
2237 </li>
2238
2239 <li>
2240 <h3>ModelNumber - s - (read)</h3>
2241 </li>
2242
2243 <li>
2244 <h3>SerialNumber - s - (read)</h3>
2245 </li>
2246
2247 <li>
2248 <h3>PrimaryDeviceType - ay - (read)</h3>
2249 </li>
2250
2251 <li>
2252 <h3>config_method - q - (read)</h3>
2253 </li>
2254
2255 <li>
2256 <h3>level - i - (read)</h3>
2257 </li>
2258
2259 <li>
2260 <h3>devicecapability - y - (read)</h3>
2261 </li>
2262
2263 <li>
2264 <h3>groupcapability - y - (read)</h3>
2265 <p>Group Capability field from the last frame from which this peer information was updated.
2266 \note This field is only for debugging purposes and must not be used to determine whether the peer happens to be operating a group as a GO at the moment.
2267 </p>
2268 </li>
2269
2270 <li>
2271 <h3>SecondaryDeviceTypes - aay - (read)</h3>
2272 </li>
2273
2274 <li>
2275 <h3>VendorExtension - aay - (read)</h3>
2276 </li>
2277
2278 <li>
2279 <h3>IEs - ay - (read)</h3>
2280 <p>This is a confusingly named property that includes Wi-Fi Display subelements from the peer.
2281 \bug This should really be renamed since "IEs" means something completely different..
2282 </p>
2283 </li>
2284
2285 <li>
2286 <h3>DeviceAddress - ay - (read)</h3>
2287 <p>The P2P Device Address of the peer.</p>
2288 </li>
2289
2290 <li>
2291 <h3>Groups - ao - (read)</h3>
2292 <p>The current groups in which this peer is connected.</p>
2293 </li>
2294</ul>
2295
2296\subsection dbus_peer_signals Signals
2297
2298<ul>
2299 <li>
2300 <h3>PropertiesChanged ( a{sv} : properties )</h3>
2301 <p>Some properties have changed.
2302 \deprecated Use org.freedesktop.DBus.Properties.PropertiesChanged instead.</p>
2303 \todo Explain how ProertiesChanged signals are supposed to be of any real use with Peer objects (i.e., one signal for multiple peers).
2304 <h4>Arguments</h4>
2305 <dl>
2306 <dt>a{sv} : properties</dt>
2307 <dd>A dictionary with pairs of properties names which have changed and their new values.</dd>
2308 </dl>
2309 </li>
2310 </ul>
2311
2312\section dbus_group fi.w1.wpa_supplicant1.Group
2313
2314Interface implemented by objects representing active P2P groups.
2315
2316\subsection dbus_group_properties Properties
2317
2318<ul>
2319 <li>
2320 <h3>Members - ao - (read)</h3>
2321 <p>Array of D-Bus object paths for the peer devices that are currently connected to the group. This is valid only on the GO device. An empty array is returned in P2P Client role.
2322 </li>
2323
2324 <li>
2325 <h3>Group - o - (read)</h3>
2326 <p>\todo Why is this here? This D-Bus object path is to this specific group and one needs to know it to fetching this information in the first place..
2327 </p>
2328 </li>
2329
2330 <li>
2331 <h3>Role - s - (read)</h3>
2332 <p>The role of this device in the group: "GO", "client".</p>
2333 </li>
2334
2335 <li>
2336 <h3>SSID - ay - (read)</h3>
2337 <p>P2P Group SSID.</p>
2338 </li>
2339
2340 <li>
2341 <h3>BSSID - ay - (read)</h3>
2342 <p>P2P Group BSSID (the P2P Interface Address of the GO).</p>
2343 </li>
2344
2345 <li>
2346 <h3>Frequency - q - (read)</h3>
2347 <p>The frequency (in MHz) of the group operating channel.</p>
2348 </li>
2349
2350 <li>
2351 <h3>Passphrase - s - (read)</h3>
2352 <p>Passphrase used in the group. This is always available on the GO. For P2P Client role, this may be available depending on whether the peer GO provided the passphrase during the WPS provisioning step. If not available, an empty string is returned.</p>
2353 </li>
2354
2355 <li>
2356 <h3>PSK - ay - (read)</h3>
2357 <p>PSK used in the group.</p>
2358 </li>
2359
2360 <li>
2361 <h3>WPSVendorExtensions - aay - (read/write)</h3>
2362 <p>WPS vendor extension attributes used on the GO. This is valid only the in the GO role. An empty array is returned in P2P Client role. At maximum, 10 separate vendor extension byte arrays can be configured. The GO device will include the configured attributes in WPS exchanges.</p>
2363 </li>
2364</ul>
2365
2366\subsection dbus_group_signals Signals
2367
2368<ul>
2369 <li>
2370 <h3>PeerJoined ( o : peer )</h3>
2371 <p>A peer device has joined the group. This is indicated only on the GO device.</p>
2372 <h4>Arguments</h4>
2373 <dl>
2374 <dt>o : peer</dt>
2375 <dd>A D-Bus path to the object representing the peer. See \ref dbus_peer.</dd>
2376 </dl>
2377 </li>
2378
2379 <li>
2380 <h3>PeerDisconnected ( o : peer )</h3>
2381 <p>A peer device has left the group. This is indicated only on the GO device.</p>
2382 <h4>Arguments</h4>
2383 <dl>
2384 <dt>o : peer</dt>
2385 <dd>A D-Bus path to the object representing the peer. See \ref dbus_peer.</dd>
2386 </dl>
2387 </li>
2388</ul>
2389
2390\section dbus_persistent_group fi.w1.wpa_supplicant1.PersistentGroup
2391
2392Interface implemented by objects representing persistent P2P groups.
2393
2394\subsection dbus_persistent_group_properties Properties
2395
2396<ul>
2397 <li>
2398 <h3>Properties - a{sv} - (read/write)</h3>
2399 <p>Properties of the persistent group. These are same properties as in the \ref dbus_network. When writing this, only the entries to be modified are included, i.e., any item that is not included will be left at its existing value. The following entries are used for persistent groups:</p>
2400 <table>
2401 <tr><th>Key</th><th>Value type</th><th>Description</th></tr>
2402 <tr><td>bssid</td><td>s</td><td>P2P Device Address of the GO in the persistent group.</td></tr>
2403 <tr><td>ssid</td><td>s</td><td>SSID of the group</td></tr>
2404 <tr><td>psk</td><td>s</td><td>Passphrase (on the GO and optionally on P2P Client) or PSK (on P2P Client if passphrase ise not known)</td></tr>
2405 <tr><td>disabled</td><td>s</td><td>Set to "2" to indicate special network block use as a P2P persistent group information</td></tr>
2406 <tr><td>mode</td><td>s</td><td>"3" on GO or "0" on P2P Client</td></tr>
2407 </table>
2408 </li>
2409</ul>
2410
2411\section dbus_mesh fi.w1.wpa_supplicant1.Interface.Mesh
2412
2413Interface for performing mesh operations.
2414
2415\subsection dbus_mesh_properties Properties
2416
2417<ul>
2418 <li>
2419 <h3>MeshPeers - aay - (read)</h3>
2420 </li>
2421
2422 <li>
2423 <h3>MeshGroup - ay - (read)</h3>
2424 </li>
2425</ul>
2426
2427\subsection dbus_mesh_signals Signals
2428
2429<ul>
2430 <li>
2431 <h3>MeshGroupStarted ( a{sv} : args )</h3>
2432 <p></p>
2433 <h4>Arguments</h4>
2434 <dl>
2435 <dt>a{sv} : args</dt>
2436 <dd>A dictionary containing information of the started mesh group.</dd>
2437 </dl>
2438 </li>
2439 <li>
2440 <h3>MeshGroupRemoved ( a{sv} : args )</h3>
2441 <p></p>
2442 <h4>Arguments</h4>
2443 <dl>
2444 <dt>a{sv} : args</dt>
2445 <dd>A dictionary containing information of the removed mesh group.</dd>
2446 </dl>
2447 </li>
2448 <li>
2449 <h3>MeshPeerConnected ( a{sv} : args )</h3>
2450 <p></p>
2451 <h4>Arguments</h4>
2452 <dl>
2453 <dt>a{sv} : args</dt>
2454 <dd>A dictionary containing information of the connected mesh peer.</dd>
2455 </dl>
2456 </li>
2457 <li>
2458 <h3>MeshPeerDisconnected ( a{sv} : args )</h3>
2459 <p></p>
2460 <h4>Arguments</h4>
2461 <dl>
2462 <dt>a{sv} : args</dt>
2463 <dd>A dictionary containing information of the disconnected mesh peer.</dd>
2464 </dl>
2465 </li>
2466</ul>
2467
2468*/