diff 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
line wrap: on
line diff
--- a/pathloss/main.c	Fri Oct 25 08:13:18 2024 +0000
+++ b/pathloss/main.c	Fri Oct 25 16:09:52 2024 +0000
@@ -274,6 +274,9 @@
 	printf("FSL: %.2f m DL, %.2f m UL\n",
 		rf_range_freespace(freq_dl, path_loss_dl),
 		rf_range_freespace(freq_ul, path_loss_ul));
-	/* Egli and Hata coming next */
+	printf("Egli: %.2f m DL, %.2f m UL\n",
+		rf_range_egli(freq_dl, path_loss_dl, bts_height, ms_height),
+		rf_range_egli(freq_ul, path_loss_ul, bts_height, ms_height));
+	/* Hata model coming next */
 	exit(0);
 }