[PATCH 2/4] femto: Add mappings for MuteRfReq/MuteRfCnf

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/OpenBSC@lists.osmocom.org/.

Jacob Erlbeck jerlbeck at sysmocom.de
Mon Nov 4 13:56:10 UTC 2013


This add the mappings for SuperFemto_PrimId_MuteRfReq and
SuperFemto_PrimId_MuteRfCnf to the arrays femtobts_sysprim_type,
femtobts_sysprim_names, and femtobts_sysprim_req2conf.

Sponsored-by: On-Waves ehf
---
 src/osmo-bts-sysmo/femtobts.c |   11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/src/osmo-bts-sysmo/femtobts.c b/src/osmo-bts-sysmo/femtobts.c
index 1e513bf..28d861c 100644
--- a/src/osmo-bts-sysmo/femtobts.c
+++ b/src/osmo-bts-sysmo/femtobts.c
@@ -116,6 +116,10 @@ const enum l1prim_type femtobts_sysprim_type[SuperFemto_PrimId_NUM] = {
 	[SuperFemto_PrimId_SetRxCalibTblReq]	= L1P_T_REQ,
 	[SuperFemto_PrimId_SetRxCalibTblCnf]	= L1P_T_CONF,
 #endif
+#if SUPERFEMTO_API_VERSION >= SUPERFEMTO_API(3,6,0)
+	[SuperFemto_PrimId_MuteRfReq]	        = L1P_T_REQ,
+	[SuperFemto_PrimId_MuteRfCnf]	        = L1P_T_CONF,
+#endif
 };
 
 const struct value_string femtobts_sysprim_names[SuperFemto_PrimId_NUM+1] = {
@@ -143,6 +147,10 @@ const struct value_string femtobts_sysprim_names[SuperFemto_PrimId_NUM+1] = {
 	{ SuperFemto_PrimId_SetRxCalibTblReq,	"SET-RX-CALIB.req" },
 	{ SuperFemto_PrimId_SetRxCalibTblCnf,	"SET-RX-CALIB.cnf" },
 #endif
+#if SUPERFEMTO_API_VERSION >= SUPERFEMTO_API(3,6,0)
+	{ SuperFemto_PrimId_MuteRfReq,	        "MUTE-RF.req" },
+	{ SuperFemto_PrimId_MuteRfCnf,	        "MUTE-RF.cnf" },
+#endif
 	{ 0, NULL }
 };
 
@@ -159,6 +167,9 @@ const SuperFemto_PrimId_t femtobts_sysprim_req2conf[SuperFemto_PrimId_NUM] = {
 	[SuperFemto_PrimId_GetRxCalibTblReq]	= SuperFemto_PrimId_GetRxCalibTblCnf,
 	[SuperFemto_PrimId_SetRxCalibTblReq]	= SuperFemto_PrimId_SetRxCalibTblCnf,
 #endif
+#if SUPERFEMTO_API_VERSION >= SUPERFEMTO_API(3,6,0)
+	[SuperFemto_PrimId_MuteRfReq]	        = SuperFemto_PrimId_MuteRfCnf,
+#endif
 };
 
 const struct value_string femtobts_l1sapi_names[GsmL1_Sapi_NUM+1] = {
-- 
1.7.9.5





More information about the OpenBSC mailing list