Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 69) sorted by relevance

123

/hostap-latest/src/fst/
Dfst_internal.h20 #define fst_printf(level, format, ...) \ argument
21 wpa_printf((level), "FST: " format, ##__VA_ARGS__)
23 #define fst_printf_group(group, level, format, ...) \ argument
24 wpa_printf((level), "FST: %s: " format, \
27 #define fst_printf_iface(iface, level, format, ...) \ argument
28 fst_printf_group(fst_iface_get_group(iface), (level), "%s: " format, \
Dfst_session.c28 #define fst_printf_session(s, level, format, ...) \ argument
29 fst_printf((level), "%u (0x%08x): [" MACSTR "," MACSTR "] :" format, \
35 #define fst_printf_siface(s, iface, level, format, ...) \ argument
36 fst_printf_session((s), (level), "%s: " format, \
39 #define fst_printf_sframe(s, is_old, level, format, ...) \ argument
42 (level), format, ##__VA_ARGS__)
/hostap-latest/tests/hwsim/
Dhwsim_utils.py69 cmd = "DATA_TEST_TX ff:ff:ff:ff:ff:ff {} {}".format(addr1, tos)
86 if "DATA-TEST-RX ff:ff:ff:ff:ff:ff {}".format(addr1) in ev:
88 if "DATA-TEST-RX {} {}".format(addr2, addr1) not in ev:
91 if "DATA-TEST-RX ff:ff:ff:ff:ff:ff {}".format(addr1) not in ev:
123 cmd = "DATA_TEST_TX {} {} {}".format(addr2, addr1, tos)
136 if "DATA-TEST-RX {} {}".format(addr2, addr1) not in ev:
151 cmd = "DATA_TEST_TX {} {} {}".format(addr1, addr2, tos)
164 if "DATA-TEST-RX {} {}".format(addr1, addr2) not in ev:
Dtest_p2p_messages.py804 …mgmt_tx(dev[1], "MGMT_TX {} {} freq={} wait_time=200 no_cck=1 action={}".format(addr0, addr0, peer…
830 …mgmt_tx(dev[1], "MGMT_TX {} {} freq={} wait_time=200 no_cck=1 action={}".format(addr0, addr0, peer…
911 mgmt_tx(dev[1], "MGMT_TX {} {} freq={} wait_time=200 no_cck=1 action={}".format(
932 mgmt_tx(dev[1], "MGMT_TX {} {} freq={} wait_time=200 no_cck=1 action={}".format(
949 mgmt_tx(dev[1], "MGMT_TX {} {} freq={} wait_time=200 no_cck=1 action={}".format(
969 mgmt_tx(dev[1], "MGMT_TX {} {} freq={} wait_time=200 no_cck=1 action={}".format(
989 mgmt_tx(dev[1], "MGMT_TX {} {} freq={} wait_time=200 no_cck=1 action={}".format(
1006 mgmt_tx(dev[1], "MGMT_TX {} {} freq={} wait_time=200 no_cck=1 action={}".format(
1038 mgmt_tx(dev[1], "MGMT_TX {} {} freq={} wait_time=200 no_cck=1 action={}".format(
1062 mgmt_tx(dev[1], "MGMT_TX {} {} freq={} wait_time=200 no_cck=1 action={}".format(
[all …]
Drun-tests.py553 msg = "START {} {}/{}".format(name, count, num_tests)
566 raise Exception("PING failed for {}".format(d.ifname))
568 raise Exception("Global PING failed for {}".format(d.ifname))
652 logger.info("Failed to issue TEST-STOP after {} for {}".format(name, d.ifname))
723 result = "{} {} {} {}".format(result, name, diff.total_seconds(), end)
754 logger.info("passed {} test case(s)".format(len(passed)))
755 logger.info("skipped {} test case(s)".format(len(skipped)))
760 logger.info("passed all {} test case(s)".format(len(passed)))
762 logger.info("skipped {} test case(s)".format(len(skipped)))
764 print("passed all {} test case(s)".format(len(passed)))
[all …]
Dtest_gas.py1035 …req = "MGMT_TX {} {} freq=2412 wait_time=10 action={}".format(bssid, bssid, binascii.hexlify(msg).…
1048 …raise Exception("Unexpected failure status code {} for dialog token {}".format(status_code, dialog…
1050 …raise Exception("Unexpected success status code {} for dialog token {}".format(status_code, dialog…
1067 …req = "MGMT_TX {} {} freq=2412 wait_time=10 action={}".format(bssid, bssid, binascii.hexlify(msg).…
1078 raise Exception("Unexpected status code {} (expected 60)".format(status_code))
1108 cmd = "MGMT_TX {} {} freq=2412 action=040A".format(bssid, bssid)
1117 cmd = "MGMT_TX {} {} freq=2412 action=04".format(bssid, bssid)
1915 …req = "MGMT_TX {} {} freq=2412 wait_time=10 action={}".format(bssid, bssid, binascii.hexlify(msg).…
1976 …req = "MGMT_TX {} {} freq=2412 wait_time=10 action={}".format(bssid, bssid, binascii.hexlify(msg).…
1989 raise Exception("Unexpected status code {}".format(status_code))
[all …]
Dtest_ap_open.py61 cmd = "MGMT_TX {} {} freq=2412 action=765432".format(bssid, bssid)
75 cmd = "MGMT_TX {} {} freq=2412 action=1100".format(bssid, bssid)
465 hapd.request('DATA_TEST_TX {} {} 0'.format(da, sa))
873 logger.info("Scan duration: {} seconds".format(end - start))
954 cmd = "DATA_TEST_TX {} {} {}".format(addr, addr, 0)
959 if ev is not None and "DATA-TEST-RX {} {}".format(addr, addr) in ev:
Dtest_nan_usd.py243 …cmd = "NAN_TRANSMIT handle={} req_instance_id={} address={} ssi=8899".format(vals['subscribe_id'],…
260 …cmd = "NAN_TRANSMIT handle={} req_instance_id={} address={} ssi=aabbccdd".format(id1, vals['peer_i…
/hostap-latest/
Dbuild_release32 git archive --format=tar --prefix=wpa-$VER/ HEAD \
35 git archive --format=tar --prefix=hostapd-$VER/ HEAD \
38 git archive --format=tar --prefix=wpa_supplicant-$VER/ HEAD \
/hostap-latest/hostapd/
Dmain.c49 char *format, *module_str; in hostapd_logger_cb() local
55 format = os_malloc(maxlen); in hostapd_logger_cb()
56 if (!format) in hostapd_logger_cb()
94 os_snprintf(format, maxlen, "%s: STA " MACSTR "%s%s: %s", in hostapd_logger_cb()
99 os_snprintf(format, maxlen, "%s:%s%s %s", in hostapd_logger_cb()
103 os_snprintf(format, maxlen, "STA " MACSTR "%s%s: %s", in hostapd_logger_cb()
107 os_snprintf(format, maxlen, "%s%s%s", in hostapd_logger_cb()
117 wpa_printf(MSG_INFO, "%s", format); in hostapd_logger_cb()
141 syslog(priority, "%s", format); in hostapd_logger_cb()
145 os_free(format); in hostapd_logger_cb()
Dwps-ap-nfc.py119 summary("received handover request {}".format(request.type))
127 summary("error decoding 'Hr' message: {}".format(e))
130 summary("send handover response {}".format(response.type))
/hostap-latest/tests/hwsim/vm/
Dparallel-vm.py266 log = '{}/{}.srv.{}/console'.format(dir, timestamp, _vm['idx'] + 1)
292 …scr.addstr("{} %".format(int(100.0 * (total_passed + total_failed + total_skipped) / total_tests)))
294 …"TOTAL={} STARTED={} PASS={} FAIL={} SKIP={}".format(total_tests, total_started, total_passed, tot…
341 scr.addstr(status_line, 20, "TOTAL={} STARTED=0 PASS=0 FAIL=0 SKIP=0".format(total_tests))
563 with open('{}/{}-parallel.log'.format(dir, timestamp), 'w') as f:
565 f.write('VM {}\n{}\n{}\n'.format(i + 1, vm[i]['out'], vm[i]['err']))
619 res = "TOTAL={} PASS={} FAIL={} SKIP={}".format(total_started,
636 log = '{}/{}.srv.{}/console'.format(dir, timestamp, i + 1)
705 …logger.info("Tests run: {} Tests failed: {} Total time: {} Version: {}".format(total_started, t…
/hostap-latest/wpa_supplicant/doc/docbook/
Dwpa_supplicant.conf.sgml22 detailed information about the configuration format and supported
219 PKCS#12/PFX format, they need to be converted to suitable PEM/DER
220 format for wpa_supplicant. This can be done, e.g., with following
223 # convert client certificate and private key to PEM format
225 # convert CA certificate (if included in PFX file) to PEM format
/hostap-latest/hs20/client/
Dosu_client.h61 __attribute__ ((format (printf, 2, 3)));
63 __attribute__ ((format (printf, 2, 3)));
/hostap-latest/src/utils/
Dos_internal.c491 int os_snprintf(char *str, size_t size, const char *format, ...) in os_snprintf() argument
500 va_start(ap, format); in os_snprintf()
501 ret = vsnprintf(str, size, format, ap); in os_snprintf()
Dcommon.h385 #define PRINTF_FORMAT(a,b) __attribute__ ((format (printf, (a), (b))))
400 int snprintf(char *str, size_t size, const char *format, ...);
403 int vsnprintf(char *str, size_t size, const char *format, va_list ap);
Dos_none.c238 int os_snprintf(char *str, size_t size, const char *format, ...) in os_snprintf() argument
/hostap-latest/wpa_supplicant/examples/p2p/
Dp2p_connect.py38 print(format(status))
48 print("WPS Authentication Failure".format(status))
/hostap-latest/wpa_supplicant/examples/
Dwps-nfc.py148 summary("received handover request {}".format(request.type))
156 summary("error decoding 'Hr' message: {}".format(e))
159 summary("send handover response {}".format(response.type))
Dp2p-nfc.py269 summary("received handover request {}".format(request.type))
277 summary("error decoding 'Hr' message: {}".format(e))
280 summary("send handover response {}".format(response.type))
/hostap-latest/tests/build/
Drun-build-tests.sh5 git archive --format=tar --prefix=hostap-build/ HEAD > $DIR/hostap-build.tar
/hostap-latest/hs20/server/
Dspp_server.h27 __attribute__ ((format (printf, 3, 4)));
/hostap-latest/src/eapol_auth/
Deapol_auth_sm.c64 char *format; in eapol_auth_vlogger() local
72 format = os_malloc(maxlen); in eapol_auth_vlogger()
73 if (!format) in eapol_auth_vlogger()
77 vsnprintf(format, maxlen, fmt, ap); in eapol_auth_vlogger()
80 eapol_auth_logger(eapol, addr, level, format); in eapol_auth_vlogger()
82 os_free(format); in eapol_auth_vlogger()
/hostap-latest/wpadebug/src/w1/fi/wpadebug/
DDisplayMessageActivity.java27 sb.append(String.format("%02x", b)); in byteArrayHex()
/hostap-latest/wpa_supplicant/
DREADME293 format: CONFIG_<option>=y. Lines starting with # are considered
386 explanation of the configuration file format and includes various
511 information about the configuration format and supported fields.
671 format, they need to be converted to suitable PEM/DER format for
674 # convert client certificate and private key to PEM format
676 # convert CA certificate (if included in PFX file) to PEM format
1099 to external programs. The format of the control interface event messages
1102 - Control interface event message format to indicate DSCP request start
1110 - Control interface event message format to add new policy
1124 - Control interface event message format to remove a particular policy,
[all …]

123