aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcu_main.cpp
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2012-07-13 14:50:57 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2012-07-13 14:50:57 +0200
commitf298fa87b948b03ed71bc8538c14778b680612dc (patch)
tree707e86a92d2288f38f56386cf9836b054bcf45b2 /src/pcu_main.cpp
parentb0c7ea72c8157f1b8124bbe105aa05c46a77a005 (diff)
multislot: Extracted "slot allocation algorithm" from tbf allocator
The current available algorithm only supports selecting a single slot for downlink/uplink. (In the future, a multislot algorithm will follow.)
Diffstat (limited to 'src/pcu_main.cpp')
-rw-r--r--src/pcu_main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pcu_main.cpp b/src/pcu_main.cpp
index 2c6d7638..9fd04559 100644
--- a/src/pcu_main.cpp
+++ b/src/pcu_main.cpp
@@ -183,6 +183,9 @@ int main(int argc, char *argv[])
exit(1);
}
+ if (!bts->alloc_algorithm)
+ bts->alloc_algorithm = alloc_algorithm_a;
+
rc = pcu_l1if_open();
if (rc < 0)