Skip to content

ieee802154: capabilities, atusb support and fakelb rework

Alexander Aring linux-wpan 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest34 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/34nl802154: cleanup invalid argument handlingnet/ieee802154/nl802154.c+4 -80 replies
2/34ieee802154: move validation check out of softmacnet/ieee802154/nl802154.c net/mac802154/cfg.c+27 -300 replies
3/34ieee802154: change transmit power to s32drivers/net/ieee802154/at86rf230.c include/net/cfg802154.h include/net/mac802154.h +2 more+7 -70 replies
4/34ieee802154: change transmit power to mbmdrivers/net/ieee802154/at86rf230.c include/net/cfg802154.h include/net/mac802154.h +2 more+9 -70 replies
5/34ieee802154: change cca ed level to mbmdrivers/net/ieee802154/at86rf230.c include/net/cfg802154.h include/net/mac802154.h +2 more+9 -80 replies
6/34ieee802154: introduce wpan_phy_supporteddrivers/net/ieee802154/at86rf230.c drivers/net/ieee802154/cc2520.c drivers/net/ieee802154/fakelb.c +4 more+30 -261 reply
7/34ieee802154: add several phy supported handlinginclude/net/cfg802154.h include/net/nl802154.h net/ieee802154/nl802154.c +1 more+90 -60 replies
8/34mac802154: check for really changesinclude/net/cfg802154.h net/mac802154/cfg.c+38 -00 replies
9/34mac802154: remove check if operation is supportednet/mac802154/cfg.c+0 -240 replies
10/34cfg802154: introduce wpan phy flagsdrivers/net/ieee802154/at86rf230.c include/net/cfg802154.h include/net/mac802154.h +2 more+50 -370 replies
11/34ieee802154: add iftypes capabilityinclude/net/cfg802154.h net/ieee802154/nl802154.c net/mac802154/main.c+9 -20 replies
12/34at86rf230: set cca_modes supported flagsdrivers/net/ieee802154/at86rf230.c+6 -00 replies
13/34at86rf230: rework tx power supportdrivers/net/ieee802154/at86rf230.c+64 -190 replies
14/34at86rf230: rework tx cca energy detection leveldrivers/net/ieee802154/at86rf230.c+59 -200 replies
15/34at86rf230: add cca ed level reset valuedrivers/net/ieee802154/at86rf230.c+5 -20 replies
16/34at86rf230: add reset states of tx power leveldrivers/net/ieee802154/at86rf230.c+1 -00 replies
17/34nl802154: add support for dump phy capabilitiesinclude/net/nl802154.h net/ieee802154/nl802154.c+173 -10 replies
18/34mac802154: fakelb: Fix potential NULL pointer dereference.drivers/net/ieee802154/fakelb.c+2 -10 replies
19/34at86rf230: fix callback for aret handlingdrivers/net/ieee802154/at86rf230.c+1 -10 replies
20/34mac802154: tx: allow xmit complete from hard irqnet/mac802154/util.c+2 -30 replies
21/34ieee802154: add support for atusb transceiverdrivers/net/ieee802154/Kconfig drivers/net/ieee802154/Makefile drivers/net/ieee802154/at86rf230.c +3 more+1009 -1978 replies
22/34fakelb: creating two virtual phys per defaultdrivers/net/ieee802154/fakelb.c+1 -10 replies
23/34fakelb: use list_for_each_entry_safedrivers/net/ieee802154/fakelb.c+2 -20 replies
24/34fakelb: rename fakelb_dev_priv to fakelb_phydrivers/net/ieee802154/fakelb.c+47 -460 replies
25/34fakelb: don't deliver when one phydrivers/net/ieee802154/fakelb.c+8 -120 replies
26/34fakelb: declare rwlock staticdrivers/net/ieee802154/fakelb.c+7 -90 replies
27/34fakelb: declare fakelb list staticdrivers/net/ieee802154/fakelb.c+7 -250 replies
28/34fakelb: move lock out of iterationdrivers/net/ieee802154/fakelb.c+4 -30 replies
29/34fakelb: introduce fakelb ifup phys listdrivers/net/ieee802154/fakelb.c+25 -330 replies
30/34fakelb: use own channel and page attributesdrivers/net/ieee802154/fakelb.c+10 -30 replies
31/34fakelb: add virtual phy reset defaultsdrivers/net/ieee802154/fakelb.c+5 -00 replies
32/34fakelb: remove fakelb_hw_deliverdrivers/net/ieee802154/fakelb.c+6 -120 replies
33/34fakelb: add support for async xmit handlingdrivers/net/ieee802154/fakelb.c+2 -10 replies
34/34fakelb: cleanup codedrivers/net/ieee802154/fakelb.c+12 -170 replies

Reviews trailers per patch

1 of 34 patches has a Reviewed-by or Acked-by.

PatchVarka Bhadram
1/34
2/34
3/34
4/34
5/34
6/34A-b
7/34
8/34
9/34
10/34
11/34
12/34
13/34
14/34
15/34
16/34
17/34
18/34
19/34
20/34
21/34
22/34
23/34
24/34
25/34
26/34
27/34
28/34
29/34
30/34
31/34
32/34
33/34
34/34

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 00/34] ieee802154: capabilities, atusb support and fakelb rework

Hi Marcel,

this patch series contains mainly the following changes:

- add support for phy capabilities
- add support for atusb transceiver
- rework fakelb driver implementation

Some of them patches was already send to wpan mailinglist, I did few changes. These are:

- add "atusb" prefix in some of the static function in atusb driver
- a cleanup which move dev_consume_skb_any(skb) out of if and else branch. It's just called always, before it the call was in the if and else branch. See patch ("mac802154: tx: allow xmit complete from hard irq")
- fix typo s/serveral/several in patch ("fakelb: cleanup code")

This patch series does _not_ include the mib/pib locks removal and atomic_t for the data/beacon sequence number. These patches depends on another patch ("mac802154: fix hold rtnl while ioctl") which should go into bluetooth. I will send in the next days a patch series for bluetooth which contains the ("mac802154: fix hold rtnl while ioctl") patch. If I seeing this patch inside of bluetooth-next then I will send the mib/pib locks removal and atomic_t for the data/beacon sequence number again for bluetooth-next. Please let me know if this handling is fine. I think this avoids some merge conflicts then.

Thanks.

- Alex

Alexander Aring (33):
nl802154: cleanup invalid argument handling
ieee802154: move validation check out of softmac
ieee802154: change transmit power to s32
ieee802154: change transmit power to mbm
ieee802154: change cca ed level to mbm
ieee802154: introduce wpan_phy_supported
ieee802154: add several phy supported handling
mac802154: check for really changes
mac802154: remove check if operation is supported
cfg802154: introduce wpan phy flags
ieee802154: add iftypes capability
at86rf230: set cca_modes supported flags
at86rf230: rework tx power support
at86rf230: rework tx cca energy detection level
at86rf230: add cca ed level reset value
at86rf230: add reset states of tx power level
nl802154: add support for dump phy capabilities
at86rf230: fix callback for aret handling
mac802154: tx: allow xmit complete from hard irq
ieee802154: add support for atusb transceiver
fakelb: creating two virtual phys per default
fakelb: use list_for_each_entry_safe
fakelb: rename fakelb_dev_priv to fakelb_phy
fakelb: don't deliver when one phy
fakelb: declare rwlock static
fakelb: declare fakelb list static
fakelb: move lock out of iteration
fakelb: introduce fakelb ifup phys list
fakelb: use own channel and page attributes
fakelb: add virtual phy reset defaults
fakelb: remove fakelb_hw_deliver
fakelb: add support for async xmit handling
fakelb: cleanup code

Martin Townsend (1):
mac802154: fakelb: Fix potential NULL pointer dereference.

 drivers/net/ieee802154/Kconfig     |  10 +
 drivers/net/ieee802154/Makefile    |   1 +
 drivers/net/ieee802154/at86rf230.c | 376 ++++++++------------
 drivers/net/ieee802154/at86rf230.h | 220 ++++++++++++
 drivers/net/ieee802154/atusb.c     | 692 +++++++++++++++++++++++++++++++++++++
 drivers/net/ieee802154/atusb.h     |  84 +++++
 drivers/net/ieee802154/cc2520.c    |   2 +-
 drivers/net/ieee802154/fakelb.c    | 209 +++++------
 drivers/net/ieee802154/mrf24j40.c  |   2 +-
 include/net/cfg802154.h            |  62 +++-
 include/net/mac802154.h            |  38 +-
 include/net/nl802154.h             |  79 +++++
 net/ieee802154/nl-mac.c            |   8 +-
 net/ieee802154/nl-phy.c            |   4 +-
 net/ieee802154/nl802154.c          | 209 +++++++++--
 net/mac802154/cfg.c                |  63 +---
 net/mac802154/driver-ops.h         |   8 +-
 net/mac802154/mac_cmd.c            |   6 +-
 net/mac802154/main.c               |  32 ++
 net/mac802154/util.c               |   5 +-
 20 files changed, 1639 insertions(+), 471 deletions(-)
 create mode 100644 drivers/net/ieee802154/at86rf230.h
 create mode 100644 drivers/net/ieee802154/atusb.c
 create mode 100644 drivers/net/ieee802154/atusb.h
Signature · 1 line
2.3.7