mirror of
https://github.com/brmlab/osmo-tetra.git
synced 2025-06-09 10:24:20 +02:00
add decode of CMCE PDU type
This commit is contained in:
parent
f91f994300
commit
c3ba1f39df
4 changed files with 122 additions and 1 deletions
|
@ -31,6 +31,7 @@
|
|||
#include "tetra_mac_pdu.h"
|
||||
#include "tetra_mle_pdu.h"
|
||||
#include "tetra_mm_pdu.h"
|
||||
#include "tetra_cmce_pdu.h"
|
||||
#include "tetra_gsmtap.h"
|
||||
|
||||
static void rx_bcast(struct tetra_tmvsap_prim *tmvp)
|
||||
|
@ -90,6 +91,9 @@ static int rx_tm_sdu(uint8_t *bits, unsigned int len)
|
|||
case TMLE_PDISC_MM:
|
||||
printf(" %s", tetra_get_mm_pdut_name(bits_to_uint(bits+3, 4), 0));
|
||||
break;
|
||||
case TMLE_PDISC_CMCE:
|
||||
printf(" %s", tetra_get_cmce_pdut_name(bits_to_uint(bits+3, 5), 0));
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue