aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2017-11-25 11:26:13 (GMT)
committerJouni Malinen <j@w1.fi>2017-11-25 11:26:13 (GMT)
commitfb6d648819fd4b283ee48ab2c3c951158395c652 (patch)
tree0ead3997006d0e9416eab949d624403b3e9f49e3
parent0bd7f104c16af43fb1f5a678ddefe5a46ed49463 (diff)
downloadhostap-fb6d648819fd4b283ee48ab2c3c951158395c652.zip
hostap-fb6d648819fd4b283ee48ab2c3c951158395c652.tar.gz
hostap-fb6d648819fd4b283ee48ab2c3c951158395c652.tar.bz2
tests: ap_ht40_scan to print STATUS and STA information to log
This can be used to check the supported rate information. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
-rw-r--r--tests/hwsim/test_ap_ht.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/hwsim/test_ap_ht.py b/tests/hwsim/test_ap_ht.py
index 911168d..eed0c8b 100644
--- a/tests/hwsim/test_ap_ht.py
+++ b/tests/hwsim/test_ap_ht.py
@@ -64,7 +64,12 @@ def test_ap_ht40_scan(dev, apdev):
if sec != "-1":
raise Exception("Unexpected secondary channel")
+ status = hapd.get_status()
+ logger.info("hostapd STATUS: " + str(status))
+
dev[0].connect("test-ht40", key_mgmt="NONE", scan_freq=freq)
+ sta = hapd.get_sta(dev[0].own_addr())
+ logger.info("hostapd STA: " + str(sta))
@remote_compatible
def test_ap_ht40_scan_conflict(dev, apdev):