From 4c9376ef7ae17b19b706ce09eae55c35cd948030 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 11 Aug 2019 16:31:34 +0300 Subject: [PATCH] tests: OCE AP Signed-off-by: Jouni Malinen --- tests/hwsim/test_oce.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/hwsim/test_oce.py b/tests/hwsim/test_oce.py index da9a36ce5..dd2ed4007 100644 --- a/tests/hwsim/test_oce.py +++ b/tests/hwsim/test_oce.py @@ -151,3 +151,14 @@ def test_rssi_based_assoc_rssi_change(dev, apdev): reset_rx_rssi(dev[0]) reset_rx_rssi(hapd) dev[0].request("SCAN_INTERVAL 5") + +def test_oce_ap(dev, apdev): + """OCE AP""" + ssid = "test-oce" + passphrase = 'qwertyuiop' + params = hostapd.wpa2_params(ssid=ssid, passphrase=passphrase) + params['ieee80211w'] = "1" + params['mbo'] = "1" + params['oce'] = "4" + hapd = hostapd.add_ap(apdev[0], params) + dev[0].connect(ssid, psk=passphrase, ieee80211w="1", scan_freq="2412")