/hostap-latest/tests/hwsim/ |
D | test_ap_vht.py | 38 sig = dev[0].request("SIGNAL_POLL").splitlines() 39 if "FREQUENCY=5180" not in sig: 40 raise Exception("Unexpected SIGNAL_POLL value(1): " + str(sig)) 41 if "WIDTH=80 MHz" not in sig: 42 raise Exception("Unexpected SIGNAL_POLL value(2): " + str(sig)) 440 sig = dev[0].request("SIGNAL_POLL").splitlines() 441 if "FREQUENCY=5180" not in sig: 442 raise Exception("Unexpected SIGNAL_POLL value(1): " + str(sig)) 443 if "WIDTH=160 MHz" not in sig: 444 raise Exception("Unexpected SIGNAL_POLL value(2): " + str(sig)) [all …]
|
D | test_he.py | 148 sig = dev[0].request("SIGNAL_POLL").splitlines() 149 if "FREQUENCY=5180" not in sig: 150 raise Exception("Unexpected SIGNAL_POLL value(1): " + str(sig)) 151 if "WIDTH=80 MHz" not in sig: 152 raise Exception("Unexpected SIGNAL_POLL value(2): " + str(sig)) 541 sig = dev[0].request("SIGNAL_POLL").splitlines() 542 if "FREQUENCY=5180" not in sig: 543 raise Exception("Unexpected SIGNAL_POLL value(1): " + str(sig)) 544 if "WIDTH=160 MHz" not in sig: 545 raise Exception("Unexpected SIGNAL_POLL value(2): " + str(sig)) [all …]
|
D | test_p2p_channel.py | 280 sig = dev[1].group_request("SIGNAL_POLL").splitlines() 281 if "WIDTH=40 MHz" not in sig: 282 raise Exception("Unexpected channel width: " + str(sig)) 1205 sig = dev[1].group_request("SIGNAL_POLL").splitlines() 1206 if "FREQUENCY=5180" not in sig: 1207 raise Exception("Unexpected SIGNAL_POLL value(1): " + str(sig)) 1208 if "WIDTH=80 MHz" not in sig: 1209 raise Exception("Unexpected SIGNAL_POLL value(2): " + str(sig)) 1230 sig = dev[1].group_request("SIGNAL_POLL").splitlines() 1231 if "FREQUENCY=5180" not in sig: [all …]
|
D | test_dfs.py | 618 sig = dev[0].request("SIGNAL_POLL").splitlines() 619 if "FREQUENCY=5660" not in sig or "WIDTH=40 MHz" not in sig: 620 raise Exception("Unexpected SIGNAL_POLL value: " + str(sig)) 823 sig = dev[0].request("SIGNAL_POLL").splitlines() 824 logger.info("STA0: " + str(sig)) 825 if "FREQUENCY=5180" not in sig: 826 raise Exception("Unexpected channel: " + str(sig)) 827 if vht160 and "WIDTH=160 MHz" not in sig: 828 raise Exception("Unexpected channel[1]: " + str(sig)) 832 sig = dev[1].request("SIGNAL_POLL").splitlines() [all …]
|
D | test_wpas_mesh.py | 1099 sig = dev[0].request("SIGNAL_POLL").splitlines() 1100 if "WIDTH=40 MHz" not in sig: 1101 raise Exception("Unexpected SIGNAL_POLL value(2): " + str(sig)) 1102 if "CENTER_FRQ1=5190" not in sig: 1103 raise Exception("Unexpected SIGNAL_POLL value(3): " + str(sig)) 1105 sig = dev[1].request("SIGNAL_POLL").splitlines() 1106 if "WIDTH=40 MHz" not in sig: 1107 raise Exception("Unexpected SIGNAL_POLL value(2b): " + str(sig)) 1108 if "CENTER_FRQ1=5190" not in sig: 1109 raise Exception("Unexpected SIGNAL_POLL value(3b): " + str(sig)) [all …]
|
D | test_ibss.py | 485 sig = dev[0].request("SIGNAL_POLL").splitlines() 486 if "FREQUENCY=5180" not in sig: 487 raise Exception("Unexpected SIGNAL_POLL value(1): " + str(sig)) 488 if "WIDTH=80+80 MHz" not in sig: 489 raise Exception("Unexpected SIGNAL_POLL value(2): " + str(sig)) 490 if "CENTER_FRQ1=5210" not in sig: 491 raise Exception("Unexpected SIGNAL_POLL value(3): " + str(sig)) 492 if "CENTER_FRQ2=5775" not in sig: 493 raise Exception("Unexpected SIGNAL_POLL value(4): " + str(sig)) 502 sig = dev[1].request("SIGNAL_POLL").splitlines() [all …]
|
D | test_ap_tdls.py | 437 sig = dev[0].request("SIGNAL_POLL").splitlines() 438 if "WIDTH=80 MHz" not in sig: 439 raise Exception("Unexpected SIGNAL_POLL value(2): " + str(sig)) 476 sig = dev[0].request("SIGNAL_POLL").splitlines() 477 if "FREQUENCY=5180" not in sig: 478 raise Exception("Unexpected SIGNAL_POLL value(1): " + str(sig)) 479 if "WIDTH=80+80 MHz" not in sig: 480 raise Exception("Unexpected SIGNAL_POLL value(2): " + str(sig)) 481 if "CENTER_FRQ1=5210" not in sig: 482 raise Exception("Unexpected SIGNAL_POLL value(3): " + str(sig)) [all …]
|
D | test_wpas_ap.py | 38 sig = dev.request("SIGNAL_POLL").splitlines() 39 logger.info(sig) 720 sig = dev[1].request("SIGNAL_POLL").splitlines() 724 if "FREQUENCY=5180" not in sig: 725 raise Exception("Unexpected SIGNAL_POLL value(1): " + str(sig)) 726 if "WIDTH=40 MHz" not in sig: 727 raise Exception("Unexpected SIGNAL_POLL value(2): " + str(sig)) 752 sig = dev[1].request("SIGNAL_POLL").splitlines() 756 if "FREQUENCY=5180" not in sig: 757 raise Exception("Unexpected SIGNAL_POLL value(1): " + str(sig)) [all …]
|
D | test_ap_acs.py | 218 sig = dev[0].request("SIGNAL_POLL").splitlines() 219 logger.info("SIGNAL_POLL: " + str(sig)) 220 if "WIDTH=40 MHz" not in sig: 372 sig = dev[0].request("SIGNAL_POLL").splitlines() 373 logger.info("SIGNAL_POLL: " + str(sig)) 374 if "WIDTH=160 MHz" not in sig: 643 sig = dev[0].request("SIGNAL_POLL").splitlines() 644 logger.info("SIGNAL_POLL: " + str(sig)) 645 if "WIDTH=20 MHz" not in sig: 791 sig = dev[0].request("SIGNAL_POLL").splitlines() [all …]
|
D | test_ap_ht.py | 60 sig = res.splitlines() 61 if "WIDTH=40 MHz" not in sig: 590 sig = res.splitlines() 591 if "FREQUENCY=2437" not in sig: 593 if "WIDTH=40 MHz" not in sig: 595 if ht40plus and "CENTER_FRQ1=2447" not in sig: 597 if not ht40plus and "CENTER_FRQ1=2427" not in sig: 1185 sig = res.splitlines() 1186 if 'WIDTH=20 MHz' not in sig: 1200 sig = res.splitlines() [all …]
|
D | test_eht.py | 90 sig = wpas.request("SIGNAL_POLL").splitlines() 97 if "FREQUENCY=%s" % freq not in sig: 98 raise Exception("Unexpected SIGNAL_POLL value(1): " + str(sig)) 99 if "WIDTH=%s MHz" % bw not in sig: 100 raise Exception("Unexpected SIGNAL_POLL value(2): " + str(sig))
|
/hostap-latest/src/utils/ |
D | eloop_win.c | 41 int sig; member 423 static void eloop_handle_signal(int sig) 429 if (eloop.signals[i].sig == sig) { 453 eloop.signals[i].handler(eloop.signals[i].sig, in eloop_process_pending_signals() 460 eloop.term_signal.handler(eloop.term_signal.sig, in eloop_process_pending_signals() 466 int eloop_register_signal(int sig, eloop_signal_handler handler, in eloop_register_signal() argument 476 tmp[eloop.signal_count].sig = sig; in eloop_register_signal()
|
D | eloop.c | 64 int sig; member 120 static void eloop_sigsegv_handler(int sig) in eloop_sigsegv_handler() argument 967 static void eloop_handle_alarm(int sig) in eloop_handle_alarm() argument 979 static void eloop_handle_signal(int sig) in eloop_handle_signal() argument 984 if ((sig == SIGINT || sig == SIGTERM) && !eloop.pending_terminate) { in eloop_handle_signal() 995 if (eloop.signals[i].sig == sig) { in eloop_handle_signal() 1021 eloop.signals[i].handler(eloop.signals[i].sig, in eloop_process_pending_signals() 1028 int eloop_register_signal(int sig, eloop_signal_handler handler, in eloop_register_signal() argument 1038 tmp[eloop.signal_count].sig = sig; in eloop_register_signal() 1044 signal(sig, eloop_handle_signal); in eloop_register_signal()
|
D | eloop.h | 66 typedef void (*eloop_signal_handler)(int sig, void *signal_ctx); 272 int eloop_register_signal(int sig, eloop_signal_handler handler,
|
/hostap-latest/src/common/ |
D | sae_pk.c | 602 struct wpabuf *sig = NULL; in sae_write_confirm_pk() local 648 sig = crypto_ec_key_sign(key, hash, hash_len); in sae_write_confirm_pk() 649 if (!sig) in sae_write_confirm_pk() 651 wpa_hexdump_buf(MSG_DEBUG, "SAE-PK: KeyAuth = Sig_AP()", sig); in sae_write_confirm_pk() 658 need = 4 + wpabuf_len(pk->pubkey) + 3 + wpabuf_len(sig) + in sae_write_confirm_pk() 676 wpabuf_put_u8(buf, 1 + wpabuf_len(sig)); in sae_write_confirm_pk() 680 wpabuf_put_buf(buf, sig); in sae_write_confirm_pk() 697 wpabuf_free(sig); in sae_write_confirm_pk()
|
D | dpp_crypto.c | 1906 struct wpabuf *sig = NULL; in dpp_build_conn_signature() local 1942 sig = crypto_ec_key_sign_r_s(conf->csign, hash, curve->hash_len); in dpp_build_conn_signature() 1943 if (!sig) { in dpp_build_conn_signature() 1949 wpabuf_head(sig), wpabuf_len(sig)); in dpp_build_conn_signature() 1950 signed3 = base64_url_encode(wpabuf_head(sig), wpabuf_len(sig), in dpp_build_conn_signature() 1955 wpabuf_free(sig); in dpp_build_conn_signature()
|
/hostap-latest/tests/ |
D | Makefile | 2 test-rsa-sig-ver \ 73 test-rsa-sig-ver: $(call BUILDOBJ,test-rsa-sig-ver.o) $(LIBS) 148 ./test-rsa-sig-ver
|
/hostap-latest/hostapd/ |
D | main.c | 397 static void handle_term(int sig, void *signal_ctx) in handle_term() argument 399 wpa_printf(MSG_DEBUG, "Signal %d received - terminating", sig); in handle_term() 419 static void handle_reload(int sig, void *signal_ctx) in handle_reload() argument 423 sig); in handle_reload() 428 static void handle_dump_state(int sig, void *signal_ctx) in handle_dump_state() argument
|
D | hlr_auc_gw.c | 965 static void handle_term(int sig) in handle_term() argument 967 printf("Signal %d - terminate\n", sig); in handle_term()
|
/hostap-latest/wpa_supplicant/dbus/ |
D | dbus_common.c | 199 static void process_wakeup_main(int sig, void *signal_ctx) in process_wakeup_main() argument 203 if (sig != SIGPOLL || !priv->con) in process_wakeup_main()
|
D | dbus_new_helpers.c | 126 const char *sig = dbus_message_get_signature(message); in is_signature_correct() local 144 return !os_strncmp(registered_sig, sig, MAX_SIG_LEN); in is_signature_correct()
|
/hostap-latest/wpa_supplicant/ |
D | preauth_test.c | 276 static void eapol_test_terminate(int sig, void *signal_ctx) in eapol_test_terminate() argument 279 wpa_msg(wpa_s, MSG_INFO, "Signal %d received - terminating", sig); in eapol_test_terminate()
|
/hostap-latest/src/crypto/ |
D | crypto_openssl.c | 105 static int ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s) in ECDSA_SIG_set0() argument 107 sig->r = r; in ECDSA_SIG_set0() 108 sig->s = s; in ECDSA_SIG_set0() 113 static void ECDSA_SIG_get0(const ECDSA_SIG *sig, const BIGNUM **pr, in ECDSA_SIG_get0() argument 117 *pr = sig->r; in ECDSA_SIG_get0() 119 *ps = sig->s; in ECDSA_SIG_get0() 3968 ECDSA_SIG *sig = NULL; in crypto_ec_key_sign_r_s() local 3986 sig = d2i_ECDSA_SIG(NULL, &p, wpabuf_len(buf)); in crypto_ec_key_sign_r_s() 3987 if (!sig) in crypto_ec_key_sign_r_s() 3989 ECDSA_SIG_get0(sig, &r, &s); in crypto_ec_key_sign_r_s() [all …]
|
D | crypto_wolfssl.c | 2562 size_t len, const u8 *sig, size_t sig_len) in crypto_ec_key_verify_signature() argument 2566 if (!key || !key->eckey || !data || len == 0 || !sig || sig_len == 0) { in crypto_ec_key_verify_signature() 2571 if (wc_ecc_verify_hash(sig, sig_len, data, len, &res, key->eckey) != 0) in crypto_ec_key_verify_signature() 2888 u8 sig[ECC_MAX_SIG_SIZE]; in crypto_ec_key_verify_signature_r_s() local 2897 err = wc_ecc_rs_raw_to_sig(r, r_len, s, s_len, sig, &sig_len); in crypto_ec_key_verify_signature_r_s() 2903 return crypto_ec_key_verify_signature(key, data, len, sig, sig_len); in crypto_ec_key_verify_signature_r_s()
|
/hostap-latest/wlantest/ |
D | wlantest.c | 16 static void wlantest_terminate(int sig, void *signal_ctx) in wlantest_terminate() argument
|