diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-09-30 18:33:14 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2019-09-30 20:15:54 +0200 |
commit | 1ec211f57f5b338d192714f60a14d278bf13cb7f (patch) | |
tree | 83c8213c0c34a99e11a75fbf36adf71dac90246f /src/bts.cpp | |
parent | 1879442443395e5296bede7978dc89c7259688b3 (diff) |
Log RACH Requests using GSMTAP
Change-Id: Ib686a49e8c630808c30bede5810cd65fc045954a
Diffstat (limited to 'src/bts.cpp')
-rw-r--r-- | src/bts.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bts.cpp b/src/bts.cpp index df58494a..a9ff5536 100644 --- a/src/bts.cpp +++ b/src/bts.cpp @@ -750,6 +750,9 @@ int BTS::rcv_rach(uint16_t ra, uint32_t Fn, int16_t qta, bool is_11bit, /* Determine full frame number */ Fn = rfn_to_fn(Fn); + send_gsmtap(PCU_GSMTAP_C_UL_RACH, true, 0, ts_no, GSMTAP_CHANNEL_RACH, + Fn, (uint8_t*)&ra, is_11bit ? 2 : 1); + LOGP(DRLCMAC, LOGL_DEBUG, "MS requests UL TBF on RACH, " "so we provide one: ra=0x%02x Fn=%u qta=%d is_11bit=%d:\n", ra, Fn, qta, is_11bit); |