From: Stefan Schmidt <stefan@datenfreihafen.org>
To: davem@davemloft.net, kuba@kernel.org
Cc: linux-wpan@vger.kernel.org, alex.aring@gmail.com, netdev@vger.kernel.org
Subject: pull-request: ieee802154-next 2022-05-01
Date: Sun, 1 May 2022 21:46:14 +0200 [thread overview]
Message-ID: <20220501194614.1198325-1-stefan@datenfreihafen.org> (raw)
Hello Dave, Jakub.
An update from ieee802154 for your *net-next* tree.
For the merge conflict resolution please see below.
Miquel Raynal landed two patch series bundled in this pull request.
The first series re-works the symbol duration handling to better
accommodate the needs of the various phy layers in ieee802154.
In the second series Miquel improves th errors handling from drivers
up mac802154. THis streamlines the error handling throughout the
ieee/mac802154 stack in preparation for sync TX to be introduced for
MLME frames.
When merging into the current net-next HEAD the following merge conflict
resolution is needed:
--- a/drivers/net/ieee802154/ca8210.c
+++ b/drivers/net/ieee802154/ca8210.c
@@@ -2974,9 -2931,6 +2931,12 @@@ static void ca8210_hw_setup(struct ieee
ca8210_hw->phy->cca.mode = NL802154_CCA_ENERGY_CARRIER;
ca8210_hw->phy->cca.opt = NL802154_CCA_OPT_ENERGY_CARRIER_AND;
ca8210_hw->phy->cca_ed_level = -9800;
+ ca8210_hw->phy->symbol_duration = 16;
+ ca8210_hw->phy->lifs_period = 40 * ca8210_hw->phy->symbol_duration;
+ ca8210_hw->phy->sifs_period = 12 * ca8210_hw->phy->symbol_duration;
ca8210_hw->flags =
IEEE802154_HW_AFILT |
IEEE802154_HW_OMIT_CKSUM |
regards
Stefan Schmidt
The following changes since commit 9557167bc63e3910c656a1628f2f52ab1cf6d541:
Merge tag 'ieee802154-for-davem-2022-02-10' of git://git.kernel.org/pub/scm/linux/kernel/git/sschmidt/wpan-next (2022-02-10 14:28:04 +0000)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/sschmidt/wpan-next.git tags/ieee802154-for-davem-2022-05-01
for you to fetch changes up to 1229df4b313acf15d372caadcbbc62a430cd2697:
net: mac802154: Fix symbol durations (2022-04-30 20:29:47 +0200)
----------------------------------------------------------------
Miquel Raynal (15):
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
net: ieee802154: Enhance/fix the names of the MLME return codes
net: ieee802154: Fill the list of MLME return codes
net: mac802154: Save a global error code on transmissions
net: mac802154: Create an offloaded transmission error helper
net: mac802154: Create an error helper for asynchronous offloading errors
net: ieee802154: at86rf230: Call _xmit_hw_error() when failing to offload frames
net: ieee802154: at86rf230: Forward Tx trac errors
net: ieee802154: atusb: Call _xmit_hw_error() upon transmission error
net: ieee802154: ca8210: Use core return codes instead of hardcoding them
net: ieee802154: ca8210: Call _xmit_error() when a transmission fails
net: mac802154: Fix symbol durations
drivers/net/ieee802154/Kconfig | 7 --
drivers/net/ieee802154/at86rf230.c | 163 +++++---------------------------
drivers/net/ieee802154/atusb.c | 37 +-------
drivers/net/ieee802154/ca8210.c | 184 ++++++++++++++-----------------------
drivers/net/ieee802154/mcr20a.c | 5 -
include/linux/ieee802154.h | 81 ++++++++++++++--
include/net/cfg802154.h | 6 +-
include/net/mac802154.h | 19 ++++
net/mac802154/cfg.c | 1 +
net/mac802154/ieee802154_i.h | 2 +
net/mac802154/main.c | 54 ++++++++++-
net/mac802154/util.c | 22 ++++-
12 files changed, 262 insertions(+), 319 deletions(-)
next reply other threads:[~2022-05-01 19:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-01 19:46 Stefan Schmidt [this message]
2022-05-02 21:10 ` pull-request: ieee802154-next 2022-05-01 patchwork-bot+netdevbpf
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=20220501194614.1198325-1-stefan@datenfreihafen.org \
--to=stefan@datenfreihafen.org \
--cc=alex.aring@gmail.com \
--cc=davem@davemloft.net \
--cc=kuba@kernel.org \
--cc=linux-wpan@vger.kernel.org \
--cc=netdev@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.