6 #ifndef CTRL_IFACE_DBUS_NEW_HANDLERS_H
7 #define CTRL_IFACE_DBUS_NEW_HANDLERS_H
26 const int type,
void *val);
62 DBusError *error,
void *user_data);
77 DBusError *error,
void *user_data);
89 DBusMessage * wpas_dbus_handler_disconnect(DBusMessage *message,
94 DBusMessageIter *iter,
133 DBusMessage * wpas_dbus_handler_flush_bss(DBusMessage *message,
136 DBusMessage * wpas_dbus_handler_autoscan(DBusMessage *message,
139 DBusMessage * wpas_dbus_handler_eap_logoff(DBusMessage *message,
142 DBusMessage * wpas_dbus_handler_eap_logon(DBusMessage *message,
146 DBusError *error,
void *user_data);
173 DBusError *error,
void *user_data);
247 DBusError *error,
void *user_data);
253 DBusError *error,
void *user_data);
256 DBusError *error,
void *user_data);
259 DBusError *error,
void *user_data);
297 DBusError *error,
void *user_data);
311 DBusMessage * wpas_dbus_handler_tdls_discover(DBusMessage *message,
313 DBusMessage * wpas_dbus_handler_tdls_setup(DBusMessage *message,
315 DBusMessage * wpas_dbus_handler_tdls_status(DBusMessage *message,
317 DBusMessage * wpas_dbus_handler_tdls_teardown(DBusMessage *message,
324 DBusMessage * wpas_dbus_error_no_memory(DBusMessage *message);
326 DBusMessage * wpas_dbus_handler_subscribe_preq(
328 DBusMessage * wpas_dbus_handler_unsubscribe_preq(
dbus_bool_t wpas_dbus_setter_ap_scan(DBusMessageIter *iter, DBusError *error, void *user_data)
Control roaming mode.
Definition: dbus_new_handlers.c:2708
dbus_bool_t wpas_dbus_getter_bss_rates(DBusMessageIter *iter, DBusError *error, void *user_data)
Return available bit rates of a BSS.
Definition: dbus_new_handlers.c:3606
dbus_bool_t wpas_dbus_getter_debug_timestamp(DBusMessageIter *iter, DBusError *error, void *user_data)
Get debug timestamp.
Definition: dbus_new_handlers.c:736
DBusMessage * wpas_dbus_handler_create_interface(DBusMessage *message, struct wpa_global *global)
Request registration of a network iface.
Definition: dbus_new_handlers.c:525
dbus_bool_t wpas_dbus_setter_debug_show_keys(DBusMessageIter *iter, DBusError *error, void *user_data)
Set debug show keys.
Definition: dbus_new_handlers.c:837
DBusMessage * wpas_dbus_handler_scan(DBusMessage *message, struct wpa_supplicant *wpa_s)
Request a wireless scan on an interface.
Definition: dbus_new_handlers.c:1260
DBusMessage * wpas_dbus_handler_set_pkcs11_engine_and_module_path(DBusMessage *message, struct wpa_supplicant *wpa_s)
Set PKCS #11 engine and module path.
Definition: dbus_new_handlers.c:2278
DBusMessage * wpas_dbus_handler_reassociate(DBusMessage *message, struct wpa_supplicant *wpa_s)
Reassociate.
Definition: dbus_new_handlers.c:1565
dbus_bool_t wpas_dbus_getter_current_bss(DBusMessageIter *iter, DBusError *error, void *user_data)
Get current bss object path.
Definition: dbus_new_handlers.c:3068
dbus_bool_t wpas_dbus_getter_bss_privacy(DBusMessageIter *iter, DBusError *error, void *user_data)
Return the privacy flag of a BSS.
Definition: dbus_new_handlers.c:3481
dbus_bool_t wpas_dbus_setter_debug_timestamp(DBusMessageIter *iter, DBusError *error, void *user_data)
Set debug timestamp.
Definition: dbus_new_handlers.c:811
dbus_bool_t wpas_dbus_getter_current_network(DBusMessageIter *iter, DBusError *error, void *user_data)
Get current network object path.
Definition: dbus_new_handlers.c:3096
DBusMessage * wpas_dbus_handler_network_reply(DBusMessage *message, struct wpa_supplicant *wpa_s)
Reply to a NetworkRequest signal.
Definition: dbus_new_handlers.c:1800
dbus_bool_t wpas_dbus_getter_fast_reauth(DBusMessageIter *iter, DBusError *error, void *user_data)
Control fast reauthentication (TLS session resumption)
Definition: dbus_new_handlers.c:2737
DBusMessage * wpas_dbus_handler_add_blob(DBusMessage *message, struct wpa_supplicant *wpa_s)
Store named binary blob (ie, for certificates)
Definition: dbus_new_handlers.c:1869
DBusMessage * wpas_dbus_handler_get_interface(DBusMessage *message, struct wpa_global *global)
Get the object path for an interface name.
Definition: dbus_new_handlers.c:672
dbus_bool_t wpas_dbus_getter_interfaces(DBusMessageIter *iter, DBusError *error, void *user_data)
Request registered interfaces list.
Definition: dbus_new_handlers.c:866
dbus_bool_t wpas_dbus_getter_state(DBusMessageIter *iter, DBusError *error, void *user_data)
Get interface state.
Definition: dbus_new_handlers.c:2628
dbus_bool_t wpas_dbus_setter_debug_level(DBusMessageIter *iter, DBusError *error, void *user_data)
Set debug level.
Definition: dbus_new_handlers.c:773
dbus_bool_t wpas_dbus_setter_process_credentials(DBusMessageIter *iter, DBusError *error, void *user_data)
Set credentials_processed conf param.
Definition: dbus_new_handlers_wps.c:370
dbus_bool_t wpas_dbus_simple_array_array_property_getter(DBusMessageIter *iter, const int type, struct wpabuf **array, size_t array_len, DBusError *error)
Get array array type property.
Definition: dbus_new_handlers.c:465
DBusMessage * wpas_dbus_handler_wps_start(DBusMessage *message, struct wpa_supplicant *wpa_s)
Start WPS configuration.
Definition: dbus_new_handlers_wps.c:217
DBusMessage * wpas_dbus_handler_add_network(DBusMessage *message, struct wpa_supplicant *wpa_s)
Add a new configured network.
Definition: dbus_new_handlers.c:1491
dbus_bool_t wpas_dbus_getter_bss_wpa(DBusMessageIter *iter, DBusError *error, void *user_data)
Return the WPA options of a BSS.
Definition: dbus_new_handlers.c:3779
dbus_bool_t wpas_dbus_setter_config_methods(DBusMessageIter *iter, DBusError *error, void *user_data)
Set WPS configuration methods.
Definition: dbus_new_handlers_wps.c:430
dbus_bool_t wpas_dbus_getter_country(DBusMessageIter *iter, DBusError *error, void *user_data)
Control country code.
Definition: dbus_new_handlers.c:2906
Definition: dbus_new_handlers.h:14
Internal, global data for all wpa_supplicant interfaces.
Definition: wpa_supplicant_i.h:273
DBusMessage * wpas_dbus_handler_remove_blob(DBusMessage *message, struct wpa_supplicant *wpa_s)
Remove named binary blob.
Definition: dbus_new_handlers.c:1979
dbus_bool_t wpas_dbus_getter_config_methods(DBusMessageIter *iter, DBusError *error, void *user_data)
Get current WPS configuration methods.
Definition: dbus_new_handlers_wps.c:406
dbus_bool_t wpas_dbus_simple_array_property_getter(DBusMessageIter *iter, const int type, const void *array, size_t array_len, DBusError *error)
Get array type property.
Definition: dbus_new_handlers.c:373
DBusMessage * wpas_dbus_handler_remove_interface(DBusMessage *message, struct wpa_global *global)
Request deregistration of an interface.
Definition: dbus_new_handlers.c:640
Definition: dbus_new_handlers.h:9
dbus_bool_t wpas_dbus_getter_bss_mode(DBusMessageIter *iter, DBusError *error, void *user_data)
Return the mode of a BSS.
Definition: dbus_new_handlers.c:3507
dbus_bool_t wpas_dbus_getter_bss_signal(DBusMessageIter *iter, DBusError *error, void *user_data)
Return the signal strength of a BSS.
Definition: dbus_new_handlers.c:3548
DBusMessage * wpas_dbus_handler_get_blob(DBusMessage *message, struct wpa_supplicant *wpa_s)
Get named binary blob (ie, for certificates)
Definition: dbus_new_handlers.c:1932
DBusMessage * wpas_dbus_handler_wps_cancel(DBusMessage *message, struct wpa_supplicant *wpa_s)
Cancel ongoing WPS configuration.
Definition: dbus_new_handlers_wps.c:327
dbus_bool_t wpas_dbus_getter_capabilities(DBusMessageIter *iter, DBusError *error, void *user_data)
Return interface capabilities.
Definition: dbus_new_handlers.c:2337
dbus_bool_t wpas_dbus_getter_ifname(DBusMessageIter *iter, DBusError *error, void *user_data)
Get interface name.
Definition: dbus_new_handlers.c:3019
dbus_bool_t wpas_dbus_getter_bss_wps(DBusMessageIter *iter, DBusError *error, void *user_data)
Return the WPS options of a BSS.
Definition: dbus_new_handlers.c:3845
dbus_bool_t set_network_properties(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, DBusMessageIter *iter, DBusError *error)
Set properties of a configured network.
Definition: dbus_new_handlers.c:175
DBusMessage * wpas_dbus_error_unknown_error(DBusMessage *message, const char *arg)
Return a new UnknownError error message.
Definition: dbus_new_handlers.c:41
dbus_bool_t wpas_dbus_setter_fast_reauth(DBusMessageIter *iter, DBusError *error, void *user_data)
Control fast reauthentication (TLS session resumption)
Definition: dbus_new_handlers.c:2759
dbus_bool_t wpas_dbus_getter_enabled(DBusMessageIter *iter, DBusError *error, void *user_data)
Check whether network is enabled or disabled.
Definition: dbus_new_handlers.c:3955
dbus_bool_t wpas_dbus_setter_scan_interval(DBusMessageIter *iter, DBusError *error, void *user_data)
Control scan interval.
Definition: dbus_new_handlers.c:2990
dbus_bool_t wpas_dbus_getter_networks(DBusMessageIter *iter, DBusError *error, void *user_data)
Get array of networks objects.
Definition: dbus_new_handlers.c:3239
dbus_bool_t wpas_dbus_getter_debug_show_keys(DBusMessageIter *iter, DBusError *error, void *user_data)
Get debug show keys.
Definition: dbus_new_handlers.c:755
dbus_bool_t wpas_dbus_setter_enabled(DBusMessageIter *iter, DBusError *error, void *user_data)
Mark a configured network as enabled or disabled.
Definition: dbus_new_handlers.c:3975
dbus_bool_t wpas_dbus_getter_disconnect_reason(DBusMessageIter *iter, DBusError *error, void *user_data)
Get most recent reason for disconnect.
Definition: dbus_new_handlers.c:2785
dbus_bool_t wpas_dbus_getter_network_properties(DBusMessageIter *iter, DBusError *error, void *user_data)
Get options for a configured network.
Definition: dbus_new_handlers.c:4008
DBusMessage * wpas_dbus_handler_remove_all_networks(DBusMessage *message, struct wpa_supplicant *wpa_s)
Remove all configured networks.
Definition: dbus_new_handlers.c:1727
dbus_bool_t wpas_dbus_simple_property_setter(DBusMessageIter *iter, DBusError *error, const int type, void *val)
Set basic type property.
Definition: dbus_new_handlers.c:336
dbus_bool_t wpas_dbus_simple_property_getter(DBusMessageIter *iter, const int type, const void *val, DBusError *error)
Get basic type property.
Definition: dbus_new_handlers.c:300
dbus_bool_t wpas_dbus_setter_bss_expire_count(DBusMessageIter *iter, DBusError *error, void *user_data)
Control BSS entry expiration scan count.
Definition: dbus_new_handlers.c:2877
dbus_bool_t wpas_dbus_getter_bss_frequency(DBusMessageIter *iter, DBusError *error, void *user_data)
Return the frequency of a BSS.
Definition: dbus_new_handlers.c:3574
dbus_bool_t wpas_dbus_getter_process_credentials(DBusMessageIter *iter, DBusError *error, void *user_data)
Check if credentials are processed.
Definition: dbus_new_handlers_wps.c:348
u8 * ssid
Service set identifier (network name)
Definition: config_ssid.h:115
dbus_bool_t wpas_dbus_getter_scanning(DBusMessageIter *iter, DBusError *error, void *user_data)
Get interface scanning state.
Definition: dbus_new_handlers.c:2668
dbus_bool_t wpas_dbus_getter_bss_bssid(DBusMessageIter *iter, DBusError *error, void *user_data)
Return the BSSID of a BSS.
Definition: dbus_new_handlers.c:3431
dbus_bool_t wpas_dbus_getter_bss_expire_count(DBusMessageIter *iter, DBusError *error, void *user_data)
Get BSS entry expiration scan count.
Definition: dbus_new_handlers.c:2856
dbus_bool_t wpas_dbus_getter_bsss(DBusMessageIter *iter, DBusError *error, void *user_data)
Get array of BSSs objects.
Definition: dbus_new_handlers.c:3182
dbus_bool_t wpas_dbus_getter_global_capabilities(DBusMessageIter *iter, DBusError *error, void *user_data)
Request supported global capabilities.
Definition: dbus_new_handlers.c:947
dbus_bool_t wpas_dbus_getter_bss_expire_age(DBusMessageIter *iter, DBusError *error, void *user_data)
Get BSS entry expiration age.
Definition: dbus_new_handlers.c:2806
DBusMessage * wpas_dbus_error_invalid_args(DBusMessage *message, const char *arg)
Return a new InvalidArgs error message.
Definition: dbus_new_handlers.c:86
DBusMessage * wpas_dbus_handler_signal_poll(DBusMessage *message, struct wpa_supplicant *wpa_s)
Request immediate signal properties.
Definition: dbus_new_handlers.c:1402
DBusMessage * wpas_dbus_handler_reattach(DBusMessage *message, struct wpa_supplicant *wpa_s)
Reattach to current AP.
Definition: dbus_new_handlers.c:1587
dbus_bool_t wpas_dbus_setter_network_properties(DBusMessageIter *iter, DBusError *error, void *user_data)
Set options for a configured network.
Definition: dbus_new_handlers.c:4070
dbus_bool_t wpas_dbus_getter_ap_scan(DBusMessageIter *iter, DBusError *error, void *user_data)
Control roaming mode.
Definition: dbus_new_handlers.c:2688
Internal data for wpa_supplicant interface.
Definition: wpa_supplicant_i.h:451
dbus_bool_t wpas_dbus_getter_scan_interval(DBusMessageIter *iter, DBusError *error, void *user_data)
Get scan interval.
Definition: dbus_new_handlers.c:2969
dbus_bool_t wpas_dbus_getter_bss_ssid(DBusMessageIter *iter, DBusError *error, void *user_data)
Return the SSID of a BSS.
Definition: dbus_new_handlers.c:3456
dbus_bool_t wpas_dbus_getter_bss_ies(DBusMessageIter *iter, DBusError *error, void *user_data)
Return all IEs of a BSS.
Definition: dbus_new_handlers.c:3901
dbus_bool_t wpas_dbus_getter_current_auth_mode(DBusMessageIter *iter, DBusError *error, void *user_data)
Get current authentication type.
Definition: dbus_new_handlers.c:3124
dbus_bool_t wpas_dbus_getter_bss_rsn(DBusMessageIter *iter, DBusError *error, void *user_data)
Return the RSN options of a BSS.
Definition: dbus_new_handlers.c:3812
dbus_bool_t wpas_dbus_getter_pkcs11_module_path(DBusMessageIter *iter, DBusError *error, void *user_data)
Get PKCS #11 module path.
Definition: dbus_new_handlers.c:3327
dbus_bool_t wpas_dbus_getter_bss_age(DBusMessageIter *iter, DBusError *error, void *user_data)
Return time in seconds since BSS was last seen.
Definition: dbus_new_handlers.c:3926
dbus_bool_t wpas_dbus_getter_pkcs11_engine_path(DBusMessageIter *iter, DBusError *error, void *user_data)
Get PKCS #11 engine path.
Definition: dbus_new_handlers.c:3302
dbus_bool_t wpas_dbus_getter_debug_level(DBusMessageIter *iter, DBusError *error, void *user_data)
Get debug level.
Definition: dbus_new_handlers.c:710
DBusMessage * wpas_dbus_handler_select_network(DBusMessage *message, struct wpa_supplicant *wpa_s)
Attempt association with a network.
Definition: dbus_new_handlers.c:1747
dbus_bool_t wpas_dbus_setter_bss_expire_age(DBusMessageIter *iter, DBusError *error, void *user_data)
Control BSS entry expiration age.
Definition: dbus_new_handlers.c:2827
dbus_bool_t wpas_dbus_getter_driver(DBusMessageIter *iter, DBusError *error, void *user_data)
Get interface name.
Definition: dbus_new_handlers.c:3039
DBusMessage * wpas_dbus_handler_reconnect(DBusMessage *message, struct wpa_supplicant *wpa_s)
Reconnect if disconnected.
Definition: dbus_new_handlers.c:1610
Network configuration data.
Definition: config_ssid.h:52
dbus_bool_t wpas_dbus_getter_blobs(DBusMessageIter *iter, DBusError *error, void *user_data)
Get all blobs defined for this interface.
Definition: dbus_new_handlers.c:3352
DBusMessage * wpas_dbus_handler_remove_network(DBusMessage *message, struct wpa_supplicant *wpa_s)
Remove a configured network.
Definition: dbus_new_handlers.c:1633
dbus_bool_t wpas_dbus_getter_eap_methods(DBusMessageIter *iter, DBusError *error, void *user_data)
Request supported EAP methods list.
Definition: dbus_new_handlers.c:911
dbus_bool_t wpas_dbus_setter_country(DBusMessageIter *iter, DBusError *error, void *user_data)
Control country code.
Definition: dbus_new_handlers.c:2931
dbus_bool_t wpas_dbus_getter_bridge_ifname(DBusMessageIter *iter, DBusError *error, void *user_data)
Get interface name.
Definition: dbus_new_handlers.c:3161