aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/mesh.h
diff options
context:
space:
mode:
authorRui Paulo <rpaulo@gmail.com>2009-11-09 18:46:50 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-11-13 17:43:54 -0500
commitd611f062f4351d8609910648854908fecf58970d (patch)
treeef3541e0e9347a42b497e3bbdb66045090533308 /net/mac80211/mesh.h
parent90a5e16992fa6105f7ebf3f29f5cf5feb1bbf7dc (diff)
mac80211: update PERR frame format
Update the PERR IE frame format according to latest draft (3.03). Signed-off-by: Rui Paulo <rpaulo@gmail.com> Signed-off-by: Javier Cardona <javier@cozybit.com> Reviewed-by: Andrey Yurovsky <andrey@cozybit.com> Tested-by: Brian Cavagnolo <brian@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/mesh.h')
-rw-r--r--net/mac80211/mesh.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/net/mac80211/mesh.h b/net/mac80211/mesh.h
index 2fd3e200a063..1d534c702406 100644
--- a/net/mac80211/mesh.h
+++ b/net/mac80211/mesh.h
@@ -210,6 +210,11 @@ struct mesh_rmc {
210#define MESH_PATH_SEL_CATEGORY 32 210#define MESH_PATH_SEL_CATEGORY 32
211#define MESH_PATH_SEL_ACTION 0 211#define MESH_PATH_SEL_ACTION 0
212 212
213/* PERR reason codes */
214#define PEER_RCODE_UNSPECIFIED 11
215#define PERR_RCODE_NO_ROUTE 12
216#define PERR_RCODE_DEST_UNREACH 13
217
213/* Public interfaces */ 218/* Public interfaces */
214/* Various */ 219/* Various */
215int ieee80211_fill_mesh_addresses(struct ieee80211_hdr *hdr, __le16 *fc, 220int ieee80211_fill_mesh_addresses(struct ieee80211_hdr *hdr, __le16 *fc,
@@ -275,8 +280,8 @@ void mesh_mpp_table_grow(void);
275u32 mesh_table_hash(u8 *addr, struct ieee80211_sub_if_data *sdata, 280u32 mesh_table_hash(u8 *addr, struct ieee80211_sub_if_data *sdata,
276 struct mesh_table *tbl); 281 struct mesh_table *tbl);
277/* Mesh paths */ 282/* Mesh paths */
278int mesh_path_error_tx(u8 *dest, __le32 dest_dsn, u8 *ra, 283int mesh_path_error_tx(u8 ttl, u8 *dest, __le32 dest_dsn, __le16 dest_rcode,
279 struct ieee80211_sub_if_data *sdata); 284 u8 *ra, struct ieee80211_sub_if_data *sdata);
280void mesh_path_assign_nexthop(struct mesh_path *mpath, struct sta_info *sta); 285void mesh_path_assign_nexthop(struct mesh_path *mpath, struct sta_info *sta);
281void mesh_path_flush_pending(struct mesh_path *mpath); 286void mesh_path_flush_pending(struct mesh_path *mpath);
282void mesh_path_tx_pending(struct mesh_path *mpath); 287void mesh_path_tx_pending(struct mesh_path *mpath);