summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb/mobile/subscriber.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/host/layer23/include/osmocom/bb/mobile/subscriber.h')
-rw-r--r--src/host/layer23/include/osmocom/bb/mobile/subscriber.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/bb/mobile/subscriber.h b/src/host/layer23/include/osmocom/bb/mobile/subscriber.h
index 958700ae..c747af93 100644
--- a/src/host/layer23/include/osmocom/bb/mobile/subscriber.h
+++ b/src/host/layer23/include/osmocom/bb/mobile/subscriber.h
@@ -20,6 +20,9 @@ struct gsm_sub_plmn_na {
#define GSM_IMSI_LENGTH 16
+#define GSM_SIM_IS_READER(type) \
+ (type == GSM_SIM_TYPE_L1PHY || type == GSM_SIM_TYPE_SAP)
+
enum {
GSM_SIM_TYPE_NONE = 0,
GSM_SIM_TYPE_L1PHY,