Luca Coelho <luca@xxxxxxxxx> wrote: > From: Ilan Peer <ilan.peer@xxxxxxxxx> > > The overcome instabilities in the RTT results add smoothing logic > to the reported results. In short, the smoothing logic tracks the > RTT average of each responder for a period of time, and in case > a new RTT results is found to be a spur, the tracked RTT average > is reported instead of the current RTT measurement. > > Smooth logic debug configuration using iwl-dbg-cfg.ini: > > - MVM_FTM_INITIATOR_ENABLE_SMOOTH: Set to 1 to enable smoothing logic > (default=0). > - MVM_FTM_INITIATOR_SMOOTH_ALPHA: A value between 0 - 100, defining > the weight of the current RTT results vs. the RTT average tracked > based on the previous results. A value of 100 means use only the > current RTT results. > - MVM_FTM_INITIATOR_SMOOTH_AGE_SEC: The maximal time in seconds in which > the RTT average tracked based on previous results is considered valid. > - MVM_FTM_INITIATOR_SMOOTH_UNDERSHOOT: if the current RTT is positive > and below the RTT average by at least this value, report the average > RTT instead of the current one. In units of picoseconds. > - MVM_FTM_INITIATOR_SMOOTH_OVERSHOOT: if the current RTT is positive > and above the RTT average by at least this value, report the average > RTT instead of the current one. In units of picoseconds. > > Signed-off-by: Ilan Peer <ilan.peer@xxxxxxxxx> > Signed-off-by: Luca Coelho <luciano.coelho@xxxxxxxxx> 12 patches applied to iwlwifi-next.git, thanks. b68bd2e3143a iwlwifi: mvm: Add FTM initiator RTT smoothing logic 890d814b1837 iwlwifi: mvm: location: set the HLTK when PASN station is added 68ad24742f17 iwlwifi: mvm: responder: allow to set only the HLTK for an associated station 0739a7d70e00 iwlwifi: mvm: initiator: add option for adding a PASN responder 0cd1ad2d7fd4 iwlwifi: move all bus-independent TX functions to common code 2a42aea79531 iwlwifi: mvm: support more GTK rekeying algorithms c7f996eb894e iwlwifi: mvm: d3: support GCMP ciphers bfdb157127da iwlwifi: dbg: remove no filter condition 19d9fa7ab9f3 iwlwifi: mvm: add d3 prints 42f8a2735cc2 iwlwifi: dbg: run init_cfg function once per driver load 762c523f95b8 iwlwifi: thermal: support new temperature measurement API a86821069e87 iwlwifi: phy-ctxt: add new API VER 3 for phy context cmd