aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-03-25 04:58:08 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-03-25 04:58:08 +0100
commitaebea482f54a97deaca8688c79af3809a756240c (patch)
treeee1df27e820e16e8eb4f2fefca05cb136777486a /openbsc/tests
parent12f20d369c6bba0dfe61e433c14d220b9c43febd (diff)
channel request: Store the to be assigned channel type in the GSM Network
Store the mapping from request to channel type in the GSM Network struct as there is some policy involved with handling the request. E.g. in a half rate network we don't want emergy calls to be getting a TCH/F, or we want to have a different policy for early/late assignment of phone calls. Update the table when creating the network and when the neci is changed.
Diffstat (limited to 'openbsc/tests')
-rw-r--r--openbsc/tests/channel/channel_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/openbsc/tests/channel/channel_test.c b/openbsc/tests/channel/channel_test.c
index 4c57a75c6..96f13cbbd 100644
--- a/openbsc/tests/channel/channel_test.c
+++ b/openbsc/tests/channel/channel_test.c
@@ -77,6 +77,7 @@ void nm_state_event() {}
void input_event() {}
void sms_alloc() {}
void _lchan_release() {}
+void gsm_net_update_ctype(struct gsm_network *network) {}
struct tlv_definition nm_att_tlvdef;