comparison pathloss/main.c @ 68:0cfea66a15f3

pathloss: implement Egli model
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 25 Oct 2024 16:09:52 +0000
parents 599fac1b882d
children
comparison
equal deleted inserted replaced
67:d8ccdccd8b2b 68:0cfea66a15f3
272 path_loss_ul); 272 path_loss_ul);
273 /* distance per various models */ 273 /* distance per various models */
274 printf("FSL: %.2f m DL, %.2f m UL\n", 274 printf("FSL: %.2f m DL, %.2f m UL\n",
275 rf_range_freespace(freq_dl, path_loss_dl), 275 rf_range_freespace(freq_dl, path_loss_dl),
276 rf_range_freespace(freq_ul, path_loss_ul)); 276 rf_range_freespace(freq_ul, path_loss_ul));
277 /* Egli and Hata coming next */ 277 printf("Egli: %.2f m DL, %.2f m UL\n",
278 rf_range_egli(freq_dl, path_loss_dl, bts_height, ms_height),
279 rf_range_egli(freq_ul, path_loss_ul, bts_height, ms_height));
280 /* Hata model coming next */
278 exit(0); 281 exit(0);
279 } 282 }