]> git.ipfire.org Git - thirdparty/hostap.git/blob - tests/hwsim/test_he.py
26080461349b50089d7dc06221501eda081bce67
[thirdparty/hostap.git] / tests / hwsim / test_he.py
1 # HE tests
2 # Copyright (c) 2019, The Linux Foundation
3 #
4 # This software may be distributed under the terms of the BSD license.
5 # See README for more details.
6
7 import hostapd
8
9 def test_he_open(dev, apdev):
10 """HE AP with open mode configuration"""
11 params = {"ssid": "he",
12 "ieee80211ax": "1",
13 "he_bss_color": "42",
14 "he_mu_edca_ac_be_ecwmin": "7",
15 "he_mu_edca_ac_be_ecwmax": "15"}
16 hapd = hostapd.add_ap(apdev[0], params)
17 if hapd.get_status_field("ieee80211ax") != "1":
18 raise Exception("STATUS did not indicate ieee80211ac=1")
19 dev[0].connect("he", key_mgmt="NONE", scan_freq="2412")