[riot-notifications] [RIOT-OS/RIOT] net/ieee802154/submac: calculate aUnitbackoffPeriod at runtime (#16475)

Jean Pierre Dudey notifications at github.com
Wed May 19 09:10:00 CEST 2021

@jeandudey commented on this pull request.

> @@ -56,7 +83,7 @@ static int _perform_csma_ca(ieee802154_submac_t *submac)
         ieee802154_radio_request_set_trx_state(dev, IEEE802154_TRX_STATE_TX_ON);
         /* delay for an adequate random backoff period */
         uint32_t bp = (random_uint32() & submac->backoff_mask) *
-                      CSMA_SENDER_BACKOFF_PERIOD_UNIT_MS;
+                      ieee802154_get_unit_backoff_period(submac);

Added it on https://github.com/RIOT-OS/RIOT/pull/16475/commits/031c1bb2611d547ad48a29103994f4429eeca5fd

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210519/8d4918fa/attachment.htm>

More information about the notifications mailing list