• Zefir Kurtisi's avatar
    ath: fix DFS timestamp wraparound reset condition · 706452b0
    Zefir Kurtisi authored
    The DFS pattern detector ought to reset the
    detector lines when a pulse is added with
    lower time stamp than the previous (which
    indicates a TSF restart).
    
    This did not work so far and is fixed with
    this patch.
    
    The modification does not change detection
    performance within the driver, since it
    only ensures early reset (which is later
    performed by the PRI detectors anyway).
    It is relevant for synthetic tests and
    statistical evaluations, where millions
    of pulse patterns are processed and an
    early reset helps reducing load.
    Signed-off-by: default avatarZefir Kurtisi <zefir.kurtisi@neratec.com>
    Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
    706452b0
dfs_pattern_detector.c 10.9 KB