-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #13490 Cellular disconnect does not deactivate context #13610
Fix #13490 Cellular disconnect does not deactivate context #13610
Conversation
(for some cases)
@boraozgen, thank you for your changes. |
} | ||
|
||
deactivate_context(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment above For EPS, if an attempt is made to disconnect the last PDN connection, then the MT responds with ERROR... comes from 3GPP TS 27.007.
Unlike EPS, NB-IoT can be without PDN so could be fixed above like if (_is_context_active && (rat < CellularNetwork::RAT_E_UTRAN || rat == CellularNetwork::RAT_NB1 || active_contexts_count > 1)) {
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added this. Does this also apply to CAT-M1?
Thanks @AriParkkila for review |
CI started |
Jenkins CI Test : ✔️ SUCCESSBuild Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & ArtifactsCLICK for Detailed Summary
|
Good question. According to changes it doesn't. But I'm pretty sure it should because CAT M1 and NB1 have similar working concepts from fw point of view, both needing contexts. So maybe instead of: |
All RATs satisfy the condition |
As do for Question is why did you left out RAT_CATM1? |
I am not 100% sure but I think this issue was not affecting CAT-M1. I will try to test CAT-M1 with this fix and comment here. |
Summary of changes
Fixes #13490, where the PDP context does not get deactivated in some cases when
CellularInterface::disconnect()
is called. Further description is in the issue.Impact of changes
Migration actions required
Documentation
None
Pull request type
Test results
Reviewers