Historical ath9k-devel archives
 help / color / mirror / Atom feed
From: Siia Chen <oakpacific@gmail.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Question regarding the ath9k spectral FFT bin data
Date: Thu, 22 Dec 2016 07:25:26 +0000	[thread overview]
Message-ID: <CAJHXcKEyieqabH+JnOTEEPnha0BpEZngp9LGKUjcrmadwNw5dw@mail.gmail.com> (raw)

Hello,

In https://wireless.wiki.kernel.org/en/users/drivers/ath9k/spectral_scan
and https://wiki.freebsd.org/dev/ath_hal%284%29/SpectralScan and a few
mails on this list I have seen it stated that the FFT data for each
bin is reported as the sum of the absolute magnitudes of both I and Q
components, i.e, |i|+|q|. However, I have also seen the square of the
returned bin value being directly plugged into the formula for
estimating the bin power in numerous post-processing applications,
which doesn't make sense for me. As power is calculated by i^2+q^2,
which doesn't equal to (|i|+|q|)^2. Can anybody kindly clear this up
for me? Thanks a lot.

Best wishes,
Robert

                 reply	other threads:[~2016-12-22  7:25 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CAJHXcKEyieqabH+JnOTEEPnha0BpEZngp9LGKUjcrmadwNw5dw@mail.gmail.com \
    --to=oakpacific@gmail.com \
    --cc=ath9k-devel@lists.ath9k.org \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).