Skip to content

ieee802154: Improve durations handling

Miquel Raynal linux-wpan netdev 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 7 repliesIn review
  2. v25 patches 18 repliesSuperseded
  3. v15 patches 0 repliesSuperseded

Changes in v3 from the cover letter

* Added the ca8210 driver fix.
* Fully dropped my rework of the way channels are advertised by device drivers. Adapted instead the main existing helper to derive durations based on the page/channel couple.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net: ieee802154: ca8210: Fix lifs/sifs periodsdrivers/net/ieee802154/ca8210.c+2 -21 reply
2/4net: mac802154: Convert the symbol duration into nanosecondsdrivers/net/ieee802154/at86rf230.c drivers/net/ieee802154/atusb.c drivers/net/ieee802154/ca8210.c +3 more+33 -330 replies
3/4net: mac802154: Set durations automaticallyinclude/net/cfg802154.h net/mac802154/cfg.c net/mac802154/main.c+49 -04 replies
4/4net: ieee802154: Drop duration settings when the core does it alreadydrivers/net/ieee802154/at86rf230.c drivers/net/ieee802154/atusb.c drivers/net/ieee802154/ca8210.c +1 more+0 -740 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAlexander Aring
SeriesA-b
1/4
2/4
3/4
4/4

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

Read the v3 thread

Cover letter [PATCH wpan-next v3 0/4] ieee802154: Improve durations handling

These patches try to enhance the support of the various delays by adding into the core the necessary logic to derive the actual symbol duration (and then the lifs/sifs durations) depending on the protocol used. The symbol duration type is also updated to fit smaller numbers.

Having the symbol durations properly set is a mandatory step in order to use the scanning feature that will soon be introduced.

Changes since v2:
* Added the ca8210 driver fix.
* Fully dropped my rework of the way channels are advertised by device drivers. Adapted instead the main existing helper to derive durations based on the page/channel couple.

Miquel Raynal (4):
net: ieee802154: ca8210: Fix lifs/sifs periods
net: mac802154: Convert the symbol duration into nanoseconds
net: mac802154: Set durations automatically
net: ieee802154: Drop duration settings when the core does it already

 drivers/net/ieee802154/at86rf230.c | 33 ------------------
 drivers/net/ieee802154/atusb.c     | 33 ------------------
 drivers/net/ieee802154/ca8210.c    |  3 --
 drivers/net/ieee802154/mcr20a.c    |  5 ---
 include/net/cfg802154.h            |  6 ++--
 net/mac802154/cfg.c                |  1 +
 net/mac802154/main.c               | 54 +++++++++++++++++++++++++++---
 7 files changed, 55 insertions(+), 80 deletions(-)
Signature · 1 line
2.27.0