Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 May 2009 14:13:57 +0000 (UTC)
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r192102 - projects/mesh11s/sys/net80211
Message-ID:  <200905141413.n4EEDv9x093441@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rpaulo
Date: Thu May 14 14:13:57 2009
New Revision: 192102
URL: http://svn.freebsd.org/changeset/base/192102

Log:
  Fill in mesh path request/reply IEs.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  projects/mesh11s/sys/net80211/ieee80211_mesh.h

Modified: projects/mesh11s/sys/net80211/ieee80211_mesh.h
==============================================================================
--- projects/mesh11s/sys/net80211/ieee80211_mesh.h	Thu May 14 14:03:14 2009	(r192101)
+++ projects/mesh11s/sys/net80211/ieee80211_mesh.h	Thu May 14 14:13:57 2009	(r192102)
@@ -212,14 +212,37 @@ struct ieee80211_meshrann_ie {
 struct ieee80211_meshpreq_ie {
 	uint8_t		preq_ie;	/* IEEE80211_ELEMID_MESHPREQ */
 	uint8_t		preq_len;
-	/* XXXRP: TBD */
+	uint8_t		preq_flags;
+	uint8_t		preq_hopcount;
+	uint8_t		preq_ttl;
+	uint8_t		preq_id;
+	uint8_t		preq_origaddr[IEEE80211_ADDR_LEN];
+	uint32_t	preq_origseq;
+	/* NB: may have Originator Proxied Address */
+	uint32_t	preq_lifetime;
+	uint32_t	preq_metric;
+	uint8_t		preq_tcount;	/* target count */
+	struct {
+		uint8_t		target_flags
+		uint8_t		target_addr[IEEE80211_ADDR_LEN];
+		uint32_t	target_seq;
+	} targets[1] __packed;	/* NB: variable size */
 } __packed;
 
 /* Mesh Path Reply */
 struct ieee80211_meshprep_ie {
 	uint8_t		prep_ie;	/* IEEE80211_ELEMID_MESHPREP */
 	uint8_t		prep_len;
-	/* XXXRP: TBD */
+	uint8_t		prep_flags;
+	uint8_t		prep_hopcount;
+	uint8_t		prep_ttl;
+	uint8_t		prep_targetaddr[IEEE80211_ADDR_LEN];
+	uint32_t	prep_targetseq;
+	/* NB: May have Target Proxied Address */
+	uint32_t	prep_lifetime;
+	uint32_t	prep_metric;
+	uint8_t		prep_origaddr[IEEE80211_ADDR_LEN];
+	uint32_t	prep_origseq;
 } __packed;
 
 /* Mesh Path Error */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905141413.n4EEDv9x093441>