#include <nrf_802154/common/include/nrf_802154.h>
Notifies the driver that the buffer containing the received frame is not used anymore.
- Note
- The buffer pointed to by
p_data
may be modified by this function.
-
This function can be safely called from any context. If the driver is busy processing a request called from a context with lower priority, this function returns false and the caller should free the buffer later.
-
This function is available if NRF_802154_USE_RAW_API is enabled.
- Parameters
-
[in] | p_data | Pointer to the buffer containing the received data that is no longer needed by the higher layer. |
- Return values
-
true | Buffer was freed successfully. |
false | Buffer cannot be freed right now due to ongoing operation. |