From: Guillaume Zajac <guillaume.zajac@linux.intel.com>
To: ofono@ofono.org
Subject: Re: [PATCH 1/2] GAtPPP: Add ACFC option support
Date: Fri, 24 Jun 2011 17:20:10 +0200 [thread overview]
Message-ID: <4E04AB2A.3040002@linux.intel.com> (raw)
In-Reply-To: <4E04A23D.7000002@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1399 bytes --]
Hi Denis,
On 24/06/2011 16:42, Denis Kenzior wrote:
> Hi Guillaume,
>
>>> Again, this seems wrong. What is happening here is that the peer just
>>> told us that 'Yes, I can accept ACFC packets'.
>>>
>>> What you're trying to do is set whether our end can accept ACFC packets
>>> based on whether the peer can. In fact, they are completely
>>> independent. The relationship can be asymmetric, e.g. client that can
>>> send ACFC packets, but not accept them, and vice versa. You need to
>>> account for this.
>>>
>> Right, so if we always set by default ACFC options into LCP configure
>> request.
>> I could dot into
>>
>> static void lcp_reset_config_options(struct lcp_data *lcp)
>> {
>> /* Using the default ACCM */
>> lcp->req_options |= REQ_OPTION_ACFC;
>> lcp_generate_config_options(lcp);
>> }
>>
>>
>> On reception, we always say we can receive ACFC packet then it is up to
>> the peer to transmit or not ACFC packets.
>>
>> GAtPPP object only needs to know if it has to transmit or not ACFC packets.
>> That is the purpose of ppp->acfc.
> I'd like to have the option of turning off ACFC completely, so it should
> control:
> 1. Whether we advertise that we can receive ACFC packets
> 2. Whether we should try to send ACFC packets
>
Fine I will add it.
I guess we will need same kind of options for PFC.
Kind regards,
Guillaume
next prev parent reply other threads:[~2011-06-24 15:20 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-16 11:55 [PATCH 0/2] ACFC and PFC options implementation Guillaume Zajac
2011-06-16 11:55 ` [PATCH 1/2] GAtPPP: Add ACFC option support Guillaume Zajac
2011-06-23 18:58 ` Denis Kenzior
2011-06-24 8:41 ` Guillaume Zajac
2011-06-24 14:42 ` Denis Kenzior
2011-06-24 15:20 ` Guillaume Zajac [this message]
2011-06-24 15:21 ` Denis Kenzior
2011-06-16 11:55 ` [PATCH 2/2] GAtPPP: Add PFC " Guillaume Zajac
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E04AB2A.3040002@linux.intel.com \
--to=guillaume.zajac@linux.intel.com \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.