summaryrefslogtreecommitdiffstats
path: root/Src/osmolib/src/target/firmware/include/layer1
diff options
context:
space:
mode:
authorroot2012-02-28 14:15:19 +0100
committerroot2012-02-28 14:15:19 +0100
commit1116885d96725ce064db04604e4d197a136b163c (patch)
tree22ba472d309f1ac66918f09cc63bb9be057cf579 /Src/osmolib/src/target/firmware/include/layer1
parentcompiled version added (diff)
downloadimsi-catcher-detection-1116885d96725ce064db04604e4d197a136b163c.tar.gz
imsi-catcher-detection-1116885d96725ce064db04604e4d197a136b163c.tar.xz
imsi-catcher-detection-1116885d96725ce064db04604e4d197a136b163c.zip
updated codebase to latest version of osmocombb
Diffstat (limited to 'Src/osmolib/src/target/firmware/include/layer1')
-rw-r--r--Src/osmolib/src/target/firmware/include/layer1/async.h3
-rw-r--r--Src/osmolib/src/target/firmware/include/layer1/l23_api.h3
-rw-r--r--Src/osmolib/src/target/firmware/include/layer1/sync.h1
3 files changed, 7 insertions, 0 deletions
diff --git a/Src/osmolib/src/target/firmware/include/layer1/async.h b/Src/osmolib/src/target/firmware/include/layer1/async.h
index a9fa08d..de996a6 100644
--- a/Src/osmolib/src/target/firmware/include/layer1/async.h
+++ b/Src/osmolib/src/target/firmware/include/layer1/async.h
@@ -44,6 +44,9 @@ void l1a_mftask_enable(enum mframe_task task);
/* Disable a repeating multiframe task */
void l1a_mftask_disable(enum mframe_task task);
+/* Set the mask for repeating multiframe tasks */
+void l1a_mftask_set(uint32_t tasks);
+
/* Set TCH mode */
uint8_t l1a_tch_mode_set(uint8_t mode);
diff --git a/Src/osmolib/src/target/firmware/include/layer1/l23_api.h b/Src/osmolib/src/target/firmware/include/layer1/l23_api.h
index 9b10b62..e4a3fd0 100644
--- a/Src/osmolib/src/target/firmware/include/layer1/l23_api.h
+++ b/Src/osmolib/src/target/firmware/include/layer1/l23_api.h
@@ -6,9 +6,12 @@
#include <l1ctl_proto.h>
void l1a_l23api_init(void);
+void l1a_l23_handler(void);
void l1_queue_for_l2(struct msgb *msg);
struct msgb *l1ctl_msgb_alloc(uint8_t msg_type);
struct msgb *l1_create_l2_msg(int msg_type, uint32_t fn, uint16_t snr, uint16_t arfcn);
+extern void (*l1a_l23_tx_cb)(struct msgb *msg);
+void l1a_l23_rx(uint8_t dlci, struct msgb *msg);
void l1ctl_tx_reset(uint8_t msg_type, uint8_t reset_type);
diff --git a/Src/osmolib/src/target/firmware/include/layer1/sync.h b/Src/osmolib/src/target/firmware/include/layer1/sync.h
index aa03c82..dae85a1 100644
--- a/Src/osmolib/src/target/firmware/include/layer1/sync.h
+++ b/Src/osmolib/src/target/firmware/include/layer1/sync.h
@@ -151,6 +151,7 @@ struct l1s_state {
uint8_t pos;
uint8_t running;
uint16_t band_arfcn[64];
+ uint8_t tn[64];
uint8_t level[64];
} neigh_pm;
};