aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2024-02-07 03:06:07 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2024-02-09 05:17:40 +0100
commit6aeb9f2b29b59b8d09955d9b4aa7ffb5151f33fb (patch)
tree9056acdf37c646f3188803906623c340bc178527
parente8bd17a642015b5a44a68818ea70bb207a881b86 (diff)
dbg log
-rw-r--r--tests/msc_vlr/msc_vlr_test_call.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/msc_vlr/msc_vlr_test_call.c b/tests/msc_vlr/msc_vlr_test_call.c
index 01254a1a0..42d1a4f4b 100644
--- a/tests/msc_vlr/msc_vlr_test_call.c
+++ b/tests/msc_vlr/msc_vlr_test_call.c
@@ -1477,14 +1477,19 @@ static const char *bcap_hexstr(const enum gsm48_bcap_speech_ver ms_bcap[])
.transfer = GSM_MNCC_BCAP_SPEECH,
.speech_ver = { -1 },
};
+ LOGP(DLGLOBAL, LOGL_ERROR, "bcap_hexstr():\n");
const enum gsm48_bcap_speech_ver *pos;
- for (pos = ms_bcap; *pos != LIST_END; pos++)
+ for (pos = ms_bcap; *pos != LIST_END; pos++) {
+ LOGP(DLGLOBAL, LOGL_ERROR, " - %d\n", *pos);
bearer_cap_add_speech_ver(&bcap, *pos);
+ }
bearer_cap_set_radio(&bcap);
struct msgb *msg = msgb_alloc(128, "bcap");
gsm48_encode_bearer_cap(msg, 0, &bcap);
char *ret = osmo_hexdump_nospc(msg->data, msg->len);
msgb_free(msg);
+
+ LOGP(DLGLOBAL, LOGL_ERROR, " --> %s\n", ret);
return ret;
}