Skip to content

ieee802154: fix checksum and monitor handling

Alexander Aring linux-wpan 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest17 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17mac802154: main: remove unnecessary includenet/mac802154/main.c+0 -10 replies
2/17mac802154: remove tab after defineinclude/net/mac802154.h+8 -80 replies
3/17mac802154: add IEEE802154_HW_ARET hw flagdrivers/net/ieee802154/at86rf230.c include/net/mac802154.h+5 -20 replies
4/17mac802154: add hardware address filter flagdrivers/net/ieee802154/at86rf230.c drivers/net/ieee802154/cc2520.c drivers/net/ieee802154/mrf24j40.c +1 more+8 -30 replies
5/17mac802154: add support for promiscuous modeinclude/net/mac802154.h net/mac802154/driver-ops.h+20 -00 replies
6/17at86rf230: add support for promiscuous modedrivers/net/ieee802154/at86rf230.c+29 -10 replies
7/17mac802154: separate omit tx/rx flagsinclude/net/mac802154.h net/mac802154/rx.c net/mac802154/tx.c+10 -40 replies
8/17mac802154: rx: remove unnecessary parameternet/mac802154/rx.c+2 -20 replies
9/17mac802154: rx: simplify crc receive handlingnet/mac802154/rx.c+12 -220 replies
10/17mac802154: rx: add software checksum filtering checkinclude/net/mac802154.h net/mac802154/rx.c+15 -20 replies
11/17mac802154: rx: remove override pkt_type set to PACKET_HOSTnet/mac802154/rx.c+0 -10 replies
12/17mac802154: rx: use netif_receive_skbnet/mac802154/rx.c+1 -10 replies
13/17mac802154: rx: add rx stats incrementationnet/mac802154/rx.c+3 -00 replies
14/17mac802154: rx: monitor receive cleanupnet/mac802154/rx.c+4 -20 replies
15/17mac802154: rx: add error handling after skb_clonenet/mac802154/rx.c+6 -50 replies
16/17at86rf230: deliver with checksumdrivers/net/ieee802154/at86rf230.c+2 -20 replies
17/17mac802154: add basic support for monitornet/mac802154/ieee802154_i.h net/mac802154/iface.c+12 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH bluetooth-next 00/17] ieee802154: fix checksum and monitor handling

This patch series fix checksum and monitor handling. The checksum handling is currently a little bit weird, because all driver drops the checksum while delivering. In monitor mode we want to see the received checksum. This patch series contains various patches to fix the checksum handling and add basic support for real monitor mode with promiscuous mode setting.

The checksum handling is now in some state which should work also for monitor interfaces. There exist a better way to add runtime changeable flags to handle crc calculation via hardware or software. Also flags like if the monitor interface receiving is with or without checksum. This is only to introduce some behaviour which should working.

Alexander Aring (17):
mac802154: main: remove unnecessary include
mac802154: remove tab after define
mac802154: add IEEE802154_HW_ARET hw flag
mac802154: add hardware address filter flag
mac802154: add support for promiscuous mode
at86rf230: add support for promiscuous mode
mac802154: separate omit tx/rx flags
mac802154: rx: remove unnecessary parameter
mac802154: rx: simplify crc receive handling
mac802154: rx: add software checksum filtering check
mac802154: rx: remove override pkt_type set to PACKET_HOST
mac802154: rx: use netif_receive_skb
mac802154: rx: add rx stats incrementation
mac802154: rx: monitor receive cleanup
mac802154: rx: add error handling after skb_clone
at86rf230: deliver with checksum
mac802154: add basic support for monitor

 drivers/net/ieee802154/at86rf230.c | 35 +++++++++++++++++++--
 drivers/net/ieee802154/cc2520.c    |  3 +-
 drivers/net/ieee802154/mrf24j40.c  |  3 +-
 include/net/mac802154.h            | 40 ++++++++++++++++++------
 net/mac802154/driver-ops.h         | 13 ++++++++
 net/mac802154/ieee802154_i.h       |  1 +
 net/mac802154/iface.c              | 12 ++++++-
 net/mac802154/main.c               |  1 -
 net/mac802154/rx.c                 | 64 +++++++++++++++++++++-----------------
 net/mac802154/tx.c                 |  2 +-
 10 files changed, 127 insertions(+), 47 deletions(-)
Signature · 1 line
2.1.2