aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2016-02-05 15:07:48 (GMT)
committerJouni Malinen <j@w1.fi>2016-02-05 15:07:48 (GMT)
commit561536205adfb7a364177eb6bac0e46e67b62c1c (patch)
treed8de04e4842397819096cf08677aca352703ef1f
parent80ce804e88247bb0409d131c5882808a0ce9bba4 (diff)
downloadhostap-561536205adfb7a364177eb6bac0e46e67b62c1c.zip
hostap-561536205adfb7a364177eb6bac0e46e67b62c1c.tar.gz
hostap-561536205adfb7a364177eb6bac0e46e67b62c1c.tar.bz2
tests: WNM BSS Transition Management with invalid operating class
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
-rw-r--r--tests/hwsim/test_wnm.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/hwsim/test_wnm.py b/tests/hwsim/test_wnm.py
index 1fed942..a2af1c0 100644
--- a/tests/hwsim/test_wnm.py
+++ b/tests/hwsim/test_wnm.py
@@ -672,6 +672,17 @@ def test_wnm_bss_tm_global(dev, apdev):
finally:
stop_wnm_tm(hapd, dev[0])
+def test_wnm_bss_tm_op_class_0(dev, apdev):
+ """WNM BSS Transition Management with invalid operating class"""
+ try:
+ hapd = None
+ hapd, id = start_wnm_tm(apdev[0], "US", dev[0])
+
+ logger.info("Preferred Candidate List (no matching neighbor, invalid op class specified for channels)")
+ wnm_bss_tm_check(hapd, dev[0], "pref=1 neighbor=00:11:22:33:44:59,0x0000,0,149,7 neighbor=00:11:22:33:44:5b,0x0000,0,1,7")
+ finally:
+ stop_wnm_tm(hapd, dev[0])
+
def test_wnm_action_proto(dev, apdev):
"""WNM Action protocol testing"""
params = { "ssid": "test-wnm" }