conn.test_bad_oci("invalid operating class", 0, 0, 0)
conn.confirm_valid_oci(81, 1, 0)
+ dev[0].dump_monitor()
+ dev[0].request("DISCONNECT")
+ dev[0].wait_disconnected()
+
@remote_compatible
def test_wpa2_ocv_ap_ht_mismatch(dev, apdev):
"""OCV AP mismatch (HT)"""
conn.test_bad_oci("bad upper/lower channel", 83, 6, 0)
conn.confirm_valid_oci(84, 6, 0)
+ dev[0].dump_monitor()
+ dev[0].request("DISCONNECT")
+ dev[0].wait_disconnected()
+
@remote_compatible
def test_wpa2_ocv_ap_vht80_mismatch(dev, apdev):
"""OCV AP mismatch (VHT80)"""
logger.debug("Client will send OCI KDE even if it was not negotiated")
conn.confirm_valid_oci(81, 1, 0)
+ dev[0].dump_monitor()
+ dev[0].request("DISCONNECT")
+ dev[0].wait_disconnected()
+
@remote_compatible
def test_wpa2_ocv_ap_unexpected2(dev, apdev):
"""OCV and unexpected OCI KDE from station"""
logger.debug("Client will send OCI KDE even if it was not negotiated")
conn.confirm_valid_oci(81, 1, 0)
+ dev[0].dump_monitor()
+ dev[0].request("DISCONNECT")
+ dev[0].wait_disconnected()
+
@remote_compatible
def test_wpa2_ocv_ap_retransmit_msg3(dev, apdev):
"""Verify that manually retransmitted msg 3/4 contain a correct OCI"""