aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libmsc/iu_cs.c
AgeCommit message (Collapse)AuthorFilesLines
2016-05-04IuCS: properly clean up conn on releaseNeels Hofmeyr1-2/+2
Don't call msc_subscr_con_free() directly, instead use gsm0408_clear_request(), which properly cleans up all pending operations before freeing the connection.
2016-05-02cosmetic: IuCS loggingNeels Hofmeyr1-0/+2
2016-04-20cosmetic: debug and error logging, comment tweaksNeels Hofmeyr1-0/+1
2016-04-11cscn: record and use LAC on incoming InitialUE msgNeels Hofmeyr1-6/+30
Add lac argument to gsm0408_rcvmsg_iucs(), to record the LAC in newly allocated gsm_subscriber_connections. In effect, fix the LAC sent to UE during Location Updating Accept message. Before, 0 was stored as LAC and sent to the UE, regardless of the actual LAC in use.
2016-03-22cscn: implement integrity protectionNeels Hofmeyr1-3/+3
Upon authentication response, initiate integrity protection for Iu by sending a Security Mode Command (IK), with hardcoded auth tuple so far. Implement RANAP event handling to receive Security Mode Complete message, adding stubs for the other events; in new files osmo-cscn/iucs_ranap.[hc] to keep RANAP dependencies separate, and particularly out of libmsc. Upon receiving Security Mode Complete, call the security operation callback (conn->sec_operation->cb) to complete the Location Update. Introduce enum integrity_protection_state constants to indicate integrity protection, record in gsm_subscriber_conn.iu.integrity_protection. Make subscr_conn_lookup_iu() non-static and declare in iu_cs.h to be able to call from iucs_ranap.c's Security Mode Complete event. Implement dummy iu_tx_sec_mode_cmd() to allow tests to build without RANAP dependencies. In cscn_main.c, call iucs_rx_ranap_event(), to populate the struct gsm_network struct with cscn_network explicitly (don't share cscn_network across compilation scopes because it's ugly).
2016-03-22fix various compiler warningsNeels Hofmeyr1-0/+1
sgsn_libgtp.c: missing include, for asn1str_to_u32() iu_cs.c: missing include, for subscr_name() osmo_bsc_vty.c: int/pointer conversions (note: this was discussed on the list to be solved by passing a pointer instead. Until then...) iudummy.c: opaque struct declarations
2016-03-21debug log fixesNeels Hofmeyr1-1/+2
gprs_gmm.c: remove extraneous debug print arg. iu_cs.c: increment should not be in debug statement. Fixes at least one coverity warning.
2016-03-18debug: log list of subscribers upon lookupNeels Hofmeyr1-0/+36
2016-03-18IuCS: fix logical flip in same_ue_conn()Neels Hofmeyr1-1/+1
2016-03-04gsm_subscriber_connection: further split between BSC and MSCNeels Hofmeyr1-1/+1
Move some Iu/A members into the MSC #ifdef. Have separate allocate and free functions for the two scopes.
2016-03-03gsm0408_rcvmsg_iucs: remove unused link_id arg.Neels Hofmeyr1-2/+2
2016-03-03mscsplit: fix compilation and comments. move msc_api.h.Neels Hofmeyr1-5/+2
2016-03-03mscsplit: getting grips on header scopesNeels Hofmeyr1-8/+0
2016-03-03rename IFACE_IUCS to IFACE_IUNeels Hofmeyr1-3/+3
2016-03-03cscn: some file moves/renamesNeels Hofmeyr1-0/+119