Lines Matching refs:rtt
1015 s64 rtt_avg, rtt = res->ftm.rtt_avg; in iwl_mvm_ftm_rtt_smoothing() local
1023 WARN_ON(rtt < 0); in iwl_mvm_ftm_rtt_smoothing()
1048 resp->rtt_avg = rtt; in iwl_mvm_ftm_rtt_smoothing()
1057 resp->rtt_avg = rtt; in iwl_mvm_ftm_rtt_smoothing()
1069 rtt_avg = (alpha * rtt + (100 - alpha) * resp->rtt_avg) / 100; in iwl_mvm_ftm_rtt_smoothing()
1073 resp->addr, resp->rtt_avg, rtt_avg, rtt); in iwl_mvm_ftm_rtt_smoothing()
1082 if (rtt_avg > rtt && (rtt_avg - rtt) > undershoot) { in iwl_mvm_ftm_rtt_smoothing()
1087 (rtt_avg - rtt)); in iwl_mvm_ftm_rtt_smoothing()
1088 } else if (rtt_avg < rtt && (rtt - rtt_avg) > in iwl_mvm_ftm_rtt_smoothing()
1093 (rtt - rtt_avg)); in iwl_mvm_ftm_rtt_smoothing()
1287 result.ftm.rtt_avg = (s32)le32_to_cpu(fw_ap->rtt); in iwl_mvm_ftm_range_resp()