Lines Matching refs:sc

51 ath9k_postprocess_radar_event(struct ath_softc *sc,  in ath9k_postprocess_radar_event()  argument
68 DFS_STAT_INC(sc, pri_phy_errors); in ath9k_postprocess_radar_event()
78 DFS_STAT_INC(sc, ext_phy_errors); in ath9k_postprocess_radar_event()
97 DFS_STAT_INC(sc, dc_phy_errors); in ath9k_postprocess_radar_event()
107 DFS_STAT_INC(sc, bwinfo_discards); in ath9k_postprocess_radar_event()
112 DFS_STAT_INC(sc, rssi_discards); in ath9k_postprocess_radar_event()
123 pe->width = dur_to_usecs(sc->sc_ah, dur); in ath9k_postprocess_radar_event()
126 DFS_STAT_INC(sc, pulses_detected); in ath9k_postprocess_radar_event()
131 ath9k_dfs_process_radar_pulse(struct ath_softc *sc, struct pulse_event *pe) in ath9k_dfs_process_radar_pulse() argument
133 struct dfs_pattern_detector *pd = sc->dfs_detector; in ath9k_dfs_process_radar_pulse()
134 DFS_STAT_INC(sc, pulses_processed); in ath9k_dfs_process_radar_pulse()
139 DFS_STAT_INC(sc, radar_detected); in ath9k_dfs_process_radar_pulse()
140 ieee80211_radar_detected(sc->hw); in ath9k_dfs_process_radar_pulse()
146 void ath9k_dfs_process_phyerr(struct ath_softc *sc, void *data, in ath9k_dfs_process_phyerr() argument
153 struct ath_hw *ah = sc->sc_ah; in ath9k_dfs_process_phyerr()
156 DFS_STAT_INC(sc, pulses_total); in ath9k_dfs_process_phyerr()
162 DFS_STAT_INC(sc, pulses_no_dfs); in ath9k_dfs_process_phyerr()
168 DFS_STAT_INC(sc, datalen_discards); in ath9k_dfs_process_phyerr()
190 if (!ath9k_postprocess_radar_event(sc, &ard, &pe)) in ath9k_dfs_process_phyerr()
197 pe.ts - sc->dfs_prev_pulse_ts); in ath9k_dfs_process_phyerr()
198 sc->dfs_prev_pulse_ts = pe.ts; in ath9k_dfs_process_phyerr()
200 ath9k_dfs_process_radar_pulse(sc, &pe); in ath9k_dfs_process_phyerr()
203 ath9k_dfs_process_radar_pulse(sc, &pe); in ath9k_dfs_process_phyerr()