inter-BSC HO incoming: continue despite missing Classmark
3GPP mandates either Classmark Information 1 or 2 in BSSMAP Handover Request, but an SCCPlite MSC currently tested does not pass either of them. Make this missing IE a non-fatal error, continuing anyway should work out. See 3GPP TS 48.008, 3.2.1.8 HANDOVER REQUEST, where it says "Classmark Information 1 or Classmark Information 2" with note 6: "One of these two elements is sent." Change-Id: I34d64b028210b4df8652fee1a8830ec4a4e3ac11
This commit is contained in:
parent
4122c15ea9
commit
4c6d3ea513
|
@ -424,10 +424,10 @@ static bool parse_ho_request(struct gsm_subscriber_connection *conn, const struc
|
||||||
}
|
}
|
||||||
memcpy(&req->classmark.classmark2, e->val, len);
|
memcpy(&req->classmark.classmark2, e->val, len);
|
||||||
req->classmark.classmark2_len = len;
|
req->classmark.classmark2_len = len;
|
||||||
} else {
|
} else
|
||||||
LOG_HO(conn, LOGL_ERROR, "Missing IE: either Classmark Information 1 or 2 required\n");
|
LOG_HO(conn, LOGL_INFO,
|
||||||
return false;
|
"Missing mandatory IE: 3GPP mandates either Classmark Information 1 or 2"
|
||||||
}
|
" in BSSMAP Handover Request, but neither are present. Will continue without.\n");
|
||||||
|
|
||||||
if (TLVP_PRESENT(tp, GSM0808_IE_AOIP_TRASP_ADDR)) {
|
if (TLVP_PRESENT(tp, GSM0808_IE_AOIP_TRASP_ADDR)) {
|
||||||
int rc;
|
int rc;
|
||||||
|
|
Loading…
Reference in New Issue