Home
last modified time | relevance | path

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

/babblesim_ext_2G4_channel_multiatt-latest/src/
Dchannel_multiatt.c235 static void process_matrix_file_line(char *buf, uint *rx, uint *tx, double *att, char **filename) { in process_matrix_file_line() argument
244 *tx = strtoul(buf, &endp, 0); in process_matrix_file_line()
286 static double calculate_att(uint tx, uint rx, bs_time_t Now) { in calculate_att() argument
287 uint index = rx * channel_status.ndevices + tx; in calculate_att()
324 uint rx, tx; in channel_init() local
332 process_matrix_file_line(line_buf, &rx, &tx, &att, &filename); in channel_init()
333 if ((rx >= n_devs) || (tx >= n_devs)) { in channel_init()
335 tx, rx, n_devs); in channel_init()
340 index = rx * n_devs + tx; in channel_init()
344 bs_trace_warning_line("Redefinition of the path (%i->%i) attenuation\n", tx, rx); in channel_init()
[all …]