-
Notifications
You must be signed in to change notification settings - Fork 14
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
[rilbinder] Implement setupDataCall_1_4. JB#55388 #29
base: master
Are you sure you want to change the base?
Conversation
src/ril_binder_radio.c
Outdated
ril_binder_radio_take_string(out, &profile->user, user); | ||
ril_binder_radio_take_string(out, &profile->password, password); | ||
|
||
RADIO_PDP_PROTOCOL_TYPE protocol = RADIO_PDP_PROTOCOL_UNKNOWN; |
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.
This looks like out-of-order declaration, which is not quite C
src/ril_binder_radio.c
Outdated
ril_binder_radio_take_string(out, &profile->password, password); | ||
|
||
RADIO_PDP_PROTOCOL_TYPE protocol = RADIO_PDP_PROTOCOL_UNKNOWN; | ||
if (g_strcmp0(proto, "IPV6") == 0) |
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.
Please add {} around if blocks for consistency
src/ril_binder_radio.c
Outdated
} | ||
|
||
ran = RADIO_ACCESS_NETWORK_UNKNOWN; | ||
switch ((RADIO_TECH)tech) { |
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.
Is this mapping different from the one in ril_binder_radio_encode_setup_data_call_1_2()
? If not, please move it to a separate function and call it from both places.
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.
A bit too much copy-paste to my liking but LGTM if it works (haven't tested)
Fixes 2G data calls on some devices using [email protected] interface.
We got feedback from one user that this does not solve the problem, but we will try to collect more feedback. |
Fixes 2G data calls on some devices using [email protected] interface. Requires configuration change to enable [email protected] interface for example "transport=binder:name=slot1;[email protected]".in /etc/ofono/ril_subscription.conf.