summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_mesh.h
diff options
context:
space:
mode:
authormonthadar <monthadar@FreeBSD.org>2012-05-01 15:42:41 +0000
committermonthadar <monthadar@FreeBSD.org>2012-05-01 15:42:41 +0000
commit6b5007d019c581519337942352d927a5c7de4f19 (patch)
treeeafe996e651e933a50a1c7df8e341922e1a66bff /sys/net80211/ieee80211_mesh.h
parent9d51d66dc0ef2e7c01208283595f080688e7a80e (diff)
downloadFreeBSD-src-6b5007d019c581519337942352d927a5c7de4f19.zip
FreeBSD-src-6b5007d019c581519337942352d927a5c7de4f19.tar.gz
Fixed some MPM reason codes and max number of neighbors check
* Added IEEE80211_MESH_MAX_NEIGHBORS and it is set to 15, same as before; * Modified mesh_parse_meshpeering_action to verify MPM frame and send correct reason code for when a frame is rejected according to standard spec; * Modified mesh_recv_action_meshpeering_* according to the standard spec; * Modified mesh_peer_timeout_cb to always send CLOSE frame when in CONFIRMRCV state according to the standard spec; Approved by: adrian
Diffstat (limited to 'sys/net80211/ieee80211_mesh.h')
-rw-r--r--sys/net80211/ieee80211_mesh.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_mesh.h b/sys/net80211/ieee80211_mesh.h
index 22c43f8..b3cb73d 100644
--- a/sys/net80211/ieee80211_mesh.h
+++ b/sys/net80211/ieee80211_mesh.h
@@ -32,6 +32,7 @@
#define _NET80211_IEEE80211_MESH_H_
#define IEEE80211_MESH_DEFAULT_TTL 31
+#define IEEE80211_MESH_MAX_NEIGHBORS 15
/*
* NB: all structures are __packed so sizeof works on arm, et. al.
OpenPOWER on IntegriCloud