Skip to content
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

Cellular: Stack type fixes #10842

Merged
merged 3 commits into from
Jul 1, 2019
Merged

Conversation

ghseb
Copy link

@ghseb ghseb commented Jun 17, 2019

Description

Currently IPV4V6 stack type is not handled properly for Gemalto Cinterion modules.

First, PROPERTY_IPV4V6_STACK is a configurable property and therefore a IPV4V6 PDP type should be accepted only if PROPERTY_IPV4V6_STACK is set. No specific treatment is required here i think.

Additionally GEMALTO_CINTERION_CellularStack::socket_sendto_impl in general should not return an error when _stack_type is IPV4V6_STACK.

Pull request type

[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

Reviewers

Release Notes

@ciarmcom ciarmcom requested review from a team June 17, 2019 09:00
@ciarmcom
Copy link
Member

@ghseb, thank you for your changes.
@ARMmbed/mbed-os-wan @ARMmbed/mbed-os-maintainers please review.

@AnttiKauppila
Copy link

@mirelachirica Can you review this change?

if (get_property(pdp_type_t_to_cellular_property(pdp_type)) ||
((pdp_type == IPV4V6_PDP_TYPE && (modem_supports_ipv4 || modem_supports_ipv6)) && !_nonip_req)) {
// Accept exact matching PDP context type
if (get_property(pdp_type_t_to_cellular_property(pdp_type))) {
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@adbridge
Copy link
Contributor

Re-running travis as I can't see why it failed. CI also started.

@mbed-ci
Copy link

mbed-ci commented Jun 22, 2019

Test run: FAILED

Summary: 2 of 11 test jobs failed
Build number : 1
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_cloud-client-test
  • jenkins-ci/mbed-os-ci_dynamic-memory-usage

@0xc0170
Copy link
Contributor

0xc0170 commented Jun 24, 2019

@ghseb Please fix astyle travis failures (one line needs fixing). We restart CI then

@ghseb
Copy link
Author

ghseb commented Jun 25, 2019

@0xc0170 astyle should be fixed

@0xc0170
Copy link
Contributor

0xc0170 commented Jun 28, 2019

Ci started

@mbed-ci
Copy link

mbed-ci commented Jun 28, 2019

Test run: FAILED

Summary: 1 of 11 test jobs failed
Build number : 2
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_cloud-client-test

@0xc0170 0xc0170 merged commit d2c73f2 into ARMmbed:master Jul 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants