Lines Matching refs:sc

100 static bool ath9k_check_chirping(struct ath_softc *sc, u8 *data,  in ath9k_check_chirping()  argument
105 struct ath_hw *ah = sc->sc_ah; in ath9k_check_chirping()
202 ath9k_postprocess_radar_event(struct ath_softc *sc, in ath9k_postprocess_radar_event() argument
219 DFS_STAT_INC(sc, pri_phy_errors); in ath9k_postprocess_radar_event()
229 DFS_STAT_INC(sc, ext_phy_errors); in ath9k_postprocess_radar_event()
248 DFS_STAT_INC(sc, dc_phy_errors); in ath9k_postprocess_radar_event()
258 DFS_STAT_INC(sc, bwinfo_discards); in ath9k_postprocess_radar_event()
263 DFS_STAT_INC(sc, rssi_discards); in ath9k_postprocess_radar_event()
268 pe->width = dur_to_usecs(sc->sc_ah, dur); in ath9k_postprocess_radar_event()
271 DFS_STAT_INC(sc, pulses_detected); in ath9k_postprocess_radar_event()
276 ath9k_dfs_process_radar_pulse(struct ath_softc *sc, struct pulse_event *pe) in ath9k_dfs_process_radar_pulse() argument
278 struct dfs_pattern_detector *pd = sc->dfs_detector; in ath9k_dfs_process_radar_pulse()
279 DFS_STAT_INC(sc, pulses_processed); in ath9k_dfs_process_radar_pulse()
284 DFS_STAT_INC(sc, radar_detected); in ath9k_dfs_process_radar_pulse()
285 ieee80211_radar_detected(sc->hw); in ath9k_dfs_process_radar_pulse()
291 void ath9k_dfs_process_phyerr(struct ath_softc *sc, void *data, in ath9k_dfs_process_phyerr() argument
298 struct ath_hw *ah = sc->sc_ah; in ath9k_dfs_process_phyerr()
301 DFS_STAT_INC(sc, pulses_total); in ath9k_dfs_process_phyerr()
307 DFS_STAT_INC(sc, pulses_no_dfs); in ath9k_dfs_process_phyerr()
313 DFS_STAT_INC(sc, datalen_discards); in ath9k_dfs_process_phyerr()
335 if (!ath9k_postprocess_radar_event(sc, &ard, &pe)) in ath9k_dfs_process_phyerr()
343 pe.chirp = ath9k_check_chirping(sc, data, clen, is_ctl, is_ext); in ath9k_dfs_process_phyerr()
352 pe.ts - sc->dfs_prev_pulse_ts); in ath9k_dfs_process_phyerr()
353 sc->dfs_prev_pulse_ts = pe.ts; in ath9k_dfs_process_phyerr()
355 ath9k_dfs_process_radar_pulse(sc, &pe); in ath9k_dfs_process_phyerr()
359 ath9k_dfs_process_radar_pulse(sc, &pe); in ath9k_dfs_process_phyerr()