dexter has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-bsc/+/34135 )


Change subject: pcuif_proto: remove unnecessary members from 
gsm_pcu_if_data_cnf_dt
......................................................................

pcuif_proto: remove unnecessary members from gsm_pcu_if_data_cnf_dt

The struct gsm_pcu_if_data_cnf_dt was added when the first experiments
mit Ericsson RBS base stations were made. It is essentially a copy of
gsm_pcu_if_data, where the mamber "data" was replaced with a member
"msg_id" (which was originally called "tlli"). Since we didn't know
back then which parameters we would still need at some later point we
kept all the other parameters. However, to this day we never used the
parameters below fn. Even fn was only used for logging purposes, but is
now also unused.

Let's remove all those unused members.

(Since all removed members are at the tail of the struct,
compatibility with other programs that use the PCUIF should not break.)

Change-Id: I37845408edd96017b50559964c82b2cdc5e143a7
Related: OS#5927
---
M include/osmocom/bsc/pcuif_proto.h
1 file changed, 24 insertions(+), 9 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/35/34135/1

diff --git a/include/osmocom/bsc/pcuif_proto.h 
b/include/osmocom/bsc/pcuif_proto.h
index 80e3b6d..d28aec0 100644
--- a/include/osmocom/bsc/pcuif_proto.h
+++ b/include/osmocom/bsc/pcuif_proto.h
@@ -97,15 +97,6 @@
 struct gsm_pcu_if_data_cnf_dt {
        uint8_t         sapi;
        uint32_t        msg_id;
-       uint32_t        fn;
-       uint16_t        arfcn;
-       uint8_t         trx_nr;
-       uint8_t         ts_nr;
-       uint8_t         block_nr;
-       int8_t          rssi;
-       uint16_t        ber10k;         /* !< \brief BER in units of 0.01% */
-       int16_t         ta_offs_qbits;  /* !< \brief Burst TA Offset in quarter 
bits */
-       int16_t         lqual_cb;       /* !< \brief Link quality in centiBel */
 } __attribute__ ((packed));

 struct gsm_pcu_if_rts_req {

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

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I37845408edd96017b50559964c82b2cdc5e143a7
Gerrit-Change-Number: 34135
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <[email protected]>
Gerrit-MessageType: newchange

Reply via email to