tests: Fix error messages for HE config missing
Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
38fa5e6572
commit
8c24982e61
1 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ def test_he_open(dev, apdev):
|
||||||
"he_mu_edca_ac_be_ecwmax": "15"}
|
"he_mu_edca_ac_be_ecwmax": "15"}
|
||||||
hapd = hostapd.add_ap(apdev[0], params)
|
hapd = hostapd.add_ap(apdev[0], params)
|
||||||
if hapd.get_status_field("ieee80211ax") != "1":
|
if hapd.get_status_field("ieee80211ax") != "1":
|
||||||
raise Exception("STATUS did not indicate ieee80211ac=1")
|
raise Exception("STATUS did not indicate ieee80211ax=1")
|
||||||
dev[0].connect("he", key_mgmt="NONE", scan_freq="2412")
|
dev[0].connect("he", key_mgmt="NONE", scan_freq="2412")
|
||||||
sta = hapd.get_sta(dev[0].own_addr())
|
sta = hapd.get_sta(dev[0].own_addr())
|
||||||
if "[HE]" not in sta['flags']:
|
if "[HE]" not in sta['flags']:
|
||||||
|
@ -94,7 +94,7 @@ def test_he_params(dev, apdev):
|
||||||
"he_oper_centr_freq_seg1_idx": "0"}
|
"he_oper_centr_freq_seg1_idx": "0"}
|
||||||
hapd = hostapd.add_ap(apdev[0], params)
|
hapd = hostapd.add_ap(apdev[0], params)
|
||||||
if hapd.get_status_field("ieee80211ax") != "1":
|
if hapd.get_status_field("ieee80211ax") != "1":
|
||||||
raise Exception("STATUS did not indicate ieee80211ac=1")
|
raise Exception("STATUS did not indicate ieee80211ax=1")
|
||||||
dev[0].connect("he", key_mgmt="NONE", scan_freq="2412")
|
dev[0].connect("he", key_mgmt="NONE", scan_freq="2412")
|
||||||
|
|
||||||
def he_supported():
|
def he_supported():
|
||||||
|
|
Loading…
Reference in a new issue