#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 "ap.h"
#include "notify.h"
#include "bss.h"
#include "scan.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 1379 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 1227 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 1284 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 1179 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 1337 of file ctrl_iface.c.
static void wpa_free_iface_info | ( | struct wpa_interface_info * | iface | ) | [static] |
Definition at line 2009 of file ctrl_iface.c.
static char* wpa_supplicant_cipher_txt | ( | char * | pos, | |
char * | end, | |||
int | cipher | |||
) | [static] |
Definition at line 633 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 980 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_ap_scan | ( | struct wpa_supplicant * | wpa_s, | |
char * | cmd | |||
) | [static] |
Definition at line 1618 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 1485 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_bssid | ( | struct wpa_supplicant * | wpa_s, | |
char * | cmd | |||
) | [static] |
Definition at line 548 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_ctrl_rsp | ( | struct wpa_supplicant * | wpa_s, | |
char * | rsp | |||
) | [static] |
Definition at line 358 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_disable_network | ( | struct wpa_supplicant * | wpa_s, | |
char * | cmd | |||
) | [static] |
Definition at line 953 of file ctrl_iface.c.
static void wpa_supplicant_ctrl_iface_drop_sa | ( | struct wpa_supplicant * | wpa_s | ) | [static] |
Definition at line 1626 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_enable_network | ( | struct wpa_supplicant * | wpa_s, | |
char * | cmd | |||
) | [static] |
Definition at line 926 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 1428 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 1110 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 582 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 1691 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_remove_network | ( | struct wpa_supplicant * | wpa_s, | |
char * | cmd | |||
) | [static] |
Definition at line 1004 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_roam | ( | struct wpa_supplicant * | wpa_s, | |
char * | addr | |||
) | [static] |
Definition at line 1651 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_save_config | ( | struct wpa_supplicant * | wpa_s | ) | [static] |
Definition at line 1155 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 815 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 871 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_select_network | ( | struct wpa_supplicant * | wpa_s, | |
char * | cmd | |||
) | [static] |
Definition at line 898 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_set | ( | struct wpa_supplicant * | wpa_s, | |
char * | cmd | |||
) | [static] |
Definition at line 47 of file ctrl_iface.c.
static int wpa_supplicant_ctrl_iface_set_network | ( | struct wpa_supplicant * | wpa_s, | |
char * | cmd | |||
) | [static] |
Definition at line 1054 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 442 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 2090 of file ctrl_iface.c.
static int wpa_supplicant_global_iface_add | ( | struct wpa_global * | global, | |
char * | cmd | |||
) | [static] |
Definition at line 1918 of file ctrl_iface.c.
static int wpa_supplicant_global_iface_interfaces | ( | struct wpa_global * | global, | |
char * | buf, | |||
int | len | |||
) | [static] |
Definition at line 2066 of file ctrl_iface.c.
static int wpa_supplicant_global_iface_list | ( | struct wpa_global * | global, | |
char * | buf, | |||
int | len | |||
) | [static] |
Definition at line 2024 of file ctrl_iface.c.
static int wpa_supplicant_global_iface_remove | ( | struct wpa_global * | global, | |
char * | cmd | |||
) | [static] |
Definition at line 1995 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 680 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 801 of file ctrl_iface.c.
struct wpa_driver_ops* wpa_drivers[] |
Definition at line 754 of file driver_privsep.c.