Skip to content

RFC ieee802154: add support for phy capabilities

Alexander Aring linux-wpan 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ieee802154: introduce wpan_phy_supported structdrivers/net/ieee802154/at86rf230.c drivers/net/ieee802154/cc2520.c drivers/net/ieee802154/fakelb.c +5 more+30 -261 reply
2/4ieee802154: move channels supported out of softmacnet/ieee802154/nl802154.c net/mac802154/cfg.c+4 -40 replies
3/4ieee802154: add several phy supported handlinginclude/net/cfg802154.h net/ieee802154/nl802154.c net/mac802154/main.c+36 -102 replies
4/4at86rf230: set cca_modes supported flagsdrivers/net/ieee802154/at86rf230.c+6 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC bluetooth-next 0/4] ieee802154: add support for phy capabilities

Hi,

this patches introduce a mechanism to get phy capabilities. We simple add some additional pib values like "channels_supported" information. These information also includes mib values which are phy dependent like frame_retries or csma_backoffs, this is necessary because the phy doing a little bit mac stuff. We simple extend the pib according these phy dependent mac values.

These capabilities are by default full 802.15.4 complaint, if some transceiver supports less functionality only then these values need to be overwritten inside the driver-layer.

Fruthermore we also add functionality to dump these values via NL802154_CMD_GET_WPAN_PHY.

- Alex

Cc Phoebe Buckheister <[email protected]>
Cc Varka Bhadram <[email protected]>

Alexander Aring (4):
ieee802154: introduce wpan_phy_supported struct
ieee802154: move channels supported out of softmac
ieee802154: add several phy supported handling
at86rf230: set cca_modes supported flags

 drivers/net/ieee802154/at86rf230.c | 14 ++++++++++----
 drivers/net/ieee802154/cc2520.c    |  2 +-
 drivers/net/ieee802154/fakelb.c    | 30 +++++++++++++++---------------
 drivers/net/ieee802154/mrf24j40.c  |  2 +-
 include/net/cfg802154.h            | 11 ++++++++++-
 net/ieee802154/nl-phy.c            |  4 ++--
 net/ieee802154/nl802154.c          | 29 ++++++++++++++++++++++-------
 net/mac802154/cfg.c                |  4 ----
 net/mac802154/main.c               | 10 ++++++++++
 9 files changed, 71 insertions(+), 35 deletions(-)
Signature · 1 line
2.3.5