Hello Vicky,
Follow-up below...
On 10/10/2015 9:27 AM, Victoria Mercieca wrote:
Hi Charlie,
I figured we were more or less in agreement here.
>> Should we still add some reference to the Newer function Charlie wrote? And should we add any explanation that if the incoming sequence number is greater than the current seqnum by more than half the maximum value, then the incoming will be seen as stale? But that we dont care, because if that happened, something bigger is wrong...?
>
>
> It is not possible to measure differences of more than half the size of the sequence number space.
>
> So it is "not possible" for any seqnum to be "greater than" another seqnum by more than half the size of the sequence number space.
>
But this is because of the comparison arithmetic, yes?
Clearly if we are allowed to use seqnums between 1 and 65535, then in theory it is possible for seqnums to differ by half the size of the seqnum space. But the arithmetic will in this case always say to discard the incoming info. i.e. the arithmetic won't be able to interpret that difference correctly.
> Picking the size of the seqnum space amounts to a predetermination of what is possible to measure. I don't think it is appropriate to make statements that we "don't care", because we have to care enough to pick a workable seqnum space. In the preceding sentence, the "if" clause is always FALSE because the conditional could never be satisfied in the space of sequence numbers.
>
OK "don't care" was a lazy choice of words... but I was checking you agreed that if the incoming seqnum and current seqnum differed by that much, then something had probably gone wrong,
and the fact that the arithmetic would say to discard the incoming info wouldn't make a big difference. I think (seqnum_a > seqnum_b) would be true, but since we need to do the subtraction to compare, (seqnum_a - seqnum_b > 0) would not be true.
> In fact, 8 bits would probably be O.K. for AODVv2, and that was an early design choice. But 16 bits is "super-O.K.".
>
> My discussion about "Newer()" was in response to a question by Chris Dearlove, and is not related to the size of the seqnum space.
>
I understand that, but my question was whether Newer() needs to be included in the draft?
And further, did we need to explain in the draft about seqnums that differ by half the seqnum space?