Lines Matching refs:pe
202 struct pulse_event *pe) in ath9k_postprocess_radar_event() argument
266 pe->width = dur_to_usecs(sc->sc_ah, dur); in ath9k_postprocess_radar_event()
267 pe->rssi = rssi; in ath9k_postprocess_radar_event()
274 ath9k_dfs_process_radar_pulse(struct ath_softc *sc, struct pulse_event *pe) in ath9k_dfs_process_radar_pulse() argument
280 if (!pd->add_pulse(pd, pe, NULL)) in ath9k_dfs_process_radar_pulse()
295 struct pulse_event pe; in ath9k_dfs_process_phyerr() local
331 pe.freq = ah->curchan->channel; in ath9k_dfs_process_phyerr()
332 pe.ts = mactime; in ath9k_dfs_process_phyerr()
333 if (!ath9k_postprocess_radar_event(sc, &ard, &pe)) in ath9k_dfs_process_phyerr()
336 if (pe.width > MIN_CHIRP_PULSE_WIDTH && in ath9k_dfs_process_phyerr()
337 pe.width < MAX_CHIRP_PULSE_WIDTH) { in ath9k_dfs_process_phyerr()
341 pe.chirp = ath9k_check_chirping(sc, data, clen, is_ctl, is_ext); in ath9k_dfs_process_phyerr()
343 pe.chirp = false; in ath9k_dfs_process_phyerr()
349 ard.pulse_bw_info, pe.freq, pe.ts, pe.width, pe.rssi, in ath9k_dfs_process_phyerr()
350 pe.ts - sc->dfs_prev_pulse_ts); in ath9k_dfs_process_phyerr()
351 sc->dfs_prev_pulse_ts = pe.ts; in ath9k_dfs_process_phyerr()
353 ath9k_dfs_process_radar_pulse(sc, &pe); in ath9k_dfs_process_phyerr()
356 pe.freq += IS_CHAN_HT40PLUS(ah->curchan) ? 20 : -20; in ath9k_dfs_process_phyerr()
357 ath9k_dfs_process_radar_pulse(sc, &pe); in ath9k_dfs_process_phyerr()