aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-litecell15/misc/lc15bts_mgr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osmo-bts-litecell15/misc/lc15bts_mgr.c')
-rw-r--r--src/osmo-bts-litecell15/misc/lc15bts_mgr.c20
1 files changed, 12 insertions, 8 deletions
diff --git a/src/osmo-bts-litecell15/misc/lc15bts_mgr.c b/src/osmo-bts-litecell15/misc/lc15bts_mgr.c
index a4c5650b..506e5250 100644
--- a/src/osmo-bts-litecell15/misc/lc15bts_mgr.c
+++ b/src/osmo-bts-litecell15/misc/lc15bts_mgr.c
@@ -74,28 +74,32 @@ static struct lc15bts_mgr_instance manager = {
.thresh_warn = 60,
.thresh_crit = 78,
},
- .memory_limit = {
+ .logrf_limit = {
.thresh_warn = 60,
.thresh_crit = 78,
},
- .tx1_limit = {
+ .ocxo_limit = {
.thresh_warn = 60,
.thresh_crit = 78,
},
- .tx2_limit = {
+ .tx0_limit = {
.thresh_warn = 60,
.thresh_crit = 78,
},
- .pa1_limit = {
+ .tx1_limit = {
.thresh_warn = 60,
.thresh_crit = 78,
},
- .pa2_limit = {
+ .pa0_limit = {
+ .thresh_warn = 60,
+ .thresh_crit = 78,
+ },
+ .pa1_limit = {
.thresh_warn = 60,
.thresh_crit = 78,
},
.action_warn = 0,
- .action_crit = TEMP_ACT_PA1_OFF | TEMP_ACT_PA2_OFF,
+ .action_crit = TEMP_ACT_PA0_OFF | TEMP_ACT_PA1_OFF,
.state = STATE_NORMAL,
}
};
@@ -260,12 +264,12 @@ int main(int argc, char **argv)
hours_timer_cb(NULL);
/* Enable the PAs */
- rc = lc15bts_power_set(LC15BTS_POWER_PA1, 1);
+ rc = lc15bts_power_set(LC15BTS_POWER_PA0, 1);
if (rc < 0) {
exit(3);
}
- rc = lc15bts_power_set(LC15BTS_POWER_PA2, 1);
+ rc = lc15bts_power_set(LC15BTS_POWER_PA1, 1);
if (rc < 0) {
exit(3);
}