Thread Links Date Links
Thread Prev Thread Next Thread Index Date Prev Date Next Date Index

Re: [RPRWG] D2.6 clause 10.14.2 LRTT frame state machine routines




Thanks Jim

That solves the problem I'm adressing below.

-Fredrik

Jim Kao <jkao@xxxxxxxxx> writes:

> Fredrik,
>
> We do resolve this in comment #402.
> You can find CRD in 802.17 web site.
> Please take a look at it to see if it solve your problem.
>
> Jim
>
> At 01:34 PM 10/23/2003 +0200, Fredrik Davik wrote:
>
>>Noticed this first today, so I couldn't file a comment on it...
>>Nobody else had filed a comment on it either.
>>
>>My question is on the hopsToResponder variable. It is not defined
>>anywhere and is not assigned a value in any of the draft state
>>machines. From my understanding of the LRTT measure mechanism, the use
>>of hopsToResponder on line 7 below should be replaced with the index
>>variable, as this contains the hopcount to the sender of the response
>>frame (provided that the sender of the lrtt response frame sends the
>>frame with ttl = MAX_STATIONS).
>>
>>/***Start Code from draft inline *******/
>>1.   void () LRTTResponseHandle(frame) {
>>2.       int hop, index, ringlet;
>>3.
>>4.       index = FindIndex(frame);
>>5.       ringlet = (frame.ri==RINGLET_0)? RINGLET_1:RINGLET_0;
>> 6.       topoEntry[ringlet][index].lrtt = (currentTime -
>>frame.latencyTimestamp) +
>>7.      (hopsToResponder * advertisementInterval) -
>>8.      (frame.tailLatencyOut - frame.tailLatencyIn);
>>9.
>>10.     for(ringlet = 0; ringlet < 2; ringlet += 1) {
>>11.       for (hop = 1; hop <= ringInfo.totalHopsTx[ringlet]; hop += 1) {
>>12.         if(topoEntry[ringlet][hop].lrtt == NULL)
>>13.             return;
>>14.       }
>>15.     }
>>         lrttComplete = TRUE;
>>         return;
>>    }
>>/***End Code from draft inline *******/
>>
>>Best Regards,
>>Fredrik
>>---------------------------------------------
>>Fredrik Davik
>>                  Phone:       +47 67 82 83 88
>>                  Mobile:      +47 45 24 91 88
>>                  Fax:         +47 67 82 82 01
>>                  Switchboard: +47 67 82 82 00
>>
>>mailto:bjornfd@xxxxxxxxx
>>
>>http://heim.ifi.uio.no/~bjornfd
>>http://www.simula.no/people_one.php?people_id=22
>>
>>Simula Research Laboratory
>>P.O.Box 134, Lysaker
>>N-1325 Lysaker
>>Norway