libmsc: move L3 call-control to separate C file (gsm_04_08_cc.c)

The CC sub-layer is fairly self-contained, so let's move it to
a separate C source file.  The old gsm_04_08.c file now only
contains the 04.07 / DTAP core and MM sub-layer handling.

I did this initially as an experiment to see how self-contained
our CC implementation really is.  Given this rather straight-forward
patch builds fine, CC really is self-contained (yay!).

Change-Id: Idb8dd7a8d9d8b4a28c492f12da3cc3305b695cca
This commit is contained in:
Harald Welte 2018-06-21 20:39:20 +02:00
parent 153cd39c22
commit 27989d41dc
4 changed files with 2142 additions and 2066 deletions

View File

@ -77,5 +77,6 @@ void allocate_security_operation(struct gsm_subscriber_connection *conn);
int gsm48_multirate_config(uint8_t *lv, const struct amr_multirate_conf *mr, const struct amr_mode *modes);
int gsm48_tch_rtp_create(struct gsm_trans *trans);
int gsm48_conn_sendmsg(struct msgb *msg, struct gsm_subscriber_connection *conn, struct gsm_trans *trans);
#endif

View File

@ -32,6 +32,7 @@ libmsc_a_SOURCES = \
msc_vty.c \
db.c \
gsm_04_08.c \
gsm_04_08_cc.c \
gsm_04_11.c \
gsm_04_14.c \
gsm_04_80.c \

File diff suppressed because it is too large Load Diff

2120
src/libmsc/gsm_04_08_cc.c Normal file

File diff suppressed because it is too large Load Diff