diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2009-10-19 18:46:22 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2009-10-19 18:46:22 +0000 |
commit | 224a3302020dcc2c55d6138ee19ed91305ae9176 (patch) | |
tree | 55a8e5222aa1f03a0a4abb6838c2f9ed5985dc0f /sys/net80211/ieee80211_proto.h | |
parent | fca91fda32721bc606e229d3aeb7600fb317d729 (diff) | |
download | FreeBSD-src-224a3302020dcc2c55d6138ee19ed91305ae9176.zip FreeBSD-src-224a3302020dcc2c55d6138ee19ed91305ae9176.tar.gz |
Implement the missing support for updating the mesh conf number of
neighbors via ieee80211_beacon_notify().
MFC after: 3 days
Diffstat (limited to 'sys/net80211/ieee80211_proto.h')
-rw-r--r-- | sys/net80211/ieee80211_proto.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_proto.h b/sys/net80211/ieee80211_proto.h index 9bfbc61..e036dac 100644 --- a/sys/net80211/ieee80211_proto.h +++ b/sys/net80211/ieee80211_proto.h @@ -317,7 +317,8 @@ struct ieee80211_beacon_offsets { uint16_t bo_appie_len; /* AppIE length in bytes */ uint16_t bo_csa_trailer_len;; uint8_t *bo_csa; /* start of CSA element */ - uint8_t *bo_spare[4]; + uint8_t *bo_meshconf; /* start of MESHCONF element */ + uint8_t *bo_spare[3]; }; struct mbuf *ieee80211_beacon_alloc(struct ieee80211_node *, struct ieee80211_beacon_offsets *); @@ -345,6 +346,7 @@ enum { IEEE80211_BEACON_CSA = 7, /* Channel Switch Announcement */ IEEE80211_BEACON_TDMA = 9, /* TDMA Info */ IEEE80211_BEACON_ATH = 10, /* ATH parameters */ + IEEE80211_BEACON_MESHCONF = 11, /* Mesh Configuration */ }; int ieee80211_beacon_update(struct ieee80211_node *, struct ieee80211_beacon_offsets *, struct mbuf *, int mcast); |