From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Sat, 15 Dec 2012 16:54:53 +0800 References: <1355513344-16066-1-git-send-email-ordex@autistici.org> In-Reply-To: <1355513344-16066-1-git-send-email-ordex@autistici.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201212151654.53276.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: postpone OGM preparation to sending time Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking On Saturday, December 15, 2012 03:29:04 Antonio Quartulli wrote: > OGMs are currently prepared 1 originator interval in advance > then the time they are used to be sent. This means that once > in the air they carry old information (like TT announcements > and possibly other flags). > > To fix this, postpone the OGM creation to the same time of > sending, in this way the OGM is first created and then > immediately sent. > > This patch also removes a "magic" -2 operation that was > introduced in the past to address the fact that batman-adv > was sending "delayed OGM" plus the fact that the OGM seqno > was increased right after having sent a new packet. Since > this change is removing both the behaviours, the "magic" > operation is not needed anymore. Where is the kernel doc ? :) Cheers, Marek