Searched refs:cfo_average (Results 1 – 1 of 1) sorted by relevance
7085 int cfo_khz_a, cfo_khz_b, cfo_average; in rtl8xxxu_track_cfo() local7113 cfo_average = cfo_khz_a; in rtl8xxxu_track_cfo()7115 cfo_average = (cfo_khz_a + cfo_khz_b) / 2; in rtl8xxxu_track_cfo()7117 dev_dbg(&priv->udev->dev, "cfo_average: %d\n", cfo_average); in rtl8xxxu_track_cfo()7120 if (abs(cfo_average) < CFO_TH_XTAL_LOW) in rtl8xxxu_track_cfo()7123 if (abs(cfo_average) > CFO_TH_XTAL_HIGH) in rtl8xxxu_track_cfo()7139 if (cfo_average > CFO_TH_XTAL_LOW) in rtl8xxxu_track_cfo()7141 else if (cfo_average < -CFO_TH_XTAL_LOW) in rtl8xxxu_track_cfo()7148 rtl8xxxu_set_atc_status(priv, abs(cfo_average) >= CFO_TH_ATC); in rtl8xxxu_track_cfo()