Lines Matching refs:pe
204 struct pulse_event *pe) in ath9k_postprocess_radar_event() argument
268 pe->width = dur_to_usecs(sc->sc_ah, dur); in ath9k_postprocess_radar_event()
269 pe->rssi = rssi; 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
282 if (!pd->add_pulse(pd, pe)) in ath9k_dfs_process_radar_pulse()
297 struct pulse_event pe; in ath9k_dfs_process_phyerr() local
333 pe.freq = ah->curchan->channel; in ath9k_dfs_process_phyerr()
334 pe.ts = mactime; in ath9k_dfs_process_phyerr()
335 if (!ath9k_postprocess_radar_event(sc, &ard, &pe)) in ath9k_dfs_process_phyerr()
338 if (pe.width > MIN_CHIRP_PULSE_WIDTH && in ath9k_dfs_process_phyerr()
339 pe.width < MAX_CHIRP_PULSE_WIDTH) { in ath9k_dfs_process_phyerr()
343 pe.chirp = ath9k_check_chirping(sc, data, clen, is_ctl, is_ext); in ath9k_dfs_process_phyerr()
345 pe.chirp = false; in ath9k_dfs_process_phyerr()
351 ard.pulse_bw_info, pe.freq, pe.ts, pe.width, pe.rssi, 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()
358 pe.freq += IS_CHAN_HT40PLUS(ah->curchan) ? 20 : -20; in ath9k_dfs_process_phyerr()
359 ath9k_dfs_process_radar_pulse(sc, &pe); in ath9k_dfs_process_phyerr()