From: Zefir Kurtisi <zefir.kurtisi@neratec.com>
To: Vasanth Thiagarajan <Vasanth.Thiagarajan@Atheros.com>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH 2/2] ath9k: pulse detection
Date: Wed, 09 Feb 2011 16:30:38 +0100 [thread overview]
Message-ID: <4D52B31E.3030902@neratec.com> (raw)
In-Reply-To: <44EE5C37ADC36343B0625A05DD408C4850DAA785D2@CHEXMB-01.global.atheros.com>
On 02/09/2011 04:15 PM, Vasanth Thiagarajan wrote:
>
> + /* update 64-bit time stamp with that of rs */
> + /* TODO: do this per-wiphy */
> + ts = rs->rs_tstamp;
> + if (ts <= (last_ts & 0xffffffff))
>
> last_ts is not initialized.
true, but does not really matter since only deltas are relevant.
> + ts_hi++;
> + last_ts = ((u64)ts_hi << 32) | ts;
> +
> +
> + if (rs->rs_datalen != 0) {
> + char *vdata = (char *)ds->ds_vdata + rs->rs_datalen - 3;
> + dur = (u32) vdata[0];
> + }
> +
> + /* ZKU: reverse measured scaling factor of 2/3 for duration */
>
> ZKU ??
>
thats me :)
Sorry letting you read the code. It is meant only to test the proposed
approach. I missed to change the prefix to RFC.
Zefir
> Vasanth--
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-02-09 15:30 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-09 12:01 [RFC] DFS userspace handler Zefir Kurtisi
2011-02-09 12:01 ` [PATCH 1/2] nl80211: interface update Zefir Kurtisi
2011-02-09 14:31 ` John W. Linville
2011-02-09 15:32 ` Zefir Kurtisi
2011-02-14 10:20 ` Johannes Berg
2011-02-14 15:54 ` Zefir Kurtisi
2011-02-09 12:01 ` [PATCH 2/2] ath9k: pulse detection Zefir Kurtisi
2011-02-09 15:15 ` Vasanth Thiagarajan
2011-02-09 15:30 ` Zefir Kurtisi [this message]
2011-02-09 12:01 ` [PATCH 1/3] hostapd: simple pattern detector Zefir Kurtisi
2011-02-09 12:01 ` [PATCH 2/3] hostapd: nl80211 interface Zefir Kurtisi
2011-02-09 12:01 ` [PATCH 3/3] hostapd: integrate DFS detection Zefir Kurtisi
2011-02-09 14:34 ` [RFC] DFS userspace handler John W. Linville
2011-02-09 15:35 ` Chaoxing Lin
2011-02-09 15:50 ` Zefir Kurtisi
2011-02-09 16:09 ` Chaoxing Lin
2011-02-09 16:30 ` John W. Linville
2011-02-09 17:09 ` Chaoxing Lin
2011-02-09 17:50 ` Jouni Malinen
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=4D52B31E.3030902@neratec.com \
--to=zefir.kurtisi@neratec.com \
--cc=Vasanth.Thiagarajan@Atheros.com \
--cc=linux-wireless@vger.kernel.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 NNTP newsgroup(s).