ieee802154: fix checksum and monitor handling
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest17 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/17 | mac802154: main: remove unnecessary includenet/ | +0 | 0 replies | |
| 2/17 | mac802154: remove tab after defineinclude/ | +8 | 0 replies | |
| 3/17 | mac802154: add IEEE802154_HW_ARET hw flagdrivers/ include/ | +5 | 0 replies | |
| 4/17 | mac802154: add hardware address filter flagdrivers/ drivers/ drivers/ +1 more | +8 | 0 replies | |
| 5/17 | mac802154: add support for promiscuous modeinclude/ net/ | +20 | 0 replies | |
| 6/17 | at86rf230: add support for promiscuous modedrivers/ | +29 | 0 replies | |
| 7/17 | mac802154: separate omit tx/rx flagsinclude/ net/ net/ | +10 | 0 replies | |
| 8/17 | mac802154: rx: remove unnecessary parameternet/ | +2 | 0 replies | |
| 9/17 | mac802154: rx: simplify crc receive handlingnet/ | +12 | 0 replies | |
| 10/17 | mac802154: rx: add software checksum filtering checkinclude/ net/ | +15 | 0 replies | |
| 11/17 | mac802154: rx: remove override pkt_type set to PACKET_HOSTnet/ | +0 | 0 replies | |
| 12/17 | mac802154: rx: use netif_receive_skbnet/ | +1 | 0 replies | |
| 13/17 | mac802154: rx: add rx stats incrementationnet/ | +3 | 0 replies | |
| 14/17 | mac802154: rx: monitor receive cleanupnet/ | +4 | 0 replies | |
| 15/17 | mac802154: rx: add error handling after skb_clonenet/ | +6 | 0 replies | |
| 16/17 | at86rf230: deliver with checksumdrivers/ | +2 | 0 replies | |
| 17/17 | mac802154: add basic support for monitornet/ net/ | +12 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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