$search
#include "drivers/driver.h"
Go to the source code of this file.
Functions | |
static int | wpa_drv_add_pmkid (struct wpa_supplicant *wpa_s, const u8 *bssid, const u8 *pmkid) |
static int | wpa_drv_associate (struct wpa_supplicant *wpa_s, struct wpa_driver_associate_params *params) |
static int | wpa_drv_authenticate (struct wpa_supplicant *wpa_s, struct wpa_driver_auth_params *params) |
static int | wpa_drv_cancel_remain_on_channel (struct wpa_supplicant *wpa_s) |
static int | wpa_drv_deauthenticate (struct wpa_supplicant *wpa_s, const u8 *addr, int reason_code) |
static void | wpa_drv_deinit (struct wpa_supplicant *wpa_s) |
static int | wpa_drv_deinit_ap (struct wpa_supplicant *wpa_s) |
static int | wpa_drv_disable_11b_rates (struct wpa_supplicant *wpa_s, int disabled) |
static int | wpa_drv_disassociate (struct wpa_supplicant *wpa_s, const u8 *addr, int reason_code) |
static int | wpa_drv_flush_pmkid (struct wpa_supplicant *wpa_s) |
static int | wpa_drv_get_bssid (struct wpa_supplicant *wpa_s, u8 *bssid) |
static int | wpa_drv_get_capa (struct wpa_supplicant *wpa_s, struct wpa_driver_capa *capa) |
static struct hostapd_hw_modes * | wpa_drv_get_hw_feature_data (struct wpa_supplicant *wpa_s, u16 *num_modes, u16 *flags) |
static const char * | wpa_drv_get_ifname (struct wpa_supplicant *wpa_s) |
static const u8 * | wpa_drv_get_mac_addr (struct wpa_supplicant *wpa_s) |
static struct wpa_scan_results * | wpa_drv_get_scan_results2 (struct wpa_supplicant *wpa_s) |
static int | wpa_drv_get_ssid (struct wpa_supplicant *wpa_s, u8 *ssid) |
static int | wpa_drv_hapd_send_eapol (struct wpa_supplicant *wpa_s, const u8 *addr, const u8 *data, size_t data_len, int encrypt, const u8 *own_addr) |
static int | wpa_drv_if_add (struct wpa_supplicant *wpa_s, enum wpa_driver_if_type type, const char *ifname, const u8 *addr, void *bss_ctx, char *force_ifname, u8 *if_addr) |
static int | wpa_drv_if_remove (struct wpa_supplicant *wpa_s, enum wpa_driver_if_type type, const char *ifname) |
static void * | wpa_drv_init (struct wpa_supplicant *wpa_s, const char *ifname) |
static int | wpa_drv_mlme_add_sta (struct wpa_supplicant *wpa_s, const u8 *addr, const u8 *supp_rates, size_t supp_rates_len) |
static int | wpa_drv_mlme_remove_sta (struct wpa_supplicant *wpa_s, const u8 *addr) |
static int | wpa_drv_mlme_setprotection (struct wpa_supplicant *wpa_s, const u8 *addr, int protect_type, int key_type) |
static void | wpa_drv_poll (struct wpa_supplicant *wpa_s) |
static int | wpa_drv_probe_req_report (struct wpa_supplicant *wpa_s, int report) |
static int | wpa_drv_remain_on_channel (struct wpa_supplicant *wpa_s, unsigned int freq, unsigned int duration) |
static int | wpa_drv_remove_pmkid (struct wpa_supplicant *wpa_s, const u8 *bssid, const u8 *pmkid) |
static void | wpa_drv_resume (struct wpa_supplicant *wpa_s) |
static int | wpa_drv_scan (struct wpa_supplicant *wpa_s, struct wpa_driver_scan_params *params) |
static int | wpa_drv_send_action (struct wpa_supplicant *wpa_s, unsigned int freq, const u8 *dst, const u8 *src, const u8 *bssid, const u8 *data, size_t data_len) |
static int | wpa_drv_send_eapol (struct wpa_supplicant *wpa_s, const u8 *dst, u16 proto, const u8 *data, size_t data_len) |
static int | wpa_drv_send_ft_action (struct wpa_supplicant *wpa_s, u8 action, const u8 *target_ap, const u8 *ies, size_t ies_len) |
static int | wpa_drv_send_mlme (struct wpa_supplicant *wpa_s, const u8 *data, size_t data_len) |
static int | wpa_drv_set_ap_wps_ie (struct wpa_supplicant *wpa_s, const struct wpabuf *beacon, const struct wpabuf *proberesp) |
static int | wpa_drv_set_beacon (struct wpa_supplicant *wpa_s, const u8 *head, size_t head_len, const u8 *tail, size_t tail_len, int dtim_period, int beacon_int) |
static int | wpa_drv_set_bssid (struct wpa_supplicant *wpa_s, const u8 *bssid) |
static int | wpa_drv_set_channel (struct wpa_supplicant *wpa_s, enum hostapd_hw_mode phymode, int chan, int freq) |
static int | wpa_drv_set_countermeasures (struct wpa_supplicant *wpa_s, int enabled) |
static int | wpa_drv_set_country (struct wpa_supplicant *wpa_s, const char *alpha2) |
static int | wpa_drv_set_key (struct wpa_supplicant *wpa_s, enum wpa_alg alg, const u8 *addr, int key_idx, int set_tx, const u8 *seq, size_t seq_len, const u8 *key, size_t key_len) |
static int | wpa_drv_set_operstate (struct wpa_supplicant *wpa_s, int state) |
static int | wpa_drv_set_param (struct wpa_supplicant *wpa_s, const char *param) |
static int | wpa_drv_set_ssid (struct wpa_supplicant *wpa_s, const u8 *ssid, size_t ssid_len) |
static int | wpa_drv_set_supp_port (struct wpa_supplicant *wpa_s, int authorized) |
static int | wpa_drv_signal_monitor (struct wpa_supplicant *wpa_s, int threshold, int hysteresis) |
static int | wpa_drv_sta_add (struct wpa_supplicant *wpa_s, struct hostapd_sta_add_params *params) |
static int | wpa_drv_sta_remove (struct wpa_supplicant *wpa_s, const u8 *addr) |
static int | wpa_drv_sta_set_flags (struct wpa_supplicant *wpa_s, const u8 *addr, int total_flags, int flags_or, int flags_and) |
static void | wpa_drv_suspend (struct wpa_supplicant *wpa_s) |
static int | wpa_drv_update_ft_ies (struct wpa_supplicant *wpa_s, const u8 *md, const u8 *ies, size_t ies_len) |
static int wpa_drv_add_pmkid | ( | struct wpa_supplicant * | wpa_s, | |
const u8 * | bssid, | |||
const u8 * | pmkid | |||
) | [inline, static] |
Definition at line 141 of file driver_i.h.
static int wpa_drv_associate | ( | struct wpa_supplicant * | wpa_s, | |
struct wpa_driver_associate_params * | params | |||
) | [inline, static] |
Definition at line 65 of file driver_i.h.
static int wpa_drv_authenticate | ( | struct wpa_supplicant * | wpa_s, | |
struct wpa_driver_auth_params * | params | |||
) | [inline, static] |
Definition at line 57 of file driver_i.h.
static int wpa_drv_cancel_remain_on_channel | ( | struct wpa_supplicant * | wpa_s | ) | [inline, static] |
Definition at line 429 of file driver_i.h.
static int wpa_drv_deauthenticate | ( | struct wpa_supplicant * | wpa_s, | |
const u8 * | addr, | |||
int | reason_code | |||
) | [inline, static] |
Definition at line 121 of file driver_i.h.
static void wpa_drv_deinit | ( | struct wpa_supplicant * | wpa_s | ) | [inline, static] |
Definition at line 33 of file driver_i.h.
static int wpa_drv_deinit_ap | ( | struct wpa_supplicant * | wpa_s | ) | [inline, static] |
Definition at line 456 of file driver_i.h.
static int wpa_drv_disable_11b_rates | ( | struct wpa_supplicant * | wpa_s, | |
int | disabled | |||
) | [inline, static] |
Definition at line 447 of file driver_i.h.
static int wpa_drv_disassociate | ( | struct wpa_supplicant * | wpa_s, | |
const u8 * | addr, | |||
int | reason_code | |||
) | [inline, static] |
Definition at line 131 of file driver_i.h.
static int wpa_drv_flush_pmkid | ( | struct wpa_supplicant * | wpa_s | ) | [inline, static] |
Definition at line 160 of file driver_i.h.
static int wpa_drv_get_bssid | ( | struct wpa_supplicant * | wpa_s, | |
u8 * | bssid | |||
) | [inline, static] |
Definition at line 90 of file driver_i.h.
static int wpa_drv_get_capa | ( | struct wpa_supplicant * | wpa_s, | |
struct wpa_driver_capa * | capa | |||
) | [inline, static] |
Definition at line 168 of file driver_i.h.
static struct hostapd_hw_modes* wpa_drv_get_hw_feature_data | ( | struct wpa_supplicant * | wpa_s, | |
u16 * | num_modes, | |||
u16 * | flags | |||
) | [static, read] |
Definition at line 230 of file driver_i.h.
static const char* wpa_drv_get_ifname | ( | struct wpa_supplicant * | wpa_s | ) | [inline, static] |
Definition at line 184 of file driver_i.h.
static const u8* wpa_drv_get_mac_addr | ( | struct wpa_supplicant * | wpa_s | ) | [inline, static] |
Definition at line 192 of file driver_i.h.
static struct wpa_scan_results* wpa_drv_get_scan_results2 | ( | struct wpa_supplicant * | wpa_s | ) | [static, read] |
Definition at line 82 of file driver_i.h.
static int wpa_drv_get_ssid | ( | struct wpa_supplicant * | wpa_s, | |
u8 * | ssid | |||
) | [inline, static] |
Definition at line 98 of file driver_i.h.
static int wpa_drv_hapd_send_eapol | ( | struct wpa_supplicant * | wpa_s, | |
const u8 * | addr, | |||
const u8 * | data, | |||
size_t | data_len, | |||
int | encrypt, | |||
const u8 * | own_addr | |||
) | [inline, static] |
Definition at line 351 of file driver_i.h.
static int wpa_drv_if_add | ( | struct wpa_supplicant * | wpa_s, | |
enum wpa_driver_if_type | type, | |||
const char * | ifname, | |||
const u8 * | addr, | |||
void * | bss_ctx, | |||
char * | force_ifname, | |||
u8 * | if_addr | |||
) | [inline, static] |
Definition at line 397 of file driver_i.h.
static int wpa_drv_if_remove | ( | struct wpa_supplicant * | wpa_s, | |
enum wpa_driver_if_type | type, | |||
const char * | ifname | |||
) | [inline, static] |
Definition at line 410 of file driver_i.h.
static void* wpa_drv_init | ( | struct wpa_supplicant * | wpa_s, | |
const char * | ifname | |||
) | [inline, static] |
Definition at line 21 of file driver_i.h.
static int wpa_drv_mlme_add_sta | ( | struct wpa_supplicant * | wpa_s, | |
const u8 * | addr, | |||
const u8 * | supp_rates, | |||
size_t | supp_rates_len | |||
) | [inline, static] |
Definition at line 285 of file driver_i.h.
static int wpa_drv_mlme_remove_sta | ( | struct wpa_supplicant * | wpa_s, | |
const u8 * | addr | |||
) | [inline, static] |
Definition at line 295 of file driver_i.h.
static int wpa_drv_mlme_setprotection | ( | struct wpa_supplicant * | wpa_s, | |
const u8 * | addr, | |||
int | protect_type, | |||
int | key_type | |||
) | [inline, static] |
Definition at line 218 of file driver_i.h.
static void wpa_drv_poll | ( | struct wpa_supplicant * | wpa_s | ) | [inline, static] |
Definition at line 177 of file driver_i.h.
static int wpa_drv_probe_req_report | ( | struct wpa_supplicant * | wpa_s, | |
int | report | |||
) | [inline, static] |
Definition at line 438 of file driver_i.h.
static int wpa_drv_remain_on_channel | ( | struct wpa_supplicant * | wpa_s, | |
unsigned int | freq, | |||
unsigned int | duration | |||
) | [inline, static] |
Definition at line 419 of file driver_i.h.
static int wpa_drv_remove_pmkid | ( | struct wpa_supplicant * | wpa_s, | |
const u8 * | bssid, | |||
const u8 * | pmkid | |||
) | [inline, static] |
Definition at line 150 of file driver_i.h.
static void wpa_drv_resume | ( | struct wpa_supplicant * | wpa_s | ) | [inline, static] |
Definition at line 469 of file driver_i.h.
static int wpa_drv_scan | ( | struct wpa_supplicant * | wpa_s, | |
struct wpa_driver_scan_params * | params | |||
) | [inline, static] |
Definition at line 74 of file driver_i.h.
static int wpa_drv_send_action | ( | struct wpa_supplicant * | wpa_s, | |
unsigned int | freq, | |||
const u8 * | dst, | |||
const u8 * | src, | |||
const u8 * | bssid, | |||
const u8 * | data, | |||
size_t | data_len | |||
) | [inline, static] |
Definition at line 384 of file driver_i.h.
static int wpa_drv_send_eapol | ( | struct wpa_supplicant * | wpa_s, | |
const u8 * | dst, | |||
u16 | proto, | |||
const u8 * | data, | |||
size_t | data_len | |||
) | [inline, static] |
Definition at line 200 of file driver_i.h.
static int wpa_drv_send_ft_action | ( | struct wpa_supplicant * | wpa_s, | |
u8 | action, | |||
const u8 * | target_ap, | |||
const u8 * | ies, | |||
size_t | ies_len | |||
) | [inline, static] |
Definition at line 313 of file driver_i.h.
static int wpa_drv_send_mlme | ( | struct wpa_supplicant * | wpa_s, | |
const u8 * | data, | |||
size_t | data_len | |||
) | [inline, static] |
Definition at line 276 of file driver_i.h.
static int wpa_drv_set_ap_wps_ie | ( | struct wpa_supplicant * | wpa_s, | |
const struct wpabuf * | beacon, | |||
const struct wpabuf * | proberesp | |||
) | [inline, static] |
Definition at line 484 of file driver_i.h.
static int wpa_drv_set_beacon | ( | struct wpa_supplicant * | wpa_s, | |
const u8 * | head, | |||
size_t | head_len, | |||
const u8 * | tail, | |||
size_t | tail_len, | |||
int | dtim_period, | |||
int | beacon_int | |||
) | [inline, static] |
Definition at line 323 of file driver_i.h.
static int wpa_drv_set_bssid | ( | struct wpa_supplicant * | wpa_s, | |
const u8 * | bssid | |||
) | [inline, static] |
Definition at line 259 of file driver_i.h.
static int wpa_drv_set_channel | ( | struct wpa_supplicant * | wpa_s, | |
enum hostapd_hw_mode | phymode, | |||
int | chan, | |||
int | freq | |||
) | [inline, static] |
Definition at line 239 of file driver_i.h.
static int wpa_drv_set_countermeasures | ( | struct wpa_supplicant * | wpa_s, | |
int | enabled | |||
) | [inline, static] |
Definition at line 47 of file driver_i.h.
static int wpa_drv_set_country | ( | struct wpa_supplicant * | wpa_s, | |
const char * | alpha2 | |||
) | [inline, static] |
Definition at line 268 of file driver_i.h.
static int wpa_drv_set_key | ( | struct wpa_supplicant * | wpa_s, | |
enum wpa_alg | alg, | |||
const u8 * | addr, | |||
int | key_idx, | |||
int | set_tx, | |||
const u8 * | seq, | |||
size_t | seq_len, | |||
const u8 * | key, | |||
size_t | key_len | |||
) | [inline, static] |
Definition at line 106 of file driver_i.h.
static int wpa_drv_set_operstate | ( | struct wpa_supplicant * | wpa_s, | |
int | state | |||
) | [inline, static] |
Definition at line 210 of file driver_i.h.
static int wpa_drv_set_param | ( | struct wpa_supplicant * | wpa_s, | |
const char * | param | |||
) | [inline, static] |
Definition at line 39 of file driver_i.h.
static int wpa_drv_set_ssid | ( | struct wpa_supplicant * | wpa_s, | |
const u8 * | ssid, | |||
size_t | ssid_len | |||
) | [inline, static] |
Definition at line 249 of file driver_i.h.
static int wpa_drv_set_supp_port | ( | struct wpa_supplicant * | wpa_s, | |
int | authorized | |||
) | [inline, static] |
Definition at line 374 of file driver_i.h.
static int wpa_drv_signal_monitor | ( | struct wpa_supplicant * | wpa_s, | |
int | threshold, | |||
int | hysteresis | |||
) | [inline, static] |
Definition at line 475 of file driver_i.h.
static int wpa_drv_sta_add | ( | struct wpa_supplicant * | wpa_s, | |
struct hostapd_sta_add_params * | params | |||
) | [inline, static] |
Definition at line 335 of file driver_i.h.
static int wpa_drv_sta_remove | ( | struct wpa_supplicant * | wpa_s, | |
const u8 * | addr | |||
) | [inline, static] |
Definition at line 343 of file driver_i.h.
static int wpa_drv_sta_set_flags | ( | struct wpa_supplicant * | wpa_s, | |
const u8 * | addr, | |||
int | total_flags, | |||
int | flags_or, | |||
int | flags_and | |||
) | [inline, static] |
Definition at line 363 of file driver_i.h.
static void wpa_drv_suspend | ( | struct wpa_supplicant * | wpa_s | ) | [inline, static] |
Definition at line 463 of file driver_i.h.
static int wpa_drv_update_ft_ies | ( | struct wpa_supplicant * | wpa_s, | |
const u8 * | md, | |||
const u8 * | ies, | |||
size_t | ies_len | |||
) | [inline, static] |
Definition at line 303 of file driver_i.h.