umbim: handle MTU configuration
authorLech Perczak <lech.perczak@gmail.com>
Sat, 6 Nov 2021 15:01:02 +0000 (16:01 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 29 Apr 2023 19:33:05 +0000 (21:33 +0200)
commite4db21b413e65bdfe0491a0ff5749d0bdfde04d4
treedc6f047dbf926714f9aab73b27525848cd2db6f6
parent2bfbc2dbd8b0d9570a8df0d8d8db93c2a9fcec01
umbim: handle MTU configuration

Allow setting interface MTU through UCI. If this is not set,
use MBIM-provided MTU, if provided through control channel.
If separate MTUs are provided for IPv4 and IPv6, apply larger of them.
This is very unlikely and possible only for IPv4v6 dual-stack configuration.

Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
package/network/utils/umbim/files/lib/netifd/proto/mbim.sh