Attention is currently required from: fixeria, pespin.

dexter has posted comments on this change. ( 
https://gerrit.osmocom.org/c/osmo-pcu/+/34647?usp=email )

Change subject: pcu_l1_if: signal BTS model via PCUIF
......................................................................


Patch Set 1:

(2 comments)

Patchset:

PS1:
> This is something that needs to be done carefully: you're adding a new field, 
> but the PCUIF version  […]
I have had a look at this. I think CHECK_IF_MSG_SIZE may tolerate this. It 
checks if the length of the date it received is smaller than the indication. In 
case more data is received, the check won't be set off.

This would mean newer osmo-bts/osmo-bsc would definetly work with older 
osmo-pcu versions, but the other way around there may be problems (I didn't 
count out the bytes)

So yes, I also think this means that we must increment the PCUIF version again. 
But before we do this we should drop the backward compatibility clutter in 
osmo-pcu and the TTCN3 tests to have a clean path.


File include/osmocom/pcu/pcuif_proto.h:

https://gerrit.osmocom.org/c/osmo-pcu/+/34647/comment/3233b29d_d9bd2d85
PS1, Line 70: #define PCU_IF_BTS_MODEL_UNSPEC           0x00
> can we please have an enum?
I have opted against an enum since the other fields also do not use enums (see 
the defines above). I think an enum will look a bit out of place there.

What do you think? Shall I still migrate this to an enum?



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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I48eb75f65ab54fdec41ef913e24c1f18cd4a4047
Gerrit-Change-Number: 34647
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pma...@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanits...@sysmocom.de>
Gerrit-Reviewer: pespin <pes...@sysmocom.de>
Gerrit-Attention: pespin <pes...@sysmocom.de>
Gerrit-Attention: fixeria <vyanits...@sysmocom.de>
Gerrit-Comment-Date: Tue, 10 Oct 2023 11:17:02 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: fixeria <vyanits...@sysmocom.de>
Comment-In-Reply-To: pespin <pes...@sysmocom.de>
Gerrit-MessageType: comment

Reply via email to