svn commit: r192102 - projects/mesh11s/sys/net80211
Rui Paulo
rpaulo at FreeBSD.org
Thu May 14 14:13:57 UTC 2009
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 */
More information about the svn-src-projects
mailing list