Home | History | Annotate | Download | only in wifi

Lines Matching refs:Rtt

31 Rtt = WifiEnums.Rtt
41 """Error in WifiScanner Rtt."""
80 # Expected capability for devices that don't support RTT.
134 """Starts RTT ranging and get results.
140 Rtt ranging results.
161 self.log.error("Waiting for RTT event timed out.")
165 """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)
291 # Check if the RTT value is in range.
296 ("Distance calculated from RTT value %d - %.2fm is "
311 self.log.info(("Processed %d RTT events. %d aborted, %s failed. Among"
313 " RTT values that are out of range.") % (
315 asserts.assert_true(total > 0, "No RTT response received.")
323 # Among the valid responses, the percentage of having an in-range RTT
326 self.log.info("%.2f%% of valid responses have in-range RTT value" % (
332 """Test logic to scan then do rtt ranging based on the scan results.
336 2. Filter out the networks that support rtt in scan results.
337 3. Start rtt ranging against those networks that support rtt.
339 5. Process RTT events.
343 networks that support rtt in the scan results.
346 True if rtt behaves as expected, False otherwise.
355 self.log.warning("Found no rtt network, skip this iteration.")
358 self.log.debug("Found rtt networks:%s" % rtt_networks)
369 """Creates an Rtt configuration based on the scan result of a network.
432 """No device supports device-to-device RTT; only shamu and volantis
433 devices support device-to-ap RTT.
440 "%s should support device-to-ap RTT." % model)
441 self.log.info("%s supports device-to-ap RTT as expected." % model)
444 "%s should not support device-to-ap RTT." % model)
445 self.log.info(("%s does not support device-to-ap RTT as expected."
447 asserts.abort_class("Device %s does not support RTT, abort." % model)
454 asserts.assert_true(caps, "Unable to get rtt capabilities.")
455 self.log.debug("Got rtt capabilities %s" % caps)
467 they are all reported as 802.11mc Rtt Responder.
473 All the RTT networks show up in scan results and their
475 All the non-RTT networks show up in scan results and their
487 """Start Rtt ranging with a config that does not have BSSID set.
502 """Stress test for Rtt against one AP.
505 1. Do RTT ranging against the self.vht80_5g BSSID.
507 3. Verify RTT results.
520 self.log.info("RTT Ranging iteration %d" % (i + 1))
529 """Stress test for regular scan then start rtt ranging against the RTT
537 4. Do RTT ranging against the selected BSSIDs, with the info from
540 6. Verify RTT results.
546 """Stress test for gscan then start rtt ranging against the RTT
553 4. Do RTT ranging against the selected BSSIDs, with the info from
556 6. Verify RTT results.