Home
last modified time | relevance | path

Searched refs:cfo_average (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/wireless/realtek/rtl8xxxu/
H A Drtl8xxxu_core.c7082 int cfo_khz_a, cfo_khz_b, cfo_average; in rtl8xxxu_track_cfo() local
7110 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()