On Mon, Apr 23, 2007 at 10:29:51PM +0300, Alper Yegin wrote:
> > >
> > > What would be the issue of having request queuing?
> > 
> > Queueing itself may not be an issue.  But the actual issues is the
> > sender would need to distinguish two cases (i.e., if there is an
> > outstanding ping request or not) for each state.
> > 
> > For example, supposed that the PaC is in a state waiting for a ping
> > answer.  If another event that needs to send a PAR is generated, then
> > the PaC processes the event, generates and queues a PAR and transits
> > to a state that is waiting for a PAN, and it is still waiting for a
> 
> It should not transit to such state until the PAR is actually transmitted.
> I'd say PAR (or the event that leads to PAR generation) shall be queued
> until the PANA-Ping is completed (ping answer is received).

Yes, this is certainly possible.

> 
> 
> > ping answer.  This would require N*2 states (N is number of states
> > except for ping, multiplied by 2 to consider whether there is a ping
> > request or not.
> > 
> > >
> > >
> > > I'd like to see if we can avoid creating special case for PANA-Ping
> > messages
> > > (e.g., putting them under a separate treatment).
> > 
> > I think the only way to avoid it is:
> > 
> > - Allow sending ping request in access phase only.
> > 
> 
> 
> Makes sense.
> 
> > - Allow receiving ping request in any phase.
> 
> Makes sense.
> 
> > 
> > - When there is an outstanding ping request, discard all incoming
> > messages except for ping answer or error request sent in resopnse to
> > the ping request.
> 
> If the PaC receives a PAR while waiting for a PANA-Ping-Answer, why should
> it discard the PAR?

Because if the receiver processes the PAR, it may transit to another
state after processing the message, which will end up with the 2*N
problem.  On the other hand, it may be possible for the PaC to queue
the incoming PAR until the ping request is answered.  

So how about relaxing the third item to:

"
- When there is an outstanding ping request, all incoming messages
  MUST NOT be processed except for ping answer or error request sent
  in response to the ping request.
"

Yoshihiro Ohba

> 
> Alper
> 
> 
> 
> 
> 
> 
> > 
> > This may be an acceptable operation.
> > 
> > Yoshihiro Ohba
> > 
> > 
> > >
> > > Alper
> > >
> > >
> > >
> 
> 
> _______________________________________________
> Pana mailing list
> [email protected]
> https://www1.ietf.org/mailman/listinfo/pana
> 

_______________________________________________
Pana mailing list
[email protected]
https://www1.ietf.org/mailman/listinfo/pana

Reply via email to