<h3>Contribution description</h3>
<p>This way we can re-use the flag e.g. for forwarding.</p>

<h3>Testing procedure</h3>
<p>Sending broadcast 6LoWPAN packets should still work as before. Fragmented packets should have for the first n-1 fragments the <code>GNRC_NETIF_HDR_FLAGS_MORE_DATA</code> set. I checked the latter with the following patch:</p>
<div class="highlight highlight-source-diff"><pre><span class="pl-c1">diff --git a/sys/net/gnrc/netif/ieee802154/gnrc_netif_ieee802154.c b/sys/net/gnrc/netif/ieee802154/gnrc_netif_ieee802154.c</span>
index 258237c58..01e758748 100644
<span class="pl-md">--- a/sys/net/gnrc/netif/ieee802154/gnrc_netif_ieee802154.c</span>
<span class="pl-mi1">+++ b/sys/net/gnrc/netif/ieee802154/gnrc_netif_ieee802154.c</span>
<span class="pl-mdr">@@ -73,6 +73,7 @@</span> static gnrc_pktsnip_t *_make_netif_hdr(uint8_t *mhr)
     }
     /* set flags for pending frames */
     if (mhr[0] & IEEE802154_FCF_FRAME_PEND) {
<span class="pl-mi1"><span class="pl-mi1">+</span>        puts("Set more data flag");</span>
         hdr->flags |= GNRC_NETIF_HDR_FLAGS_MORE_DATA;
     }
     return snip;</pre></div>

<h3>Issues/PRs references</h3>
<p>None</p>


<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/RIOT-OS/RIOT/pull/11023'>https://github.com/RIOT-OS/RIOT/pull/11023</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>gnrc_netif_ieee802154: propagate pend. frame flag to stack</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11023/files#diff-0">sys/net/gnrc/netif/ieee802154/gnrc_netif_ieee802154.c</a>
    (7)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/11023.patch'>https://github.com/RIOT-OS/RIOT/pull/11023.patch</a></li>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/11023.diff'>https://github.com/RIOT-OS/RIOT/pull/11023.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/11023">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AEn7YAQCGq5K2MClaIQOno8BrFknzVM5ks5vNruSgaJpZM4a9sfi">mute the thread</a>.<img src="https://github.com/notifications/beacon/AEn7YADFduYIZzAXqZtYPd0cfJdla6w6ks5vNruSgaJpZM4a9sfi.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/RIOT-OS/RIOT","title":"RIOT-OS/RIOT","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/RIOT-OS/RIOT"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"gnrc_netif_ieee802154: propagate pend. frame flag to stack (#11023)"}],"action":{"name":"View Pull Request","url":"https://github.com/RIOT-OS/RIOT/pull/11023"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/11023",
"url": "https://github.com/RIOT-OS/RIOT/pull/11023",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>