Home
last modified time | relevance | path

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

/babblesim_ext_2G4_channel_multiatt-3.4.0/src/
Dchannel_multiatt.c126 static uint init_distance_file(file_status_t *this_f, uint index) { in init_distance_file() argument
169 channel_status.paths_att[index] = this_f->last_att + channel_status.atxtra; in init_distance_file()
177 static double att_from_file(file_status_t *this_status, bs_time_t now, uint index) { in att_from_file() argument
215 channel_status.paths_att[index] = this_status->last_att + channel_status.atxtra; in att_from_file()
216 channel_status.path_mode[index] = CONSTANT_ATT; in att_from_file()
217 return channel_status.paths_att[index]; in att_from_file()
287 uint index = rx * channel_status.ndevices + tx; in calculate_att() local
288 if (channel_status.path_mode[index] == CONSTANT_ATT) { in calculate_att()
289 return channel_status.paths_att[index]; in calculate_att()
290 } else if (channel_status.path_mode[index] == FROM_FILE) { in calculate_att()
[all …]