connectivity: include Atheros proprietary 'athtestcmd'

The prebuilt 'athtestcmd' binary allows you to test tx/rx of the
Wi-Fi MAC, when the driver is loaded in test mode.
This is required for certifying Wi-Fi in products, so add it by
default for the ccimx6sbc.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-7444
(cherry picked from commit acb402fdcfa54d8d5519580ff7fcfb76fbed3f49)
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
This commit is contained in:
Hector Palacios 2021-05-13 13:36:44 +02:00
parent 562a00fe2f
commit 28d9e025ea
3 changed files with 25 additions and 1 deletions

View File

@ -0,0 +1,23 @@
# Copyright (C) 2013-2021 Digi International.
SUMMARY = "Atheros' proprietary tools"
LICENSE = "Proprietary"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Proprietary;md5=0557f9d92cf58f2ccdd50f62f8ac0b28"
RDEPENDS_${PN} = "libnl libnl-genl libnl-nf libnl-route"
inherit bin_package
SRC_URI = " \
file://athtestcmd \
"
INSANE_SKIP_${PN} = "already-stripped"
do_install() {
install -d ${D}${sbindir}
install -m 0755 ${WORKDIR}/athtestcmd ${D}${sbindir}
}
PACKAGE_ARCH = "${MACHINE_ARCH}"
COMPATIBLE_MACHINE = "(ccimx6sbc)"

View File

@ -1,5 +1,5 @@
# #
# Copyright (C) 2012-2020 Digi International. # Copyright (C) 2012-2021 Digi International.
# #
SUMMARY = "Wireless packagegroup for DEY image" SUMMARY = "Wireless packagegroup for DEY image"
@ -15,4 +15,5 @@ RDEPENDS_${PN} = "\
wpa-supplicant-passphrase \ wpa-supplicant-passphrase \
" "
RDEPENDS_${PN}_ccimx6sbc += "ath-prop-tools"
RDEPENDS_${PN}_remove_ccimx6sbc = "hostapd" RDEPENDS_${PN}_remove_ccimx6sbc = "hostapd"