aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2013-09-11 10:46:57 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-09-11 20:27:08 +0200
commit779a72819dd0242a906acd776367f5622b7a8e79 (patch)
treece4200f9d8150675ec0a4c8b7d24019232fba846 /openbsc/include
parent733bec862627d6ecc934fd928eb5b3a2e22771b8 (diff)
ctrl: Remember last 'rf_locked' control command
This stores the last SET rf_locked control command along with a timestamp. The 'show network' vty command is extended to show this information. Ticket: OW#659
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/osmo_bsc_rf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/osmo_bsc_rf.h b/openbsc/include/openbsc/osmo_bsc_rf.h
index a67e1bda4..19ccd080d 100644
--- a/openbsc/include/openbsc/osmo_bsc_rf.h
+++ b/openbsc/include/openbsc/osmo_bsc_rf.h
@@ -33,6 +33,8 @@ struct osmo_bsc_rf {
const char *last_state_command;
+ char *last_rf_lock_ctrl_command;
+
/* delay the command */
char last_request;
struct osmo_timer_list delay_cmd;