Files
packages/net/wifi-chipset-detect/Makefile
T
Rob White f9d93cda10 wifi-chipset-detect: new package
Maintainer: Rob White rob@blue-wave.net

Compile tested: All

Run tested: arm_cortex-a7_neon-vfpv4, mipsel_24kc, mips_24kc,
aarch64_cortex-a53; On 24.10, 25.12 and master/snapshot.

Description: wifi-chipset-detect (1.0.0)

This is a new package that reports in json format the chipset
and driver capabilities of installed wireless hardware.

Developed originally for use where Captive Portal
and Mesh Backhaul networks are being built.

It provides a stand alone script to detect details of the physical
wireless hardware without requiring the radios to be enabled.
There are no dependencies over and above the basic OpenWrt flash image.
It is based on functionality built into the OpenNDS and Mesh11sd packages.

The json formatted output is displayed on the terminal screen.
It is also written to the file /tmp/wifidetect.

This version does not require the Captive Portal
or Mesh network to be running.

Full details can be seen here:
https://github.com/openNDS/wifi-chipset-detect

Signed-off-by: Rob White <rob@blue-wave.net>
2026-05-08 08:17:18 +02:00

47 lines
1.2 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2025-2026 BlueWave Projects and Services <licence@blue-wave.net>
#
include $(TOPDIR)/rules.mk
PKG_NAME:=wifi-chipset-detect
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_MAINTAINER:=Rob White <rob@blue-wave.net>
PKG_LICENSE:=GPL-2.0-only
PKG_LICENSE_FILES:=LICENSE
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/opennds/wifi-chipset-detect/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=2e4d60861df598dbb13e0133a7ccaa4efa2534c158ae92852d693791e0f206b7
include $(INCLUDE_DIR)/package.mk
define Package/wifi-chipset-detect
SECTION:=net
CATEGORY:=Network
SUBMENU:=Wireless
TITLE:=Wireless Chipset Detection Utility
PKGARCH:=all
URL:=https://github.com/opennds/wifi-chipset-detect
endef
define Package/wifi-chipset-detect/description
Detects WiFi chipset + driver capabilities.
It is based on the detection code found in the apmond daemon
incorporated into the OpenNDS and Mesh11sd packages.
The output is json formatted.
endef
define Package/wifi-chipset-detect/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/wifi-chipset-detect $(1)/usr/sbin
endef
define Build/Compile
endef
$(eval $(call BuildPackage,wifi-chipset-detect))