aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-09-06 09:36:02 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-09-06 09:36:02 +0800
commit78891078fec12099122d474db6c974cd98cc11b5 (patch)
tree6fa31b8bad88c6a92db19c379f0110710a2ffeb0 /openbsc/tests
parent5a3a61d88f1231af5dba96050cbc27270765ef23 (diff)
chan: 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 759001c57..32c71683a 100644
--- a/openbsc/tests/channel/channel_test.c
+++ b/openbsc/tests/channel/channel_test.c
@@ -76,6 +76,7 @@ int main(int argc, char** argv)
void nm_state_event() {}
void input_event() {}
void sms_alloc() {}
+void gsm_net_update_ctype(struct gsm_network *network) {}
struct tlv_definition nm_att_tlvdef;