• Alexander Aring's avatar
    mac802154: rx: simplify crc receive handling · b7889497
    Alexander Aring authored
    This patch change the actual crc handling while receive. Currently the
    IEEE802154_HW_RX_OMIT_CKSUM flag is used to filter a frame with a bad crc.
    This patch changes the behaviour of IEEE802154_HW_RX_OMIT_CKSUM to add a
    crc while receiving for the monitor interface. After monitor receiving
    we remove the crc for frame parsing. This affect the driver layer
    because all drivers sets IEEE802154_HW_RX_OMIT_CKSUM and deliver without
    checksum.
    Signed-off-by: default avatarAlexander Aring <alex.aring@gmail.com>
    Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
    b7889497
rx.c 6.94 KB