Commit Graph

36 Commits

Author SHA1 Message Date
sq5bpf 6d38669f05 fix D-SETUP parser 2016-12-18 14:52:53 +01:00
sq5bpf 6b53e4d928 add flag to allow parsing of some encrypted packets 2016-12-18 14:52:53 +01:00
sq5bpf d47e411f5a initial fragment reassembly work, not yet complete 2016-12-18 14:52:53 +01:00
sq5bpf 56b8e44324 add parser for D-TX GRANTED and D-CONNECT, and various other stuff 2016-12-18 14:52:52 +01:00
sq5bpf 6733e6c6ed move add sds parsing to tetra_sds.c 2016-12-18 14:52:52 +01:00
sq5bpf b547d72863 don't trust the SDS length value 2016-12-18 14:52:52 +01:00
sq5bpf 6edf91fe5e extract more frequency information 2016-12-18 14:46:25 +01:00
sq5bpf 640a484f03 d-nwrk-broadcast parsing 2016-12-18 14:46:25 +01:00
sq5bpf 27feaeb6c4 support SDS-TL, and improve D-RELEASE parsing 2016-12-18 14:46:25 +01:00
sq5bpf 6c7d25d02d expose call identifier to telive 2016-12-18 14:46:25 +01:00
sq5bpf fb7648a46e added simple location system, including some proprietary system used in Spain 2016-12-18 14:46:25 +01:00
sq5bpf 8acfc998f0 add some preliminary LIP and Location system support 2016-12-18 14:46:24 +01:00
sq5bpf 3985eb7e41 show LA parameter 2016-12-18 14:46:24 +01:00
sq5bpf 593b9821e1 fix sds crash 2016-12-18 14:46:24 +01:00
sq5bpf 6587739eb0 pushed correct tetra_upper_mac.c version 2016-12-18 14:46:24 +01:00
luckyhacky 6dcdb89454 set hyperframe number in struct tdma_time 2015-08-21 01:46:50 +02:00
Frank A. Stevenson 6430bdeb5f fix some global ugliness
This removes a static global variable which will only work if you only
have once instance of the tetra receiver.
2012-12-01 14:48:52 +01:00
Harald Welte 5868bbf87f save state if traffic or non-traffic burst at AACH time
the later code processing the SB/NB can then refer to that state.
2011-05-28 20:10:56 +02:00
Harald Welte ee7a645ca4 Add LLC defragmentation + SDNCP output via tun device
this allows us to look at IP messages contained in SNDCP
2011-05-27 09:37:06 +02:00
Harald Welte 0ad20fd762 create 'struct tetra_mac_state' in main and pass through all layers/SAPs 2011-05-27 08:44:12 +02:00
Harald Welte a22f5923d1 libosmocore namespace changes ("osmo_") 2011-05-08 09:46:46 +02:00
Harald Welte 4911ba91ef TETRA: start to use msgb as part of osmo_prim / tmvsap_prim
This will allow us to pass the same msgb (with different l1h/l2h)
up the stack.
2011-04-24 16:55:42 +02:00
Harald Welte 2840dc5f07 don't decode NULL pdu or TL-SDU of non-starting LLC segments 2011-04-24 11:45:20 +02:00
Harald Welte b5d6edbb82 Introduce LLC layer that has been completely missign so far
All our MM/CMCE/SNDCP 'decodes' were broken previously, as they
assumed that the MM/CMCE/SNDCP message follows immediately after the
MAC header.  However, there's the LLC layer in between.

This is just simple LLC decoding and does not do re-assembly yet.
2011-04-24 11:10:52 +02:00
Harald Welte 2c6eab8f48 upper mac: fix printing of carrier frequency Hz 2011-04-24 10:00:37 +02:00
Harald Welte 51147d4e7a upper mac: fix printing of certain PDUs (remove additional newline) 2011-04-24 09:54:02 +02:00
Harald Welte ba1ec17db6 upper mac: print MLE PDU type 2011-04-24 09:24:13 +02:00
Harald Welte ec02a9f038 upper mac: initial SUPPLEMENTARY parsing, fix fake FRAG/END decoding 2011-04-24 09:15:28 +02:00
Harald Welte 863c31401b MAC: correctly decode length of MAC PDU 2011-04-24 08:07:27 +02:00
Harald Welte c547e9f0de upper mac: print slot grant (if any) 2011-04-24 07:52:06 +02:00
Harald Welte 5c14298646 Add SNDCP PDU type name printing 2011-04-24 05:12:16 +02:00
Harald Welte 2bca149dca fix CR/LF when BNCH FOLLOWS 2011-04-23 17:47:07 +02:00
Harald Welte c3ba1f39df add decode of CMCE PDU type 2011-04-23 17:08:03 +02:00
Sylvain Munaut 6d08da3bd3 Adapt to the new "osmocom/core/" include path
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-04-17 20:21:41 +02:00
Harald Welte 140c2f80c1 use ubit_dump() which is part of libosmocore instead of local bitdump() 2011-02-08 16:57:48 +01:00
Harald Welte 7ee08faee0 initial import of Osmocom TETRA phy and lower MAC code 2011-01-19 10:39:59 +01:00