diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-03-20 13:57:27 +0100 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-03-20 14:12:28 +0100 |
commit | 612e93e36031ab2d50dd66d148f289b2e3580850 (patch) | |
tree | 7c9bc037b82e7f15963f1e4ac76252feeb647c17 /src/tbf.h | |
parent | 39645b824a08b355fa48361491d5a1c3e9e6bd4d (diff) |
llc: Add put_dummy_frame to create an LLC dummy command
The LLC dummy command is needed for RLC block stuffing, e.g. when a
TBF should be kept open if no LLC data is available. The RLC block
headers do not support stuffing, only the last block of a TBF can be
used partially. LLC dummy commands are discarded by the receiver
immediately, because the have an invalid FCS checksum.
This commit adds the function put_dummy_frame, which puts a LLC dummy
command into the frame buffer. The requested length is given as an
argument, but the real length might be adjusted according to the
specification (see GSM 44.064, 6.4.2.2).
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/tbf.h')
0 files changed, 0 insertions, 0 deletions