Skip to content

ieee802154: hwsim: add hwsim driver

Alexander Aring linux-wpan 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v1 RFC2 patches 8 repliesSuperseded

since v2 from the cover letter

- don't remember anymore exactly...
- move some prototyes at beginning of the file
- tried to change to GPLv2 only but it's not possible, reverted it
- add newline
- remove module parameter and add a hardcoded 2 instead

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ieee802154: hwsim: add replacement for fakelbdrivers/net/ieee802154/Kconfig drivers/net/ieee802154/Makefile drivers/net/ieee802154/mac802154_hwsim.c +1 more+1004 -01 reply
2/2ieee802154: fakelb: add deprecated msg while probedrivers/net/ieee802154/fakelb.c+3 -01 reply

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCHv2 wpan-next 0/2] ieee802154: hwsim: add hwsim driver

Hi,

This patch series introduce a new virtual ieee802154 driver mac802154_hwsim. The mac802154_hwsim driver offers more flexibility to change topology so we can use it to test 6LoWPAN routing protocols e.g. RPL.

This driver cleaned up and prepared for mainline now. I showed basic mechanism in my netdev 2.1 talk [0].

- Alex

[0] https://www.youtube.com/watch?v=iMYCaqHVmS0

since v2:
- don't remember anymore exactly...
- move some prototyes at beginning of the file
- tried to change to GPLv2 only but it's not possible, reverted it
- add newline
- remove module parameter and add a hardcoded 2 instead

Currently sitting at the IETF hackathon to work on it, they have a lot of coke here and the food smells good as well. Not sure if they will throw me out - I am not registered.

Alexander Aring (2):
ieee802154: hwsim: add replacement for fakelb
ieee802154: fakelb: add deprecated msg while probe

 drivers/net/ieee802154/Kconfig           |  11 +
 drivers/net/ieee802154/Makefile          |   1 +
 drivers/net/ieee802154/fakelb.c          |   3 +
 drivers/net/ieee802154/mac802154_hwsim.c | 919 +++++++++++++++++++++++++++++++
 drivers/net/ieee802154/mac802154_hwsim.h |  73 +++
 5 files changed, 1007 insertions(+)
 create mode 100644 drivers/net/ieee802154/mac802154_hwsim.c
 create mode 100644 drivers/net/ieee802154/mac802154_hwsim.h
Signature · 1 line
2.11.0