nrfxlib API 0.1.0
|
int nrf_modem_dect_phy_tx_harq | ( | const struct nrf_modem_dect_phy_tx_params * | params | ) |
#include <nrf_modem/include/nrf_modem_dect_phy.h>
Schedule a HARQ response TX operation.
A HARQ response TX can be scheduled as a response to a PCC callback or PCC CRC failure callback.
Scheduling a HARQ response is time critical and therefore scheduling should be done directly from the PCC callback. The MAC should have prepared data towards possible HARQ recipients in advance so that it can directly call this function without further delays.
This function should only be used to send a Physical Layer Control Field: Type 2 packet with Feedback info format 1 in response to a PCC notification for an ongoing RX so that the receiver identity of the packet being transmitted matches the transmitter identity of the packet being received. In that case modem will inject ACK or NACK feedback into the Transmission feedback field based on the PDC reception result once the reception is complete.
When the operation has completed, either successfully or unsuccessfully, the result is sent to the nrf_modem_dect_phy_callbacks::op_complete callback, with a handle
parameter equal to the handle
specified in params
.
[in] | params | Operation parameters. |
0 | Request was sent to modem. |
-NRF_EPERM | The Modem library is not initialized. |
-NRF_EFAULT | Callback configuration is invalid, or params is NULL . |
-NRF_ENOMEM | Not enough shared memory for this request. |