Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IEEE 802.15.4/6LoWPAN support #469

Merged
merged 23 commits into from
Oct 20, 2021
Merged

Commits on Oct 20, 2021

  1. Add support for 802.15.4 and 6LoWPAN

    thvdveld authored and Dirbaio committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    3d782f1 View commit details
    Browse the repository at this point in the history
  2. Add RawHardwareAddress, use it in wire ndisc.

    This avoids wire needing to know what medium we're on.
    Dirbaio committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    68e25a2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    102db1d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4b1de11 View commit details
    Browse the repository at this point in the history
  5. 6lowpan: do not fill neighbor cache from random packets

    Equivalent of 6210612 for 6lowpan
    Dirbaio committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    cd40acb View commit details
    Browse the repository at this point in the history
  6. ieee80154: process packets without the FCS.

    We assume the FCS is checked by lower layers or by hardware.
    
    - Makes it consistent with Ethernet mediums, where we don't handle the FCS either.
    - Linux ieee802154 raw sockets send/receive packets without the FCS.
    Dirbaio committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    bdd09c4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f35e760 View commit details
    Browse the repository at this point in the history
  8. example/6lowpan: expand readme, do not use monitor interface.

    Using a raw socket on `monitor0` causes weird results: packets we receive
    include FCS, packets we send are parsed as if they didn't have FCS, except
    by wireshark which always expects a FCS??
    
    Turns out the sane way is to use raw sockets on normal `wpanX` interfaces,
    in which case all packets we send/receive are without FCS.
    Dirbaio committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    b74cd58 View commit details
    Browse the repository at this point in the history
  9. Use one PAN ID for source and destination

    Also check for the correct destination PAN id when receiving a frame (as
    discussed). Linux does this as well.
    However, hardware implementations also can drop those packets.
    thvdveld authored and Dirbaio committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    f67f024 View commit details
    Browse the repository at this point in the history
  10. Use net_debug and drop instead of todo!

    thvdveld authored and Dirbaio committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    7bad4cf View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    aed9fdb View commit details
    Browse the repository at this point in the history
  12. Set HardwareAddress behind feature flag

    When there is no medium in the feature flags, then there is no
    HardwareAddress.
    thvdveld authored and Dirbaio committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    3c49822 View commit details
    Browse the repository at this point in the history
  13. Defmt for RawHardwareAddress

    thvdveld authored and Dirbaio committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    2de8b7a View commit details
    Browse the repository at this point in the history
  14. Remove some more todos

    thvdveld authored and Dirbaio committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    954a757 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    0c39c50 View commit details
    Browse the repository at this point in the history
  16. Remove IpRepr::Sixlowpan

    thvdveld authored and Dirbaio committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    ddfd6f8 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    d8e7b7a View commit details
    Browse the repository at this point in the history
  18. ieee802154: Correct filtering of PAN id

    thvdveld authored and Dirbaio committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    0e3b668 View commit details
    Browse the repository at this point in the history
  19. ieee802154: update documentation

    thvdveld authored and Dirbaio committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    9fecf50 View commit details
    Browse the repository at this point in the history
  20. ieee802154: log when we drop a frame

    thvdveld authored and Dirbaio committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    aeca423 View commit details
    Browse the repository at this point in the history
  21. Fix some comments.

    Dirbaio committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    5e7e75a View commit details
    Browse the repository at this point in the history
  22. Add medium-ieee802154 to CI.

    Not adding to `defmt` because it doesn't build yet.
    Dirbaio committed Oct 20, 2021
    Configuration menu
    Copy the full SHA
    d5b2c75 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    bc2934d View commit details
    Browse the repository at this point in the history