Lines Matching refs:level
26 void wpa_printf_impl(int level, const char *fmt, ...) in wpa_printf_impl() argument
32 if (level < wpa_debug_level) in wpa_printf_impl()
45 switch (level) { in wpa_printf_impl()
67 static void _wpa_hexdump(int level, const char *title, const u8 *buf, size_t len, int show) in _wpa_hexdump() argument
73 if (level < wpa_debug_level) in _wpa_hexdump()
93 wpa_printf(level, "%s - hexdump(len=%lu):%s", title, (unsigned long)len, content); in _wpa_hexdump()
97 void wpa_hexdump_impl(int level, const char *title, const void *buf, size_t len) in wpa_hexdump_impl() argument
99 _wpa_hexdump(level, title, buf, len, 1); in wpa_hexdump_impl()
102 void wpa_hexdump_key_impl(int level, const char *title, const void *buf, size_t len) in wpa_hexdump_key_impl() argument
104 _wpa_hexdump(level, title, buf, len, wpa_debug_show_keys); in wpa_hexdump_key_impl()
107 static void _wpa_hexdump_ascii(int level, const char *title, const void *buf, size_t len, int show) in _wpa_hexdump_ascii() argument
111 if (level < wpa_debug_level) { in _wpa_hexdump_ascii()
123 wpa_printf(level, "%s - hexdump_ascii(len=%lu):%s", title, (unsigned long)len, content); in _wpa_hexdump_ascii()
129 switch (level) { in _wpa_hexdump_ascii()
149 void wpa_hexdump_ascii_impl(int level, const char *title, const void *buf, size_t len) in wpa_hexdump_ascii_impl() argument
151 _wpa_hexdump_ascii(level, title, buf, len, 1); in wpa_hexdump_ascii_impl()
154 void wpa_hexdump_ascii_key_impl(int level, const char *title, const void *buf, size_t len) in wpa_hexdump_ascii_key_impl() argument
156 _wpa_hexdump_ascii(level, title, buf, len, wpa_debug_show_keys); in wpa_hexdump_ascii_key_impl()
177 void wpa_msg_impl(void *ctx, int level, const char *fmt, ...) in wpa_msg_impl() argument
208 wpa_printf(level, "%s%s", prefix, buf); in wpa_msg_impl()
210 wpa_msg_cb(ctx, level, WPA_MSG_PER_INTERFACE, buf, len); in wpa_msg_impl()
214 void wpa_msg_ctrl_impl(void *ctx, int level, const char *fmt, ...) in wpa_msg_ctrl_impl() argument
236 wpa_msg_cb(ctx, level, WPA_MSG_PER_INTERFACE, buf, len); in wpa_msg_ctrl_impl()
240 void wpa_msg_global_impl(void *ctx, int level, const char *fmt, ...) in wpa_msg_global_impl() argument
259 wpa_printf(level, "%s", buf); in wpa_msg_global_impl()
261 wpa_msg_cb(ctx, level, WPA_MSG_GLOBAL, buf, len); in wpa_msg_global_impl()
265 void wpa_msg_global_ctrl_impl(void *ctx, int level, const char *fmt, ...) in wpa_msg_global_ctrl_impl() argument
287 wpa_msg_cb(ctx, level, WPA_MSG_GLOBAL, buf, len); in wpa_msg_global_ctrl_impl()
291 void wpa_msg_no_global_impl(void *ctx, int level, const char *fmt, ...) in wpa_msg_no_global_impl() argument
310 wpa_printf(level, "%s", buf); in wpa_msg_no_global_impl()
312 wpa_msg_cb(ctx, level, WPA_MSG_NO_GLOBAL, buf, len); in wpa_msg_no_global_impl()
316 void wpa_msg_global_only_impl(void *ctx, int level, const char *fmt, ...) in wpa_msg_global_only_impl() argument
335 wpa_printf(level, "%s", buf); in wpa_msg_global_only_impl()
337 wpa_msg_cb(ctx, level, WPA_MSG_ONLY_GLOBAL, buf, len); in wpa_msg_global_only_impl()
352 void hostapd_logger(void *ctx, const u8 *addr, unsigned int module, int level, const char *fmt, ...) in hostapd_logger() argument
372 hostapd_logger_cb(ctx, addr, module, level, buf, len); in hostapd_logger()
382 const char *debug_level_str(int level) in debug_level_str() argument
384 switch (level) { in debug_level_str()