summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb/common
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-04-25 12:27:44 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2023-04-25 18:14:33 +0200
commit651426fee4e847d0d22d5b4845c3ead139a0b574 (patch)
tree8535222019836d28e41dd32bd870f05ed79c44d1 /src/host/layer23/include/osmocom/bb/common
parentf99819a4f21c8d6d0b304268f30964f4e858a6f3 (diff)
layer23: Decouple SIM events from MMR events
let the specific app handle the events generated from the subscriber/SIM. All the MMR specific code can for now stay in mobile/ while SIM support can be in common/ without violating layers (common/ calling functions in mobile/). Change-Id: I473887e0fd9338d76a69a9774145a04575f14b64
Diffstat (limited to 'src/host/layer23/include/osmocom/bb/common')
-rw-r--r--src/host/layer23/include/osmocom/bb/common/osmocom_data.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/bb/common/osmocom_data.h b/src/host/layer23/include/osmocom/bb/common/osmocom_data.h
index 600c4121..3e5c13ab 100644
--- a/src/host/layer23/include/osmocom/bb/common/osmocom_data.h
+++ b/src/host/layer23/include/osmocom/bb/common/osmocom_data.h
@@ -11,6 +11,7 @@ enum osmobb_sig_subsys {
SS_L1CTL,
SS_GLOBAL,
SS_L23_VTY,
+ SS_L23_SUBSCR,
};
enum osmobb_l1ctl_sig {
@@ -34,6 +35,12 @@ enum osmobb_l23_vty_sig {
S_L23_VTY_MS_STOP,
};
+enum osmobb_l23_subscriber {
+ S_L23_SUBSCR_SIM_ATTACHED,
+ S_L23_SUBSCR_SIM_DETACHED,
+ S_L23_SUBSCR_SIM_AUTH_RESP,
+};
+
struct osmobb_l23_vty_sig_data {
struct vty *vty;
union {
@@ -49,6 +56,11 @@ struct osmobb_l23_vty_sig_data {
};
};
+struct osmobb_l23_subscr_sim_auth_resp_sig_data {
+ struct osmocom_ms *ms;
+ uint8_t sres[4];
+};
+
struct osmobb_fbsb_res {
struct osmocom_ms *ms;
int8_t snr;