aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-bts
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2013-11-04 14:56:11 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-05 15:46:22 +0100
commit9ef742f5e751c1d5fdfae14aa663e6056e6cac6f (patch)
tree79d9054775f7834f9425286e81bc8d16c93cb691 /include/osmo-bts
parentf3108fafab3705752e21861a18c257c35e194c08 (diff)
sysmobts: Add L1 support for the new RF mute request
This adds a new function l1if_mute_rf(femtol1_hdl, ch_mute[8]) to set the mute state for each radio channel. On completion and iff l1if_mute_rf() returned 0 the callback oml_mo_rf_lock_chg(mo, ch_mute_state[8], success) is invoked when the response from the superfemto DSP is received. Ticket: OW#976 Sponsored-by: On-Waves ehf
Diffstat (limited to 'include/osmo-bts')
-rw-r--r--include/osmo-bts/oml.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/osmo-bts/oml.h b/include/osmo-bts/oml.h
index 5e9c8801..92695cae 100644
--- a/include/osmo-bts/oml.h
+++ b/include/osmo-bts/oml.h
@@ -17,6 +17,10 @@ int oml_mo_state_chg(struct gsm_abis_mo *mo, int op_state, int avail_state);
/* First initialization of MO, does _not_ generate state changes */
void oml_mo_state_init(struct gsm_abis_mo *mo, int op_state, int avail_state);
+/* Update admin state and send ACK/NACK */
+int oml_mo_rf_lock_chg(struct gsm_abis_mo *mo, uint8_t mute_state[8],
+ int success);
+
/* Transmit STATE CHG REP even if there was no state change */
int oml_tx_state_changed(struct gsm_abis_mo *mo);