RADIO: Fix in Tx packet end time

It was reported to the Phy 1us later than it should

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2024-02-22 17:34:57 +01:00
parent d6ebdd9d7f
commit f3823e5bdb
1 changed files with 1 additions and 1 deletions

View File

@ -332,7 +332,7 @@ void nhwra_prep_tx_request(p2G4_txv2_t *tx_req, uint packet_size, bs_time_t pack
bs_time_t tx_start_time = nsi_hws_get_time();
tx_req->start_tx_time = hwll_phy_time_from_dev(tx_start_time);
tx_req->start_packet_time = tx_req->start_tx_time ;
tx_req->end_tx_time = tx_req->start_tx_time + packet_duration;
tx_req->end_tx_time = tx_req->start_tx_time + packet_duration - 1;
tx_req->end_packet_time = tx_req->end_tx_time;
}
tx_req->coding_rate = 0;