commit | e25b5b91f60f20f61096bc6199a05b58ee6c6328 | [log] [tgz] |
---|---|---|
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | Thu Mar 19 14:21:33 2015 +0100 |
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | Wed Mar 25 12:34:38 2015 +0100 |
tree | 3bdb0254368f24536b6a093f25503a59d7bb934d | |
parent | 2cbe80b53e54b1ca832b2b30722ffacfa92f6117 [diff] |
tbf: Only create dummy frames if necessary Currently a lot of LLC dummy commands will be generated while waiting for an ACK for the DL TBF, even if there are blocks that could be resent instead. This patch modifies create_dl_acked_block to only call create_new_bsn() if there is unsent LLC data or m_window is empty. If the TBF is in state FLOW, no unsent LLC data is left, but there are blocks left in m_window, those are resent instead. Sponsored-by: On-Waves ehf