[M-plane] Correct the MTU value

Signed-off-by: Teodora Vladić <teodora.vladic@openairinterface.org>
Fixes: 88c74dc07f ("Correct the MTU for 7.2 config files")
This commit is contained in:
Teodora Vladić
2026-05-20 10:47:01 +02:00
parent c87dd0cbcb
commit 856692b6aa

View File

@@ -153,8 +153,8 @@ static void free_match_list(char **match_list, size_t count)
static void fix_benetel_setting(xran_mplane_t *xran_mplane, const uint32_t interface_mtu, const int16_t first_iq_width, const int max_num_ant, const char *model_name)
{
if (interface_mtu == 1500) {
MP_LOG_I("Interface MTU %d unreliable/not correctly reported by Benetel O-RU, hardcoding to 9600.\n", interface_mtu);
xran_mplane->mtu = 9600;
MP_LOG_I("Interface MTU %d unreliable/not correctly reported by Benetel O-RU, hardcoding to 9216.\n", interface_mtu);
xran_mplane->mtu = 9216;
} else {
xran_mplane->mtu = interface_mtu;
}