arch/nrf91: improvements for LTE API#19129
Open
raiden00pl wants to merge 3 commits into
Open
Conversation
6c1c662 to
cd5cbe1
Compare
xiaoxiang781216
previously approved these changes
Jun 13, 2026
acassis
requested changes
Jun 14, 2026
Add LTE_CMDID_SETPSM / LTE_CMDID_SETEDRX handling that encodes the requested PSM (T3412/T3324) and eDRX timers to AT+CPSMS / AT+CEDRXS, so the LTE power saving modes are controllable through the common LTE API. Signed-off-by: raiden00pl <raiden00@railab.me>
1. Don't fail LTE GETQUAL on AT+CSQ error The LTE_CMDID_GETQUAL handler queried the modem with AT+CESQ (RSRP/RSRQ) and then AT+CSQ (RSSI), returning the result of the last command. Set 'valid' only when AT+CESQ parses, treat AT+CSQ as optional, zero the metrics up front, and return OK so the caller inspects 'valid'. 2. get SNIR Signed-off-by: raiden00pl <raiden00@railab.me>
add support for LTE_CMDID_GETCELL ioctl call Signed-off-by: raiden00pl <raiden00@railab.me>
cd5cbe1 to
58ba92b
Compare
xiaoxiang781216
approved these changes
Jun 15, 2026
jerpelea
approved these changes
Jun 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
arch/nrf91: implement LTE PSM/eDRX via the LAPI
Add LTE_CMDID_SETPSM / LTE_CMDID_SETEDRX handling that encodes the requested
PSM (T3412/T3324) and eDRX timers to AT+CPSMS / AT+CEDRXS, so the LTE power
saving modes are controllable through the common LTE API.
arch/arm/nrf91: improve LTE_CMDID_GETQUAL handling
The LTE_CMDID_GETQUAL handler queried the modem with AT+CESQ (RSRP/RSRQ)
and then AT+CSQ (RSSI), returning the result of the last command.
Set 'valid' only when AT+CESQ parses, treat AT+CSQ as optional, zero
the metrics up front, and return OK so the caller inspects 'valid'.
arch/arm/nrf91: add support for LTE_CMDID_GETCELL
add support for LTE_CMDID_GETCELL ioctl call
Impact
Add more LTE API features for nrf91. These are useful for debuggin LTE connection
Testing
thingy91 with lwm2m