All of lore.kernel.org
 help / color / mirror / Atom feed
From: "John W. Linville" <linville@tuxdriver.com>
To: Rui Paulo <rpaulo@gmail.com>
Cc: linux-wireless@vger.kernel.org,
	Johannes Berg <johannes@sipsolutions.net>
Subject: Re: [PATCH v3 11/20] mac80211: implement RANN processing and forwarding
Date: Tue, 10 Nov 2009 16:43:50 -0500	[thread overview]
Message-ID: <20091110214350.GF12682@tuxdriver.com> (raw)
In-Reply-To: <20091110134802.GA55552@asus-p5b.lan>

On Tue, Nov 10, 2009 at 01:48:02PM +0000, Rui Paulo wrote:
> Process the RANN (Root Annoucement) Frame and try to find the HWMP
> root station by sending a PREQ.
> 
> Signed-off-by: Rui Paulo <rpaulo@gmail.com>
> Signed-off-by: Javier Cardona <javier@cozybit.com>
> Reviewed-by: Andrey Yurovsky <andrey@cozybit.com>
> Tested-by: Brian Cavagnolo <brian@cozybit.com>
> ---
>  include/linux/ieee80211.h  |   15 ++++++++
>  net/mac80211/ieee80211_i.h |    1 +
>  net/mac80211/mesh_hwmp.c   |   79 +++++++++++++++++++++++++++++++++++++++----
>  net/mac80211/util.c        |    4 ++
>  4 files changed, 91 insertions(+), 8 deletions(-)
> 
> diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
> index 50c684d..e6cd039 100644
> --- a/include/linux/ieee80211.h
> +++ b/include/linux/ieee80211.h
> @@ -554,6 +554,20 @@ struct ieee80211_tim_ie {
>  	u8 virtual_map[1];
>  } __attribute__ ((packed));
>  
> +/**
> + * struct ieee80211_rann_ie
> + *
> + * This structure refers to "Root Announcement information element"
> + */
> +struct ieee80211_rann_ie {
> +	u8 rann_flags;
> +	u8 rann_hopcount;
> +	u8 rann_ttl;
> +	u8 rann_addr[ETH_ALEN];
> +	u32 rann_seq;
> +	u32 rann_metric;
> +} __attribute__ ((packed));
> +
>  #define WLAN_SA_QUERY_TR_ID_LEN 2
>  
>  struct ieee80211_mgmt {

In file included from net/wireless/lib80211.c:19:
include/linux/ieee80211.h:566: error: ‘ETH_ALEN’ undeclared here (not in a function)

-- 
John W. Linville		Someday the world will need a hero, and you
linville@tuxdriver.com			might be all we have.  Be ready.

  reply	other threads:[~2009-11-10 21:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-10 13:48 [PATCH v3 11/20] mac80211: implement RANN processing and forwarding Rui Paulo
2009-11-10 21:43 ` John W. Linville [this message]
     [not found]   ` <1E46D638-5BD4-4B59-9800-9A70595720B9@gmail.com>
2009-11-10 23:14     ` Johannes Berg
2009-11-11  0:19       ` John W. Linville

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=20091110214350.GF12682@tuxdriver.com \
    --to=linville@tuxdriver.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=rpaulo@gmail.com \
    /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.