umbim: use static config by default, fallback to DHCP
authorLech Perczak <lech.perczak@gmail.com>
Mon, 19 Jul 2021 19:28:07 +0000 (21:28 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 29 Apr 2023 19:33:04 +0000 (21:33 +0200)
commitca8df8a992211c7f61434372b07afcbe0d94ff9f
tree636830d49fd5720fbeb34e09b7cdae8b702070d9
parent464d81fe4a831181b2bb2a03b50442a86f3ce0be
umbim: use static config by default, fallback to DHCP

Finally, inspired by ModemManager's logic, make static configuration
obtained through MBIM control channel, preferred.
If IP configuration is not available this way, fallback to DHCP(v6) if
enabled, else do not create a sub-interface for unavailable IP type.

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