Home | History | Annotate | Download | only in wifi

Lines Matching defs:Rtt

31 Rtt = WifiEnums.Rtt
42 """Error in WifiScanner Rtt."""
74 # Expected capability for devices that don't support RTT.
130 """Starts RTT ranging and get results.
136 Rtt ranging results.
158 self.log.error("Waiting for RTT event timed out.")
162 """Decides if a network should be used for rtt ranging.
247 """Processes rtt ranging events.
249 Validates RTT event types.
250 Validates RTT response status and measured RTT values.
254 events: A list of callback results from RTT ranging.
268 if status != Rtt.STATUS_SUCCESS:
272 # RTT value should be positive.
273 value = r["rtt"]
275 self.log.warning("Got error RTT value %d." % value)
293 # Check if the RTT value is in range.
298 "Distance calculated from RTT value %d - %.2fm is "
314 "Processed %d RTT events. %d aborted, %s failed. Among"
316 " RTT values that are out of range.") %
319 asserts.assert_true(total > 0, "No RTT response received.")
327 # Among the valid responses, the percentage of having an in-range RTT
330 self.log.info("%.2f%% of valid responses have in-range RTT value" %
336 """Test logic to scan then do rtt ranging based on the scan results.
340 2. Filter out the networks that support rtt in scan results.
341 3. Start rtt ranging against those networks that support rtt.
343 5. Process RTT events.
347 networks that support rtt in the scan results.
350 True if rtt behaves as expected, False otherwise.
359 self.log.warning("Found no rtt network, skip this iteration.")
362 self.log.debug("Found rtt networks:%s" % rtt_networks)
373 """Creates an Rtt configuration based on the scan result of a network.
433 """No device supports device-to-device RTT; only shamu and volantis
434 devices support device-to-ap RTT.
442 "%s should support device-to-ap RTT." % model)
443 self.log.info("%s supports device-to-ap RTT as expected." % model)
446 "%s should not support device-to-ap RTT." %
449 "%s does not support device-to-ap RTT as expected.") % model)
450 asserts.abort_class("Device %s does not support RTT, abort." %
458 asserts.assert_true(caps, "Unable to get rtt capabilities.")
459 self.log.debug("Got rtt capabilities %s" % caps)
472 they are all reported as 802.11mc Rtt Responder.
478 All the RTT networks show up in scan results and their
480 All the non-RTT networks show up in scan results and their
493 """Start Rtt ranging with a config that does not have BSSID set.
508 """Stress test for Rtt against one AP.
511 1. Do RTT ranging against the self.vht80_5g BSSID.
513 3. Verify RTT results.
526 self.log.info("RTT Ranging iteration %d" % (i + 1))
535 """Stress test for regular scan then start rtt ranging against the RTT
543 4. Do RTT ranging against the selected BSSIDs, with the info from
546 6. Verify RTT results.
552 """Stress test for gscan then start rtt ranging against the RTT
559 4. Do RTT ranging against the selected BSSIDs, with the info from
562 6. Verify RTT results.