netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Berg <johannes-cdvu00un1VgdHxzADdlk8Q@public.gmane.org>
To: netdev <netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Cc: linux-wireless <linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: writing timestamps to outgoing packets
Date: Tue, 16 Jun 2015 11:15:50 +0200	[thread overview]
Message-ID: <1434446150.2337.17.camel@sipsolutions.net> (raw)

Hi,

For MA-USB (media-agnostic USB, but specifically we're working on doing
it over 802.11 wifi) there's a need to write a timestamp to outgoing
packets at a specific offset inside the packet.

Unfortunately, it's not that we have to write the timestamp of the
previous packet or similar which could be achieved with the existing
timestamp service, but the packet that's being sent.

We'll probably have to use LLC, so ideally we could use the LLC
framework (though - it seems to have some bugs - is anyone using it?),
but that obviously makes it difficult to pass enough information to the
low-level driver to enable the timestamping (which is done in
firmware/hardware.)

Does anyone have any thoughts? Should we try to mark the packet somehow?
But all ways I can find could possibly conflict with other markers. Or
perhaps we should add a generic "write timestamp to packet" framework?

I'm a bit surprised that nobody else has had this need before - or
perhaps they did and solved the problem in a different way?

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

                 reply	other threads:[~2015-06-16  9:15 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=1434446150.2337.17.camel@sipsolutions.net \
    --to=johannes-cdvu00un1vgdhxzaddlk8q@public.gmane.org \
    --cc=linux-wireless-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=netdev-u79uwXL29TY76Z2rM5mHXA@public.gmane.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).