Home
last modified time | relevance | path

Searched refs:tx_list (Results 1 – 5 of 5) sorted by relevance

/babblesim_ext_2G4_phy_v1-latest/src/
Dp2G4_pending_tx_list.c14 static tx_el_t *tx_list = NULL; variable
20 tx_l_c.tx_list = bs_calloc(n_devs, sizeof(tx_el_t)); in txl_create()
23 tx_list = tx_l_c.tx_list; in txl_create()
29 if ( tx_l_c.tx_list != NULL ) { in txl_free()
31 if ( tx_list[d].packet != NULL ) { in txl_free()
32 free(tx_list[d].packet); in txl_free()
35 free(tx_l_c.tx_list); in txl_free()
46 memcpy(&(tx_list[d].tx_s), tx_s, sizeof(p2G4_txv2_t) ); in txl_register()
47 tx_list[d].packet = packet; in txl_register()
81 if (tx_list[d].packet != NULL) { in txl_clear()
[all …]
Dchannel_if.h55 int channel_calc(const uint *tx_used, tx_el_t *tx_list, uint txnbr, uint rxnbr, bs_time_t now, doub…
Dp2G4_main.c45 tx_el = &tx_l_c.tx_list[d]; in f_tx_end()
211 tx_s = &tx_l_c.tx_list[d].tx_s; in f_tx_start()
228 tx_s = &tx_l_c.tx_list[d].tx_s; in f_tx_abort_reeval()
238 tx_s = &tx_l_c.tx_list[d].tx_s; in f_tx_packet_start()
246 tx_s = &tx_l_c.tx_list[d].tx_s; in f_tx_packet_end()
294 tx_and_rx_match(&tx_l_c.tx_list[i].tx_s, rx_s) ) in find_fitting_tx()
330 …} else if (current_time > tx_l_c.tx_list[rx_status->tx_nbr].tx_s.start_packet_time + rx_status->rx… in prelock_check()
336 tx_l_c.tx_list[rx_status->tx_nbr].tx_s.start_packet_time, in prelock_check()
445 p2G4_txv2_t *tx_s = &tx_l_c.tx_list[tx_d].tx_s; in f_rx_found()
476 || (tx_l_c.tx_list[tx_nbr].tx_s.coding_rate != rx_st->rx_s.coding_rate)) { in rx_bit_error_calc()
[all …]
Dp2G4_pending_tx_rx_list.h37 tx_el_t *tx_list; //Array of transmission parameters with one element per device member
Dp2G4_channel_and_modem.c49 typedef int (*cha_calc_f)(const uint *tx_used, tx_el_t *tx_list, uint txnbr, uint rxnbr, bs_time_t…
229 …channel_calc(tx_l->used, tx_l->tx_list, tx_nbr, rx_nbr, current_time, rec_s->att, &rec_s->SNR_ISI); in CalculateRxPowerAndISI()
233 …rec_s->rx_pow[i] = p2G4_power_to_d(tx_l->tx_list[i].tx_s.power_level) - rec_s->att[i] + p2G4_power… in CalculateRxPowerAndISI()
300 …c[rx_nbr](modem_o[rx_nbr], &rx_st->rx_modem_params, rec_s->SNR_total, &tx_l->tx_list[tx_nbr].tx_s); in chm_is_packet_synched()