tests: Add missing test descriptions
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
5e2a8ec9e7
commit
146374019a
4 changed files with 8 additions and 4 deletions
|
@ -83,6 +83,7 @@ def test_ap_vht80_params(dev, apdev):
|
||||||
subprocess.call(['sudo', 'iw', 'reg', 'set', '00'])
|
subprocess.call(['sudo', 'iw', 'reg', 'set', '00'])
|
||||||
|
|
||||||
def test_ap_vht_20(devs, apdevs):
|
def test_ap_vht_20(devs, apdevs):
|
||||||
|
"""VHT and 20 MHz channel"""
|
||||||
dev = devs[0]
|
dev = devs[0]
|
||||||
ap = apdevs[0]
|
ap = apdevs[0]
|
||||||
try:
|
try:
|
||||||
|
|
|
@ -552,6 +552,7 @@ def test_nfc_p2p_static_handover_join_tagdev_client(dev):
|
||||||
check_ip_addr(res)
|
check_ip_addr(res)
|
||||||
|
|
||||||
def test_nfc_p2p_go_legacy_config_token(dev):
|
def test_nfc_p2p_go_legacy_config_token(dev):
|
||||||
|
"""NFC config token from P2P GO to legacy WPS STA"""
|
||||||
logger.info("Start autonomous GOs")
|
logger.info("Start autonomous GOs")
|
||||||
dev[0].p2p_start_go()
|
dev[0].p2p_start_go()
|
||||||
logger.info("Connect legacy WPS STA with configuration token")
|
logger.info("Connect legacy WPS STA with configuration token")
|
||||||
|
@ -570,6 +571,7 @@ def test_nfc_p2p_go_legacy_config_token(dev):
|
||||||
dev[0].remove_group()
|
dev[0].remove_group()
|
||||||
|
|
||||||
def test_nfc_p2p_go_legacy_handover(dev):
|
def test_nfc_p2p_go_legacy_handover(dev):
|
||||||
|
"""NFC token from legacy WPS STA to P2P GO"""
|
||||||
logger.info("Start autonomous GOs")
|
logger.info("Start autonomous GOs")
|
||||||
dev[0].p2p_start_go()
|
dev[0].p2p_start_go()
|
||||||
logger.info("Connect legacy WPS STA with connection handover")
|
logger.info("Connect legacy WPS STA with connection handover")
|
||||||
|
|
|
@ -442,6 +442,7 @@ def test_no_go_freq(dev, apdev):
|
||||||
dev[0].request("SET p2p_no_go_freq ")
|
dev[0].request("SET p2p_no_go_freq ")
|
||||||
|
|
||||||
def test_go_neg_peers_force_diff_freq(dev, apdev):
|
def test_go_neg_peers_force_diff_freq(dev, apdev):
|
||||||
|
"""P2P channel selection when peers for different frequency"""
|
||||||
try:
|
try:
|
||||||
[i_res2, r_res2] = go_neg_pbc(i_dev=dev[0], i_intent=14, i_freq=5180,
|
[i_res2, r_res2] = go_neg_pbc(i_dev=dev[0], i_intent=14, i_freq=5180,
|
||||||
r_dev=dev[1], r_intent=0, r_freq=5200)
|
r_dev=dev[1], r_intent=0, r_freq=5200)
|
||||||
|
|
|
@ -197,7 +197,6 @@ def wrap_wpas_mesh_test(test, dev, apdev):
|
||||||
|
|
||||||
|
|
||||||
def _test_wpas_mesh_open(dev, apdev, test_connectivity):
|
def _test_wpas_mesh_open(dev, apdev, test_connectivity):
|
||||||
"""wpa_supplicant open MESH network connectivity"""
|
|
||||||
id = dev[0].add_network()
|
id = dev[0].add_network()
|
||||||
dev[0].set_network(id, "mode", "5")
|
dev[0].set_network(id, "mode", "5")
|
||||||
dev[0].set_network_quoted(id, "ssid", "wpas-mesh-open")
|
dev[0].set_network_quoted(id, "ssid", "wpas-mesh-open")
|
||||||
|
@ -227,11 +226,11 @@ def _test_wpas_mesh_open(dev, apdev, test_connectivity):
|
||||||
|
|
||||||
|
|
||||||
def test_wpas_mesh_open(dev, apdev):
|
def test_wpas_mesh_open(dev, apdev):
|
||||||
|
"""wpa_supplicant open MESH network connectivity"""
|
||||||
return wrap_wpas_mesh_test(_test_wpas_mesh_open, dev, apdev)
|
return wrap_wpas_mesh_test(_test_wpas_mesh_open, dev, apdev)
|
||||||
|
|
||||||
|
|
||||||
def _test_wpas_mesh_open_no_auto(dev, apdev, test_connectivity):
|
def _test_wpas_mesh_open_no_auto(dev, apdev, test_connectivity):
|
||||||
"""wpa_supplicant open MESH network connectivity"""
|
|
||||||
id = dev[0].add_network()
|
id = dev[0].add_network()
|
||||||
dev[0].set_network(id, "mode", "5")
|
dev[0].set_network(id, "mode", "5")
|
||||||
dev[0].set_network_quoted(id, "ssid", "wpas-mesh-open")
|
dev[0].set_network_quoted(id, "ssid", "wpas-mesh-open")
|
||||||
|
@ -262,11 +261,11 @@ def _test_wpas_mesh_open_no_auto(dev, apdev, test_connectivity):
|
||||||
|
|
||||||
|
|
||||||
def test_wpas_mesh_open_no_auto(dev, apdev):
|
def test_wpas_mesh_open_no_auto(dev, apdev):
|
||||||
|
"""wpa_supplicant open MESH network connectivity"""
|
||||||
return wrap_wpas_mesh_test(_test_wpas_mesh_open_no_auto, dev, apdev)
|
return wrap_wpas_mesh_test(_test_wpas_mesh_open_no_auto, dev, apdev)
|
||||||
|
|
||||||
|
|
||||||
def _test_wpas_mesh_secure(dev, apdev, test_connectivity):
|
def _test_wpas_mesh_secure(dev, apdev, test_connectivity):
|
||||||
"""wpa_supplicant secure MESH network connectivity"""
|
|
||||||
dev[0].request("SET sae_groups ")
|
dev[0].request("SET sae_groups ")
|
||||||
id = dev[0].add_network()
|
id = dev[0].add_network()
|
||||||
dev[0].set_network(id, "mode", "5")
|
dev[0].set_network(id, "mode", "5")
|
||||||
|
@ -298,11 +297,11 @@ def _test_wpas_mesh_secure(dev, apdev, test_connectivity):
|
||||||
|
|
||||||
|
|
||||||
def test_wpas_mesh_secure(dev, apdev):
|
def test_wpas_mesh_secure(dev, apdev):
|
||||||
|
"""wpa_supplicant secure MESH network connectivity"""
|
||||||
return wrap_wpas_mesh_test(_test_wpas_mesh_secure, dev, apdev)
|
return wrap_wpas_mesh_test(_test_wpas_mesh_secure, dev, apdev)
|
||||||
|
|
||||||
|
|
||||||
def _test_wpas_mesh_secure_no_auto(dev, apdev, test_connectivity):
|
def _test_wpas_mesh_secure_no_auto(dev, apdev, test_connectivity):
|
||||||
"""wpa_supplicant secure MESH network connectivity"""
|
|
||||||
dev[0].request("SET sae_groups ")
|
dev[0].request("SET sae_groups ")
|
||||||
id = dev[0].add_network()
|
id = dev[0].add_network()
|
||||||
dev[0].set_network(id, "mode", "5")
|
dev[0].set_network(id, "mode", "5")
|
||||||
|
@ -335,6 +334,7 @@ def _test_wpas_mesh_secure_no_auto(dev, apdev, test_connectivity):
|
||||||
|
|
||||||
|
|
||||||
def test_wpas_mesh_secure_no_auto(dev, apdev):
|
def test_wpas_mesh_secure_no_auto(dev, apdev):
|
||||||
|
"""wpa_supplicant secure MESH network connectivity"""
|
||||||
return wrap_wpas_mesh_test(_test_wpas_mesh_secure_no_auto, dev, apdev)
|
return wrap_wpas_mesh_test(_test_wpas_mesh_secure_no_auto, dev, apdev)
|
||||||
|
|
||||||
def test_wpas_mesh_ctrl(dev):
|
def test_wpas_mesh_ctrl(dev):
|
||||||
|
|
Loading…
Reference in a new issue