wifi-scripts: add ucode based iwinfo

Add an ucode based re-implementation of iwinfo. The tool behaves like the old
one with a few minor output differences. It is now possible to add -j to any
command resulting in JSON output.

The new code is currently opt-in via WIFI_SCRIPTS_UCODE and defaults to
EXPERIMENTAL.

Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2024-10-22 09:58:48 +02:00
parent ba9cdbeea8
commit 0210279888
6 changed files with 1275 additions and 2 deletions

View File

@@ -18,6 +18,7 @@ PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
PKG_LICENSE:=GPL-2.0
PKG_BUILD_FLAGS:=no-lto
PKG_CONFIG_DEPENDS:=CONFIG_WIFI_SCRIPTS_UCODE
IWINFO_ABI_VERSION:=20230701
@@ -62,7 +63,7 @@ define Package/iwinfo
SECTION:=utils
CATEGORY:=Utilities
TITLE:=Generalized Wireless Information utility
DEPENDS:=+libiwinfo
DEPENDS:=+libiwinfo @!WIFI_SCRIPTS_UCODE
endef
define Package/iwinfo/description