auto-t: add ctrl_interface to testOWE
PATCH 1/5 auto-t: add ctrl_interface to testOWE
This is now required for any test using HostapdCLI
--- autotests/testOWE/ssidGroup20.conf | 1 + autotests/testOWE/ssidOWE.conf | 1 + 2 files changed, 2 insertions(+)
autotests/testOWE/ssidGroup20.conf +1 -0
@@ -1,3 +1,4 @@ +ctrl_interface=/var/run/hostapd hw_mode=g channel=1 ssid=ssidGroup20
autotests/testOWE/ssidOWE.conf +1 -0
@@ -1,3 +1,4 @@ +ctrl_interface=/var/run/hostapd hw_mode=g channel=1 ssid=ssidOWE
Signature · 1 line
2.17.1
PATCH 2/5 auto-t: add ctrl_interface to testFILS
This is now required for any test using HostapdCLI
--- autotests/testFILS/ssidFILS-256.conf | 1 + autotests/testFILS/ssidFILS-384.conf | 1 + 2 files changed, 2 insertions(+)
autotests/testFILS/ssidFILS-256.conf +1 -0
@@ -1,3 +1,4 @@ +ctrl_interface=/var/run/hostapd hw_mode=g channel=1 ssid=ssidFILS-256
autotests/testFILS/ssidFILS-384.conf +1 -0
@@ -1,3 +1,4 @@ +ctrl_interface=/var/run/hostapd hw_mode=g channel=1 ssid=ssidFILS-384
Signature · 1 line
2.17.1
PATCH 3/5 auto-t: add ctrl_interface to testHT-VHT
In reply to James PrestwoodThis is now required for any test using HostapdCLI
--- autotests/testHT-VHT/ht.conf | 1 + autotests/testHT-VHT/non-ht-vht.conf | 1 + autotests/testHT-VHT/vht.conf | 1 + 3 files changed, 3 insertions(+)
autotests/testHT-VHT/ht.conf +1 -0
@@ -1,3 +1,4 @@ +ctrl_interface=/var/run/hostapd hw_mode=a channel=2 ssid=testSSID
autotests/testHT-VHT/non-ht-vht.conf +1 -0
@@ -1,3 +1,4 @@ +ctrl_interface=/var/run/hostapd hw_mode=g channel=1 ssid=testSSID
autotests/testHT-VHT/vht.conf +1 -0
@@ -1,3 +1,4 @@ +ctrl_interface=/var/run/hostapd ssid=testSSID wpa=2 wpa_pairwise=CCMP
Signature · 1 line
2.17.1
PATCH 4/5 auto-t: add ctrl_interface to testHotspot
In reply to James PrestwoodThis is now required for any test using HostapdCLI
--- autotests/testHotspot/ssidHotspotUnconfigured.conf | 1 + autotests/testHotspot/ssidWPA2-1.conf | 1 + autotests/testHotspot/ssidWPA2-2.conf | 1 + autotests/testHotspot/ssidWPA2-3.conf | 1 + 4 files changed, 4 insertions(+)
autotests/testHotspot/ssidHotspotUnconfigured.conf +1 -0
@@ -1,3 +1,4 @@ +ctrl_interface=/var/run/hostapd hw_mode=g channel=1 wpa=2
autotests/testHotspot/ssidWPA2-1.conf +1 -0
@@ -1,3 +1,4 @@ +ctrl_interface=/var/run/hostapd hw_mode=g channel=2 ssid=ssidWPA2-1
autotests/testHotspot/ssidWPA2-2.conf +1 -0
@@ -1,3 +1,4 @@ +ctrl_interface=/var/run/hostapd hw_mode=g channel=3 ssid=ssidWPA2-2
autotests/testHotspot/ssidWPA2-3.conf +1 -0
@@ -1,3 +1,4 @@ +ctrl_interface=/var/run/hostapd hw_mode=g channel=4 ssid=ssidWPA2-3
Signature · 1 line
2.17.1
PATCH 5/5 hotspot: fix double free between hostpot and knownnetworks
In reply to James PrestwoodThe module framework was changed to call the module exit functions in the reverse order as the init functions. This uncovered/caused known networks to try and free the network_info structures after hotspot had already freed them. Since known networks clean up the network_info's anyways, we don't actually need hotspot to do any cleanup.
--- src/hotspot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
src/hotspot.c +1 -1
@@ -524,7 +524,7 @@ static void hotspot_exit(void) {l_dir_watch_destroy (hs20_dir_watch); -l_queue_destroy (hs20_settings, hs20_config_free); +l_queue_destroy (hs20_settings,NULL ); hs20_settings =NULL ; }
Signature · 1 line
2.17.1
Hi James,
Quoted 6 lines · James Prestwood
This is now required for any test using HostapdCLI
--- autotests/testOWE/ssidGroup20.conf | 1 + autotests/testOWE/ssidOWE.conf | 1 + 2 files changed, 2 insertions(+)
all applied, thanks.
Regards,
-Denis