From: Jouni Malinen Date: Tue, 25 Feb 2014 21:16:54 +0000 (+0200) Subject: tests: Verify Interworking network selection with no auth params X-Git-Tag: hostap_2_2~791 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b572e3ac112afe94134e690f9975103521df8e0;p=thirdparty%2Fhostap.git tests: Verify Interworking network selection with no auth params Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_ap_hs20.py b/tests/hwsim/test_ap_hs20.py index 09b95875c..a982252d8 100644 --- a/tests/hwsim/test_ap_hs20.py +++ b/tests/hwsim/test_ap_hs20.py @@ -307,6 +307,18 @@ def test_ap_hs20_select(dev, apdev): dev[0].set_cred_quoted(id, "realm", "no.match.example.com"); interworking_select(dev[0], bssid, no_match=True, freq="2412") + bssid2 = apdev[1]['bssid'] + params = hs20_ap_params() + params['nai_realm'] = [ "0,example.org,21" ] + params['hessid'] = bssid2 + params['domain_name'] = "example.org" + hostapd.add_ap(apdev[1]['ifname'], params) + dev[0].remove_cred(id) + id = dev[0].add_cred_values({ 'realm': "example.org", 'username': "test", + 'password': "secret", + 'domain': "example.org" }) + interworking_select(dev[0], bssid2, "home", freq="2412") + def hs20_simulated_sim(dev, ap, method): bssid = ap['bssid'] params = hs20_ap_params()