Historical ath9k-devel archives
 help / color / mirror / Atom feed
From: Jeon <sjeon87+ath9k@gmail.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] linearity of ath9k CSI phase
Date: Tue, 14 Jun 2016 02:00:04 +0900	[thread overview]
Message-ID: <CACfn7v5R4mpPjhJwqnF0cUJt93RkTw7-SrQHdADYP5gnEfpU5Q@mail.gmail.com> (raw)

Dear ath9k developers,

I am currently working with Atheros CSI Extraction Tool [1] to get a true
phase of each subcarrier.

- Background

[2], [3] and many other papers claim that phase information from extracted
CSI contains two components: true phase and unwanted phase offset due to
subcarrier and time delay.
i.e., measured_phase = true_phase + time_delay * subcarrier_index +
phase_offset_due_to_txrx_mismatch
This equation can be visualized as below:

http://i.imgur.com/rk9Hh1M.png

(Please note that this figure is based on CSI tool for Intel 5300 NIC.)

It contains unwanted linear phase offset and constant phase offset. Since
the true phase is relatively small, it seems that phase is monotonically
increasing or decreasing in macro view due to the unwanted phase offsets.
We cannot see a tiny true phase currently.

To remove phase offset due to subcarrier, the mentioned papers are
attempting to remove it with linear fitting ax + b,
where a = slope of the figure, b = average of measured phase, and x =
subcarrier index.

After removing unwanted phase offset components, the true phase is
estimated.
This estimated true phase seems steady and consistent across a time
duration shorter than < 100 - 1000 ms:

http://i.imgur.com/AO89vYV.png

Note that Y-axis scale is reduece from [-50, 10] to [5, -3]

- My question

I want to extract and manipulate CSI phase WITH ATH9K NIC.

After extracting CSI from my ath9k NIC (AR9580 @ 2.4 GHz) with Atheros CSI
extraction tool,
I've tried various fitting methods to eliminate unwanted components and
stacked results from nearly 100 packets:

http://i.imgur.com/5r9eYwO.png

             reply	other threads:[~2016-06-13 17:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-13 17:00 Jeon [this message]
     [not found] ` <CAALvt2N_We7YMOm03LDPwY90HkJhtgxk=TPBH8VbCcFyZyrOQA@mail.gmail.com>
2016-06-14  3:39   ` [ath9k-devel] linearity of ath9k CSI phase Jeon
     [not found]     ` <CAALvt2PW8kEakB2oVLOsatKCuhT9FsYJscvF_EQGXS7uUtn8-w@mail.gmail.com>
2016-06-17  7:08       ` Jeon

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=CACfn7v5R4mpPjhJwqnF0cUJt93RkTw7-SrQHdADYP5gnEfpU5Q@mail.gmail.com \
    --to=sjeon87+ath9k@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).