tests: WPS parameter update using SET

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2014-04-06 13:40:40 +03:00
parent 9602b355f8
commit fb8d53e0bb

View file

@ -360,3 +360,13 @@ def test_wpas_ctrl_mib(dev):
raise Exception("Missing MIB entry")
if mib["dot11RSNAOptionImplemented"] != "TRUE":
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)