Linux IEEE 802.15.4 and 6LoWPAN development
 help / color / mirror / Atom feed
From: Alexander Aring <alex.aring@gmail.com>
To: Lennert Buytenhek <buytenh@wantstofly.org>
Cc: Stefan Schmidt <stefan@osg.samsung.com>,
	linux-wpan@vger.kernel.org,
	Stefan Schmidt <s.schmidt@samsung.com>
Subject: Re: [PATCH bluetooth-next 2/3] ieee802154/atusb: Mark driver as AACK enabled in hardware.
Date: Thu, 28 May 2015 13:30:21 +0200	[thread overview]
Message-ID: <20150528113017.GC716@omega> (raw)
In-Reply-To: <20150528103613.GC11340@wantstofly.org>

On Thu, May 28, 2015 at 01:36:14PM +0300, Lennert Buytenhek wrote:
...
> > 
> > But one of these modes (max_frame_retries = -1 OR max_frame_retries >=
> > 0) should be supported and AACK handling should also always supported.
> 
> Hardware that only supports max_frame_retries = -1 is clearly not
> 802.15.4 compliant -- how much of such hardware is there out there?
> 

This is correct, because 802.15.4 default is max_frame_retries = 3. I
never saw a transceiver which doesn't support ARET handling in hardware
by transceiver.

What we do currently is:

If a transceiver doesn't support handling of setting max_frame_retries
parameters then we assume the 802.15.4 defaults. We can't say if it's
really supported or not, depends on driver implementation.

And currently for max_frame_retries we assume "-1" which is not correct,
because 802.15.4 describes "3" as default. But again, this is only to
hold backwardscompability with nodes which doesn't support AACK.

> 
> > Maybe I should draw some graphics to display what the meaning of
> > max_frame_retries really is. At the end each driver should follow all
> > the same meaning of this value.
> 
> I think it's clear to me.

ok.

- Alex

  reply	other threads:[~2015-05-28 11:30 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-21 14:51 [PATCH bluetooth-next 0/3] ATUSB driver updates Stefan Schmidt
2015-05-21 14:51 ` [PATCH bluetooth-next 1/3] ieee802154/atusb: Warn about outdated device firmware Stefan Schmidt
2015-05-21 14:51 ` [PATCH bluetooth-next 2/3] ieee802154/atusb: Mark driver as AACK enabled in hardware Stefan Schmidt
2015-05-25  7:41   ` Lennert Buytenhek
2015-05-26  8:56     ` Alexander Aring
2015-05-27 12:45       ` Lennert Buytenhek
2015-05-27 13:46         ` Alexander Aring
2015-05-27 16:12           ` Alexander Aring
2015-05-28 10:36             ` Lennert Buytenhek
2015-05-28 11:30               ` Alexander Aring [this message]
2015-05-28 10:29           ` Lennert Buytenhek
2015-05-28 11:25             ` Alexander Aring
2015-05-21 14:51 ` [PATCH bluetooth-next 3/3] ieee802154/atusb: Set default ed level to 0xbe like the rest of these drivers Stefan Schmidt
2015-05-21 15:36 ` [PATCH bluetooth-next 0/3] ATUSB driver updates Alexander Aring
2015-05-21 15:55 ` Marcel Holtmann

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=20150528113017.GC716@omega \
    --to=alex.aring@gmail.com \
    --cc=buytenh@wantstofly.org \
    --cc=linux-wpan@vger.kernel.org \
    --cc=s.schmidt@samsung.com \
    --cc=stefan@osg.samsung.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