]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: ap_ht40_scan to print STATUS and STA information to log
authorJouni Malinen <jouni@qca.qualcomm.com>
Sat, 25 Nov 2017 11:26:13 +0000 (13:26 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 25 Nov 2017 11:26:13 +0000 (13:26 +0200)
This can be used to check the supported rate information.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
tests/hwsim/test_ap_ht.py

index 911168d04e3765af08056123a35600bb4ce5ede4..eed0c8b419b85fb23550ca9954872cf669c2bebe 100644 (file)
@@ -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):