openwrt/package/network/utils
Chester A. Unal e83da3bada
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
Build all core packages / Build all core packages for selected target (push) Waiting to run
uqmi: introduce devpath option
Introduce the devpath option to find the control channel device from a
hardware path for a USB or a WWAN device.

This option is useful when there are multiple modems connected to the
system. The name of the control channel device of a modem can change
depending on which modem initialises first or if it was recently plugged
in. The devpath option allows specifying the hardware path of the modem
where the control channel device will be found using that.

For the USB device hardware path, it is allowed to specify the USB port
number the modem is directly connected to.

If the device and devpath options are both set, devpath takes precedence
over device.

The USB device hardware path of a control channel device can be found by:

readlink -f /sys/class/usbmisc/cdc-wdmX/device

The WWAN device hardware path of a control channel device can be found by:

readlink -f /sys/class/wwan/wwanXqmiX/device

An example uci configuration would be:

config interface 'wwan_usb1'
	option proto 'qmi'
	option auth 'none'
	option devpath '/sys/devices/platform/1e1c0000.xhci/usb1/1-1'
	option apn 'internet'
	option pdptype 'ipv4v6'

Or:

config interface 'wwan_pcie1'
	option proto 'qmi'
	option auth 'none'
	option devpath '/sys/devices/platform/soc/11280000.pcie/pci0003:00/0003:00:00.0/0003:01:00.0'
	option apn 'internet'
	option pdptype 'ipv4v6'

Signed-off-by: Chester A. Unal <chester.a.unal@arinc9.com>
2026-03-03 14:17:48 +02:00
..
adb-enablemodem adb-enablemodem: fix version for APK 2024-10-29 00:07:53 +01:00
arptables arptables: add CPPFLAGS 2026-02-17 22:25:22 +01:00
bpftool treewide: use HTTPS URL for www.kernel.org 2026-01-02 18:07:02 +01:00
comgt treewide: switch to HTTPS URL 2026-01-02 18:07:02 +01:00
ebtables ebtables: add CPPFLAGS 2026-02-17 22:25:26 +01:00
ethtool packages: ethtool: restore CONFLICTS 2026-01-04 18:40:52 +01:00
iproute2 iproute2: include upstream patch for musl libc 2026-02-24 20:21:50 +01:00
ipset ipset: update to 7.24 2025-08-17 17:36:54 +02:00
iptables iptables: fix breaking packing 2025-10-04 11:25:06 +02:00
iw iw: replace patch with upstream version 2026-01-29 00:09:42 +01:00
iwcap iwcap: add CPPFLAGS 2026-02-17 22:25:09 +01:00
iwinfo iwinfo: add CPPFLAGS 2026-02-17 22:25:09 +01:00
layerscape/restool restool: bump to lf-6.6.23-2.0.0 2024-09-22 16:21:02 +02:00
linux-atm treewide: switch to HTTPS URL 2026-01-02 18:07:02 +01:00
ltq-dsl-base treewide: switch to HTTPS URL 2026-01-02 18:07:02 +01:00
nftables nftables: update to version 1.1.6 2025-12-10 23:26:39 +01:00
resolveip resolveip: add CPPFLAGS 2026-02-17 22:25:09 +01:00
rssileds treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
tcpdump tcpdump: update to 4.99.6 2026-01-28 23:41:32 +01:00
umbim umbim: introduce devpath option 2026-03-03 14:17:48 +02:00
uqmi uqmi: introduce devpath option 2026-03-03 14:17:48 +02:00
wireguard-tools wireguard-tools: fix string indexing in endpoint host check 2026-02-20 19:10:13 +01:00
wireless-tools wireless-tools: add CPPFLAGS 2026-02-17 22:25:09 +01:00
wpan-tools wpan-tools: update to 0.10 2025-11-25 14:08:07 +01:00
wwan treewide: use APK compatible version schema 2024-03-22 22:14:22 +01:00
xdp-tools xdp-tools: bump PKG_RELEASE 2026-02-11 22:05:25 +01:00