[riot-notifications] [RIOT-OS/RIOT] sys/net/gnrc: fix in-band signaling of no RSSI (#15754)

Marian Buschsieweke notifications at github.com
Wed Jan 13 11:05:51 CET 2021


> In that case, we can simply include a (union?) that points to technology specific L2 metadata. This way we can tackle these differences

Hmm, a `union` containing multiple pointers doesn't gain that much type safety over `void *`. Also: previously the L2 metadata was allocated in the `gnrc_pkt_snip_t` containing the `netif_hdr_t`. I wonder, if we at this point might just create an additional `gnrc_pkt_snip_t` containing the metadata. What kind of metadata it contains could be encoded via the enum value in `gnrc_pkt_snip_t::type`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/15754#issuecomment-759343969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210113/5abef473/attachment.htm>


More information about the notifications mailing list