[ath9k-devel] [RFC v2 1/2] ath9k: add DFS radar pulse processing

2011-11-03 Thread Zefir Kurtisi
This initial DFS module provides basic functionality to deal with radar pulses reported by the DFS HW pattern detector. The reported data is evaluated and basic plausibility checks are performed to filter false pulses. Passing radar pulses are forwarded to pattern detectors (not part of this

Re: [ath9k-devel] [RFC v2 1/2] ath9k: add DFS radar pulse processing

2011-11-03 Thread Mohammed Shafi
On Thu, Nov 3, 2011 at 7:25 PM, Zefir Kurtisi zefir.kurt...@neratec.com wrote: This initial DFS module provides basic functionality to deal with radar pulses reported by the DFS HW pattern detector. The reported data is evaluated and basic plausibility checks are performed to filter false

Re: [ath9k-devel] [RFC v2 1/2] ath9k: add DFS radar pulse processing

2011-11-03 Thread Mohammed Shafi
On Thu, Nov 3, 2011 at 7:25 PM, Zefir Kurtisi zefir.kurt...@neratec.com wrote: This initial DFS module provides basic functionality to deal with radar pulses reported by the DFS HW pattern detector. The reported data is evaluated and basic plausibility checks are performed to filter false

Re: [ath9k-devel] [RFC v2 1/2] ath9k: add DFS radar pulse processing

2011-11-03 Thread Zefir Kurtisi
On 11/03/2011 04:54 PM, Mohammed Shafi wrote: On Thu, Nov 3, 2011 at 7:25 PM, Zefir Kurtisi zefir.kurt...@neratec.com wrote: [...] +static bool postprocess_radar_event(struct ath_softc *sc, + struct ath_radar_data *are, struct dfs_radar_pulse *drp)

Re: [ath9k-devel] [RFC v2 1/2] ath9k: add DFS radar pulse processing

2011-11-03 Thread Zefir Kurtisi
On 11/03/2011 04:56 PM, Mohammed Shafi wrote: On Thu, Nov 3, 2011 at 7:25 PM, Zefir Kurtisi zefir.kurt...@neratec.com wrote: [...] + switch (are-pulse_bw_info) { + case 0: can we define some macro for this. thanks! Ok. ___