From fb6d648819fd4b283ee48ab2c3c951158395c652 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 25 Nov 2017 13:26:13 +0200 Subject: [PATCH] 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 --- tests/hwsim/test_ap_ht.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/hwsim/test_ap_ht.py b/tests/hwsim/test_ap_ht.py index 911168d04..eed0c8b41 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):