diff options
author | monthadar <monthadar@FreeBSD.org> | 2012-05-01 15:42:41 +0000 |
---|---|---|
committer | monthadar <monthadar@FreeBSD.org> | 2012-05-01 15:42:41 +0000 |
commit | 6b5007d019c581519337942352d927a5c7de4f19 (patch) | |
tree | eafe996e651e933a50a1c7df8e341922e1a66bff /sys/net80211/ieee80211_mesh.h | |
parent | 9d51d66dc0ef2e7c01208283595f080688e7a80e (diff) | |
download | FreeBSD-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.h | 1 |
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. |