tests: Verify HS 2.0 AP connection with non-HS 2.0 station
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
180cd73dc8
commit
a1281b9f45
1 changed files with 6 additions and 0 deletions
|
@ -403,12 +403,18 @@ def test_ap_hs20_username(dev, apdev):
|
||||||
id = dev[0].add_cred_values({ 'realm': "example.com",
|
id = dev[0].add_cred_values({ 'realm': "example.com",
|
||||||
'username': "hs20-test",
|
'username': "hs20-test",
|
||||||
'password': "password",
|
'password': "password",
|
||||||
|
'ca_cert': "auth_serv/ca.pem",
|
||||||
'domain': "example.com",
|
'domain': "example.com",
|
||||||
'update_identifier': "1234" })
|
'update_identifier': "1234" })
|
||||||
interworking_select(dev[0], bssid, "home", freq="2412")
|
interworking_select(dev[0], bssid, "home", freq="2412")
|
||||||
interworking_connect(dev[0], bssid, "TTLS")
|
interworking_connect(dev[0], bssid, "TTLS")
|
||||||
check_sp_type(dev[0], "home")
|
check_sp_type(dev[0], "home")
|
||||||
|
|
||||||
|
dev[1].connect("test-hs20", key_mgmt="WPA-EAP", eap="TTLS",
|
||||||
|
identity="hs20-test", password="password",
|
||||||
|
ca_cert="auth_serv/ca.pem", phase2="auth=MSCHAPV2",
|
||||||
|
scan_freq="2412")
|
||||||
|
|
||||||
def eap_test(dev, ap, eap_params, method, user):
|
def eap_test(dev, ap, eap_params, method, user):
|
||||||
bssid = ap['bssid']
|
bssid = ap['bssid']
|
||||||
params = hs20_ap_params()
|
params = hs20_ap_params()
|
||||||
|
|
Loading…
Add table
Reference in a new issue