mirror of
https://github.com/brmlab/osmo-tetra.git
synced 2025-06-12 20:03:44 +02:00
Add SNDCP PDU type name printing
This commit is contained in:
parent
2bca149dca
commit
5c14298646
4 changed files with 82 additions and 1 deletions
|
@ -32,6 +32,7 @@
|
|||
#include "tetra_mle_pdu.h"
|
||||
#include "tetra_mm_pdu.h"
|
||||
#include "tetra_cmce_pdu.h"
|
||||
#include "tetra_sndcp_pdu.h"
|
||||
#include "tetra_gsmtap.h"
|
||||
|
||||
static void rx_bcast(struct tetra_tmvsap_prim *tmvp)
|
||||
|
@ -94,6 +95,9 @@ static int rx_tm_sdu(uint8_t *bits, unsigned int len)
|
|||
case TMLE_PDISC_CMCE:
|
||||
printf(" %s", tetra_get_cmce_pdut_name(bits_to_uint(bits+3, 5), 0));
|
||||
break;
|
||||
case TMLE_PDISC_SNDCP:
|
||||
printf(" %s", tetra_get_sndcp_pdut_name(bits_to_uint(bits+3, 4), 0));
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue