From: Ignacy Gawedzki <i@lri.fr>
To: linux-wireless@vger.kernel.org
Subject: About clocks in the carl9170 firmware
Date: Wed, 5 Jan 2011 12:13:14 +0100 [thread overview]
Message-ID: <20110105111314.GA23794@zenon.in.qult.net> (raw)
Hi,
A few months ago, Christian Lamparter suggested to me the use of
get_clock_counter() in the carl9170 firmware code for time measurement
purposes.
I just got back to that, after a long period of other things to do instead.
According to the results of a few tests I've been running yesterday, it looks
that this clock is 44Mhz, not 40Mhz, nor 80Mhz.
According to Christian, the clock source, as accessed through
get_clock_counter() is stable and does not depend on calls to clock_set().
This is further corroborated by the definition and use of the
AR9170_TICKS_PER_MICROSECOND *constant* in timer.h. But still, how comes that
constant is 80 then?
I'm obviously missing something here. I would be really thankful to anybody
who could explain how these clocks/timers work and how they are supposed to be
used.
Thanks,
Ignacy
--
I have not lost my mind, it's backed up on disk somewhere.
next reply other threads:[~2011-01-05 11:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-05 11:13 Ignacy Gawedzki [this message]
2011-01-05 13:57 ` About clocks in the carl9170 firmware Brian Prodoehl
2011-01-05 14:19 ` Ignacy Gawedzki
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=20110105111314.GA23794@zenon.in.qult.net \
--to=i@lri.fr \
--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