In order to handle regulatory domain requests, crda needs to be
installed on the host, but we also need to install a uevent helper in
the VM so that it gets executed (since we don't run udev).
Signed-hostap: Johannes Berg <johannes.berg@intel.com>
export DBFILE=$LOGDIR/results.db
export PREFILL_DB=y
+ # some tests need CRDA, install a simple uevent helper
+ # and preload the 00 domain it will have asked for already
+ echo $TESTDIR/vm/uevent.sh > /sys/kernel/uevent_helper
+ COUNTRY=00 crda
+
cd $TESTDIR
./run-all.sh $ARGS >/dev/ttyS0 2>&1
if test -d /sys/kernel/debug/gcov ; then
--- /dev/null
+#!/bin/sh
+
+# assume this was a call for CRDA,
+# if not then it won't find a COUNTRY
+# environment variable and exit
+exec crda