diff options
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | 2013-11-04 14:56:10 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-11-05 15:39:05 +0100 |
commit | f3108fafab3705752e21861a18c257c35e194c08 (patch) | |
tree | 7256aff342227033b9d86f5975243c4fc5c44512 | |
parent | 0133ff386646bf8b29075502f233f2641d51255a (diff) |
sysmobts: Add mappings for MuteRfReq/MuteRfCnf
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
-rw-r--r-- | src/osmo-bts-sysmo/femtobts.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/femtobts.c b/src/osmo-bts-sysmo/femtobts.c index 1e513bf2..28d861c4 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] = { |