drivers: modem: hl78xx: Fix GSM RAT registration and PDP handling
Fix several issues in GSM mode for the HL78xx modem driver to
ensure correct registration reporting, RAT handling, and PDP
context activation.
Changes include:
- Skip band configuration when RAT=GSM to prevent +CME ERROR
responses.
- Explicit PDP activation (AT+CGACT=1,1) for GSM data sessions.
- Parse +CGACT URCs and track PDP activation state internally.
- Introduce gprs status struct and update initialization
scripts to handle GSM reliably.
- Add helper functions and chat scripts to manage GSM
registration and PDP flow.
- Correct GSM registration-status handling: enable CREG=3 and
disable unused CEREG.
- Dynamically switch between CREG (GSM) and CEREG (LTE/NB-IoT)
based on active RAT.
These changes improve driver stability and ensure reliable data
and registration behavior on GSM networks.
Signed-off-by: Zafer SEN <zafersn93@gmail.com>
7 files changed