Holger Hans Peter Freyther
11a748935e
alloc: Remove the unimplemented/unfinished time constraint code
...
The algorithm is already complex enough. No reason to further
introduce the complexity with the branches it has.
2013-10-30 14:45:57 +01:00
Holger Hans Peter Freyther
8481a0553d
alloc: Remove code duplication for downlink assignment
...
There was no difference but there is no point in poking in the
internals of the tbf, pdch and trx from various places. Information
hiding has a real purpose, e.g. compare with reading "the mythical
man month".
2013-10-30 14:45:57 +01:00
Holger Hans Peter Freyther
743bafa50c
alloc: Introduce a backpointer from the tbf to the trx and simplify code
...
Kill all the level of indirections where one needs to have the BTS
the TBF to find the TRX.
2013-10-30 14:45:57 +01:00
Holger Hans Peter Freyther
96efa70a9e
alloc: Call it trx_no and not trx as it is not trx object
2013-10-30 14:45:57 +01:00
Holger Hans Peter Freyther
02ab4a8803
alloc: Move the two timeslot alloc algorithms to a dedicated file
2013-10-30 14:45:57 +01:00