[PATCH] osmo-bts[master]: WIP: l1_utils: increase size of octphy_cid_vals[] to 51

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Mon Apr 9 20:55:05 UTC 2018


Review at  https://gerrit.osmocom.org/7701

WIP: l1_utils: increase size of octphy_cid_vals[] to 51

*** WORK IN PROGRESS: DO NOT MERGE UNTIL CHECKED BACK WITH OCTASIC ***

The size of the array octphy_cid_vals[] is currently set to 37,
which also matches the amount of elements defined in l1_utils.c.

For some reason the array size needs to be increased up to 51.

- increase array size of octply_cid_vals[] from 37 to 51.

Change-Id: Ib3872cae36a76d93cb478a55e6fc3b03a9c6caaf
Related: SYS#4139
Patch-by: Octasic inc.
---
M src/osmo-bts-octphy/l1_utils.c
M src/osmo-bts-octphy/l1_utils.h
2 files changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/01/7701/1

diff --git a/src/osmo-bts-octphy/l1_utils.c b/src/osmo-bts-octphy/l1_utils.c
index 8a8e155..df69259 100644
--- a/src/osmo-bts-octphy/l1_utils.c
+++ b/src/osmo-bts-octphy/l1_utils.c
@@ -80,7 +80,7 @@
 	{ 0, NULL }
 };
 
-const struct value_string octphy_cid_vals[37] = {
+const struct value_string octphy_cid_vals[51] = {
 	{ cOCTVC1_GSM_MSG_TRX_OPEN_CID,			"TRX-OPEN" },
 	{ cOCTVC1_GSM_MSG_TRX_CLOSE_CID,		"TRX-CLOSE" },
 	{ cOCTVC1_GSM_MSG_TRX_STATUS_CID,		"TRX-STATUS" },
diff --git a/src/osmo-bts-octphy/l1_utils.h b/src/osmo-bts-octphy/l1_utils.h
index d1a8717..9b2025f 100644
--- a/src/osmo-bts-octphy/l1_utils.h
+++ b/src/osmo-bts-octphy/l1_utils.h
@@ -5,5 +5,5 @@
 const struct value_string octphy_l1sapi_names[23];
 const struct value_string octphy_dir_names[5];
 const struct value_string octphy_clkmgr_state_vals[8];
-const struct value_string octphy_cid_vals[37];
+const struct value_string octphy_cid_vals[51];
 const struct value_string octphy_eid_vals[7];

-- 
To view, visit https://gerrit.osmocom.org/7701
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib3872cae36a76d93cb478a55e6fc3b03a9c6caaf
Gerrit-PatchSet: 1
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Owner: dexter <pmaier at sysmocom.de>



More information about the gerrit-log mailing list