linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Zefir Kurtisi <zefir.kurtisi@neratec.com>
To: Simon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
Cc: linux-wireless <linux-wireless@vger.kernel.org>,
	ath9k-devel@lists.ath9k.org, rodrigue@qca.qualcomm.com,
	adrian@freebsd.org, nbd@openwrt.org, jonbither@gmail.com,
	kgiori@qca.qualcomm.com, mathias.kretschmer@fokus.fraunhofer.de,
	Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Subject: Re: [RFCv2] Add spectral scan support for Atheros AR92xx/AR93xx
Date: Tue, 18 Dec 2012 17:02:52 +0100	[thread overview]
Message-ID: <50D093AC.9020501@neratec.com> (raw)
In-Reply-To: <20121218134611.GA7053@pandem0nium>

On 12/18/2012 02:46 PM, Simon Wunderlich wrote:
> [...]
> 
> Yes, that helped very much, especially the varying data part was something I had no
> clue about. This might also fix the "weird high numbers in the middle of the dump"
> problem I was seeing.
> 
If you mean the bin at center frequency, it is because spectral is blind there. To
remove discontinuity, that bin is interpolated, see line
+	// DC value is invalid -> interpolate
+	*dc_pwr = (dc_pwr[-1] + dc_pwr[1]) / 2;

> I'll change the patch according to your explanations, so that only 56 byte data samples
> are returned (at least for HT20).
> 
> Thank you very much!
> 	Simon
> 

Good luck!
Zefir

  reply	other threads:[~2012-12-18 16:02 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-06 16:36 [RFCv2] Add spectral scan support for Atheros AR92xx/AR93xx Simon Wunderlich
2012-12-06 16:36 ` [RFCv2] ath9k: add spectral scan feature Simon Wunderlich
2012-12-13 14:07 ` [RFCv2] Add spectral scan support for Atheros AR92xx/AR93xx Simon Wunderlich
2012-12-13 17:25   ` Felix Fietkau
2012-12-13 22:06     ` Simon Wunderlich
2012-12-13 23:04       ` Felix Fietkau
2012-12-14  0:24         ` Tobias Steinicke
2012-12-14  0:30           ` Adrian Chadd
2012-12-16  3:48         ` Adrian Chadd
2012-12-16  4:06           ` Adrian Chadd
2012-12-17 13:22             ` Simon Wunderlich
2012-12-17 18:48               ` Adrian Chadd
2012-12-18 11:08   ` Zefir Kurtisi
2012-12-18 13:46     ` Simon Wunderlich
2012-12-18 16:02       ` Zefir Kurtisi [this message]
2012-12-28  3:11       ` Adrian Chadd
2012-12-31  5:33     ` Adrian Chadd
2012-12-31  8:46       ` Simon Wunderlich
2012-12-31 14:38         ` Adrian Chadd
2012-12-31  7:48     ` Adrian Chadd
2012-12-31  8:40       ` Simon Wunderlich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50D093AC.9020501@neratec.com \
    --to=zefir.kurtisi@neratec.com \
    --cc=adrian@freebsd.org \
    --cc=ath9k-devel@lists.ath9k.org \
    --cc=jonbither@gmail.com \
    --cc=kgiori@qca.qualcomm.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mathias.kretschmer@fokus.fraunhofer.de \
    --cc=nbd@openwrt.org \
    --cc=rodrigue@qca.qualcomm.com \
    --cc=simon.wunderlich@s2003.tu-chemnitz.de \
    --cc=siwu@hrz.tu-chemnitz.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).