[PATCH 2/2] ath10k: add spectral scan feature
Yeoh Chun-Yeow
yeohchunyeow at gmail.com
Mon Jul 21 22:02:01 PDT 2014
Hi, Simon
Sorry, resend-email...
>>
>> Thanks for the output! Could it be that you are using the old RFC patch with
>> the new fft-eval? I've added another byte (max_exp), so the header became
>> longer. Please try again with the latest patch (from this thread), if that is
>> the case. Otherwise we have to find out whats wrong ... The sample_len as used
>> in fft_eval (tlv-header + data) should be 93 with that version.
>
Yes, you are right. I am picking out the ath-next-test branch which is
using the RFC old patch before that.
By the way, the new submitted patch v2 [1] has taken out the following:
if (mode == SPECTRAL_BACKGROUND)
ath10k_spectral_scan_trigger(ar);
So should we add the trigger command in the comment?
ip link set dev wlan0 up
echo background > /sys/kernel/debug/ieee80211/phy0/ath10k/spectral_scan_ctl
echo trigger > /sys/kernel/debug/ieee80211/phy0/ath10k/spectral_scan_ctl
iw dev wlan0 scan
echo disable > /sys/kernel/debug/ieee80211/phy0/ath10k/spectral_scan_ctl
cat /sys/kernel/debug/ieee80211/phy0/ath10k/spectral_scan0 > samples
Otherwise, I am not able to get any useful data.
-----
Chun-Yeow
[1] http://lists.infradead.org/pipermail/ath10k/2014-July/002711.html
More information about the ath10k
mailing list