~connman-maintainers/ofono/trunk

Viewing all changes in revision 8556.

  • Committer: Denis Kenzior
  • Date: 2019-02-11 23:51:16 UTC
  • Revision ID: git-v1:13c0e25eb22111ffa6af44d41c3d8d388538fdfb
gprs: Let gprs_context interface be settable once

This patch allows a driver to set the interface only once, instead of at
every context activation.  The previous way was originally designed for
PPP and RAW_IP based contexts which would have a (potentially)
differently named interface after each context activation due to use of
TUN/TAP.  This also worked for static high-speed interface setups as
well, since these usually had a single interface only.

For devices that support multiple high-speed interfaces it would be
advantageous to have each gprs_context get an interface assignment right
in the modem driver and skip having to setup the interface on every
activation.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: