diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-12-14 13:23:15 +0100 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-12-16 19:37:49 +0100 |
commit | e8f5fe52554895661f7dafedb96c4c68b0ca9bda (patch) | |
tree | addd3f0b41b8a0a3a35d2e6c466692edef32916d /src/tbf.h | |
parent | ce1beb423cddfddebeb2ebacb60eb10506eeff71 (diff) |
tbf: Refactor parts of extract_tlli into set_tlli_from_ul
Currently gprs_rlcmac_tbf::extract_tlli takes care of decoding and
the TBF update. These are really different things and doing the
decoding in extract_tlli makes EGPRS support more complex.
This commit moves the TBF state related part into a new method
gprs_rlcmac_tbf::set_tlli_from_ul.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/tbf.h')
-rw-r--r-- | src/tbf.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -239,6 +239,7 @@ protected: gprs_rlcmac_bts *bts_data() const; int extract_tlli(const uint8_t *data, const size_t len); + int set_tlli_from_ul(uint32_t new_tlli); void merge_and_clear_ms(GprsMs *old_ms); static const char *tbf_state_name[6]; |