laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-pcu/+/24620 )

Change subject: pcuif_proto.h: Add new container message
......................................................................

pcuif_proto.h: Add new container message

Related: SYS#5303
Change-Id: Ib6c7bf5ca5a06186a71ec50cfc1a91a5c9b01d9c
---
M include/osmocom/pcu/pcuif_proto.h
1 file changed, 10 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/include/osmocom/pcu/pcuif_proto.h 
b/include/osmocom/pcu/pcuif_proto.h
index 0c46c52..23b7a2c 100644
--- a/include/osmocom/pcu/pcuif_proto.h
+++ b/include/osmocom/pcu/pcuif_proto.h
@@ -24,6 +24,7 @@
 #define PCU_IF_MSG_INTERF_IND  0x53    /* interference report */
 #define PCU_IF_MSG_PAG_REQ     0x60    /* paging request */
 #define PCU_IF_MSG_TXT_IND     0x70    /* Text indication for BTS */
+#define PCU_IF_MSG_CONTAINER   0x80    /* Transparent container message */

 /* sapi */
 #define PCU_IF_SAPI_RACH       0x01    /* channel request on CCCH */
@@ -219,6 +220,14 @@
        uint8_t         interf[8];
 } __attribute__ ((packed));

+/* Contains messages transmitted BSC<->PCU, potentially forwarded by BTS via 
IPA/PCU */
+struct gsm_pcu_if_container {
+       uint8_t         msg_type;
+       uint8_t         spare;
+       uint16_t        length; /* network byte order */
+       uint8_t         data[0];
+} __attribute__ ((packed));
+
 struct gsm_pcu_if {
        /* context based information */
        uint8_t         msg_type;       /* message type */
@@ -240,6 +249,7 @@
                struct gsm_pcu_if_pag_req       pag_req;
                struct gsm_pcu_if_app_info_req  app_info_req;
                struct gsm_pcu_if_interf_ind    interf_ind;
+               struct gsm_pcu_if_container     container;
        } u;
 } __attribute__ ((packed));


--
To view, visit https://gerrit.osmocom.org/c/osmo-pcu/+/24620
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: Ib6c7bf5ca5a06186a71ec50cfc1a91a5c9b01d9c
Gerrit-Change-Number: 24620
Gerrit-PatchSet: 4
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-MessageType: merged

Reply via email to