From: Dave Platt <dplatt@radagast.org>
To: linux-hams@vger.kernel.org
Subject: Re: Linux Packet Interface Hardware
Date: Wed, 16 Jun 2010 17:02:47 -0700 [thread overview]
Message-ID: <4C196627.4050709@radagast.org> (raw)
In-Reply-To: <alpine.LNX.2.00.1006161618320.23730@wapiti.we7u.net>
> If I remember the spec correctly (have the printed version at home)
> 0 bytes like that aren't allowed between frames, and a single flag
> can delineate two data frames.
You're correct, and in fact that (one inter-frame FLAG) does seem to
be the transmit-behavior of the TNCs I've looked at.
> Don't know whether most TNC's can
> handle that last. Or soundmodem. Or AGWPE & friends.
Yes, as far as I can tell, they all do handle this properly...
the arrival of the FLAG at the end of the first frame triggers
the delivery of that frame (assume that the FCS is valid) and
sets the state machine back to the "FLAG has been received, looking
for first byte of the frame" state.
> Check the spec. I think it says flags only between frames, which
> doesn't give you as good a chance to resync.
Yup (in fact I quoted the spec in my earlier message). However,
the stated spec is written as a "should", rather than a "shall"...
which means that this behavior is a recommended best practice,
but not obligatory. As a result, the current soundmodem
implementation isn't an actual violation of the AX.25 spec;
it is just (in my opinion) less compliant than it could be.
The second "fix" I proposed (allowing more zero-bits, and
more than one FLAG between frames) would be equally not-so-good.
The only really compliant fix is to do as my patch did, and
eliminate the extra zeros entirely. At that point, adding more
FLAGs between frames might or might not help matters under
conditions of channel noise... one would have to do a bunch of
testing to see whether it's a win or a loss.
next prev parent reply other threads:[~2010-06-17 0:02 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-15 23:43 Linux Packet Interface Hardware Jim Kusznir
2010-06-16 1:19 ` Ray Wells
2010-06-16 1:24 ` Matti Aarnio
2011-02-15 18:36 ` Jim Kusznir
2010-06-16 2:05 ` Dave Platt
2010-06-16 12:45 ` Curt, WE7U
2010-06-16 16:16 ` Jim Kusznir
2010-06-16 16:46 ` Curt, WE7U
2010-06-16 23:25 ` Jim Kusznir
2010-06-17 12:49 ` Curt, WE7U
2010-06-21 6:17 ` walter harms
2010-06-16 22:29 ` Matti Aarnio
2010-06-16 23:53 ` Dave Platt
2010-06-16 22:29 ` Dave Platt
2010-06-16 22:49 ` Matti Aarnio
2010-06-16 23:33 ` Curt, WE7U
2010-06-17 0:02 ` Dave Platt [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-06-17 2:24 Andrew Errington
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=4C196627.4050709@radagast.org \
--to=dplatt@radagast.org \
--cc=linux-hams@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.