tests: WPS parameter update using SET
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
9602b355f8
commit
fb8d53e0bb
1 changed files with 10 additions and 0 deletions
|
@ -360,3 +360,13 @@ def test_wpas_ctrl_mib(dev):
|
||||||
raise Exception("Missing MIB entry")
|
raise Exception("Missing MIB entry")
|
||||||
if mib["dot11RSNAOptionImplemented"] != "TRUE":
|
if mib["dot11RSNAOptionImplemented"] != "TRUE":
|
||||||
raise Exception("Unexpected dot11RSNAOptionImplemented value")
|
raise Exception("Unexpected dot11RSNAOptionImplemented value")
|
||||||
|
|
||||||
|
def test_wpas_ctrl_set_wps_params(dev):
|
||||||
|
"""wpa_supplicant ctrl_iface SET config_methods"""
|
||||||
|
ts = [ "config_methods label virtual_display virtual_push_button keypad",
|
||||||
|
"device_type 1-0050F204-1",
|
||||||
|
"os_version 01020300",
|
||||||
|
"uuid 12345678-9abc-def0-1234-56789abcdef0" ]
|
||||||
|
for t in ts:
|
||||||
|
if "OK" not in dev[2].request("SET " + t):
|
||||||
|
raise Exception("SET failed for: " + t)
|
||||||
|
|
Loading…
Reference in a new issue