From: Johannes Berg <johannes@sipsolutions.net>
To: Tomas Winkler <tomasw@gmail.com>
Cc: linux-wireless <linux-wireless@vger.kernel.org>
Subject: iwl4965 vs b43 time drift?
Date: Thu, 13 Dec 2007 18:33:17 +0100 [thread overview]
Message-ID: <1197567197.8313.27.camel@johannes.berg> (raw)
[-- Attachment #1: Type: text/plain, Size: 1353 bytes --]
Hi,
I'm debugging a timing problem with b43, can you tell me exactly when
the timestamp iwl4965 shows in radiotap is taken? Is it the first bit of
the preamble?
When associated to my b43 AP, I'd expect the difference between the
beacon/proberesp timestamp and the MAC timestamp of the iwl4965 monitor
mode to be 192us for the MAC header and another 192us for the PLCP
preamble/PLCP header, a total of 384 us.
However, when I have just associated, the difference starts out at 383us
and decreases, down to ~370us and then varies between 370-380us, afaict
never reaching 384us.
The strange thing is that it doesn't seem to recover. No matter which of
the timers is actually wrong (I guess I could find out by comparing with
the system timestamp and hoping that the delay through mac80211 into
wireshark is constant) shouldn't it recover the time?
Another problem is that when I enable powersave on the iwl4965, I see no
beacons at all. And oddly, the difference between the timestamp in the
probe responses and the iwl4965 MAC timestamp starts varying wildly, up
to almost 5000us.
I guess that b43 has a timing problem otherwise we'd be seeing totally
bad behaviour of iwl4965 on stock APs. I'm just trying to understand the
problem better right now. Do you know when iwl4965 will resync the
timer?
Thanks,
johannes
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
reply other threads:[~2007-12-13 17:33 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=1197567197.8313.27.camel@johannes.berg \
--to=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=tomasw@gmail.com \
/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