Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/ath/ath5k/
H A Dani.c409 unsigned int ofdm_err, cck_err; in ath5k_ani_save_and_clear_phy_errors() local
414 ofdm_err = ath5k_hw_reg_read(ah, AR5K_PHYERR_CNT1); in ath5k_ani_save_and_clear_phy_errors()
423 ofdm_err = ATH5K_ANI_OFDM_TRIG_HIGH - (ATH5K_PHYERR_CNT_MAX - ofdm_err); in ath5k_ani_save_and_clear_phy_errors()
428 if (ofdm_err <= 0 && cck_err <= 0) in ath5k_ani_save_and_clear_phy_errors()
432 if (ofdm_err > 0) { in ath5k_ani_save_and_clear_phy_errors()
433 as->ofdm_errors += ofdm_err; in ath5k_ani_save_and_clear_phy_errors()
434 as->sum_ofdm_errors += ofdm_err; in ath5k_ani_save_and_clear_phy_errors()