All of lore.kernel.org
 help / color / mirror / Atom feed
From: laurent <laurent@wifibot.com>
To: Antonio Quartulli <ordex@autistici.org>, b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] [PATCH] batman-adv: Chichek hunt started! Verbose patch
Date: Tue, 27 Sep 2011 23:15:08 +0200	[thread overview]
Message-ID: <4E823CDC.5060105@wifibot.com> (raw)
In-Reply-To: <1317110464-7089-1-git-send-email-ordex@autistici.org>

[-- Attachment #1: Type: text/plain, Size: 2584 bytes --]

Hello,

I finally had a new firmware with your new patch.

There is the new logs, hope it help. I am working late today if you need
more.

Best,

Laurent

On 27/09/2011 10:01, Antonio Quartulli wrote:
> Signed-off-by: Antonio Quartulli <ordex@autistici.org>
> ---
>  translation-table.c |   19 +++++++++++++++++--
>  1 files changed, 17 insertions(+), 2 deletions(-)
>
> diff --git a/translation-table.c b/translation-table.c
> index 7de9960..8cfccae 100644
> --- a/translation-table.c
> +++ b/translation-table.c
> @@ -258,9 +258,14 @@ int tt_changes_fill_buffer(struct bat_priv *bat_priv,
>  	spin_lock_bh(&bat_priv->tt_changes_list_lock);
>  	atomic_set(&bat_priv->tt_local_changes, 0);
>  
> +	bat_dbg(DBG_TT, bat_priv, "TT_BUG Preparing OGM buffer\n");
> +
>  	list_for_each_entry_safe(entry, safe, &bat_priv->tt_changes_list,
>  			list) {
>  		if (count < tot_changes) {
> +			bat_dbg(DBG_TT, bat_priv, "TT_BUG Copying flags: 0x%x addr: %pM\n",
> +					entry->change.flags,
> +					entry->change.addr);
>  			memcpy(buff + tt_len(count),
>  			       &entry->change, sizeof(struct tt_change));
>  			count++;
> @@ -270,6 +275,8 @@ int tt_changes_fill_buffer(struct bat_priv *bat_priv,
>  	}
>  	spin_unlock_bh(&bat_priv->tt_changes_list_lock);
>  
> +	bat_dbg(DBG_TT, bat_priv, "TT_BUG Copied %d addresses\n", count);
> +
>  	/* Keep the buffer for possible tt_request */
>  	spin_lock_bh(&bat_priv->tt_buff_lock);
>  	kfree(bat_priv->tt_buff);
> @@ -1407,7 +1414,11 @@ static void _tt_update_changes(struct bat_priv *bat_priv,
>  {
>  	int i;
>  
> +	bat_dbg(DBG_TT, bat_priv, "TT_BUG Received %d changes\n", tt_num_changes);
> +
>  	for (i = 0; i < tt_num_changes; i++) {
> +		bat_dbg(DBG_TT, bat_priv, "TT_BUG flags: 0x%x %pM\n", (tt_change + i)->flags,
> +				(tt_change + i)->addr);
>  		if ((tt_change + i)->flags & TT_CLIENT_DEL)
>  			tt_global_del(bat_priv, orig_node,
>  				      (tt_change + i)->addr,
> @@ -1505,12 +1516,16 @@ void handle_tt_response(struct bat_priv *bat_priv,
>  	if (!orig_node)
>  		goto out;
>  
> -	if (tt_response->flags & TT_FULL_TABLE)
> +	if (tt_response->flags & TT_FULL_TABLE) {
> +		bat_dbg(DBG_TT, bat_priv, "TT_BUG Got full table on response\n");
>  		tt_fill_gtable(bat_priv, tt_response);
> -	else
> +	}
> +	else{
> +		bat_dbg(DBG_TT, bat_priv, "TT_BUG Got diff\n");
>  		tt_update_changes(bat_priv, orig_node, tt_response->tt_data,
>  				  tt_response->ttvn,
>  				  (struct tt_change *)(tt_response + 1));
> +	}
>  
>  	/* Delete the tt_req_node from pending tt_requests list */
>  	spin_lock_bh(&bat_priv->tt_req_list_lock);


[-- Attachment #2: log_custom.zip --]
[-- Type: application/zip, Size: 21058 bytes --]

       reply	other threads:[~2011-09-27 21:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1317110464-7089-1-git-send-email-ordex@autistici.org>
2011-09-27 21:15 ` laurent [this message]
2011-09-27 21:42   ` [B.A.T.M.A.N.] [PATCH] batman-adv: Chichek hunt started! Verbose patch laurent
2011-09-29 13:56     ` Antonio Quartulli
2011-09-26 21:14 [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work laurent
2011-09-26 22:49 ` [B.A.T.M.A.N.] [PATCH] batman-adv: Chichek hunt started! Verbose patch Antonio Quartulli
  -- strict thread matches above, loose matches on Subject: below --
2011-09-25 16:05 [B.A.T.M.A.N.] batman-adv 2011.2.0 hop somtimes does not work Antonio Quartulli
2011-09-25 16:06 ` [B.A.T.M.A.N.] [PATCH] batman-adv: Chichek hunt started! Verbose patch Antonio Quartulli

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=4E823CDC.5060105@wifibot.com \
    --to=laurent@wifibot.com \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    --cc=ordex@autistici.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.