Holger Hans Peter Freyther | ba5543f | 2013-10-17 20:16:23 +0200 | [diff] [blame] | 1 | * 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 Freyther | 17b0d83 | 2013-10-19 17:37:48 +0200 | [diff] [blame] | 7 | * 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 Freyther | 111614a | 2013-10-19 20:04:57 +0200 | [diff] [blame] | 10 | * On global free/reset... also flush the timing advance.. |
Holger Hans Peter Freyther | 3dc56a3 | 2013-10-26 21:38:30 +0200 | [diff] [blame] | 11 | * tbf/llc window code appears to be duplicated and nested in other |
| 12 | methods. This needs to be cleaned. |
Holger Hans Peter Freyther | 6f791d0 | 2013-12-25 18:55:58 +0100 | [diff] [blame] | 13 | |
| 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 Freyther | a09e33c | 2014-01-16 10:11:57 +0100 | [diff] [blame] | 19 | |
| 20 | * Optimize: |
| 21 | After receiving an ACK/NACK.. schedule another one if the window |
| 22 | is kind of stalled anyway. This way we avoid resending frames that |
| 23 | might have already arrived. It could increase the throughput.. |
| 24 | |
| 25 | Do not re-transmit after we got ack/nacked and where in the resending |
| 26 | mode... and increase the window. |
| 27 | |
| 28 | <0004> tbf.cpp:907 - Sending new block at BSN 111 |
| 29 | ... |
| 30 | tbf.cpp:858 - Restarting at BSN 48, because all window is stalled. |
| 31 | ... |
| 32 | tbf.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 |
| 34 | already 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 | |
| 39 | Figure out scheduling issue. Why do we reach the 20 re-transmits and |
| 40 | stil haven't received the ACK/NACK? was it scheduled? The whole |
| 41 | scheduler could be re-worked to be more determestic.. and answer |
| 42 | questions like if it has been sent or not |