Searched refs:cfo_average (Results 1 – 1 of 1) sorted by relevance
7082 int cfo_khz_a, cfo_khz_b, cfo_average; in rtl8xxxu_track_cfo() local7110 cfo_average = cfo_khz_a; in rtl8xxxu_track_cfo()7112 cfo_average = (cfo_khz_a + cfo_khz_b) / 2; in rtl8xxxu_track_cfo()7114 dev_dbg(&priv->udev->dev, "cfo_average: %d\n", cfo_average); in rtl8xxxu_track_cfo()7117 if (abs(cfo_average) < CFO_TH_XTAL_LOW) in rtl8xxxu_track_cfo()7120 if (abs(cfo_average) > CFO_TH_XTAL_HIGH) in rtl8xxxu_track_cfo()7136 if (cfo_average > CFO_TH_XTAL_LOW) in rtl8xxxu_track_cfo()7138 else if (cfo_average < -CFO_TH_XTAL_LOW) in rtl8xxxu_track_cfo()7145 rtl8xxxu_set_atc_status(priv, abs(cfo_average) >= CFO_TH_ATC); in rtl8xxxu_track_cfo()