aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests/libiudummy
AgeCommit message (Collapse)AuthorFilesLines
2017-03-16Make the code work so that the msc_vlr tests passNeels Hofmeyr1-1/+8
Change-Id: Ie8814d856bbe4c111007a696a4d26576854c134f
2017-03-16IuCS: implement msc_call_assignment() for IuCSNeels Hofmeyr1-0/+15
Send IuCS RAB Activation upon MNCC_CALL_PROC_REQ. Implement function msc_call_assignment(): decide between sending A-iface BSSMAP Assignment Request or IuCS RAB Assignment Request. Implement iu_rab_act_cs() to send the IuCS RAB Assignment Request. The IP address and port of the MGCPGW sent in the RAB Assignment are still hardcoded. The A-interface extension is not implemented yet. Declare ranap_new_msg_rab_assign_voice() to avoid including ranap_msg_factory.h, which would require adding ASN1 CFLAGS to Makefile.am. The mgcpgw_client as well as some more osmo-iuh functions are now linked from libmsc, hence add some dummy stubs to libiudummy and db_test.c. Change-Id: Iaae51d1fbbfc28fad1c0b85e161d53d80a420a19
2017-03-16IuCS: send RANAP CommonIDNeels Hofmeyr1-0/+6
Add libiu function to send a CommonID message down a UE connection, iu_tx_common_id(); add also a corresponding stub to libiudummy for linking with tests. Add libmsc function msc_tx_common_id() to call the above. Add this mostly to clearly indicate in msc_ifaces.h that libmsc is calling out of the MSC; also to do conn->via_iface checking. Call msc_tx_common_id() after ciphering is established, in _gsm48_rx_mm_serv_req_sec_cb()'s GSM_SECURITY_SUCCEEDED case. Change-Id: I576ddd5bbabfc989149debd2f8a9743db6d26043
2017-03-16add libiudummy, to avoid linking Iu deps in testsNeels Hofmeyr3-0/+53
Change-Id: I4a66c4122011dbc87c6fcb336ab0461b86522c98