A bit more work on the TDMA header
authorbaobrien <baobrien@01035d8c-6547-0410-b346-abe4f91aad63>
Tue, 21 Feb 2017 01:45:01 +0000 (01:45 +0000)
committerbaobrien <baobrien@01035d8c-6547-0410-b346-abe4f91aad63>
Tue, 21 Feb 2017 01:45:01 +0000 (01:45 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@3040 01035d8c-6547-0410-b346-abe4f91aad63

codec2-dev/src/tdma.h

index f0e45898e122c9dc700d6d00c4e7b7ef3cddd0b2..faf988815780044cbe1c0638306977c60f73d275 100644 (file)
@@ -50,13 +50,16 @@ enum tdma_state {
 /* TDMA slot struct */
 
 struct TDMA_SLOT {
-    struct FSK * fsk;   /* The FSK modem for this slot */
-    enum slot_state state;
+    struct FSK * fsk;               /* The FSK modem for this slot */
+    enum slot_state state;          /* Current local slot state */
+    int slot_local_frame_offset;    /* Where the RX frame starts, in samples, from the perspective of the modem */
+    struct TDMA_SLOT * next_slot;   /* Next slot in a linked list of slots */
+    
 };
 
 /* TDMA modem */
 struct TDMA_MODEM {
-    
+
 };
 
 #endif