mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
pass up a RADIO_NOACK to the MAC layer.
This commit is contained in:
parent
8fc8dfe656
commit
a8f9119ace
@ -96,6 +96,7 @@ enum {
|
|||||||
RADIO_TX_OK,
|
RADIO_TX_OK,
|
||||||
RADIO_TX_ERR,
|
RADIO_TX_ERR,
|
||||||
RADIO_TX_COLLISION,
|
RADIO_TX_COLLISION,
|
||||||
|
RADIO_TX_NOACK,
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* __RADIO_H__ */
|
#endif /* __RADIO_H__ */
|
||||||
|
@ -171,6 +171,9 @@ send_packet(mac_callback_t sent, void *ptr)
|
|||||||
case RADIO_TX_COLLISION:
|
case RADIO_TX_COLLISION:
|
||||||
ret = MAC_TX_COLLISION;
|
ret = MAC_TX_COLLISION;
|
||||||
break;
|
break;
|
||||||
|
case RADIO_TX_NOACK:
|
||||||
|
ret = MAC_TX_NOACK;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
ret = MAC_TX_ERR;
|
ret = MAC_TX_ERR;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user