Lines Matching refs:level

28 #define wpa_debug_level_enabled(level) (CONFIG_WIFI_NM_WPA_SUPPLICANT_DEBUG_LEVEL <= (level))  argument
66 #define wpa_printf(level, fmt, ...) \ argument
67 wpa_debug_cond_run(wpa_debug_level_enabled(level), \
68 wpa_printf_impl(level, fmt, ##__VA_ARGS__))
70 void wpa_printf_impl(int level, const char *fmt, ...) PRINTF_FORMAT(2, 3);
84 #define wpa_hexdump(level, title, buf, len) \ argument
85 wpa_debug_cond_run(wpa_debug_level_enabled(level), wpa_hexdump_impl(level, title, buf, len))
87 void wpa_hexdump_impl(int level, const char *title, const void *buf, size_t len);
89 static inline void wpa_hexdump_buf(int level, const char *title, const struct wpabuf *buf) in wpa_hexdump_buf() argument
91 wpa_hexdump(level, title, buf ? wpabuf_head(buf) : NULL, buf ? wpabuf_len(buf) : 0); in wpa_hexdump_buf()
107 #define wpa_hexdump_key(level, title, buf, len) \ argument
108 wpa_debug_cond_run(wpa_debug_level_enabled(level), \
109 wpa_hexdump_key_impl(level, title, buf, len))
111 void wpa_hexdump_key_impl(int level, const char *title, const void *buf, size_t len);
113 static inline void wpa_hexdump_buf_key(int level, const char *title, const struct wpabuf *buf) in wpa_hexdump_buf_key() argument
115 wpa_hexdump_key(level, title, buf ? wpabuf_head(buf) : NULL, buf ? wpabuf_len(buf) : 0); in wpa_hexdump_buf_key()
131 #define wpa_hexdump_ascii(level, title, buf, len) \ argument
132 wpa_debug_cond_run(wpa_debug_level_enabled(level), \
133 wpa_hexdump_ascii_impl(level, title, buf, len))
135 void wpa_hexdump_ascii_impl(int level, const char *title, const void *buf, size_t len);
151 #define wpa_hexdump_ascii_key(level, title, buf, len) \ argument
152 wpa_debug_cond_run(wpa_debug_level_enabled(level), \
153 wpa_hexdump_ascii_key_impl(level, title, buf, len));
155 void wpa_hexdump_ascii_key_impl(int level, const char *title, const void *buf, size_t len);
194 #define wpa_msg(ctx, level, fmt, ...) \ argument
195 wpa_debug_cond_run(wpa_debug_level_enabled(level), \
196 wpa_msg_impl(ctx, level, fmt, ##__VA_ARGS__))
198 void wpa_msg_impl(void *ctx, int level, const char *fmt, ...) PRINTF_FORMAT(3, 4);
213 #define wpa_msg_ctrl(ctx, level, fmt, ...) \ argument
214 wpa_debug_cond_run(wpa_debug_level_enabled(level), \
215 wpa_msg_ctrl_impl(ctx, level, fmt, ##__VA_ARGS__))
217 void wpa_msg_ctrl_impl(void *ctx, int level, const char *fmt, ...) PRINTF_FORMAT(3, 4);
233 #define wpa_msg_global(ctx, level, fmt, ...) \ argument
234 wpa_debug_cond_run(wpa_debug_level_enabled(level), \
235 wpa_msg_global_impl(ctx, level, fmt, ##__VA_ARGS__))
237 void wpa_msg_global_impl(void *ctx, int level, const char *fmt, ...) PRINTF_FORMAT(3, 4);
252 #define wpa_msg_global_ctrl(ctx, level, fmt, ...) \ argument
253 wpa_debug_cond_run(wpa_debug_level_enabled(level), \
254 wpa_msg_global_ctrl_impl(ctx, level, fmt, ##__VA_ARGS__))
256 void wpa_msg_global_ctrl_impl(void *ctx, int level, const char *fmt, ...) PRINTF_FORMAT(3, 4);
270 #define wpa_msg_no_global(ctx, level, fmt, ...) \ argument
271 wpa_debug_cond_run(wpa_debug_level_enabled(level), \
272 wpa_msg_no_global_impl(ctx, level, fmt, ##__VA_ARGS__))
274 void wpa_msg_no_global_impl(void *ctx, int level, const char *fmt, ...) PRINTF_FORMAT(3, 4);
288 #define wpa_msg_global_only(ctx, level, fmt, ...) \ argument
289 wpa_debug_cond_run(wpa_debug_level_enabled(level), \
290 wpa_msg_global_only_impl(ctx, level, fmt, ##__VA_ARGS__))
292 void wpa_msg_global_only_impl(void *ctx, int level, const char *fmt, ...) PRINTF_FORMAT(3, 4);
301 typedef void (*wpa_msg_cb_func)(void *ctx, int level, enum wpa_msg_type type, const char *txt,
338 void hostapd_logger(void *ctx, const u8 *addr, unsigned int module, int level, const char *fmt, ...)
341 typedef void (*hostapd_logger_cb_func)(void *ctx, const u8 *addr, unsigned int module, int level,
380 const char *debug_level_str(int level);