commit c93a4d71d6c306f5f0563ba7314c1fa318421cf9
parent 8b937f470509c8b204c38216b99d66d6f0f96dfc
Author: James Prestwood <prestwoj@gmail.com>
Date: Mon, 30 Dec 2019 10:09:51 -0800
test-runner: add special radius_server key
Some test cases require (at least with recent hostapd versions) a
stand alone radius server. This is done using driver=none in the
hostapd config file. For this use case hostapd does not need any
radio since its not doing anything wireless related.
Now inside the hw.conf file, under the HOSTAPD group, you can
specify a config file as the value to 'radius_server' key. This
config file will be used without any associated radio when hostapd
is started.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/tools/test-runner.c b/tools/test-runner.c
@@ -1398,6 +1398,9 @@ static bool configure_hostapd_instances(struct l_settings *hw_settings,
goto done;
}
+ if (!strcmp(hostap_keys[i], "radius_server"))
+ continue;
+
for (wiphy_entry = l_queue_get_entries(wiphy_list);
wiphy_entry;
wiphy_entry = wiphy_entry->next,