Skip to content

ieee802154: aret handling changes

Alexander Aring linux-wpan 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4mac802154: cfg: remove test and set checksnet/mac802154/cfg.c+0 -160 replies
2/4mac802154: change frame_retries behaviournet/mac802154/iface.c net/mac802154/main.c+4 -80 replies
3/4at86rf230: use STATE_TX_ARET mode onlydrivers/net/ieee802154/at86rf230.c+14 -380 replies
4/4ieee802154: add ack request default handlinginclude/net/cfg802154.h include/net/nl802154.h net/ieee802154/6lowpan/tx.c +4 more+86 -10 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchStefan Schmidt
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH bluetooth-next 0/4] ieee802154: aret handling changes

Hi,

this patch series contains a RFC for changing the max_frame_retries behaviour. The current behaviour is that we allow a range from -1 until 7 (802.15.4 standard describes a range from 0 until 7 only). Nevertheless for historical reason we have the "-1" value, which describes no aret handling.

The point is when the ack request bit is set inside the mac header the transceiver need to handle the ack somehow, this is mostly the aret mode which is done by hardware. Instead to having this as mac setting which doesn't allow a change during interface up, we simple do this handling per frame indicated by the ack request bit.

Instead of max_frame_retries "-1" value which could be useful for making a default ack request bit handling if no information is given if it should be set or not, we have now the ack request default entry inside the mib.

This could be useful for the 6LoWPAN stack which have this as default behaviour for data frames.

- Alex

Alexander Aring (4):
mac802154: cfg: remove test and set checks
mac802154: change frame_retries behaviour
at86rf230: use STATE_TX_ARET mode only
ieee802154: add ack request default handling

 drivers/net/ieee802154/at86rf230.c | 52 ++++++++++----------------------------
 include/net/cfg802154.h            |  5 ++++
 include/net/nl802154.h             |  4 +++
 net/ieee802154/6lowpan/tx.c        |  2 +-
 net/ieee802154/nl802154.c          | 33 ++++++++++++++++++++++++
 net/ieee802154/rdev-ops.h          | 13 ++++++++++
 net/ieee802154/trace.h             | 19 ++++++++++++++
 net/mac802154/cfg.c                | 27 ++++++++------------
 net/mac802154/iface.c              |  3 +--
 net/mac802154/main.c               |  9 +++----
 10 files changed, 104 insertions(+), 63 deletions(-)
Signature · 1 line
2.5.0