wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
dbus_new.h
Go to the documentation of this file.
1 
6 #ifndef CTRL_IFACE_DBUS_NEW_H
7 #define CTRL_IFACE_DBUS_NEW_H
8 
9 #include "common/defs.h"
10 #include "p2p/p2p.h"
11 
12 struct wpa_global;
13 struct wpa_supplicant;
14 struct wpa_ssid;
15 struct wps_event_m2d;
16 struct wps_event_fail;
17 struct wps_credential;
18 
19 enum wpas_dbus_prop {
20  WPAS_DBUS_PROP_AP_SCAN,
21  WPAS_DBUS_PROP_SCANNING,
22  WPAS_DBUS_PROP_STATE,
23  WPAS_DBUS_PROP_CURRENT_BSS,
24  WPAS_DBUS_PROP_CURRENT_NETWORK,
25  WPAS_DBUS_PROP_CURRENT_AUTH_MODE,
26  WPAS_DBUS_PROP_BSSS,
27  WPAS_DBUS_PROP_DISCONNECT_REASON,
28 };
29 
30 enum wpas_dbus_bss_prop {
31  WPAS_DBUS_BSS_PROP_SIGNAL,
32  WPAS_DBUS_BSS_PROP_FREQ,
33  WPAS_DBUS_BSS_PROP_MODE,
34  WPAS_DBUS_BSS_PROP_PRIVACY,
35  WPAS_DBUS_BSS_PROP_RATES,
36  WPAS_DBUS_BSS_PROP_WPA,
37  WPAS_DBUS_BSS_PROP_RSN,
38  WPAS_DBUS_BSS_PROP_WPS,
39  WPAS_DBUS_BSS_PROP_IES,
40  WPAS_DBUS_BSS_PROP_AGE,
41 };
42 
43 #define WPAS_DBUS_OBJECT_PATH_MAX 150
44 
45 #define WPAS_DBUS_NEW_SERVICE "fi.w1.wpa_supplicant1"
46 #define WPAS_DBUS_NEW_PATH "/fi/w1/wpa_supplicant1"
47 #define WPAS_DBUS_NEW_INTERFACE "fi.w1.wpa_supplicant1"
48 
49 #define WPAS_DBUS_NEW_PATH_INTERFACES WPAS_DBUS_NEW_PATH "/Interfaces"
50 #define WPAS_DBUS_NEW_IFACE_INTERFACE WPAS_DBUS_NEW_INTERFACE ".Interface"
51 #define WPAS_DBUS_NEW_IFACE_WPS WPAS_DBUS_NEW_IFACE_INTERFACE ".WPS"
52 
53 #define WPAS_DBUS_NEW_NETWORKS_PART "Networks"
54 #define WPAS_DBUS_NEW_IFACE_NETWORK WPAS_DBUS_NEW_INTERFACE ".Network"
55 
56 #define WPAS_DBUS_NEW_BSSIDS_PART "BSSs"
57 #define WPAS_DBUS_NEW_IFACE_BSS WPAS_DBUS_NEW_INTERFACE ".BSS"
58 
59 #define WPAS_DBUS_NEW_IFACE_P2PDEVICE \
60  WPAS_DBUS_NEW_IFACE_INTERFACE ".P2PDevice"
61 
62 /*
63  * Groups correspond to P2P groups where this device is a GO (owner)
64  */
65 #define WPAS_DBUS_NEW_P2P_GROUPS_PART "Groups"
66 #define WPAS_DBUS_NEW_IFACE_P2P_GROUP WPAS_DBUS_NEW_INTERFACE ".Group"
67 
68 /*
69  * Different dbus object for persistent groups so they do not get confused
70  * with regular (configured) network objects.
71  */
72 #define WPAS_DBUS_NEW_PERSISTENT_GROUPS_PART "PersistentGroups"
73 #define WPAS_DBUS_NEW_IFACE_PERSISTENT_GROUP \
74  WPAS_DBUS_NEW_INTERFACE ".PersistentGroup"
75 
76 #define WPAS_DBUS_NEW_P2P_PEERS_PART "Peers"
77 #define WPAS_DBUS_NEW_IFACE_P2P_PEER WPAS_DBUS_NEW_INTERFACE ".Peer"
78 
79 /* Top-level Errors */
80 #define WPAS_DBUS_ERROR_UNKNOWN_ERROR \
81  WPAS_DBUS_NEW_INTERFACE ".UnknownError"
82 #define WPAS_DBUS_ERROR_INVALID_ARGS \
83  WPAS_DBUS_NEW_INTERFACE ".InvalidArgs"
84 
85 #define WPAS_DBUS_ERROR_IFACE_EXISTS \
86  WPAS_DBUS_NEW_INTERFACE ".InterfaceExists"
87 #define WPAS_DBUS_ERROR_IFACE_DISABLED \
88  WPAS_DBUS_NEW_INTERFACE ".InterfaceDisabled"
89 #define WPAS_DBUS_ERROR_IFACE_UNKNOWN \
90  WPAS_DBUS_NEW_INTERFACE ".InterfaceUnknown"
91 
92 #define WPAS_DBUS_ERROR_NOT_CONNECTED \
93  WPAS_DBUS_NEW_INTERFACE ".NotConnected"
94 #define WPAS_DBUS_ERROR_NETWORK_UNKNOWN \
95  WPAS_DBUS_NEW_INTERFACE ".NetworkUnknown"
96 
97 #define WPAS_DBUS_ERROR_CONNECT_CHANNEL_UNAVAILABLE \
98  WPAS_DBUS_NEW_INTERFACE ".ConnectChannelUnavailable"
99 #define WPAS_DBUS_ERROR_CONNECT_CHANNEL_UNSUPPORTED \
100  WPAS_DBUS_NEW_INTERFACE ".ConnectChannelUnsupported"
101 #define WPAS_DBUS_ERROR_CONNECT_UNSPECIFIED_ERROR \
102  WPAS_DBUS_NEW_INTERFACE ".ConnectUnspecifiedError"
103 
104 #define WPAS_DBUS_ERROR_BLOB_EXISTS \
105  WPAS_DBUS_NEW_INTERFACE ".BlobExists"
106 #define WPAS_DBUS_ERROR_BLOB_UNKNOWN \
107  WPAS_DBUS_NEW_INTERFACE ".BlobUnknown"
108 
109 #define WPAS_DBUS_ERROR_SUBSCRIPTION_IN_USE \
110  WPAS_DBUS_NEW_INTERFACE ".SubscriptionInUse"
111 #define WPAS_DBUS_ERROR_NO_SUBSCRIPTION \
112  WPAS_DBUS_NEW_INTERFACE ".NoSubscription"
113 #define WPAS_DBUS_ERROR_SUBSCRIPTION_EPERM \
114  WPAS_DBUS_NEW_INTERFACE ".SubscriptionNotYou"
115 
116 /* Interface-level errors */
117 #define WPAS_DBUS_ERROR_IFACE_SCAN_ERROR \
118  WPAS_DBUS_NEW_IFACE_INTERFACE ".ScanError"
119 
120 void wpas_dbus_subscribe_noc(struct wpas_dbus_priv *priv);
121 void wpas_dbus_unsubscribe_noc(struct wpas_dbus_priv *priv);
122 
123 
124 #ifdef CONFIG_CTRL_IFACE_DBUS_NEW
125 
126 int wpas_dbus_ctrl_iface_init(struct wpas_dbus_priv *priv);
127 void wpas_dbus_ctrl_iface_deinit(struct wpas_dbus_priv *iface);
128 
132  enum wpas_dbus_prop property);
134  enum wpas_dbus_bss_prop property,
135  unsigned int id);
137  struct wpa_ssid *ssid);
138 void wpas_dbus_signal_network_selected(struct wpa_supplicant *wpa_s, int id);
140  struct wpa_ssid *ssid,
141  enum wpa_ctrl_req_type rtype,
142  const char *default_text);
143 void wpas_dbus_signal_scan_done(struct wpa_supplicant *wpa_s, int success);
144 void wpas_dbus_signal_wps_cred(struct wpa_supplicant *wpa_s,
145  const struct wps_credential *cred);
146 void wpas_dbus_signal_wps_event_m2d(struct wpa_supplicant *wpa_s,
147  struct wps_event_m2d *m2d);
148 void wpas_dbus_signal_wps_event_fail(struct wpa_supplicant *wpa_s,
149  struct wps_event_fail *fail);
150 void wpas_dbus_signal_wps_event_success(struct wpa_supplicant *wpa_s);
151 void wpas_dbus_signal_wps_event_pbc_overlap(struct wpa_supplicant *wpa_s);
153  struct wpa_ssid *ssid);
154 int wpas_dbus_unregister_network(struct wpa_supplicant *wpa_s, int nid);
155 int wpas_dbus_unregister_bss(struct wpa_supplicant *wpa_s,
156  u8 bssid[ETH_ALEN], unsigned int id);
157 int wpas_dbus_register_bss(struct wpa_supplicant *wpa_s,
158  u8 bssid[ETH_ALEN], unsigned int id);
160  const char *name);
162  const char *name);
166 
167 int wpas_dbus_register_peer(struct wpa_supplicant *wpa_s, const u8 *dev_addr);
170  const u8 *dev_addr);
171 int wpas_dbus_unregister_peer(struct wpa_supplicant *wpa_s,
172  const u8 *dev_addr);
174  const u8 *dev_addr);
176  const u8 *dev_addr);
178  const char *role);
180  const u8 *dev_addr, int request,
181  enum p2p_prov_disc_status status,
182  u16 config_methods,
183  unsigned int generated_pin);
185  const u8 *src, u16 dev_passwd_id,
186  u8 go_intent);
188  const struct wpa_ssid *ssid,
189  int client, int network_id);
191  const char *reason);
193  struct wpa_ssid *ssid);
195  struct p2p_go_neg_results *res);
197  const struct wpa_ssid *ssid);
199  struct wpa_ssid *ssid);
201  int nid);
203  int status, const u8 *bssid);
205  const u8 *member);
207  int freq, const u8 *sa, u8 dialog_token,
208  u16 update_indic, const u8 *tlvs,
209  size_t tlvs_len);
211  const u8 *sa, u16 update_indic,
212  const u8 *tlvs, size_t tlvs_len);
214  const u8 *member);
216  struct wps_event_fail *fail);
217 void wpas_dbus_signal_certification(struct wpa_supplicant *wpa_s,
218  int depth, const char *subject,
219  const char *altsubject[],
220  int num_altsubject,
221  const char *cert_hash,
222  const struct wpabuf *cert);
223 void wpas_dbus_signal_preq(struct wpa_supplicant *wpa_s,
224  const u8 *addr, const u8 *dst, const u8 *bssid,
225  const u8 *ie, size_t ie_len, u32 ssi_signal);
226 void wpas_dbus_signal_eap_status(struct wpa_supplicant *wpa_s,
227  const char *status, const char *parameter);
229  const u8 *sta);
231  const u8 *sta);
233  const u8 *sa, const u8 *dev_addr,
234  const u8 *bssid, int id,
235  int op_freq);
236 
237 #else /* CONFIG_CTRL_IFACE_DBUS_NEW */
238 
239 static inline int wpas_dbus_register_interface(struct wpa_supplicant *wpa_s)
240 {
241  return 0;
242 }
243 
244 static inline int wpas_dbus_unregister_interface(struct wpa_supplicant *wpa_s)
245 {
246  return 0;
247 }
248 
249 #define wpas_dbus_signal_state_changed(w, n, o) do { } while (0)
250 
251 static inline void wpas_dbus_signal_prop_changed(struct wpa_supplicant *wpa_s,
252  enum wpas_dbus_prop property)
253 {
254 }
255 
256 static inline void wpas_dbus_bss_signal_prop_changed(
257  struct wpa_supplicant *wpa_s, enum wpas_dbus_bss_prop property,
258  unsigned int id)
259 {
260 }
261 
263  struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid)
264 {
265 }
266 
267 static inline void wpas_dbus_signal_network_selected(
268  struct wpa_supplicant *wpa_s, int id)
269 {
270 }
271 
272 static inline void wpas_dbus_signal_network_request(
273  struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid,
274  enum wpa_ctrl_req_type rtype, const char *default_txt)
275 {
276 }
277 
278 static inline void wpas_dbus_signal_scan_done(struct wpa_supplicant *wpa_s,
279  int success)
280 {
281 }
282 
283 static inline void wpas_dbus_signal_wps_cred(struct wpa_supplicant *wpa_s,
284  const struct wps_credential *cred)
285 {
286 }
287 
288 static inline void wpas_dbus_signal_wps_event_m2d(struct wpa_supplicant *wpa_s,
289  struct wps_event_m2d *m2d)
290 {
291 }
292 
293 static inline void wpas_dbus_signal_wps_event_fail(
294  struct wpa_supplicant *wpa_s, struct wps_event_fail *fail)
295 {
296 }
297 
298 static inline void wpas_dbus_signal_wps_event_success(
299  struct wpa_supplicant *wpa_s)
300 {
301 }
302 
303 static inline void wpas_dbus_signal_wps_event_pbc_overlap(
304  struct wpa_supplicant *wpa_s)
305 {
306 }
307 
308 static inline int wpas_dbus_register_network(struct wpa_supplicant *wpa_s,
309  struct wpa_ssid *ssid)
310 {
311  return 0;
312 }
313 
314 static inline int wpas_dbus_unregister_network(struct wpa_supplicant *wpa_s,
315  int nid)
316 {
317  return 0;
318 }
319 
320 static inline int wpas_dbus_unregister_bss(struct wpa_supplicant *wpa_s,
321  u8 bssid[ETH_ALEN], unsigned int id)
322 {
323  return 0;
324 }
325 
326 static inline int wpas_dbus_register_bss(struct wpa_supplicant *wpa_s,
327  u8 bssid[ETH_ALEN], unsigned int id)
328 {
329  return 0;
330 }
331 
332 static inline void wpas_dbus_signal_blob_added(struct wpa_supplicant *wpa_s,
333  const char *name)
334 {
335 }
336 
337 static inline void wpas_dbus_signal_blob_removed(struct wpa_supplicant *wpa_s,
338  const char *name)
339 {
340 }
341 
342 static inline void wpas_dbus_signal_debug_level_changed(
343  struct wpa_global *global)
344 {
345 }
346 
348  struct wpa_global *global)
349 {
350 }
351 
353  struct wpa_global *global)
354 {
355 }
356 
357 static inline int wpas_dbus_register_peer(struct wpa_supplicant *wpa_s,
358  const u8 *dev_addr)
359 {
360  return 0;
361 }
362 
363 static inline int wpas_dbus_unregister_peer(struct wpa_supplicant *wpa_s,
364  const u8 *dev_addr)
365 {
366  return 0;
367 }
368 
369 static inline void
371  const u8 *dev_addr)
372 {
373 }
374 
375 static inline void
377  const char *role)
378 {
379 }
380 
381 static inline void
383  const u8 *dev_addr, int request,
384  enum p2p_prov_disc_status status,
385  u16 config_methods,
386  unsigned int generated_pin)
387 {
388 }
389 
390 static inline void wpas_dbus_signal_p2p_go_neg_req(struct wpa_supplicant *wpa_s,
391  const u8 *src,
392  u16 dev_passwd_id,
393  u8 go_intent)
394 {
395 }
396 
397 static inline void
399  const struct wpa_ssid *ssid,
400  int client, int network_id)
401 {
402 }
403 
404 static inline void
406  const char *reason)
407 {
408 }
409 
410 static inline void
412  struct wpa_ssid *ssid)
413 {
414 }
415 
416 static inline int wpas_dbus_register_persistent_group(
417  struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid)
418 {
419  return 0;
420 }
421 
422 static inline int wpas_dbus_unregister_persistent_group(
423  struct wpa_supplicant *wpa_s, int nid)
424 {
425  return 0;
426 }
427 
428 static inline void
430  struct p2p_go_neg_results *res)
431 {
432 }
433 
434 static inline void
436  const struct wpa_ssid *ssid)
437 {
438 }
439 
440 static inline void wpas_dbus_signal_p2p_invitation_result(
441  struct wpa_supplicant *wpa_s, int status,
442  const u8 *bssid)
443 {
444 }
445 
446 static inline void
447 wpas_dbus_register_p2p_groupmember(struct wpa_supplicant *wpa_s,
448  const u8 *p2p_if_addr)
449 {
450 }
451 
452 static inline void
453 wpas_dbus_signal_p2p_sd_request(struct wpa_supplicant *wpa_s, int freq,
454  const u8 *sa, u8 dialog_token, u16 update_indic,
455  const u8 *tlvs, size_t tlvs_len)
456 {
457 }
458 
459 static inline void
461  const u8 *sa, u16 update_indic,
462  const u8 *tlvs, size_t tlvs_len)
463 {
464 }
465 
466 static inline void
467 wpas_dbus_unregister_p2p_groupmember(struct wpa_supplicant *wpa_s,
468  const u8 *p2p_if_addr)
469 {
470 }
471 
472 static inline void
474  const u8 *member)
475 {
476 }
477 
478 static inline void
480 {
481 }
482 
483 static inline void
485  const u8 *dev_addr)
486 {
487 }
488 
489 static inline void
491  const u8 *dev_addr)
492 {
493 }
494 
495 static inline void
497  const u8 *member)
498 {
499 }
500 
501 static inline void
503  struct wps_event_fail *fail)
504 {
505 }
506 
507 static inline void wpas_dbus_signal_certification(struct wpa_supplicant *wpa_s,
508  int depth,
509  const char *subject,
510  const char *altsubject[],
511  int num_altsubject,
512  const char *cert_hash,
513  const struct wpabuf *cert)
514 {
515 }
516 
517 static inline void wpas_dbus_signal_preq(struct wpa_supplicant *wpa_s,
518  const u8 *addr, const u8 *dst,
519  const u8 *bssid,
520  const u8 *ie, size_t ie_len,
521  u32 ssi_signal)
522 {
523 }
524 
525 static inline void wpas_dbus_signal_eap_status(struct wpa_supplicant *wpa_s,
526  const char *status,
527  const char *parameter)
528 {
529 }
530 
531 static inline
533  const u8 *sta)
534 {
535 }
536 
537 static inline
539  const u8 *sta)
540 {
541 }
542 
543 static inline
545  const u8 *sa, const u8 *dev_addr,
546  const u8 *bssid, int id,
547  int op_freq)
548 {
549 }
550 
551 #endif /* CONFIG_CTRL_IFACE_DBUS_NEW */
552 
553 #endif /* CTRL_IFACE_DBUS_H_NEW */
void wpas_dbus_signal_sta_authorized(struct wpa_supplicant *wpa_s, const u8 *sta)
Send a STA authorized signal.
Definition: dbus_new.c:917
void wpas_dbus_signal_blob_removed(struct wpa_supplicant *wpa_s, const char *name)
Send a blob removed signal.
Definition: dbus_new.c:345
int wpas_dbus_register_persistent_group(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid)
Register a configured(saved)
Definition: dbus_new.c:3987
void wpas_dbus_signal_scan_done(struct wpa_supplicant *wpa_s, int success)
send scan done signal
Definition: dbus_new.c:190
int wpas_dbus_unregister_bss(struct wpa_supplicant *wpa_s, u8 bssid[ETH_ALEN], unsigned int id)
Unregister a scanned BSS from dbus.
Definition: dbus_new.c:2520
void wpas_dbus_ctrl_iface_deinit(struct wpas_dbus_priv *iface)
Deinitialize dbus ctrl interface for wpa_supplicant.
Definition: dbus_new.c:2284
void wpas_dbus_signal_p2p_wps_failed(struct wpa_supplicant *wpa_s, struct wps_event_fail *fail)
Signals WpsFailed event.
Definition: dbus_new.c:1823
void wpas_dbus_signal_blob_added(struct wpa_supplicant *wpa_s, const char *name)
Send a blob added signal.
Definition: dbus_new.c:331
void wpas_dbus_signal_p2p_find_stopped(struct wpa_supplicant *wpa_s)
Send P2P Find stopped signal.
Definition: dbus_new.c:3756
int wpas_dbus_register_bss(struct wpa_supplicant *wpa_s, u8 bssid[ETH_ALEN], unsigned int id)
Register a scanned BSS with dbus.
Definition: dbus_new.c:2561
void wpas_dbus_signal_p2p_provision_discovery(struct wpa_supplicant *wpa_s, const u8 *dev_addr, int request, enum p2p_prov_disc_status status, u16 config_methods, unsigned int generated_pin)
Signals various PD events.
Definition: dbus_new.c:1009
void wpas_dbus_signal_peer_device_lost(struct wpa_supplicant *wpa_s, const u8 *dev_addr)
Send a peer lost signal.
Definition: dbus_new.c:3636
WPA Supplicant - Common definitions.
void wpas_dbus_signal_p2p_go_neg_req(struct wpa_supplicant *wpa_s, const u8 *src, u16 dev_passwd_id, u8 go_intent)
Signal P2P GO Negotiation Request RX.
Definition: dbus_new.c:1117
void wpas_dbus_signal_p2p_peer_joined(struct wpa_supplicant *wpa_s, const u8 *peer_addr)
Definition: dbus_new.c:1483
void wpas_dbus_signal_p2p_invitation_received(struct wpa_supplicant *wpa_s, const u8 *sa, const u8 *dev_addr, const u8 *bssid, int id, int op_freq)
Emit InvitationReceived signal.
Definition: dbus_new.c:1910
Definition: wpabuf.h:16
Internal, global data for all wpa_supplicant interfaces.
Definition: wpa_supplicant_i.h:273
void wpas_dbus_signal_debug_show_keys_changed(struct wpa_global *global)
Signals change of debug param.
Definition: dbus_new.c:2118
Wi-Fi Direct - P2P module.
void wpas_dbus_signal_p2p_invitation_result(struct wpa_supplicant *wpa_s, int status, const u8 *bssid)
Emit InvitationResult signal.
Definition: dbus_new.c:1433
int wpas_dbus_unregister_persistent_group(struct wpa_supplicant *wpa_s, int nid)
Unregister a persistent_group.
Definition: dbus_new.c:4078
void wpas_dbus_signal_p2p_peer_disconnected(struct wpa_supplicant *wpa_s, const u8 *peer_addr)
Definition: dbus_new.c:1540
void wpas_dbus_signal_p2p_sd_response(struct wpa_supplicant *wpa_s, const u8 *sa, u16 update_indic, const u8 *tlvs, size_t tlvs_len)
Definition: dbus_new.c:1671
void wpas_dbus_signal_p2p_group_formation_failure(struct wpa_supplicant *wpa_s, const char *reason)
Signals GroupFormationFailure event.
Definition: dbus_new.c:1872
void wpas_dbus_signal_p2p_go_neg_resp(struct wpa_supplicant *wpa_s, struct p2p_go_neg_results *res)
Emit GONegotiation Success/Failure signal.
Definition: dbus_new.c:1318
void wpas_dbus_signal_p2p_group_started(struct wpa_supplicant *wpa_s, const struct wpa_ssid *ssid, int client, int network_id)
Signals P2P group has started. Emitted when a group is successfully started irrespective of the role ...
Definition: dbus_new.c:1259
void wpas_dbus_signal_peer_groups_changed(struct wpa_supplicant *wpa_s, const u8 *dev_addr)
Send peer group change property signal.
Definition: dbus_new.c:3786
int wpas_dbus_unregister_network(struct wpa_supplicant *wpa_s, int nid)
Unregister a configured network from dbus.
Definition: dbus_new.c:2409
void wpas_dbus_signal_sta_deauthorized(struct wpa_supplicant *wpa_s, const u8 *sta)
Send a STA deauthorized signal.
Definition: dbus_new.c:931
void wpas_dbus_signal_network_request(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, enum wpa_ctrl_req_type rtype, const char *default_txt)
Indicate that additional information (EAP password, etc.) is required to complete the association to ...
Definition: dbus_new.c:452
void wpas_dbus_signal_p2p_sd_request(struct wpa_supplicant *wpa_s, int freq, const u8 *sa, u8 dialog_token, u16 update_indic, const u8 *tlvs, size_t tlvs_len)
Definition: dbus_new.c:1602
int wpas_dbus_register_network(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid)
Register a configured network with dbus.
Definition: dbus_new.c:2334
P2P Group Owner Negotiation results.
Definition: p2p.h:85
int wpas_dbus_ctrl_iface_init(struct wpas_dbus_priv *priv)
Initialize dbus control interface.
Definition: dbus_new.c:2245
wpa_ctrl_req_type
Control interface request types.
Definition: defs.h:315
Definition: dbus_common_i.h:12
void wpas_dbus_signal_prop_changed(struct wpa_supplicant *wpa_s, enum wpas_dbus_prop property)
Signals change of property.
Definition: dbus_new.c:1967
int wpas_dbus_register_peer(struct wpa_supplicant *wpa_s, const u8 *dev_addr)
Register a discovered peer object with dbus.
Definition: dbus_new.c:3652
WPS Credential.
Definition: wps.h:44
Internal data for wpa_supplicant interface.
Definition: wpa_supplicant_i.h:451
void wpas_dbus_bss_signal_prop_changed(struct wpa_supplicant *wpa_s, enum wpas_dbus_bss_prop property, unsigned int id)
Signals change of BSS property.
Definition: dbus_new.c:2028
void wpas_dbus_signal_network_selected(struct wpa_supplicant *wpa_s, int id)
Send a network selected signal.
Definition: dbus_new.c:436
void wpas_dbus_signal_debug_timestamp_changed(struct wpa_global *global)
Signals change of debug param.
Definition: dbus_new.c:2104
void wpas_dbus_unregister_p2p_group(struct wpa_supplicant *wpa_s, const struct wpa_ssid *ssid)
Unregister a p2p group object from dbus.
Definition: dbus_new.c:3930
void wpas_dbus_signal_peer_device_found(struct wpa_supplicant *wpa_s, const u8 *dev_addr)
Send a peer found signal.
Definition: dbus_new.c:3621
void wpas_dbus_signal_debug_level_changed(struct wpa_global *global)
Signals change of debug param.
Definition: dbus_new.c:2090
void wpas_dbus_signal_network_enabled_changed(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid)
Signals Enabled property changes.
Definition: dbus_new.c:504
int wpas_dbus_unregister_interface(struct wpa_supplicant *wpa_s)
Unregister the interface from D-Bus.
Definition: dbus_new.c:3453
Network configuration data.
Definition: config_ssid.h:52
void wpas_dbus_register_p2p_group(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid)
Register a p2p group object with dbus.
Definition: dbus_new.c:3869
void wpas_dbus_signal_p2p_group_removed(struct wpa_supplicant *wpa_s, const char *role)
Signals P2P group was removed.
Definition: dbus_new.c:946
int wpas_dbus_unregister_peer(struct wpa_supplicant *wpa_s, const u8 *dev_addr)
Unregister a peer object with dbus.
Definition: dbus_new.c:3719
int wpas_dbus_register_interface(struct wpa_supplicant *wpa_s)
Register an interface with D-Bus.
Definition: dbus_new.c:3398