mirror of
https://github.com/brmlab/osmo-tetra.git
synced 2025-06-09 10:24:20 +02:00
upper mac: print MLE PDU type
This commit is contained in:
parent
ec02a9f038
commit
ba1ec17db6
3 changed files with 41 additions and 2 deletions
|
@ -33,6 +33,7 @@
|
|||
#include "tetra_mm_pdu.h"
|
||||
#include "tetra_cmce_pdu.h"
|
||||
#include "tetra_sndcp_pdu.h"
|
||||
#include "tetra_mle_pdu.h"
|
||||
#include "tetra_gsmtap.h"
|
||||
|
||||
static void rx_bcast(struct tetra_tmvsap_prim *tmvp)
|
||||
|
@ -99,6 +100,9 @@ static int rx_tm_sdu(uint8_t *bits, unsigned int len)
|
|||
case TMLE_PDISC_SNDCP:
|
||||
printf(" %s", tetra_get_sndcp_pdut_name(bits_to_uint(bits+3, 4), 0));
|
||||
break;
|
||||
case TMLE_PDISC_MLE:
|
||||
printf(" %s", tetra_get_mle_pdut_name(bits_to_uint(bits+3, 3), 0));
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue