Skip to content

mac: phy: change to new nl802154 cmds

Alexander Aring linux-wpan 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2phy: use NL802154_CMD_SET_WPAN_PHYsrc/phy.c+4 -40 replies
2/2mac: use NL802154_CMD_SET_INTERFACEsrc/mac.c+6 -60 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH wpan-tools 0/2] mac: phy: change to new nl802154 cmds

Hi,

this patch series contains patches to change all netlink phy and mac settings into one phy/interface command. I will applu this series mainline to wpan-tools and make a new release when the corresponding kernel nl802154 are mainline.

There is one maybe _some_ cleaner solution to make something like:

#include <linux/version.h>

#if LINUX_VERSION_CODE <= KERNEL_VERSION(foo)
...
#else
...
#endif

this would rescue newer wpan-tools with older kernels. But requires the right kernel-headers while cross-compiling and such things. I don't think that this is really necessary here now. We make a simple cut now.

- Alex

Alexander Aring (2):
phy: use NL802154_CMD_SET_WPAN_PHY
mac: use NL802154_CMD_SET_INTERFACE

 src/mac.c | 12 ++++++------
 src/phy.c |  8 ++++----
 2 files changed, 10 insertions(+), 10 deletions(-)
Signature · 1 line
2.3.3