path: root/src/bts.cpp
diff options
authorMax <msuraev@sysmocom.de>2017-07-10 14:40:09 +0200
committerMax <msuraev@sysmocom.de>2017-08-14 15:19:08 +0000
commitf60cf62f4fca3ee0f3803ecc0b7e87b35d74d9f3 (patch)
treed3077982c72c0386d41bbe3fbfb350b437a4fe72 /src/bts.cpp
parenta10c39866b4b6e5515b1ceb35b15955226679eb3 (diff)
Simplify polling troubleshooting
* introduce enum describing poll kind and use it in set_polling() * move state change into set_polling() * move logging into set_polling() and unify output * move duplicated code into static function * adjust tests to match unified logging output Change-Id: I14074207f8bbc18b3ebd60875bb99a0a3a4b399d Related: OS#1524
Diffstat (limited to 'src/bts.cpp')
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bts.cpp b/src/bts.cpp
index 0f67536..add6ab3 100644
--- a/src/bts.cpp
+++ b/src/bts.cpp
@@ -1381,7 +1381,9 @@ void gprs_rlcmac_pdch::rcv_resource_request(Packet_Resource_Request_t *request,
/* set control ts to current MS's TS, until assignment complete */
- LOGP(DRLCMAC, LOGL_DEBUG, "Change control TS to %d until assinment is complete.\n", ts_no);
+ LOGP(DRLCMAC, LOGL_DEBUG, "%s change control TS %d -> %d until assinment is complete.\n",
+ tbf_name(ul_tbf), ul_tbf->control_ts, ts_no);
ul_tbf->control_ts = ts_no;
/* schedule uplink assignment */
ul_tbf->ul_ass_state = GPRS_RLCMAC_UL_ASS_SEND_ASS;