diff --git a/recipes-osmocom/openbsc/openbsc/upgrade-mncc-version.patch b/recipes-osmocom/openbsc/openbsc/upgrade-mncc-version.patch new file mode 100644 index 0000000000..b856cc3ce3 --- /dev/null +++ b/recipes-osmocom/openbsc/openbsc/upgrade-mncc-version.patch @@ -0,0 +1,17 @@ +lcr uses MNCC_SOCK_VERSION 5, but this is binary compatible to +what openbsc thinks is version 4. The only difference is the added +RTP related commands, which are optional. + +Index: openbsc/include/openbsc/mncc.h +=================================================================== +--- openbsc.orig/include/openbsc/mncc.h ++++ openbsc/include/openbsc/mncc.h +@@ -163,7 +163,7 @@ struct gsm_data_frame { + unsigned char data[0]; + }; + +-#define MNCC_SOCK_VERSION 4 ++#define MNCC_SOCK_VERSION 5 + struct gsm_mncc_hello { + uint32_t msg_type; + uint32_t version; diff --git a/recipes-osmocom/openbsc/openbsc_git.bb b/recipes-osmocom/openbsc/openbsc_git.bb index 7d395ca382..7fe8988642 100644 --- a/recipes-osmocom/openbsc/openbsc_git.bb +++ b/recipes-osmocom/openbsc/openbsc_git.bb @@ -3,8 +3,8 @@ require ${PN}.inc PV = "0.13.0+gitr${SRCPV}" PR = "${INC_PR}.4" -SRCREV = "8a158bb1ea36d0f88da18d0f034884b30f09fda2" +SRCREV = "a4c63b0cdba82a453875d9208d9dad0b9b530d56" SRC_URI += "git://git.osmocom.org/openbsc.git;protocol=git \ - file://revert-mncc-version.patch" + file://upgrade-mncc-version.patch" S = "${WORKDIR}/git/openbsc"