Skip to content

Conversation

@SeppoTakalo
Copy link
Contributor

Test against nrfconnect/sdk-nrf#25308
That brings upstream PR changes: nrfconnect/sdk-zephyr#3444

Upstream Kconfig options for CMUX buffer sizes have changed.

Try to align to 4 x CMUX packet size as default buffer.

Signed-off-by: Seppo Takalo <[email protected]>
Copilot AI review requested due to automatic review settings October 30, 2025 07:53
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 tests against a cherry-pick PR that brings upstream changes for modem CMUX configuration. The changes update buffer size configuration from a compile-time constant to a more flexible approach.

  • Updates west.yml to point to a specific PR for testing
  • Replaces hardcoded CONFIG_MODEM_CMUX_WORK_BUFFER_SIZE with the new MODEM_CMUX_WORK_BUFFER_SIZE constant
  • Updates overlay configuration to use the new CONFIG_MODEM_CMUX_WORK_BUFFER_SIZE_EXTRA setting and adjusts UART buffer sizes

Reviewed Changes

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

File Description
west.yml Points to PR branch for testing upstream changes
app/src/sm_cmux.c Updates buffer declarations to use new constant instead of config macro
app/overlay-ppp-cmux-linux.conf Updates CMUX configuration to use new extra buffer size setting and adjusts UART buffer sizes

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

@SeppoTakalo SeppoTakalo added the DNM Do not merge label Oct 30, 2025
@SeppoTakalo SeppoTakalo requested a review from a team October 30, 2025 08:09
When there is no reading end on DLCI pipe, drop URC messages.


Signed-off-by: Seppo Takalo <[email protected]>
If the "AT" "OK" sequence fails on the start up script, it
might be that the modem is already in CMUX mode.

Try recovering the CMUX pipe by sending flag characters
followed by CMUX Close Down message.

The CMUX is then re-established by SABM message normally.

Signed-off-by: Seppo Takalo <[email protected]>
@SeppoTakalo SeppoTakalo closed this Nov 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DNM Do not merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants