Commit Graph

4 Commits

Author SHA1 Message Date
wbokslag 1056d5986b Added support for BL-ACK, work on advanced link, small improvements
BL-ACK with and without FCS are now supported
Various improvements for advanced link parsing
tetra_llc_pdu_parse now prevents further out-of-bounds reads by setting the tl sdu length to 0 whenever the tm sdu was too short for proper parsing

Change-Id: If31858a16611ab7853e3ab840704dd2d9657a2a8
2022-09-22 11:46:35 +02:00
wbokslag 3fba49ead4 Added basic link FCS validation in LLC
tetra_llc_pdu.c now parses the FCS (Frame Check Sequence) for basic link pdus
that use it. Some changes were made to the tetra_resrc_decoded struct
definition. The have_fcs field designates the FCS was present, while the FCS
field holds the extracted FCS, and FCS_invalid designates an FCS was present
but differs from the computed value.

Change-Id: I81941110801d00ca06bdafdcc0a7afaf7b7617d3
2022-08-02 12:49:39 +02:00
Harald Welte 194bf12a0a LLC: fix parsing of AL-FINAL 2011-04-24 12:04:51 +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