From c93a4d71d6c306f5f0563ba7314c1fa318421cf9 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Mon, 30 Dec 2019 10:09:51 -0800 Subject: [PATCH] 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. --- tools/test-runner.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/test-runner.c b/tools/test-runner.c index 71c5f14e..6a3a2932 100644 --- 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,