Searched refs:args (Results 1 – 3 of 3) sorted by relevance
/babblesim_ext_2G4_channel_multiatt-latest/src/ |
D | channel_multiatt_args.c | 39 void channel_multiatt_argparse(int argc, char *argv[], ch_multiatt_args_t *args) { in channel_multiatt_argparse() argument 40 args_g = args; in channel_multiatt_argparse() 43 …{ false, false, false, "at" ,"att", 'f', (void*)&args->att, cmd_att_found, "defa… in channel_multiatt_argparse() 44 …{ false, false, false, "atextra","atextra", 'f', (void*)&args->attextra, cmd_attextra_found, "Extr… in channel_multiatt_argparse() 45 …{ false, false, false, "file","att_matrix_file", 's',(void*)&args->matrix_file_name, NULL, "File… in channel_multiatt_argparse() 49 args->att = 60; in channel_multiatt_argparse() 50 args->attextra = 0; in channel_multiatt_argparse() 51 args->matrix_file_name = NULL; in channel_multiatt_argparse()
|
D | channel_multiatt_args.h | 19 void channel_multiatt_argparse(int argc, char *argv[], ch_multiatt_args_t *args);
|
D | channel_multiatt.c | 15 static ch_multiatt_args_t args; variable 304 channel_multiatt_argparse(argc, argv, &args); in channel_init() 307 channel_status.attenuation = args.att; in channel_init() 308 channel_status.atxtra = args.attextra; in channel_init() 309 channel_status.matrix_file_name = args.matrix_file_name; in channel_init() 315 if (args.matrix_file_name != NULL) { in channel_init() 321 matrix_file = bs_fopen(args.matrix_file_name, "r"); in channel_init() 367 if (args.matrix_file_name != NULL) { in channel_init()
|