Files
openwrt/package/network/utils
Carlo Szelinsky fb75b12593 comgt: ncm: allow model specific ncm.json profiles
The ncm.json entry is picked from AT+CGMI alone, so every modem from a
vendor has to share one dialect. That does not hold for Quectel: the
EG060W answers "operation not supported" to AT+QICSGP on context 1, the
attached default bearer, while EC25/EG25 need AT+QICSGP because it is
what carries username, password and auth.

Read AT+CGMM as well and prefer a "<manufacturer>-<model>" entry, falling
back to the plain manufacturer entry, so existing profiles behave exactly
as before. The region suffix is dropped, EG060W-EAAA becomes eg060w.
json_is_a() is used rather than a bare json_select() so a modem without a
model specific entry does not log a warning.

Add quectel-eg060w, which configures the context with AT+CGDCONT.

Signed-off-by: Carlo Szelinsky <github@szelinsky.de>
Tested-by: Fredrik Hallin <fredappsdev@outlook.com>
Link: https://github.com/openwrt/openwrt/pull/24689
Signed-off-by: Jonas Jelonek <jonas@jonasjelonek.de>
2026-09-17 18:19:17 +02:00
..
2026-02-17 22:25:22 +01:00
2026-04-19 18:46:36 +02:00
2026-02-17 22:25:26 +01:00
2026-07-20 20:46:47 +02:00
2026-02-17 22:25:09 +01:00
2026-01-02 18:07:02 +01:00
2026-02-17 22:25:09 +01:00
2026-01-28 23:41:32 +01:00
2026-04-03 18:47:49 +02:00