wbokslag has uploaded this change for review.
added missing switch statements to suppress compiler warnings
Change-Id: I02f7b1875e5501f6977638130c8c5b8c8634fe4e
---
M src/phy/tetra_burst.c
M src/tetra_llc.c
2 files changed, 10 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-tetra refs/changes/95/28595/1
diff --git a/src/phy/tetra_burst.c b/src/phy/tetra_burst.c
index 5bede06..c791ee0 100644
--- a/src/phy/tetra_burst.c
+++ b/src/phy/tetra_burst.c
@@ -371,5 +371,9 @@
tp_sap_udata_ind(TPSAP_T_BBK, bbk_buf, NDB_BBK_BITS, priv);
tp_sap_udata_ind(TPSAP_T_SCH_F, ndbf_buf, 2*NDB_BLK_BITS, priv);
break;
+ case TETRA_TRAIN_NORM_3:
+ case TETRA_TRAIN_EXT:
+ /* uplink training sequences, should not be encountered, ignore */
+ break;
}
}
diff --git a/src/tetra_llc.c b/src/tetra_llc.c
index 893673e..e0d5cab 100644
--- a/src/tetra_llc.c
+++ b/src/tetra_llc.c
@@ -150,6 +150,12 @@
/* check if the fragment is complete and hand it off*/
tllc_defrag_out(&g_llcs, &lpp);
break;
+
+ case TLLC_PDUT_DEC_UNKNOWN:
+ case TLLC_PDUT_DEC_ALX_ACK:
+ case TLLC_PDUT_DEC_ALX_RNR:
+ /* fixme: unhandled types */
+ break;
}
if (lpp.tl_sdu && lpp.ss == 0) {
To view, visit change 28595. To unsubscribe, or for help writing mail filters, visit settings.