Home
last modified time | relevance | path

Searched defs:wt (Results 1 – 20 of 20) sorted by relevance

/hostap-3.6.0/wlantest/
Dmonitor.c22 int monitor_init(struct wlantest *wt, const char *ifname) in monitor_init()
28 int monitor_init_wired(struct wlantest *wt, const char *ifname) in monitor_init_wired()
34 void monitor_deinit(struct wlantest *wt) in monitor_deinit()
42 struct wlantest *wt = eloop_ctx; in monitor_read() local
63 struct wlantest *wt = eloop_ctx; in monitor_read_wired() local
77 int monitor_init(struct wlantest *wt, const char *ifname) in monitor_init()
117 int monitor_init_wired(struct wlantest *wt, const char *ifname) in monitor_init_wired()
157 void monitor_deinit(struct wlantest *wt) in monitor_deinit()
Dwlantest.c48 static void wlantest_init(struct wlantest *wt) in wlantest_init()
87 static void wlantest_deinit(struct wlantest *wt) in wlantest_deinit()
125 static void add_passphrase(struct wlantest *wt, const char *passphrase) in add_passphrase()
140 static void add_secret(struct wlantest *wt, const char *secret) in add_secret()
155 static int add_pmk_file(struct wlantest *wt, const char *pmk_file) in add_pmk_file()
207 static int add_ptk_file(struct wlantest *wt, const char *ptk_file) in add_ptk_file()
260 int add_wep(struct wlantest *wt, const char *key) in add_wep()
283 void add_note(struct wlantest *wt, int level, const char *fmt, ...) in add_note()
310 void clear_notes(struct wlantest *wt) in clear_notes()
323 size_t notes_len(struct wlantest *wt, size_t hdrlen) in notes_len()
[all …]
Dctrl.c104 static void ctrl_disconnect(struct wlantest *wt, int sock) in ctrl_disconnect()
120 static void ctrl_send(struct wlantest *wt, int sock, const u8 *buf, in ctrl_send()
130 static void ctrl_send_simple(struct wlantest *wt, int sock, in ctrl_send_simple()
139 static struct wlantest_bss * ctrl_get_bss(struct wlantest *wt, int sock, in ctrl_get_bss()
162 static struct wlantest_sta * ctrl_get_sta(struct wlantest *wt, int sock, in ctrl_get_sta()
189 static struct wlantest_sta * ctrl_get_sta2(struct wlantest *wt, int sock, in ctrl_get_sta2()
216 static void ctrl_list_bss(struct wlantest *wt, int sock) in ctrl_list_bss()
241 static void ctrl_list_sta(struct wlantest *wt, int sock, u8 *cmd, size_t clen) in ctrl_list_sta()
271 static void ctrl_flush(struct wlantest *wt, int sock) in ctrl_flush()
279 static void ctrl_clear_sta_counters(struct wlantest *wt, int sock, u8 *cmd, in ctrl_clear_sta_counters()
[all …]
Drx_mgmt.c61 static void rx_mgmt_beacon(struct wlantest *wt, const u8 *data, size_t len) in rx_mgmt_beacon()
151 static void rx_mgmt_probe_resp(struct wlantest *wt, const u8 *data, size_t len) in rx_mgmt_probe_resp()
182 static void process_fils_auth(struct wlantest *wt, struct wlantest_bss *bss, in process_fils_auth()
231 static void process_ft_auth(struct wlantest *wt, struct wlantest_bss *bss, in process_ft_auth()
306 static void rx_mgmt_auth(struct wlantest *wt, const u8 *data, size_t len) in rx_mgmt_auth()
358 static void deauth_all_stas(struct wlantest *wt, struct wlantest_bss *bss) in deauth_all_stas()
372 static void tdls_link_down(struct wlantest *wt, struct wlantest_bss *bss, in tdls_link_down()
387 static void rx_mgmt_deauth(struct wlantest *wt, const u8 *data, size_t len, in rx_mgmt_deauth()
476 static int try_rmsk(struct wlantest *wt, struct wlantest_bss *bss, in try_rmsk()
554 static void derive_fils_keys(struct wlantest *wt, struct wlantest_bss *bss, in derive_fils_keys()
[all …]
Dprocess.c20 static struct wlantest_sta * rx_get_sta(struct wlantest *wt, in rx_get_sta()
90 static void rx_update_ps(struct wlantest *wt, const struct ieee80211_hdr *hdr, in rx_update_ps()
142 static int rx_duplicate(struct wlantest *wt, const struct ieee80211_hdr *hdr, in rx_duplicate()
181 static void rx_ack(struct wlantest *wt, const struct ieee80211_hdr *hdr) in rx_ack()
200 static void rx_frame(struct wlantest *wt, const u8 *data, size_t len) in rx_frame()
258 static void tx_status(struct wlantest *wt, const u8 *data, size_t len, int ack) in tx_status()
273 void wlantest_process(struct wlantest *wt, const u8 *data, size_t len) in wlantest_process()
353 void wlantest_process_prism(struct wlantest *wt, const u8 *data, size_t len) in wlantest_process_prism()
391 void wlantest_process_80211(struct wlantest *wt, const u8 *data, size_t len) in wlantest_process_80211()
Dwired.c19 static struct wlantest_radius * radius_get(struct wlantest *wt, u32 srv, in radius_get()
68 static void process_radius_access_request(struct wlantest *wt, u32 dst, in process_radius_access_request()
90 static void wlantest_add_pmk(struct wlantest *wt, const u8 *pmk, size_t pmk_len) in wlantest_add_pmk()
104 static void process_radius_access_accept(struct wlantest *wt, u32 dst, u32 src, in process_radius_access_accept()
167 static void process_radius(struct wlantest *wt, u32 dst, u16 dport, u32 src, in process_radius()
203 static void process_udp(struct wlantest *wt, u32 dst, u32 src, in process_udp()
232 static void process_ipv4(struct wlantest *wt, const u8 *data, size_t len) in process_ipv4()
277 void wlantest_process_wired(struct wlantest *wt, const u8 *data, size_t len) in wlantest_process_wired()
Drx_tdls.c20 static struct wlantest_tdls * get_tdls(struct wlantest *wt, const u8 *linkid, in get_tdls()
134 static int tdls_verify_mic(struct wlantest *wt, struct wlantest_tdls *tdls, in tdls_verify_mic()
199 static void rx_data_tdls_setup_request(struct wlantest *wt, const u8 *bssid, in rx_data_tdls_setup_request()
244 static void rx_data_tdls_setup_response_failure(struct wlantest *wt, in rx_data_tdls_setup_response_failure()
284 static void rx_data_tdls_setup_response(struct wlantest *wt, const u8 *bssid, in rx_data_tdls_setup_response()
354 static void rx_data_tdls_setup_confirm_failure(struct wlantest *wt, in rx_data_tdls_setup_confirm_failure()
394 static void rx_data_tdls_setup_confirm(struct wlantest *wt, const u8 *bssid, in rx_data_tdls_setup_confirm()
480 static int tdls_verify_mic_teardown(struct wlantest *wt, in tdls_verify_mic_teardown()
538 static void rx_data_tdls_teardown(struct wlantest *wt, const u8 *bssid, in rx_data_tdls_teardown()
573 static void rx_data_tdls(struct wlantest *wt, const u8 *bssid, in rx_data_tdls()
[all …]
Drx_data.c60 static void rx_data_vlan(struct wlantest *wt, const u8 *bssid, in rx_data_vlan()
78 static void rx_data_eth(struct wlantest *wt, const u8 *bssid, in rx_data_eth()
102 static void rx_data_process(struct wlantest *wt, struct wlantest_bss *bss, in rx_data_process()
153 static u8 * try_ptk(struct wlantest *wt, int pairwise_cipher, in try_ptk()
192 static u8 * try_all_ptk(struct wlantest *wt, int pairwise_cipher, in try_all_ptk()
219 static void check_plaintext_prot(struct wlantest *wt, in check_plaintext_prot()
236 static void rx_data_bss_prot_group(struct wlantest *wt, in rx_data_bss_prot_group()
375 static u8 * try_ptk_decrypt(struct wlantest *wt, struct wlantest_sta *sta, in try_ptk_decrypt()
395 static void rx_data_bss_prot(struct wlantest *wt, in rx_data_bss_prot()
717 static void rx_data_bss(struct wlantest *wt, const struct ieee80211_hdr *hdr, in rx_data_bss()
[all …]
Dwritepcap.c18 int write_pcap_init(struct wlantest *wt, const char *fname) in write_pcap_init()
38 void write_pcap_deinit(struct wlantest *wt) in write_pcap_deinit()
51 void write_pcap_captured(struct wlantest *wt, const u8 *buf, size_t len) in write_pcap_captured()
69 void write_pcap_decrypted(struct wlantest *wt, const u8 *buf1, size_t len1, in write_pcap_decrypted()
162 int write_pcapng_init(struct wlantest *wt, const char *fname) in write_pcapng_init()
197 void write_pcapng_deinit(struct wlantest *wt) in write_pcapng_deinit()
206 static u8 * pcapng_add_comments(struct wlantest *wt, u8 *pos) in pcapng_add_comments()
238 static void write_pcapng_decrypted(struct wlantest *wt) in write_pcapng_decrypted()
281 void write_pcapng_write_read(struct wlantest *wt, int dlt, in write_pcapng_write_read()
360 void write_pcapng_captured(struct wlantest *wt, const u8 *buf, size_t len) in write_pcapng_captured()
Dbss.c19 struct wlantest_bss * bss_find(struct wlantest *wt, const u8 *bssid) in bss_find()
32 struct wlantest_bss * bss_get(struct wlantest *wt, const u8 *bssid) in bss_get()
112 static void bss_add_pmk(struct wlantest *wt, struct wlantest_bss *bss) in bss_add_pmk()
132 void bss_update(struct wlantest *wt, struct wlantest_bss *bss, in bss_update()
369 void bss_flush(struct wlantest *wt) in bss_flush()
Drx_eapol.c64 static void rx_data_eapol_key_1_of_4(struct wlantest *wt, const u8 *dst, in rx_data_eapol_key_1_of_4()
95 static int try_pmk(struct wlantest *wt, struct wlantest_bss *bss, in try_pmk()
168 static void derive_ptk(struct wlantest *wt, struct wlantest_bss *bss, in derive_ptk()
240 static void rx_data_eapol_key_2_of_4(struct wlantest *wt, const u8 *dst, in rx_data_eapol_key_2_of_4()
351 static u8 * decrypt_eapol_key_data_rc4(struct wlantest *wt, const u8 *kek, in decrypt_eapol_key_data_rc4()
375 static u8 * decrypt_eapol_key_data_aes(struct wlantest *wt, const u8 *kek, in decrypt_eapol_key_data_aes()
404 static u8 * decrypt_eapol_key_data(struct wlantest *wt, int akmp, const u8 *kek, in decrypt_eapol_key_data()
442 static void learn_kde_keys(struct wlantest *wt, struct wlantest_bss *bss, in learn_kde_keys()
616 static void rx_data_eapol_key_3_of_4(struct wlantest *wt, const u8 *dst, in rx_data_eapol_key_3_of_4()
813 static void rx_data_eapol_key_4_of_4(struct wlantest *wt, const u8 *dst, in rx_data_eapol_key_4_of_4()
[all …]
Dreadpcap.c16 static void write_pcap_with_radiotap(struct wlantest *wt, in write_pcap_with_radiotap()
49 int read_cap_file(struct wlantest *wt, const char *fname) in read_cap_file()
139 int read_wired_cap_file(struct wlantest *wt, const char *fname) in read_wired_cap_file()
Dinject.c82 static int wlantest_inject_bip(struct wlantest *wt, struct wlantest_bss *bss, in wlantest_inject_bip()
111 static int wlantest_inject_prot_bc(struct wlantest *wt, in wlantest_inject_prot_bc()
159 static int wlantest_inject_prot(struct wlantest *wt, struct wlantest_bss *bss, in wlantest_inject_prot()
274 int wlantest_inject(struct wlantest *wt, struct wlantest_bss *bss, in wlantest_inject()
Drx_ip.c19 static void ping_update(struct wlantest *wt, struct wlantest_sta *sta, int req, in ping_update()
45 static void rx_data_icmp(struct wlantest *wt, const u8 *bssid, in rx_data_icmp()
119 void rx_data_ip(struct wlantest *wt, const u8 *bssid, const u8 *sta_addr, in rx_data_ip()
Dwep.c71 u8 * wep_decrypt(struct wlantest *wt, const struct ieee80211_hdr *hdr, in wep_decrypt()
/hostap-3.6.0/src/ap/
Dairtime_policy.c143 int wt, num_bss = 0, max_wt = 0; in update_airtime_weights() local
232 struct airtime_sta_weight *wt; in get_weight_for_sta() local
Dap_config.c958 struct airtime_sta_weight *wt, *wt_prev; in hostapd_config_free_bss() local
/hostap-3.6.0/hostapd/
Dconfig_file.c2166 struct airtime_sta_weight *wt; in add_airtime_weight() local
/hostap-3.6.0/tests/hwsim/
Dtest_ap_hs20.py154 def check_probe_resp(wt, bssid_unexpected, bssid_expected): argument
Dtest_dpp.py7024 def run_dpp_enterprise_tcp_end(params, dev, wt): argument