[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220501194614.1198325-1-stefan@datenfreihafen.org>
Date: Sun, 1 May 2022 21:46:14 +0200
From: Stefan Schmidt <stefan@...enfreihafen.org>
To: davem@...emloft.net, kuba@...nel.org
Cc: linux-wpan@...r.kernel.org, alex.aring@...il.com,
netdev@...r.kernel.org
Subject: pull-request: ieee802154-next 2022-05-01
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(-)
Powered by blists - more mailing lists