tests: Hotspot 2.0 network selection and no roaming consortium
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
e330daa9f1
commit
28642616bf
1 changed files with 18 additions and 0 deletions
|
@ -3978,3 +3978,21 @@ def test_ap_hs20_cred_with_nai_realm(dev, apdev):
|
||||||
'eap': 'TTLS' })
|
'eap': 'TTLS' })
|
||||||
interworking_select(dev[0], bssid, "home", freq=2412, no_match=True)
|
interworking_select(dev[0], bssid, "home", freq=2412, no_match=True)
|
||||||
dev[0].remove_cred(id)
|
dev[0].remove_cred(id)
|
||||||
|
|
||||||
|
def test_ap_hs20_cred_and_no_roaming_consortium(dev, apdev):
|
||||||
|
"""Hotspot 2.0 network selection and no roaming consortium"""
|
||||||
|
bssid = apdev[0]['bssid']
|
||||||
|
params = hs20_ap_params()
|
||||||
|
params['hessid'] = bssid
|
||||||
|
del params['roaming_consortium']
|
||||||
|
hostapd.add_ap(apdev[0], params)
|
||||||
|
|
||||||
|
dev[0].hs20_enable()
|
||||||
|
|
||||||
|
id = dev[0].add_cred_values({ 'realm': "example.com",
|
||||||
|
'username': "test",
|
||||||
|
'password': "secret",
|
||||||
|
'domain': "example.com",
|
||||||
|
'roaming_consortium': "112234",
|
||||||
|
'eap': 'TTLS' })
|
||||||
|
interworking_select(dev[0], bssid, "home", freq=2412, no_match=True)
|
||||||
|
|
Loading…
Reference in a new issue