summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb/common
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-01-17 20:17:10 +0100
committerpespin <pespin@sysmocom.de>2023-01-30 19:57:36 +0000
commit53996bb3d84352550f8c56ee9fe4ef396644f518 (patch)
tree3cd933ae27054c9e077b5bf5cc06daf15d173fff /src/host/layer23/include/osmocom/bb/common
parent2b11e9e97dae5fdffc12c309cd1e14eabfeb4ced (diff)
modem: Initial integration of libosmo-gprs-{llc,sndcp}
Diffstat (limited to 'src/host/layer23/include/osmocom/bb/common')
-rw-r--r--src/host/layer23/include/osmocom/bb/common/logging.h2
-rw-r--r--src/host/layer23/include/osmocom/bb/common/settings.h16
2 files changed, 18 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/bb/common/logging.h b/src/host/layer23/include/osmocom/bb/common/logging.h
index 5259f35e..912b7d45 100644
--- a/src/host/layer23/include/osmocom/bb/common/logging.h
+++ b/src/host/layer23/include/osmocom/bb/common/logging.h
@@ -27,6 +27,8 @@ enum {
DLUA,
DGAPK,
DTUN,
+ DLLC,
+ DSNDCP,
};
extern const struct log_info log_info;
diff --git a/src/host/layer23/include/osmocom/bb/common/settings.h b/src/host/layer23/include/osmocom/bb/common/settings.h
index 523ad8e7..5e048949 100644
--- a/src/host/layer23/include/osmocom/bb/common/settings.h
+++ b/src/host/layer23/include/osmocom/bb/common/settings.h
@@ -183,6 +183,22 @@ int gsm_random_imei(struct gsm_settings *set);
struct gprs_settings {
struct llist_head apn_list;
+
+ /* RFC1144 TCP/IP header compression */
+ struct {
+ int active;
+ int passive;
+ int s01;
+ } pcomp_rfc1144;
+
+ /* V.42vis data compression */
+ struct {
+ int active;
+ int passive;
+ int p0;
+ int p1;
+ int p2;
+ } dcomp_v42bis;
};
int gprs_settings_init(struct osmocom_ms *ms);