[riot-notifications] [RIOT-OS/RIOT] drivers/cc110x: Complete rewrite from scratch (#10340)

Marian Buschsieweke notifications at github.com
Fri Feb 8 17:18:33 CET 2019

@PeterKietzmann: You'll need to disable header compression in order to get fragmentation working:

diff --git a/sys/net/gnrc/netif/gnrc_netif_device_type.c b/sys/net/gnrc/netif/gnrc_netif_device_type.c
index 1ad0176d8..0b0128770 100644
--- a/sys/net/gnrc/netif/gnrc_netif_device_type.c
+++ b/sys/net/gnrc/netif/gnrc_netif_device_type.c
@@ -143,12 +143,12 @@ void gnrc_netif_ipv6_init_mtu(gnrc_netif_t *netif)
     defined(MODULE_GNRC_SIXLOENC) || defined(MODULE_CC110X)
         case NETDEV_TYPE_IEEE802154:
         case NETDEV_TYPE_NRFMIN:
-        case NETDEV_TYPE_CC110X:
             netif->flags |= GNRC_NETIF_FLAGS_6LO_HC;
             /* intentionally falls through */
         case NETDEV_TYPE_ESP_NOW:
+        case NETDEV_TYPE_CC110X:
             res = dev->driver->get(dev, NETOPT_MAX_PACKET_SIZE,
                                    &tmp, sizeof(tmp));
             assert(res == sizeof(tmp));

Do you have an 802.15.4 device at hand and could test if fragmentation works there (without disabling header compression)?

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190208/51c8eb81/attachment.html>

More information about the notifications mailing list