aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-02-19 23:04:22 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2019-02-19 23:21:07 +0100
commit3713b59368d3fa7ffbf2a743c07df5de1d1b3caf (patch)
tree72e174f19e58a52c69047b1f9fb223da75fbda48 /src
parentf788aefe6f605bcec6fba2d8bf6ffaaa02962d0d (diff)
oc2g: Fix compilation error (comment mark inside comment)
Diffstat (limited to 'src')
-rw-r--r--src/osmo-bts-oc2g/l1_if.c2
-rw-r--r--src/osmo-bts-oc2g/main.c4
-rw-r--r--src/osmo-bts-oc2g/oc2gbts_vty.c19
-rw-r--r--src/osmo-bts-oc2g/oml.c12
4 files changed, 19 insertions, 18 deletions
diff --git a/src/osmo-bts-oc2g/l1_if.c b/src/osmo-bts-oc2g/l1_if.c
index d8fdd968..884ce4e2 100644
--- a/src/osmo-bts-oc2g/l1_if.c
+++ b/src/osmo-bts-oc2g/l1_if.c
@@ -1745,7 +1745,7 @@ int bts_model_phy_link_open(struct phy_link *plink)
return -EIO;
}
- /* initialize DSP heart beat alive timer * /
+ / * initialize DSP heart beat alive timer * /
fl1h->hw_alive.dsp_alive_timer.cb = dsp_alive_timer_cb;
fl1h->hw_alive.dsp_alive_timer.data = fl1h;
fl1h->hw_alive.dsp_alive_cnt = 0;
diff --git a/src/osmo-bts-oc2g/main.c b/src/osmo-bts-oc2g/main.c
index 574bc723..e685150e 100644
--- a/src/osmo-bts-oc2g/main.c
+++ b/src/osmo-bts-oc2g/main.c
@@ -94,9 +94,9 @@ int bts_model_init(struct gsm_bts *bts)
/* TODO(oramadan) MERGE
bts->oc2g.led_ctrl_mode = OC2G_BTS_LED_CTRL_MODE_DEFAULT;
- /* RTP drift threshold default * /
- bts->oc2g.rtp_drift_thres_ms = OC2G_BTS_RTP_DRIFT_THRES_DEFAULT;
*/
+ /* RTP drift threshold default */
+ /* bts->oc2g.rtp_drift_thres_ms = OC2G_BTS_RTP_DRIFT_THRES_DEFAULT; */
rc = oml_router_init(bts, OML_ROUTER_PATH, &accept_fd, &read_fd);
if (rc < 0) {
diff --git a/src/osmo-bts-oc2g/oc2gbts_vty.c b/src/osmo-bts-oc2g/oc2gbts_vty.c
index 4f7c45a1..099698f8 100644
--- a/src/osmo-bts-oc2g/oc2gbts_vty.c
+++ b/src/osmo-bts-oc2g/oc2gbts_vty.c
@@ -507,16 +507,16 @@ DEFUN(trigger_ho_cause, trigger_ho_cause_cmd, "HIDDEN", TRX_STR)
return CMD_WARNING;
}
/* TODO(oramadan) MERGE
- /* store recorded HO causes * /
+ / * store recorded HO causes * /
old_ho_cause = lchan->meas_preproc.rec_ho_causes;
- /* Apply new HO causes * /
+ / * Apply new HO causes * /
lchan->meas_preproc.rec_ho_causes = 1 << (ho_cause - 1);
- /* Send measuremnt report to BSC * /
+ / * Send measuremnt report to BSC * /
rsl_tx_preproc_meas_res(lchan);
- /* restore HO cause * /
+ / * restore HO cause * /
lchan->meas_preproc.rec_ho_causes = old_ho_cause;
*/
@@ -673,7 +673,7 @@ int bts_model_vty_init(struct gsm_bts *bts)
}
/* TODO(oramadan) MERGE
-/* OC2G BTS control interface * /
+/ * OC2G BTS control interface * /
CTRL_CMD_DEFINE_WO_NOVRF(oc2g_oml_alert, "oc2g-oml-alert");
static int set_oc2g_oml_alert(struct ctrl_cmd *cmd, void *data)
{
@@ -688,10 +688,10 @@ static int set_oc2g_oml_alert(struct ctrl_cmd *cmd, void *data)
memcpy(alarm_sig_data.spare, &cause, sizeof(int));
LOGP(DLCTRL, LOGL_NOTICE, "BTS received MGR alarm cause=%d, text=%s\n", cause, alarm_sig_data.add_text);
- /* dispatch OML alarm signal * /
+ / * dispatch OML alarm signal * /
osmo_signal_dispatch(SS_NM, S_NM_OML_BTS_MGR_ALARM, &alarm_sig_data);
- /* return with same alarm cause to MGR rather than OK string* /
+ / * return with same alarm cause to MGR rather than OK string* /
cmd->reply = talloc_asprintf(cmd, "%d", cause);
return CTRL_CMD_REPLY;
}
@@ -709,11 +709,10 @@ static int set_oc2g_oml_ceased(struct ctrl_cmd *cmd, void *data)
memcpy(alarm_sig_data.spare, &cause, sizeof(int));
LOGP(DLCTRL, LOGL_NOTICE, "BTS received MGR ceased alarm cause=%d, text=%s\n", cause, alarm_sig_data.add_text);
- /* dispatch OML alarm signal * /
+ / * dispatch OML alarm signal * /
osmo_signal_dispatch(SS_NM, S_NM_OML_BTS_MGR_CEASED_ALARM, &alarm_sig_data);
- */
- /* return with same alarm cause to MGR rather than OK string* /
+ / * return with same alarm cause to MGR rather than OK string* /
cmd->reply = talloc_asprintf(cmd, "%d", cause);
return CTRL_CMD_REPLY;
}
diff --git a/src/osmo-bts-oc2g/oml.c b/src/osmo-bts-oc2g/oml.c
index 6cf7e1d5..32024090 100644
--- a/src/osmo-bts-oc2g/oml.c
+++ b/src/osmo-bts-oc2g/oml.c
@@ -354,19 +354,21 @@ static int trx_init_compl_cb(struct gsm_bts_trx *trx, struct msgb *l1_msg,
if (trx->mo.nm_state.administrative == NM_STATE_LOCKED)
trx_rf_lock(trx, 1, trx_mute_on_init_cb);
- /* apply initial values for Tx power backoff for 8-PSK * /
- trx->max_power_backoff_8psk = fl1h->phy_inst->u.oc2g.tx_pwr_red_8psk;
+ /* apply initial values for Tx power backoff for 8-PSK */
+ /*trx->max_power_backoff_8psk = fl1h->phy_inst->u.oc2g.tx_pwr_red_8psk;
l1if_set_txpower_backoff_8psk(fl1h, fl1h->phy_inst->u.oc2g.tx_pwr_red_8psk);
LOGP(DL1C, LOGL_INFO, "%s Applied initial 8-PSK Tx power backoff of %d dB\n",
gsm_trx_name(fl1h->phy_inst->trx),
fl1h->phy_inst->u.oc2g.tx_pwr_red_8psk);
+ */
- /* apply initial values for Tx C0 idle slot power reduction * /
- trx->c0_idle_power_red = fl1h->phy_inst->u.oc2g.tx_c0_idle_pwr_red;
+ /* apply initial values for Tx C0 idle slot power reduction */
+ /*trx->c0_idle_power_red = fl1h->phy_inst->u.oc2g.tx_c0_idle_pwr_red;
l1if_set_txpower_c0_idle_pwr_red(fl1h, fl1h->phy_inst->u.oc2g.tx_c0_idle_pwr_red);
LOGP(DL1C, LOGL_INFO, "%s Applied initial C0 idle slot power reduction of %d dB\n",
gsm_trx_name(fl1h->phy_inst->trx),
- fl1h->phy_inst->u.oc2g.tx_c0_idle_pwr_red); */
+ fl1h->phy_inst->u.oc2g.tx_c0_idle_pwr_red);
+ */
/* Begin to ramp up the power */
power_ramp_start(trx, get_p_target_mdBm(trx, 0), 0);