summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb/modem
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2023-03-03 20:03:07 +0700
committerfixeria <vyanitskiy@sysmocom.de>2023-03-16 13:46:53 +0000
commitb29a26c6205d3080f21dc15e4f27c967454fb01d (patch)
tree9463813d193661e9cdef9b1a52ac6d23a7ac5f97 /src/host/layer23/include/osmocom/bb/modem
parent1612c8f8627fbb005e478e880526262eb13724a2 (diff)
modem: add test VTY command to send CHANNEL REQUEST
Do not call grr_tx_chan_req() unconditionally from grr_rx_bcch(). Add a special (hidden, expert mode) VTY command for that. Change-Id: I049a8d7f58ae9703d06dff235973ba376702c873 Related: OS#5500
Diffstat (limited to 'src/host/layer23/include/osmocom/bb/modem')
-rw-r--r--src/host/layer23/include/osmocom/bb/modem/grr.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/bb/modem/grr.h b/src/host/layer23/include/osmocom/bb/modem/grr.h
index 208dbb1f..1f2b08c0 100644
--- a/src/host/layer23/include/osmocom/bb/modem/grr.h
+++ b/src/host/layer23/include/osmocom/bb/modem/grr.h
@@ -1,6 +1,12 @@
#pragma once
+#include <stdbool.h>
+#include <stdint.h>
+
struct msgb;
+struct osmocom_ms;
struct lapdm_entity;
int modem_grr_rslms_cb(struct msgb *msg, struct lapdm_entity *le, void *ctx);
+int modem_grr_tx_chan_req(struct osmocom_ms *ms, uint8_t chan_req);
+uint8_t modem_grr_gen_chan_req(bool single_block);