Re: [mif] AMSS/Brew Multi-interface handling

Hui Deng <denghui02@gmail.com> Wed, 14 April 2010 01:58 UTC

Return-Path: <denghui02@gmail.com>
X-Original-To: mif@core3.amsl.com
Delivered-To: mif@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 4BD2E3A6AE7 for <mif@core3.amsl.com>; Tue, 13 Apr 2010 18:58:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fzm0jfehjkrY for <mif@core3.amsl.com>; Tue, 13 Apr 2010 18:58:31 -0700 (PDT)
Received: from mail-gw0-f44.google.com (mail-gw0-f44.google.com [74.125.83.44]) by core3.amsl.com (Postfix) with ESMTP id 083B43A6839 for <mif@ietf.org>; Tue, 13 Apr 2010 18:58:30 -0700 (PDT)
Received: by gwb1 with SMTP id 1so2185128gwb.31 for <mif@ietf.org>; Tue, 13 Apr 2010 18:58:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=2CaY2M4HKIGEkUEVxY3mraZtdX/vbMmH38iSJvFtbTI=; b=rn2uYYCKiniOsjsjPof7F/JYYbCm5lzBMlcbGZMK1/g+y7qy2E58UKTQ7sL0HPRUW3 C68HEeYMSNREsZ284tK7zRirhTmWcDuReiDzy3z51iTuxCeOz8eiWBDyEThb2itCB8p2 glHrDL40lMMQnOyqNkx7WRsoCefGyFJE0MpKM=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=jQrOZAI/fRccXKTWDRLG2iviH7hZoyIlMCuzO+w0J985lik6m5jgHH5fC9vS86/7r8 MTxsDp8sXDy1Awu2l0tvvegQEv0+N7eqKN1vkFreSeS2w6QqYlKwAcQk8APbYzEA90Kq RTaY9kLgXbgqwBezZEJx+ez8EaBY0m8H121mo=
MIME-Version: 1.0
Received: by 10.231.152.202 with HTTP; Tue, 13 Apr 2010 18:58:17 -0700 (PDT)
In-Reply-To: <BF345F63074F8040B58C00A186FCA57F1C6AB47F1D@NALASEXMB04.na.qualcomm.com>
References: <d3886a520907290158o33705c50m31e848d2b20c764b@mail.gmail.com> <d3886a520908160241k52ede41bpad57325a1c741f3b@mail.gmail.com> <w2i1d38a3351004090831gc64ac111ia0baf446f61e443f@mail.gmail.com> <BF345F63074F8040B58C00A186FCA57F1C6AB47F1D@NALASEXMB04.na.qualcomm.com>
Date: Wed, 14 Apr 2010 09:58:17 +0800
Received: by 10.101.144.30 with SMTP id w30mr7536485ann.77.1271210297841; Tue, 13 Apr 2010 18:58:17 -0700 (PDT)
Message-ID: <g2m1d38a3351004131858t3f0b2aeax7c0a03d94f803ed6@mail.gmail.com>
From: Hui Deng <denghui02@gmail.com>
To: "Laganier, Julien" <julienl@qualcomm.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Cc: mif <mif@ietf.org>
Subject: Re: [mif] AMSS/Brew Multi-interface handling
X-BeenThere: mif@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Multiple Interface Discussion List <mif.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/mif>, <mailto:mif-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mif>
List-Post: <mailto:mif@ietf.org>
List-Help: <mailto:mif-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mif>, <mailto:mif-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 14 Apr 2010 01:58:32 -0000

inline please,

2010/4/14 Laganier, Julien <julienl@qualcomm.com>:
> Hui Deng wrote:
>>
>> Hi, George,
>>
>> just two clarifications AMSS/Brew DNS configuration is
>> interface based other than host based?
>
> Quoting the text George sent:
>
>   AMSS allows each interface to be configured with its own set of DNS
>   configuration parameters - a list of DNS servers, domain names etc.
As you can see from the MIF discussion, even configuration could be
interface based,
but final DNS server selection could be host based, does AMSS/Brew
works similar?

>
>> secondly, network profile could identify only APN other than PDP
>> context?
>
> Quoting the text George sent:
>
>   The network profile identifies a type of network domain
>   or service within a certain network technology, such as 3GPP APN or
>   Mobile IP Home Agent.  It also specifies all the mandatory parameters
>   required to connect to the domain such authentication credentials and
>   other optional parameters such as QoS attributes.  Network Profile is
>   technology specific and set of parameters contained in the profile
>   could vary for different technologies.
wifi has two type connections:connected through APN, or directed
connected with Internet
assume you have 3G+Wifi Connections,
in your profile, it would be the same APN for 3G and Wfi, then you
have to rely on access type?
but access type will differentiate 3g and wifi.
So who will be high priority? access type or APN(profile).

thanks for your clarification.

-Hui

>
> --julien
>
>> 2009/8/16 George Tsirtsis <tsirtsis@googlemail.com>:
>> > Hi all,
>> >
>> > I sent this to Margaret during the IETF meeting but I did not hear
>> > back from her. Maybe it got lost in the IETF noise so I thought I
>> > might as well forward this to the list.
>> >
>> > I hope it helps.
>> >
>> > George
>> >
>> > ---------- Forwarded message ----------
>> > From: George Tsirtsis <tsirtsis@googlemail.com>
>> > Date: Wed, Jul 29, 2009 at 9:58 AM
>> > Subject: AMSS/Brew Multi-interface handling
>> > To: mrw@sandstorm.net
>> >
>> >
>> > Hi Margaret,
>> >
>> > Here is a description of how multi-interface support is handled by
>> > Advanced Mobile Station Software (AMSS) that comes with Brew OS for
>> > all Qualcomm chipsets (e.g., MSM, Snapdragon etc). I hope this is
>> > helpful information for draft-mrw-mif-current-practices.
>> >
>> > Let me know if you have any questions.
>> >
>> > Regards
>> > George Tsirtsis (wearing a Qualcomm hat)
>> >
>> > ---------------------------------------------------------------------
>> --------------------------------
>> >
>> >
>> > Multiple Interface Handling - Qualcomm AMSS/Brew Mobile Platform
>> >
>> > AMSS supports a concept of "netpolicy" which allows each application
>> > to specify the type of network connectivity desired.  The netpolicy
>> > contains parameters such as access technology, IP version type and
>> > network profile.  Access technology could be a specific technology
>> > type such as CDMA or WiFi or could be a group of technologies, such
>> as
>> > ANY_Cellular or ANY_Wireless.  IP version could be one of Ipv4, Ipv6
>> > or Default.  The network profile identifies a type of network domain
>> > or service within a certain network technology, such as 3GPP APN or
>> > Mobile IP Home Agent.  It also specifies all the mandatory parameters
>> > required to connect to the domain such authentication credentials and
>> > other optional parameters such as QoS attributes.  Network Profile is
>> > technology specific and set of parameters contained in the profile
>> > could vary for different technologies.
>> >
>> > Two models of network usage are supported.
>> >
>> > Applications requiring network connectivity specify an appropriate
>> > netpolicy in order to select the desired network.  The netpolicy may
>> > match one or more network interfaces.  AMSS system selection module
>> > selects the best interface out of the ones that match the netpolicy
>> > based on various criteria such as cost, speed or other provisioned
>> > rules.  Application explicitly starts the selected network interface
>> > and, as a result, the application also gets bound to the
>> corresponding
>> > network interface.  All outbound packets from this application are
>> > always routed over this bound interface using the source address of
>> > the interface.
>> > Alternately, applications may rely on a separate connection manager
>> to
>> > control (start/stop) the network interface.    In this method,
>> > applications are not necessarily bound to any one interface.  All
>> > outbound packets from such applications are routed on one of the
>> > interfaces that match its netpolicy.  The routing decision is made
>> > individually for each packet and  selects the best interface based on
>> > the criteria described above and the destination address.   Source
>> > address is always that assigned to the interface used to transmit the
>> > packet.
>> >
>> > Note that all of the routing/interface selection decisions are based
>> > on the netpolicy and not just destination address to avoid
>> overlapping
>> > private Ipv4 address issue.  This also allows multiple (logical)
>> > interfaces to be configured with the same IP address, for example, to
>> > handle certain tunnelling scenarios.   Applications that do not
>> > specify a netpolicy are routed by AMSS to the best possible interface
>> > using the default netpolicy.  Default netpolicy could be pre-defined
>> > or provisioned by the administrator or operator.  Hence default
>> > interface could vary from device to device and also depends upon the
>> > available networks at any given time.
>> > AMSS allows each interface to be configured with its own set of DNS
>> > configuration parameters - a list of DNS servers, domain names etc.
>> > Interface selected to make a DNS resolution is the one to which
>> > application making the DNS query is bound.  Applications can also
>> > specify a different netpolicy as part of DNS request to select
>> another
>> > interface for DNS resolution.  Regardless, all the DNS queries are
>> > sent only over this selected interface using the DNS configuration
>> > from the interface.   DNS resolution is first attempted with the
>> > primary server configured in the interface.  If a response is not
>> > received, the queries are sent to all the other servers configured in
>> > the interface in a sequential manner using a backoff mechanism.
>> > _______________________________________________
>> > mif mailing list
>> > mif@ietf.org
>> > https://www.ietf.org/mailman/listinfo/mif
>> >
>> _______________________________________________
>> mif mailing list
>> mif@ietf.org
>> https://www.ietf.org/mailman/listinfo/mif
>