Searched refs:ofdm_err (Results 1 – 1 of 1) sorted by relevance
409 unsigned int ofdm_err, cck_err; in ath5k_ani_save_and_clear_phy_errors() local414 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()