aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libcommon/bsc_version.c
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-06-14 13:12:00 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-06-16 04:29:40 +0200
commit832afa3f4b816797b6c9933187835a5c29cf5f1c (patch)
treea43ae6adbca6001e600f5c3cb6f7bfe5b7482e94 /openbsc/src/libcommon/bsc_version.c
parent285df2ec624f5c51ca5621de0524fba64226d4ed (diff)
dyn PDCH: set lchan->state after PDCH DEACT / before PDCH ACT
Do the PDCH DE/ACT before we set the lchan->state to De-/Activation Requested. It makes more sense semantically to change PDCH mode while the lchan is still in NONE status. Thus slightly move some invocations: PDCH ACT: Free the lchan before PDCH activation. Hence remove the lchan_free() call from the rsl_rx_pdch_act_ack() code path; it used to do the PDCH activation first and call lchan_free() in the callback. PDCH DEACT: Set the (TCH) Activation Requested state only within rsl_chan_activate_lchan(), after the PDCH deact is complete. Channel allocator: don't pick channels that have a PDCH PENDING flag set, to avoid using channels that are still in PDCH switchover (despite their state being NONE). The lchan_may_change_pdch() sanity checks are becoming a lot simpler. Change-Id: I4206dd4808e21c3e59393ea7f5ab4f438afff066
Diffstat (limited to 'openbsc/src/libcommon/bsc_version.c')
0 files changed, 0 insertions, 0 deletions