improved bw parsing and simple network function queuing

This commit is contained in:
Russel Yasol
2024-05-09 19:06:00 +08:00
parent 41b6caf5db
commit bf156b9181
2 changed files with 95 additions and 176 deletions

View File

@@ -715,7 +715,7 @@
// Calculate the NR bandwidth
this.bandwidth =
this.calculate_nr_bw(nr_bw).toString() + " MHz";
"NR " + this.calculate_nr_bw(nr_bw).toString() + " MHz";
// Parse the PCIs
this.pcc_pci = lines[27].split(",")[7].replace(/"/g, "");
@@ -789,9 +789,9 @@
// Calculate the LTE bandwidth
this.bandwidth =
this.calculate_lte_bw(lte_bw_ul) +
"UL " + this.calculate_lte_bw(lte_bw_ul) +
" MHz / " +
this.calculate_lte_bw(lte_bw_dl) +
"DL " + this.calculate_lte_bw(lte_bw_dl) +
" MHz";
// Get the Cell ID
@@ -871,8 +871,8 @@
// Calculate the LTE bandwidth
this.bandwidth =
this.calculate_lte_bw(lte_bw_ul) +
" MHz / " +
this.calculate_lte_bw(lte_bw_dl) +
" MHz, " +
"NR " + this.calculate_lte_bw(lte_bw_dl) +
" MHz";
// Get the RSSI