5aeb15469a
The `xxx_ipv6multicast` function in each driver is not adapted to multiple IPv6 addresses yet, and they're redundant, so try to take them into common code. Change: 1. Add MAC `g_ipv6_ethallnodes` and `g_ipv6_ethallrouters` in `icmpv6_devinit` and call them in `netdev_register` 2. Add multicast MAC for Neighbor Solicitation when adding any IPv6 address, and remove them when IPv6 address is removed 3. Select `NET_MCASTGROUP` when `NET_ICMPv6` because now we need `d_addmac` when we have ICMPv6 Note: We want modules outside net stack to call functions like `netdev_ipv6_add` and never touch the related MAC address, so these MAC functions are added as internal functions to `net/netdev/netdev.h` Signed-off-by: Zhe Weng <wengzhe@xiaomi.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Make.defs | ||
README.txt | ||
ieee802154_primitive.c | ||
mac802154.c | ||
mac802154.h | ||
mac802154_assoc.c | ||
mac802154_assoc.h | ||
mac802154_bind.c | ||
mac802154_data.c | ||
mac802154_data.h | ||
mac802154_device.c | ||
mac802154_disassoc.c | ||
mac802154_get_mhrlen.c | ||
mac802154_getset.c | ||
mac802154_gts.c | ||
mac802154_internal.h | ||
mac802154_ioctl.c | ||
mac802154_loopback.c | ||
mac802154_netdev.c | ||
mac802154_orphan.c | ||
mac802154_poll.c | ||
mac802154_poll.h | ||
mac802154_purge.c | ||
mac802154_reset.c | ||
mac802154_rxenable.c | ||
mac802154_scan.c | ||
mac802154_scan.h | ||
mac802154_start.c | ||
mac802154_sync.c |
README.txt
This will eventually hold some general documentation for the IEEE 802.15.4 MAC implementation. NOTE: Throughout the code, excerpts from the standard are quoted as to make the code thoroughly readable. I have tried, to always put a reference [1] and page number. Below is the references that correspond with the reference number [1]