Home
last modified time | relevance | path

Searched refs:sig (Results 1 – 25 of 38) sorted by relevance

12

/hostap-latest/tests/hwsim/
Dtest_ap_vht.py38 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 …]
Dtest_he.py148 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 …]
Dtest_p2p_channel.py280 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 …]
Dtest_dfs.py618 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 …]
Dtest_wpas_mesh.py1099 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 …]
Dtest_ibss.py485 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 …]
Dtest_ap_tdls.py437 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 …]
Dtest_wpas_ap.py38 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 …]
Dtest_ap_acs.py218 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 …]
Dtest_ap_ht.py60 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 …]
Dtest_eht.py90 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/
Deloop_win.c41 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()
Deloop.c64 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()
Deloop.h66 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/
Dsae_pk.c602 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()
Ddpp_crypto.c1906 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/
DMakefile2 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/
Dmain.c397 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
Dhlr_auc_gw.c965 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/
Ddbus_common.c199 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()
Ddbus_new_helpers.c126 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/
Dpreauth_test.c276 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/
Dcrypto_openssl.c105 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 …]
Dcrypto_wolfssl.c2562 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/
Dwlantest.c16 static void wlantest_terminate(int sig, void *signal_ctx) in wlantest_terminate() argument

12