blob: a449398cc90c96a7117cc4490f94444e401311a6 [file] [log] [blame]
Holger Hans Peter Freytherba5543f2013-10-17 20:16:23 +02001* Make the TBF ul/dl list per BTS
2* Make the SBA per BTS
3* Make the tbf point to the BTS so we can kill plenty of parameters
4* Group more into in classes.. remove bts pointers.
5* Change functions with 100 parameters to get a struct as param
6* Move move into the TBF class
Holger Hans Peter Freyther17b0d832013-10-19 17:37:48 +02007* Replace trx/ts with pointers. E.g. a PDCH should know the trx
8 it is on... then we can omit trx, ts and parameters and just pass
9 the pdch.
Holger Hans Peter Freyther111614a2013-10-19 20:04:57 +020010* On global free/reset... also flush the timing advance..
Holger Hans Peter Freyther3dc56a32013-10-26 21:38:30 +020011* tbf/llc window code appears to be duplicated and nested in other
12 methods. This needs to be cleaned.
Holger Hans Peter Freyther6f791d02013-12-25 18:55:58 +010013
14
15* Possible race condition:
16 When scheduling a Downlink Assignment on the UL-TBF we need to make
17 sure that the assignment is sent _before_ the final ack. With my fairness
18 changes it gets more likely that this event is trigerred.
Holger Hans Peter Freythera09e33c2014-01-16 10:11:57 +010019
20* Optimize:
21After receiving an ACK/NACK.. schedule another one if the window
22is kind of stalled anyway. This way we avoid resending frames that
23might have already arrived. It could increase the throughput..
24
25Do not re-transmit after we got ack/nacked and where in the resending
26mode... and increase the window.
27
28<0004> tbf.cpp:907 - Sending new block at BSN 111
29...
30tbf.cpp:858 - Restarting at BSN 48, because all window is stalled.
31...
32tbf.cpp:1383 - V(B): (V(A)=59)"NNAAAAAAANAAAAANNAAAAAAAAAAAAAAAAAAAXXXXXXXXXXXXXXXXX"(V(S)-1=111) A=Acked N=Nacked U=Unacked X=Resend-Unacked I=Invalid
33.. retransmitting the nacked.. and then the ones that migh have
34already arrived
35<0004> tbf.cpp:834 TBF(TFI=0 TLLI=0xd7b78810 DIR=DL) downlink (V(A)==59 .. V(S)==112)
36<0004> tbf.cpp:840 - Resending BSN 111
37
38
39Figure out scheduling issue. Why do we reach the 20 re-transmits and
40stil haven't received the ACK/NACK? was it scheduled? The whole
41scheduler could be re-worked to be more determestic.. and answer
42questions like if it has been sent or not