mirror of
https://gitlab.eurecom.fr/oai/openairinterface5g.git
synced 2026-07-13 04:30:28 +00:00
[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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user