Skip to content

Add ubus call to set/get LIBWIFI_DEBUG_LEVEL

Grzegorz Sluja requested to merge wifimngr_debug_level_impl into devel

LIBWIFI_DEBUG_LEVEL env variable has been created to handle set/get debug level for easy_soc_libs debugging.

Usage: ubus call wifi debug_level -> prints current LIBWIFI_DEBUG_LEVEL value ubus call wifi debug_level '{"debug_level":X}' -> set the new LIBWIFI_DEBUG_LEVEL value as X.

In easy_soc_libs debug_level is implemented with the following values (the same as the linux kernel's log level): ERR = 3 WARN = 4 INFO = 6 DBG = 7

@janusz @Marek @bartlomiej.grzeskowiak Please review

Signed-off-by: Grzegorz Sluja grzegorz.sluja@iopsys.eu

Merge request reports

Loading