Skip to content

Commit

Permalink
mac80211: update the format of path selection frames
Browse files Browse the repository at this point in the history
Update the format of path selection frames 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>
  • Loading branch information
Rui Paulo authored and John W. Linville committed Nov 11, 2009
1 parent 0938393 commit 095de01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions net/mac80211/mesh.h
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ struct mesh_rmc {
/* Pending ANA approval */
#define MESH_PLINK_CATEGORY 30
#define MESH_PATH_SEL_CATEGORY 32
#define MESH_PATH_SEL_ACTION 0

/* Public interfaces */
/* Various */
Expand Down
2 changes: 1 addition & 1 deletion net/mac80211/mesh_hwmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ static int mesh_path_sel_frame_tx(enum mpath_frame_type action, u8 flags,
memcpy(mgmt->sa, sdata->dev->dev_addr, ETH_ALEN);
/* BSSID is left zeroed, wildcard value */
mgmt->u.action.category = MESH_PATH_SEL_CATEGORY;
mgmt->u.action.u.mesh_action.action_code = action;
mgmt->u.action.u.mesh_action.action_code = MESH_PATH_SEL_ACTION;

switch (action) {
case MPATH_PREQ:
Expand Down

0 comments on commit 095de01

Please sign in to comment.