diff options
author | Daniel Willmann <daniel@totalueberwachung.de> | 2013-01-03 17:37:59 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2013-03-24 09:05:04 +0100 |
commit | 376183fcf05c84a26e6ccb96d033ed569c84473c (patch) | |
tree | a01dcb33e7681bf644eabae29b68d6777db62ad8 /src/osmo-bts-sysmo/sysmobts_vty.c | |
parent | fb0c9f06132769336ab2f01f6b01e369f48f3575 (diff) |
oml: Introduce a SAPI queue for activation and deactivation of SAPIs
Put all SAPI requests into a queue and handle them one after another.
Begin with the channel activation. Once the queue is empty the channel
activate will be sent. For the BCCH activation we do not want to send
a channel activation message and this is why we set the lchan->state
to NONE.
One change is that we do not attempt to call the ciphering routines on
the BCCH anymore.
This change is necessary to fix issues with LCHANs staying open and being
marked as broken by the BSC and will help in implementing handover support
as this requires a re-configuration of the lchan on the fly.
Diffstat (limited to 'src/osmo-bts-sysmo/sysmobts_vty.c')
-rw-r--r-- | src/osmo-bts-sysmo/sysmobts_vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-sysmo/sysmobts_vty.c b/src/osmo-bts-sysmo/sysmobts_vty.c index feb271a1..0ecf5858 100644 --- a/src/osmo-bts-sysmo/sysmobts_vty.c +++ b/src/osmo-bts-sysmo/sysmobts_vty.c @@ -348,7 +348,7 @@ DEFUN(activate_lchan, activate_lchan_cmd, struct gsm_lchan *lchan = &ts->lchan[lchan_nr]; if (!strcmp(argv[2], "activate")) - lchan_activate(lchan); + lchan_activate(lchan, LCHAN_S_ACT_REQ); else lchan_deactivate(lchan); |