Merge lp:~phablet-team/network-manager/lp1418077 into lp:~network-manager/network-manager/ubuntu
| Status: | Merged |
|---|---|
| Approved by: | Ricardo Salveti on 2015-04-09 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 955 |
| Proposed branch: | lp:~phablet-team/network-manager/lp1418077 |
| Merge into: | lp:~network-manager/network-manager/ubuntu |
| Diff against target: |
223 lines (+78/-25) 1 file modified
debian/patches/0001-wwan-add-support-for-using-oFono-as-a-modem-manager.patch (+78/-25) |
| To merge this branch: | bzr merge lp:~phablet-team/network-manager/lp1418077 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Mathieu Trudel-Lapierre | 2015-04-06 | Approve on 2015-04-08 | |
| Ubuntu Phablet Team | 2015-04-06 | Pending | |
|
Review via email:
|
|||
Description of the Change
This merge a fix for lp: #1418077 - NM takes ~5m to reconnect after GPRS detaches.
| Mathieu Trudel-Lapierre (cyphermox) wrote : | # |
These changes might also need to be applied to the RTM branches.
| Tony Espy (awe) wrote : | # |
AFAIK, we're not doing any more updates to the RTM branch. Also, pretty sure these diffs wouldn't apply as is...
| Ricardo Salveti (rsalveti) wrote : | # |
Change looks good, need to test it still.
| Mathieu Trudel-Lapierre (cyphermox) wrote : | # |
Very wise handling of autoconnect there. Has it been discussed with upstream NM developers?
Changes look fine to me, modulo inline comments.
| Tony Espy (awe) wrote : | # |
Yes, Dan and I discussed, and we iterated over this approach till it worked.
That said, my only concern is whether or not this approach has any negative impact on the modem-manager behavior.
I've responded to the comments inline.
| Mathieu Trudel-Lapierre (cyphermox) wrote : | # |
I don't know about the impact to MM. It will need to be tested as part of the silo testing.
- 955. By Tony Espy on 2015-04-10
-
Fix ofono mobile-data 5m reconnect bug (LP: #1418077)
This change fixes a bug that occurs when the modem detaches
from GPRS due to signal loss, or a settings change (eg. radio
tech). Now when this happens, the connection's autoconnect
flag is set to FALSE. When re-attachment occurs, the flag
is set to TRUE, and autoconnect is re-triggered. A bug in
the ofono disconnect_done function was also fixed to ensure
the state is updated correctly. - 956. By Tony Espy on 2015-04-10
-
Increase ofono activation timeout to 40s
Increase the ofono activation timeout to 40
to match the value used by connman.
| Tony Espy (awe) wrote : | # |
1. Tested on mako ( vivid-proposed #166 ):
- device boots & mobile data connection established
- tested bug scenario ( switch radio tech, no 5m delay )
- tested flight-mode
- tested switching from wifi to mobile via wifi toggle
2. Tested on krillin ( vivid-proposed #183 ):
- device boots with SIM in slot1, mobile data connection (2g) established (2)
- can't test device scenario ( no 3g )
- tested flight mode (2)


I'd much rather we semantically split any cleanup from actual bugfix, both in the interest of readability of the diff as well as to reduce the scope of changes and risk of regression.