Skip to content

mac802154: iface and driver-ops cleanup

Alexander Aring linux-wpan 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest17 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17mac802154: monitor: merge into iface implementationnet/mac802154/Makefile net/mac802154/iface.c net/mac802154/monitor.c+31 -603 replies
2/17mac802154: main: move open and close into ifacenet/mac802154/ieee802154_i.h net/mac802154/iface.c net/mac802154/main.c+59 -620 replies
3/17mac802154: declare struct ieee802154_ops as constdrivers/net/ieee802154/at86rf230.c drivers/net/ieee802154/cc2520.c drivers/net/ieee802154/fakelb.c +4 more+7 -71 reply
4/17mac802154: ops: declare channel and page as u8drivers/net/ieee802154/at86rf230.c drivers/net/ieee802154/cc2520.c drivers/net/ieee802154/fakelb.c +2 more+9 -111 reply
5/17mac802154: introduce driver-ops headernet/mac802154/driver-ops.h+202 -00 replies
6/17mac802154: use driver-ops function wrappersnet/mac802154/iface.c net/mac802154/main.c net/mac802154/mib.c +1 more+26 -200 replies
7/17mac802154: remove might_sleep from driver layerdrivers/net/ieee802154/at86rf230.c drivers/net/ieee802154/cc2520.c drivers/net/ieee802154/fakelb.c+0 -87 replies
8/17mac802154: remove driver ops in wpan-phyinclude/net/cfg802154.h net/ieee802154/nl-mac.c net/mac802154/iface.c +1 more+8 -1160 replies
9/17mac802154: rework sdata state change to runningnet/mac802154/ieee802154_i.h net/mac802154/iface.c+16 -80 replies
10/17mac802154: rename running to startednet/mac802154/ieee802154_i.h net/mac802154/main.c+4 -40 replies
11/17mac802154: move local started handlingnet/mac802154/driver-ops.h net/mac802154/ieee802154_i.h net/mac802154/main.c+4 -260 replies
12/17mac802154: add synchronization handlingnet/mac802154/driver-ops.h+7 -00 replies
13/17mac802154: iface: remove assign to zeronet/mac802154/iface.c+0 -60 replies
14/17mac802154: remove channel attributes from sdatanet/mac802154/ieee802154_i.h net/mac802154/iface.c net/mac802154/mib.c+9 -534 replies
15/17mac802154: move mac_params functions into mac_cmdnet/mac802154/ieee802154_i.h net/mac802154/mac_cmd.c+22 -50 replies
16/17mac802154: cleanup open count handlingnet/mac802154/iface.c+4 -30 replies
17/17ieee802154: introduce sysfs filenet/ieee802154/Makefile net/ieee802154/core.c net/ieee802154/sysfs.c +1 more+108 -700 replies

Reviews trailers per patch

3 of 17 patches have a Reviewed-by or Acked-by.

PatchVarka Bhadram
1/17
2/17
3/17A-b
4/17A-b
5/17
6/17
7/17A-b
8/17
9/17
10/17
11/17
12/17
13/17
14/17
15/17
16/17
17/17

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/17] mac802154: iface and driver-ops cleanup

This patch series contains cleanups for iface handling driver-ops and sysfs handling. Also removing dead code of current behaviour of local->running and use it as local->started behaviour like mac8011.

Alexander Aring (17):
mac802154: monitor: merge into iface implementation
mac802154: main: move open and close into iface
mac802154: declare struct ieee802154_ops as const
mac802154: ops: declare channel and page as u8
mac802154: introduce driver-ops header
mac802154: use driver-ops function wrappers
mac802154: remove might_sleep from driver layer
mac802154: remove driver ops in wpan-phy
mac802154: rework sdata state change to running
mac802154: rename running to started
mac802154: move local started handling
mac802154: add synchronization handling
mac802154: iface: remove assign to zero
mac802154: remove channel attributes from sdata
mac802154: move mac_params functions into mac_cmd
mac802154: cleanup open count handling
ieee802154: introduce sysfs file

 drivers/net/ieee802154/at86rf230.c |  13 +--
 drivers/net/ieee802154/cc2520.c    |   5 +-
 drivers/net/ieee802154/fakelb.c    |   8 +-
 drivers/net/ieee802154/mrf24j40.c  |   5 +-
 include/net/cfg802154.h            |   8 --
 include/net/mac802154.h            |   7 +-
 net/ieee802154/Makefile            |   2 +-
 net/ieee802154/core.c              |  73 +------------
 net/ieee802154/nl-mac.c            |  19 +---
 net/ieee802154/sysfs.c             |  94 ++++++++++++++++
 net/ieee802154/sysfs.h             |   9 ++
 net/mac802154/Makefile             |   2 +-
 net/mac802154/driver-ops.h         | 213 +++++++++++++++++++++++++++++++++++++
 net/mac802154/ieee802154_i.h       |  34 +++---
 net/mac802154/iface.c              | 119 +++++++++++++++++----
 net/mac802154/mac_cmd.c            |  22 ++++
 net/mac802154/main.c               | 166 +----------------------------
 net/mac802154/mib.c                |  56 ++--------
 net/mac802154/monitor.c            |  59 ----------
 net/mac802154/tx.c                 |   5 +-
 20 files changed, 488 insertions(+), 431 deletions(-)
 create mode 100644 net/ieee802154/sysfs.c
 create mode 100644 net/ieee802154/sysfs.h
 create mode 100644 net/mac802154/driver-ops.h
 delete mode 100644 net/mac802154/monitor.c
Signature · 1 line
2.1.2