Some later-model 802.11n hardware (AR9130 and later) is capable of reporting FFT data along side normal radar PHY errors.
This code includes a library to parse basic radar frames as well as the radiotap / bpf code needed to dump out the PHY error frames. It requires the above patch to be applied and 'dev.ath.X.monpass' to be set appropriately (see below.)
(TBD)
sysctl dev.ath.X.monpass=0x02