Skip to content

Conversation

@tokangas
Copy link
Contributor

@tokangas tokangas commented Jan 8, 2026

Added the CONFIG_LTE_LOCK_BAND_LIST Kconfig option for configuring LTE band lock using a list of band numbers. This can be used alone or combined with CONFIG_LTE_LOCK_BAND_MASK, which takes a bit string of enabled bands.

Removed default value from the CONFIG_LTE_LOCK_BAND_MASK Kconfig option. When LTE band lock is enabled using CONFIG_LTE_LOCK_BANDS, also the bands need to be explicitly configured. It makes no sense to have a default list of bands which are enabled.

Copilot AI review requested due to automatic review settings January 8, 2026 11:42
@tokangas tokangas requested review from a team as code owners January 8, 2026 11:42
@NordicBuilder NordicBuilder added the doc-required PR must not be merged without tech writer approval. label Jan 8, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for configuring LTE band lock using a comma-separated list of band numbers through a new CONFIG_LTE_LOCK_BAND_LIST Kconfig option, which can be used alongside or instead of the existing bit mask configuration.

Key changes:

  • Introduces CONFIG_LTE_LOCK_BAND_LIST for list-based band configuration
  • Removes default value from CONFIG_LTE_LOCK_BAND_MASK to require explicit configuration
  • Updates modem AT command to support both mask and list parameters when list is provided

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
lib/lte_link_control/lte_lc_modem_hooks.c Adds runtime logic to use band list parameter in AT command when configured, with build-time validation
lib/lte_link_control/Kconfig Adds CONFIG_LTE_LOCK_BAND_LIST option and removes default from CONFIG_LTE_LOCK_BAND_MASK
doc/nrf/releases_and_maturity/releases/release-notes-changelog.rst Documents the new CONFIG_LTE_LOCK_BAND_LIST feature

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tokangas tokangas force-pushed the lte_lc_band_lock_band_list_support branch from a5fbcd1 to 5dae97a Compare January 8, 2026 11:45
@NordicBuilder
Copy link
Contributor

NordicBuilder commented Jan 8, 2026

CI Information

To view the history of this post, click the 'edited' button above
Build number: 5

Inputs:

Sources:

sdk-nrf: PR head: 8e72e17dd4c52b7451740a5673138fc3f82883ab

more details

sdk-nrf:

PR head: 8e72e17dd4c52b7451740a5673138fc3f82883ab
merge base: 18ee80da084073dce0f905329288babbf089096d
target head (main): a61a7f641240ecccc8519af80b3e9d42d8f21f20
Diff

Github labels

Enabled Name Description
ci-disabled Disable the ci execution
ci-all-test Run all of ci, no test spec filtering will be done
ci-force-downstream Force execution of downstream even if twister fails
ci-run-twister Force run twister
ci-run-zephyr-twister Force run zephyr twister
List of changed files detected by CI (3)
doc
│  ├── nrf
│  │  ├── releases_and_maturity
│  │  │  ├── releases
│  │  │  │  │ release-notes-changelog.rst
lib
│  ├── lte_link_control
│  │  ├── Kconfig
│  │  │ lte_lc_modem_hooks.c

Outputs:

Toolchain

Version: f911d4f4e7
Build docker image: docker-dtr.nordicsemi.no/sw-production/ncs-build:f911d4f4e7_5ea73affbf

Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped; ⚠️ Quarantine

  • ◻️ Toolchain - Skipped: existing toolchain is used
  • ✅ Build twister
    • sdk-nrf test count: 379
  • ✅ Integration tests
    • ✅ test-fw-nrfconnect-nrf-iot_cloud
    • ✅ test-fw-nrfconnect-nrf-iot_zephyr_lwm2m
    • ✅ test-fw-nrfconnect-nrf-iot_samples
    • ✅ test-fw-nrfconnect-nrf-iot_lwm2m
    • ✅ test-fw-nrfconnect-nrf_lrcs_mosh
    • ✅ test-sdk-dfu
    • ⚠️ test-fw-nrfconnect-nrf_lrcs_mosh
    • ⚠️ test-fw-nrfconnect-nrf_lrcs_positioning
Disabled integration tests
    • desktop52_verification
    • test_ble_nrf_config
    • test-fw-nrfconnect-ble_mesh
    • test-fw-nrfconnect-ble_samples
    • test-fw-nrfconnect-chip
    • test-fw-nrfconnect-fem
    • test-fw-nrfconnect-nfc
    • test-fw-nrfconnect-nrf-iot_libmodem-nrf
    • test-fw-nrfconnect-nrf-iot_thingy91
    • test-fw-nrfconnect-nrf_crypto
    • test-fw-nrfconnect-ps-main
    • test-fw-nrfconnect-rpc
    • test-fw-nrfconnect-rs
    • test-fw-nrfconnect-tfm
    • test-fw-nrfconnect-thread-main
    • test-low-level
    • test-sdk-audio
    • test-sdk-find-my
    • test-sdk-mcuboot
    • test-sdk-wifi
    • test-secdom-samples-public

Note: This message is automatically posted and updated by the CI

Copilot AI review requested due to automatic review settings January 8, 2026 11:50
@tokangas tokangas force-pushed the lte_lc_band_lock_band_list_support branch from 5dae97a to 16c5717 Compare January 8, 2026 11:50
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link

github-actions bot commented Jan 8, 2026

You can find the documentation preview for this PR here.

Preview links for modified nRF Connect SDK documents:

https://ncsdoc.z6.web.core.windows.net/PR-26434/nrf/releases_and_maturity/releases/release-notes-changelog.html

Copy link
Contributor

@peknis peknis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with a couple of nits.

@tokangas tokangas force-pushed the lte_lc_band_lock_band_list_support branch from 16c5717 to b629011 Compare January 9, 2026 11:54
Added the CONFIG_LTE_LOCK_BAND_LIST Kconfig option for configuring
LTE band lock using a list of band numbers. This can be used
alone or combined with CONFIG_LTE_LOCK_BAND_MASK, which takes
a bit string of enabled bands.

Removed default value from the CONFIG_LTE_LOCK_BAND_MASK Kconfig
option. When LTE band lock is enabled using CONFIG_LTE_LOCK_BANDS,
also the bands need to be explicitly configured. It makes no sense
to have a default list of bands which are enabled.

Signed-off-by: Tommi Kangas <[email protected]>
Copilot AI review requested due to automatic review settings January 9, 2026 12:28
@tokangas tokangas force-pushed the lte_lc_band_lock_band_list_support branch from b629011 to 8e72e17 Compare January 9, 2026 12:28
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-required PR must not be merged without tech writer approval.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants