uqmi: Add proper IPv6 support
authorSteven Barth <cyrus@openwrt.org>
Fri, 11 Sep 2015 06:46:40 +0000 (06:46 +0000)
committerSteven Barth <cyrus@openwrt.org>
Fri, 11 Sep 2015 06:46:40 +0000 (06:46 +0000)
commitbb9a1fac26c5f7181c3299c3737844a687e2191d
treeab8c55f4b2094322f22f0baf375840e8522a1a84
parent17a75f3f82185b7b798e51a0411d8a286a4ce1ca
uqmi: Add proper IPv6 support

Use the new --ip-family option to start both IPv4 and IPv6 sessions
by default. Autoconnect can't be used when starting two sessions,
so revert back to using the client IDs and packet data handles for
handling the network connection.

Some modem firmwares do not implement a RA server, therefore by
default use outband IP configuration and static addressing. Some
other firmwares report bogus IP configuration with the WDS get
current settings command. In this case inband configuration with
DHCP/RA can be optionally enabled by setting option dhcp to 1.

Per 3GPP standard a /64 prefix is served to all clients, which is
extended to LAN as specified in RFC 7278.

v2: Restrict the IPv6 gateway route source address
Signed-off-by: Matti Laakso <malaakso@elisanet.fi>
SVN-Revision: 46843
package/network/utils/uqmi/Makefile
package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh [changed mode: 0755->0644]