#include "includes.h"
#include "common.h"
#include "../config.h"
#include "../wpa_supplicant_i.h"
#include "../wps_supplicant.h"
#include "dbus_new_helpers.h"
#include "dbus_new.h"
#include "dbus_new_handlers.h"
#include "dbus_dict_helpers.h"
Go to the source code of this file.
Classes | |
struct | wps_start_params |
Functions | |
DBusMessage * | wpas_dbus_getter_process_credentials (DBusMessage *message, struct wpa_supplicant *wpa_s) |
static int | wpas_dbus_handler_wps_bssid (DBusMessage *message, DBusMessageIter *entry_iter, struct wps_start_params *params, DBusMessage **reply) |
static int | wpas_dbus_handler_wps_pin (DBusMessage *message, DBusMessageIter *entry_iter, struct wps_start_params *params, DBusMessage **reply) |
static int | wpas_dbus_handler_wps_role (DBusMessage *message, DBusMessageIter *entry_iter, struct wps_start_params *params, DBusMessage **reply) |
DBusMessage * | wpas_dbus_handler_wps_start (DBusMessage *message, struct wpa_supplicant *wpa_s) |
static int | wpas_dbus_handler_wps_start_entry (DBusMessage *message, char *key, DBusMessageIter *entry_iter, struct wps_start_params *params, DBusMessage **reply) |
static int | wpas_dbus_handler_wps_type (DBusMessage *message, DBusMessageIter *entry_iter, struct wps_start_params *params, DBusMessage **reply) |
DBusMessage * | wpas_dbus_setter_process_credentials (DBusMessage *message, struct wpa_supplicant *wpa_s) |
DBusMessage* wpas_dbus_getter_process_credentials | ( | DBusMessage * | message, |
struct wpa_supplicant * | wpa_s | ||
) |
wpas_dbus_getter_process_credentials - Check if credentials are processed : Pointer to incoming dbus message : wpa_supplicant data structure Returns: DBus message with a boolean on success or DBus error on failure
Getter for "ProcessCredentials" property. Returns returned boolean will be true if wps_cred_processing configuration field is not equal to 1 or false if otherwise.
Definition at line 292 of file dbus_new_handlers_wps.c.
static int wpas_dbus_handler_wps_bssid | ( | DBusMessage * | message, |
DBusMessageIter * | entry_iter, | ||
struct wps_start_params * | params, | ||
DBusMessage ** | reply | ||
) | [static] |
Definition at line 99 of file dbus_new_handlers_wps.c.
static int wpas_dbus_handler_wps_pin | ( | DBusMessage * | message, |
DBusMessageIter * | entry_iter, | ||
struct wps_start_params * | params, | ||
DBusMessage ** | reply | ||
) | [static] |
Definition at line 130 of file dbus_new_handlers_wps.c.
static int wpas_dbus_handler_wps_role | ( | DBusMessage * | message, |
DBusMessageIter * | entry_iter, | ||
struct wps_start_params * | params, | ||
DBusMessage ** | reply | ||
) | [static] |
Definition at line 36 of file dbus_new_handlers_wps.c.
DBusMessage* wpas_dbus_handler_wps_start | ( | DBusMessage * | message, |
struct wpa_supplicant * | wpa_s | ||
) |
wpas_dbus_handler_wps_start - Start WPS configuration : Pointer to incoming dbus message : wpa_supplicant data structure Returns: DBus message dictionary on success or DBus error on failure
Handler for "Start" method call. DBus dictionary argument contains information about role (enrollee or registrar), authorization method (pin or push button) and optionally pin and bssid. Returned message has a dictionary argument which may contain newly generated pin (optional).
Definition at line 186 of file dbus_new_handlers_wps.c.
static int wpas_dbus_handler_wps_start_entry | ( | DBusMessage * | message, |
char * | key, | ||
DBusMessageIter * | entry_iter, | ||
struct wps_start_params * | params, | ||
DBusMessage ** | reply | ||
) | [static] |
Definition at line 151 of file dbus_new_handlers_wps.c.
static int wpas_dbus_handler_wps_type | ( | DBusMessage * | message, |
DBusMessageIter * | entry_iter, | ||
struct wps_start_params * | params, | ||
DBusMessage ** | reply | ||
) | [static] |
Definition at line 67 of file dbus_new_handlers_wps.c.
DBusMessage* wpas_dbus_setter_process_credentials | ( | DBusMessage * | message, |
struct wpa_supplicant * | wpa_s | ||
) |
wpas_dbus_setter_process_credentials - Set credentials_processed conf param : Pointer to incoming dbus message : wpa_supplicant data structure Returns: NULL on success or DBus error on failure
Setter for "ProcessCredentials" property. Sets credentials_processed on 2 if boolean argument is true or on 1 if otherwise.
Definition at line 310 of file dbus_new_handlers_wps.c.