summaryrefslogtreecommitdiffstats
path: root/src/host/trxcon/logging.h
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2016-07-22 22:57:50 +0600
committerVadim Yanitskiy <axilirator@gmail.com>2017-11-19 17:35:07 +0700
commit9f5fefe792628d995945158e653b388c01969d86 (patch)
tree62914327bd9488840ee8beab248821f590338d87 /src/host/trxcon/logging.h
parent8975b437ed476a1655e19b68d113bc93c468b087 (diff)
host/trxcon: initial release of L1CTL interface
There are two sides of the 'OsmocomBB <-> SDR' bridge. One of them is the L1CTL interface, which is used by existing layer23 applications to drive GSM L1. Exactly this interface is provided by the osmocon application, but instead of forwarding messages between both host software and firmware we need to handle incoming messages from layer23 applications, perform some GSM L1 specific conversations (coding, mapping, interleaving, etc.), then finally forward them to transceiver through the scheduler. And vice versa. This code is just a basic implementation of UNIX socket handlers, so currently we can only accept and drop connections from layer23 applications. Change-Id: I58d069bcc7742b42c0bf95e52063933bf2c352ff
Diffstat (limited to 'src/host/trxcon/logging.h')
-rw-r--r--src/host/trxcon/logging.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/host/trxcon/logging.h b/src/host/trxcon/logging.h
index 4149e4f2..049f322a 100644
--- a/src/host/trxcon/logging.h
+++ b/src/host/trxcon/logging.h
@@ -2,10 +2,11 @@
#include <osmocom/core/logging.h>
-#define DEBUG_DEFAULT "DAPP"
+#define DEBUG_DEFAULT "DAPP:DL1C"
enum {
- DAPP
+ DAPP,
+ DL1C,
};
int trx_log_init(const char *category_mask);