1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-16 18:13:49 +01:00

drivers/netdev_ieee802154_submac: netdev_ieee802154_submac_soft_ack

This commit is contained in:
Fabian Hüßler 2025-09-07 21:25:31 +02:00
parent 4e0f52fc6e
commit 3dd00dbbfd
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
PSEUDOMODULES += netdev_ieee802154_submac_soft_ack

View File

@ -296,7 +296,7 @@ static int _recv(netdev_t *netdev, void *buf, size_t len, void *info)
netdev_rx_info->lqi = rx_info.lqi;
}
#if !IS_ACTIVE(CONFIG_IEEE802154_AUTO_ACK_DISABLE)
#if IS_USED(MODULE_NETDEV_IEEE802154_SUBMAC_SOFT_ACK)
const uint8_t *mhr = buf;
if ((mhr[0] & IEEE802154_FCF_TYPE_MASK) == IEEE802154_FCF_TYPE_DATA &&
(mhr[0] & IEEE802154_FCF_ACK_REQ)) {