Skip to content

Commit

Permalink
MAC: Use minimum CSMA for Asynch
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarkko Paso committed Apr 8, 2019
1 parent 47f65aa commit aab7191
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source/MAC/IEEE802_15_4/mac_pd_sap.c
Expand Up @@ -83,6 +83,10 @@ void mac_csma_backoff_start(protocol_interface_rf_mac_setup_s *rf_mac_setup)

uint32_t mac_csma_backoff_get(protocol_interface_rf_mac_setup_s *rf_mac_setup)
{
// Use minimum allowed CSMA-CA for asynch frames
if (rf_mac_setup->active_pd_data_request->asynch_request) {
return MIN_FHSS_CSMA_PERIOD_US;
}
uint8_t backoff = mac_csma_random_backoff_get(rf_mac_setup);
uint32_t backoff_in_us;
//Multiple aUnitBackoffPeriod symbol time
Expand Down

0 comments on commit aab7191

Please sign in to comment.