diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-06-08 11:26:38 +0200 |
---|---|---|
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2015-06-22 10:39:06 +0200 |
commit | e4bcb62dbf89bf882805e3824251a3013f3eecd7 (patch) | |
tree | 0156c0493db4141a6fb44da8918de59fe6452579 /src/tbf_ul.cpp | |
parent | 20f6fd1b63355b9a3ab1423cb24b73ca27f57243 (diff) |
ms: Store the L1 measurement values in the MS objects
This commits adds the GprsMs::update_l1_meas() and GprsMs::l1_meas()
methods to store and access the measurement values. The internal
state is updated depending on which values are actually set.
In addition, these values are shown in the output of the 'show ms
imsi|tlli' command.
Sponsored-by: On-Waves ehf
Diffstat (limited to 'src/tbf_ul.cpp')
-rw-r--r-- | src/tbf_ul.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tbf_ul.cpp b/src/tbf_ul.cpp index b9ea6599..a79657d7 100644 --- a/src/tbf_ul.cpp +++ b/src/tbf_ul.cpp @@ -281,6 +281,10 @@ int gprs_rlcmac_ul_tbf::rcv_data_block_acknowledged(const uint8_t *data, /* process RSSI */ gprs_rlcmac_rssi(this, rssi); + /* store measurement values */ + if (ms()) + ms()->update_l1_meas(meas); + /* get TLLI */ if (!this->is_tlli_valid()) { if (!extract_tlli(data, len)) |