lp:ofono

Created by Kalle Valo and last modified
Get this branch:
bzr branch lp:ofono

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
ConnMan packaging maintainers
Project:
ofono
Status:
Mature

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://git.kernel.org/pub/scm/network/ofono/ofono.git.

The next import is scheduled to run .

Last successful import was .

Import started on juju-98ee42-prod-launchpad-codeimport-2 and finished taking 20 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-3 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-2 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-2 and finished taking 20 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-1 and finished taking 20 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 20 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-4 and finished taking 15 seconds — see the log
Import started on juju-98ee42-prod-launchpad-codeimport-2 and finished taking 15 seconds — see the log

Recent revisions

9424. By Max Rudik <email address hidden>

call-settings: Fix typo

9423. By Max Rudik <email address hidden>

stk: Fix possible NULL dereference

9422. By Max Rudik <email address hidden>

cbs: Fix possible NULL dereference

9421. By Max Rudik <email address hidden>

stemodem: Fix possible NULL dereference

9420. By Denis Kenzior <email address hidden>

qmi: gprs-context: Dual-Stack context activation support

Support dual-stack contexts by utilizing two WDS services, one for each
family type. For IPv4 only contexts, the WDS service 'ipv4' is used.
For IPv6 only contexts, the WDS service 'ipv6' is used. For dual stack
contexts, both WDS services are used simultaneously.

When a default bearer (using read_settings) or primary context is
activated (using activate_primary), the Start Network command is issued
on one or both of the WDS services. Once the Start Network command
succeeds, the returned packet handle is stored in 'packet_handle_ipv4'
or 'packet_handle_ipv6', depending on the selected IP family.
Subsequently Get Current Settings command is issued and settings are
read from the QMI response and applied to the context. Success is
signaled to the core if at least one Start Network command succeeded.
Otherwise, an error is signaled.

9419. By Denis Kenzior <email address hidden>

qmi: gprs-context: refactor deactivate_primary

When multiple WDS clients are used (Dual stack contexts), the
deactivate_primary path needs to send Stop Network command on any client
with an ongoing packet connection. The following strategy is now used:
 1. If no packet connections are ongoing on either IPv4 or IPV6
    WDS client, callback with an error
 2. If IPv6 WDS client is used, attempt to stop that first,
    otherwise, proceed to step 4.
 3. If IPv6 WDS client is the only client used, report the
    success / failure of this operation. Otherwise, proceed to
    step 4.
 4. Try to send a Stop Network request to the IPv4 WDS client. If
    this step fails, callback with an error.

9418. By Denis Kenzior <email address hidden>

qmi: gprs-context: refactor detach_shutdown path

Since there will now be up to two WDS clients used (Dual stack
contexts), the detach_shutdown path needs to send a Stop Network
command on any client with an ongoing packet connection.

Implement this by keeping track of WDS clients used for ipv4 and ipv6
families respectively and their respective packet handles. Rename
member 'wds' to 'ipv4', it is used as-is for currently existing code
paths. Similarly, rename pkt_handle to packet_handle_ipv4.

Note that the dedicated WDS client associated with the 'ipv6'
qmi_service handle is effectively not used as of this commit. This is
because packet_handle_ipv6 is never set. IPv6-only context activations
will continue using 'ipv4' and 'packet_handle_ipv4'. This will be
addressed in follow-on commits.

9417. By Denis Kenzior <email address hidden>

qmi: gprs-context: Set up WDS service for IPv6

Track and take ownership of the passed in WDS service meant for IPv6
connectivity. The WDS service should be bound to a particular
endpoint / mux_id and register to the same indication types as the
other WDS service being utilized.

Additionally, WDS services are created with IPv4 as the default family
preference. To support dual-stack bearers, the WDS service managing
IPv6 requires 'Set IP Family Preference' command to be issued with the
IPv6 family preference set.

9416. By Denis Kenzior <email address hidden>

qmi: gprs-context: Treat IP family TLV as mandatory

Also, while here, coalesce two debugging statements into one.

9415. By Denis Kenzior <email address hidden>

qmi: gprs-context: Remove parsing of unused TLVs

The information from these TLVs is currently unused and only printed to
debug output. Same can be accomplished using an external sniffer.
Remove this code until the information in these TLVs is needed for
something.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.