[PATCH] osmo-bts[master]: octphy: complete value strings (octphy_cid_vals)

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
Fri Jun 16 12:51:08 UTC 2017


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

octphy: complete value strings (octphy_cid_vals)

The value string table octphy_cid_vals lacks the strings for
cOCTVC1_MAIN_MSG_APPLICATION_INFO_CID and cOCTVC1_MAIN_MSG_APPLICATION_INFO_CID

(Patch by Octasic Inc.)

Change-Id: I9843137b55534a29938d5c2308244a6950de788f
---
M src/osmo-bts-octphy/l1_utils.c
M src/osmo-bts-octphy/l1_utils.h
2 files changed, 5 insertions(+), 2 deletions(-)


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

diff --git a/src/osmo-bts-octphy/l1_utils.c b/src/osmo-bts-octphy/l1_utils.c
index ac5e217..8a8e155 100644
--- a/src/osmo-bts-octphy/l1_utils.c
+++ b/src/osmo-bts-octphy/l1_utils.c
@@ -22,6 +22,7 @@
 #include "l1_utils.h"
 #include <octphy/octvc1/gsm/octvc1_gsm_api.h>
 #include <octphy/octvc1/gsm/octvc1_gsm_id.h>
+#include <octphy/octvc1/main/octvc1_main_id.h>
 #include <octphy/octvc1/hw/octvc1_hw_api.h>
 
 const struct value_string octphy_l1sapi_names[23] = 
@@ -79,7 +80,7 @@
 	{ 0, NULL }
 };
 
-const struct value_string octphy_cid_vals[35] = {
+const struct value_string octphy_cid_vals[37] = {
 	{ cOCTVC1_GSM_MSG_TRX_OPEN_CID,			"TRX-OPEN" },
 	{ cOCTVC1_GSM_MSG_TRX_CLOSE_CID,		"TRX-CLOSE" },
 	{ cOCTVC1_GSM_MSG_TRX_STATUS_CID,		"TRX-STATUS" },
@@ -116,6 +117,8 @@
 	{ cOCTVC1_GSM_MSG_TAP_FILTER_INFO_CID,		"TAP-FILTER-INFO" },
 	{ cOCTVC1_GSM_MSG_TAP_FILTER_STATS_CID,		"TAP-FILTER-STATS" },
 	{ cOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_CID,	"TAP-FILTER-MODIFY" },
+	{ cOCTVC1_MAIN_MSG_APPLICATION_INFO_CID,	"MAIN_MSG_APP_INFO" },
+	{ cOCTVC1_MAIN_MSG_APPLICATION_INFO_SYSTEM_CID,	"MAIN_MSG_APP_INFO_SYSTEM" },
 	{ cOCTVC1_GSM_MSG_TRX_START_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CID,
 							"LCHAN-RAW-DATA-START" },
 	{ cOCTVC1_GSM_MSG_TRX_STOP_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CID,
diff --git a/src/osmo-bts-octphy/l1_utils.h b/src/osmo-bts-octphy/l1_utils.h
index cec9f75..d1a8717 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[35];
+const struct value_string octphy_cid_vals[37];
 const struct value_string octphy_eid_vals[7];

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9843137b55534a29938d5c2308244a6950de788f
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