mirror of https://github.com/openwrt/openwrt.git
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> |
||
|---|---|---|
| .. | ||
| base-files | ||
| boot | ||
| devel | ||
| firmware | ||
| kernel | ||
| libs | ||
| network | ||
| system | ||
| utils | ||
| Makefile | ||