#include "utils/includes.h"
#include "utils/common.h"
#include "utils/eloop.h"
#include "common/ieee802_11_defs.h"
#include "common/wpa_ctrl.h"
#include "eap_peer/eap.h"
#include "eapol_supp/eapol_supp_sm.h"
#include "rsn_supp/wpa.h"
#include "rsn_supp/preauth.h"
#include "rsn_supp/pmksa_cache.h"
#include "l2_packet/l2_packet.h"
#include "wps/wps.h"
#include "config.h"
#include "wpa_supplicant_i.h"
#include "driver_i.h"
#include "wps_supplicant.h"
#include "ibss_rsn.h"
#include "ap.h"
#include "notify.h"
#include "bss.h"
#include "scan.h"
#include "ctrl_iface.h"
#include "../../src/nodes/wpa_supplicant_node.h"
Go to the source code of this file.
Functions | |
static int | ctrl_iface_get_capability_auth_alg (int res, char *strict, struct wpa_driver_capa *capa, char *buf, size_t buflen) |
static int | ctrl_iface_get_capability_group (int res, char *strict, struct wpa_driver_capa *capa, char *buf, size_t buflen) |
static int | ctrl_iface_get_capability_key_mgmt (int res, char *strict, struct wpa_driver_capa *capa, char *buf, size_t buflen) |
static int | ctrl_iface_get_capability_pairwise (int res, char *strict, struct wpa_driver_capa *capa, char *buf, size_t buflen) |
static int | ctrl_iface_get_capability_proto (int res, char *strict, struct wpa_driver_capa *capa, char *buf, size_t buflen) |
static void | wpa_free_iface_info (struct wpa_interface_info *iface) |
static char * | wpa_supplicant_cipher_txt (char *pos, char *end, int cipher) |
static int | wpa_supplicant_ctrl_iface_add_network (struct wpa_supplicant *wpa_s, char *buf, size_t buflen) |
static int | wpa_supplicant_ctrl_iface_ap_scan (struct wpa_supplicant *wpa_s, char *cmd) |
static int | wpa_supplicant_ctrl_iface_bss (struct wpa_supplicant *wpa_s, const char *cmd, char *buf, size_t buflen) |
static int | wpa_supplicant_ctrl_iface_bssid (struct wpa_supplicant *wpa_s, char *cmd) |
static int | wpa_supplicant_ctrl_iface_ctrl_rsp (struct wpa_supplicant *wpa_s, char *rsp) |
static int | wpa_supplicant_ctrl_iface_disable_network (struct wpa_supplicant *wpa_s, char *cmd) |
static void | wpa_supplicant_ctrl_iface_drop_sa (struct wpa_supplicant *wpa_s) |
static int | wpa_supplicant_ctrl_iface_enable_network (struct wpa_supplicant *wpa_s, char *cmd) |
static int | wpa_supplicant_ctrl_iface_get_capability (struct wpa_supplicant *wpa_s, const char *_field, char *buf, size_t buflen) |
static int | wpa_supplicant_ctrl_iface_get_network (struct wpa_supplicant *wpa_s, char *cmd, char *buf, size_t buflen) |
static int | wpa_supplicant_ctrl_iface_list_networks (struct wpa_supplicant *wpa_s, char *buf, size_t buflen) |
char * | wpa_supplicant_ctrl_iface_process (struct wpa_supplicant *wpa_s, char *buf, size_t *resp_len) |
static int | wpa_supplicant_ctrl_iface_remove_network (struct wpa_supplicant *wpa_s, char *cmd) |
static int | wpa_supplicant_ctrl_iface_roam (struct wpa_supplicant *wpa_s, char *addr) |
static int | wpa_supplicant_ctrl_iface_save_config (struct wpa_supplicant *wpa_s) |
static int | wpa_supplicant_ctrl_iface_scan_result (const struct wpa_bss *bss, char *buf, size_t buflen) |
static int | wpa_supplicant_ctrl_iface_scan_results (struct wpa_supplicant *wpa_s, char *buf, size_t buflen) |
static int | wpa_supplicant_ctrl_iface_select_network (struct wpa_supplicant *wpa_s, char *cmd) |
static int | wpa_supplicant_ctrl_iface_set (struct wpa_supplicant *wpa_s, char *cmd) |
static int | wpa_supplicant_ctrl_iface_set_network (struct wpa_supplicant *wpa_s, char *cmd) |
static int | wpa_supplicant_ctrl_iface_status (struct wpa_supplicant *wpa_s, const char *params, char *buf, size_t buflen) |
char * | wpa_supplicant_global_ctrl_iface_process (struct wpa_global *global, char *buf, size_t *resp_len) |
static int | wpa_supplicant_global_iface_add (struct wpa_global *global, char *cmd) |
static int | wpa_supplicant_global_iface_interfaces (struct wpa_global *global, char *buf, int len) |
static int | wpa_supplicant_global_iface_list (struct wpa_global *global, char *buf, int len) |
static int | wpa_supplicant_global_iface_remove (struct wpa_global *global, char *cmd) |
static char * | wpa_supplicant_ie_txt (char *pos, char *end, const char *proto, const u8 *ie, size_t ie_len) |
static char * | wpa_supplicant_wps_ie_txt (char *pos, char *end, const struct wpa_bss *bss) |
Variables | |
struct wpa_driver_ops * | wpa_drivers [] |
static int ctrl_iface_get_capability_auth_alg | ( | int | res, |
char * | strict, | ||
struct wpa_driver_capa * | capa, | ||
char * | buf, | ||
size_t | buflen | ||
) | [static] |
Definition at line 1383 of file ctrl_iface.c.
static int ctrl_iface_get_capability_group | ( | int | res, |
char * | strict, | ||
struct wpa_driver_capa * | capa, | ||
char * | buf, | ||
size_t | buflen | ||
) | [static] |
Definition at line 1231 of file ctrl_iface.c.
static int ctrl_iface_get_capability_key_mgmt | ( | int | res, |
char * | strict, | ||
struct wpa_driver_capa * | capa, | ||
char * | buf, | ||
size_t | buflen | ||
) | [static] |
Definition at line 1288 of file ctrl_iface.c.
static int ctrl_iface_get_capability_pairwise | ( | int | res, |
char * | strict, | ||
struct wpa_driver_capa * | capa, | ||
char * | buf, | ||
size_t | buflen | ||
) | [static] |
Definition at line 1183 of file ctrl_iface.c.
static int ctrl_iface_get_capability_proto | ( | int | res, |
char * | strict, | ||
struct wpa_driver_capa * | capa, | ||
char * | buf, | ||
size_t | buflen | ||
) | [static] |
Definition at line 1341 of file ctrl_iface.c.
static void wpa_free_iface_info | ( | struct wpa_interface_info * | iface | ) | [static] |
Definition at line 2013 of file ctrl_iface.c.
static char* wpa_supplicant_cipher_txt | ( | char * | pos, |
char * | end, | ||
int | cipher | ||
) | [static] |
Definition at line 635 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_add_network | ( | struct wpa_supplicant * | wpa_s, |
char * | buf, | ||
size_t | buflen | ||
) | [static] |
Definition at line 982 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_ap_scan | ( | struct wpa_supplicant * | wpa_s, |
char * | cmd | ||
) | [static] |
Definition at line 1622 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_bss | ( | struct wpa_supplicant * | wpa_s, |
const char * | cmd, | ||
char * | buf, | ||
size_t | buflen | ||
) | [static] |
Definition at line 1489 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_bssid | ( | struct wpa_supplicant * | wpa_s, |
char * | cmd | ||
) | [static] |
Definition at line 550 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_ctrl_rsp | ( | struct wpa_supplicant * | wpa_s, |
char * | rsp | ||
) | [static] |
Definition at line 360 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_disable_network | ( | struct wpa_supplicant * | wpa_s, |
char * | cmd | ||
) | [static] |
Definition at line 955 of file ctrl_iface.c.
static void wpa_supplicant_ctrl_iface_drop_sa | ( | struct wpa_supplicant * | wpa_s | ) | [static] |
Definition at line 1630 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_enable_network | ( | struct wpa_supplicant * | wpa_s, |
char * | cmd | ||
) | [static] |
Definition at line 928 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_get_capability | ( | struct wpa_supplicant * | wpa_s, |
const char * | _field, | ||
char * | buf, | ||
size_t | buflen | ||
) | [static] |
Definition at line 1432 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_get_network | ( | struct wpa_supplicant * | wpa_s, |
char * | cmd, | ||
char * | buf, | ||
size_t | buflen | ||
) | [static] |
Definition at line 1114 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_list_networks | ( | struct wpa_supplicant * | wpa_s, |
char * | buf, | ||
size_t | buflen | ||
) | [static] |
Definition at line 584 of file ctrl_iface.c.
char* wpa_supplicant_ctrl_iface_process | ( | struct wpa_supplicant * | wpa_s, |
char * | buf, | ||
size_t * | resp_len | ||
) |
Definition at line 1695 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_remove_network | ( | struct wpa_supplicant * | wpa_s, |
char * | cmd | ||
) | [static] |
Definition at line 1006 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_roam | ( | struct wpa_supplicant * | wpa_s, |
char * | addr | ||
) | [static] |
Definition at line 1655 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_save_config | ( | struct wpa_supplicant * | wpa_s | ) | [static] |
Definition at line 1159 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_scan_result | ( | const struct wpa_bss * | bss, |
char * | buf, | ||
size_t | buflen | ||
) | [static] |
Definition at line 817 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_scan_results | ( | struct wpa_supplicant * | wpa_s, |
char * | buf, | ||
size_t | buflen | ||
) | [static] |
Definition at line 873 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_select_network | ( | struct wpa_supplicant * | wpa_s, |
char * | cmd | ||
) | [static] |
Definition at line 900 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_set | ( | struct wpa_supplicant * | wpa_s, |
char * | cmd | ||
) | [static] |
Definition at line 49 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_set_network | ( | struct wpa_supplicant * | wpa_s, |
char * | cmd | ||
) | [static] |
Definition at line 1056 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_status | ( | struct wpa_supplicant * | wpa_s, |
const char * | params, | ||
char * | buf, | ||
size_t | buflen | ||
) | [static] |
Definition at line 444 of file ctrl_iface.c.
char* wpa_supplicant_global_ctrl_iface_process | ( | struct wpa_global * | global, |
char * | buf, | ||
size_t * | resp_len | ||
) |
Definition at line 2094 of file ctrl_iface.c.
static int wpa_supplicant_global_iface_add | ( | struct wpa_global * | global, |
char * | cmd | ||
) | [static] |
Definition at line 1922 of file ctrl_iface.c.
static int wpa_supplicant_global_iface_interfaces | ( | struct wpa_global * | global, |
char * | buf, | ||
int | len | ||
) | [static] |
Definition at line 2070 of file ctrl_iface.c.
static int wpa_supplicant_global_iface_list | ( | struct wpa_global * | global, |
char * | buf, | ||
int | len | ||
) | [static] |
Definition at line 2028 of file ctrl_iface.c.
static int wpa_supplicant_global_iface_remove | ( | struct wpa_global * | global, |
char * | cmd | ||
) | [static] |
Definition at line 1999 of file ctrl_iface.c.
static char* wpa_supplicant_ie_txt | ( | char * | pos, |
char * | end, | ||
const char * | proto, | ||
const u8 * | ie, | ||
size_t | ie_len | ||
) | [static] |
Definition at line 682 of file ctrl_iface.c.
static char* wpa_supplicant_wps_ie_txt | ( | char * | pos, |
char * | end, | ||
const struct wpa_bss * | bss | ||
) | [static] |
Definition at line 803 of file ctrl_iface.c.
struct wpa_driver_ops* wpa_drivers[] |
Definition at line 754 of file driver_privsep.c.