Search Linux Wireless

Re: [PATCH v3 11/20] mac80211: implement RANN processing and forwarding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
> Signed-off-by: Javier Cardona <javier@xxxxxxxxxxx>
> Reviewed-by: Andrey Yurovsky <andrey@xxxxxxxxxxx>
> Tested-by: Brian Cavagnolo <brian@xxxxxxxxxxx>
> ---
>  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@xxxxxxxxxxxxx			might be all we have.  Be ready.
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux