15 char ifname[IFNAMSIZ + 1];
23 size_t assoc_req_ies_len;
25 size_t assoc_resp_ies_len;
28 int we_version_compiled;
32 int auth_alg_fallback;
36 char mlmedev[IFNAMSIZ + 1];
38 int scan_complete_events;
52 const u8 *addr,
int key_idx,
53 int set_tx,
const u8 *seq,
size_t seq_len,
54 const u8 *key,
size_t key_len);
66 int wpa_driver_wext_set_operstate(
void *priv,
int state);
69 int wpa_driver_wext_associate(
void *priv,
74 int wpa_driver_wext_cipher2wext(
int cipher);
75 int wpa_driver_wext_keymgmt2wext(
int keymgmt);
void wpa_driver_wext_scan_timeout(void *eloop_ctx, void *timeout_ctx)
Scan timeout to report scan completion.
Definition: driver_wext.c:1074
int wpa_driver_wext_get_ssid(void *priv, u8 *ssid)
Get SSID, SIOCGIWESSID.
Definition: driver_wext.c:122
int wpa_driver_wext_set_freq(void *priv, int freq)
Set frequency/channel, SIOCSIWFREQ.
Definition: driver_wext.c:208
int wpa_driver_wext_set_bssid(void *priv, const u8 *bssid)
Set BSSID, SIOCSIWAP.
Definition: driver_wext.c:93
struct wpa_scan_results * wpa_driver_wext_get_scan_results(void *priv)
Fetch the latest scan results.
Definition: driver_wext.c:1502
int wpa_driver_wext_set_ssid(void *priv, const u8 *ssid, size_t ssid_len)
Set SSID, SIOCSIWESSID.
Definition: driver_wext.c:161
Scan parameters Data for struct wpa_driver_ops::scan2().
Definition: driver.h:306
void * wpa_driver_wext_init(void *ctx, const char *ifname)
Initialize WE driver interface.
Definition: driver_wext.c:795
Association parameters Data for struct wpa_driver_ops::associate().
Definition: driver.h:578
int wpa_driver_wext_get_bssid(void *priv, u8 *bssid)
Get BSSID, SIOCGIWAP.
Definition: driver_wext.c:68
void wpa_driver_wext_deinit(void *priv)
Deinitialize WE driver interface.
Definition: driver_wext.c:1034
Scan results.
Definition: driver.h:277
int wpa_driver_wext_scan(void *priv, struct wpa_driver_scan_params *params)
Request the driver to initiate scan.
Definition: driver_wext.c:1087
Driver capability information.
Definition: driver.h:1196
int wpa_driver_wext_set_key(const char *ifname, void *priv, 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)
Configure encryption key.
Definition: driver_wext.c:1834
int wpa_driver_wext_set_mode(void *priv, int mode)
Set wireless mode (infra/adhoc), SIOCSIWMODE.
Definition: driver_wext.c:2268
Definition: driver_wext.h:10