wpa_supplicant / hostapd  2.5
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Enumerations | Functions
dbus_new.h File Reference

WPA Supplicant / dbus-based control interface Copyright (c) 2009-2010, Witold Sowa witol.nosp@m.d.so.nosp@m.wa@gm.nosp@m.ail..nosp@m.com More...

#include "common/defs.h"
#include "p2p/p2p.h"

Go to the source code of this file.

Macros

#define WPAS_DBUS_OBJECT_PATH_MAX   150
 
#define WPAS_DBUS_NEW_SERVICE   "fi.w1.wpa_supplicant1"
 
#define WPAS_DBUS_NEW_PATH   "/fi/w1/wpa_supplicant1"
 
#define WPAS_DBUS_NEW_INTERFACE   "fi.w1.wpa_supplicant1"
 
#define WPAS_DBUS_NEW_PATH_INTERFACES   WPAS_DBUS_NEW_PATH "/Interfaces"
 
#define WPAS_DBUS_NEW_IFACE_INTERFACE   WPAS_DBUS_NEW_INTERFACE ".Interface"
 
#define WPAS_DBUS_NEW_IFACE_WPS   WPAS_DBUS_NEW_IFACE_INTERFACE ".WPS"
 
#define WPAS_DBUS_NEW_NETWORKS_PART   "Networks"
 
#define WPAS_DBUS_NEW_IFACE_NETWORK   WPAS_DBUS_NEW_INTERFACE ".Network"
 
#define WPAS_DBUS_NEW_BSSIDS_PART   "BSSs"
 
#define WPAS_DBUS_NEW_IFACE_BSS   WPAS_DBUS_NEW_INTERFACE ".BSS"
 
#define WPAS_DBUS_NEW_IFACE_P2PDEVICE   WPAS_DBUS_NEW_IFACE_INTERFACE ".P2PDevice"
 
#define WPAS_DBUS_NEW_P2P_GROUPS_PART   "Groups"
 
#define WPAS_DBUS_NEW_IFACE_P2P_GROUP   WPAS_DBUS_NEW_INTERFACE ".Group"
 
#define WPAS_DBUS_NEW_PERSISTENT_GROUPS_PART   "PersistentGroups"
 
#define WPAS_DBUS_NEW_IFACE_PERSISTENT_GROUP   WPAS_DBUS_NEW_INTERFACE ".PersistentGroup"
 
#define WPAS_DBUS_NEW_P2P_PEERS_PART   "Peers"
 
#define WPAS_DBUS_NEW_IFACE_P2P_PEER   WPAS_DBUS_NEW_INTERFACE ".Peer"
 
#define WPAS_DBUS_ERROR_UNKNOWN_ERROR   WPAS_DBUS_NEW_INTERFACE ".UnknownError"
 
#define WPAS_DBUS_ERROR_INVALID_ARGS   WPAS_DBUS_NEW_INTERFACE ".InvalidArgs"
 
#define WPAS_DBUS_ERROR_IFACE_EXISTS   WPAS_DBUS_NEW_INTERFACE ".InterfaceExists"
 
#define WPAS_DBUS_ERROR_IFACE_DISABLED   WPAS_DBUS_NEW_INTERFACE ".InterfaceDisabled"
 
#define WPAS_DBUS_ERROR_IFACE_UNKNOWN   WPAS_DBUS_NEW_INTERFACE ".InterfaceUnknown"
 
#define WPAS_DBUS_ERROR_NOT_CONNECTED   WPAS_DBUS_NEW_INTERFACE ".NotConnected"
 
#define WPAS_DBUS_ERROR_NETWORK_UNKNOWN   WPAS_DBUS_NEW_INTERFACE ".NetworkUnknown"
 
#define WPAS_DBUS_ERROR_CONNECT_CHANNEL_UNAVAILABLE   WPAS_DBUS_NEW_INTERFACE ".ConnectChannelUnavailable"
 
#define WPAS_DBUS_ERROR_CONNECT_CHANNEL_UNSUPPORTED   WPAS_DBUS_NEW_INTERFACE ".ConnectChannelUnsupported"
 
#define WPAS_DBUS_ERROR_CONNECT_UNSPECIFIED_ERROR   WPAS_DBUS_NEW_INTERFACE ".ConnectUnspecifiedError"
 
#define WPAS_DBUS_ERROR_BLOB_EXISTS   WPAS_DBUS_NEW_INTERFACE ".BlobExists"
 
#define WPAS_DBUS_ERROR_BLOB_UNKNOWN   WPAS_DBUS_NEW_INTERFACE ".BlobUnknown"
 
#define WPAS_DBUS_ERROR_SUBSCRIPTION_IN_USE   WPAS_DBUS_NEW_INTERFACE ".SubscriptionInUse"
 
#define WPAS_DBUS_ERROR_NO_SUBSCRIPTION   WPAS_DBUS_NEW_INTERFACE ".NoSubscription"
 
#define WPAS_DBUS_ERROR_SUBSCRIPTION_EPERM   WPAS_DBUS_NEW_INTERFACE ".SubscriptionNotYou"
 
#define WPAS_DBUS_ERROR_IFACE_SCAN_ERROR   WPAS_DBUS_NEW_IFACE_INTERFACE ".ScanError"
 
#define wpas_dbus_signal_state_changed(w, n, o)   do { } while (0)
 

Enumerations

enum  wpas_dbus_prop {
  WPAS_DBUS_PROP_AP_SCAN, WPAS_DBUS_PROP_SCANNING, WPAS_DBUS_PROP_STATE, WPAS_DBUS_PROP_CURRENT_BSS,
  WPAS_DBUS_PROP_CURRENT_NETWORK, WPAS_DBUS_PROP_CURRENT_AUTH_MODE, WPAS_DBUS_PROP_BSSS, WPAS_DBUS_PROP_DISCONNECT_REASON
}
 
enum  wpas_dbus_bss_prop {
  WPAS_DBUS_BSS_PROP_SIGNAL, WPAS_DBUS_BSS_PROP_FREQ, WPAS_DBUS_BSS_PROP_MODE, WPAS_DBUS_BSS_PROP_PRIVACY,
  WPAS_DBUS_BSS_PROP_RATES, WPAS_DBUS_BSS_PROP_WPA, WPAS_DBUS_BSS_PROP_RSN, WPAS_DBUS_BSS_PROP_WPS,
  WPAS_DBUS_BSS_PROP_IES, WPAS_DBUS_BSS_PROP_AGE
}
 

Functions

void wpas_dbus_subscribe_noc (struct wpas_dbus_priv *priv)
 
void wpas_dbus_unsubscribe_noc (struct wpas_dbus_priv *priv)
 

Detailed Description

WPA Supplicant / dbus-based control interface Copyright (c) 2009-2010, Witold Sowa witol.nosp@m.d.so.nosp@m.wa@gm.nosp@m.ail..nosp@m.com