mac80211: update mesh path selection frame format
Make mesh path selection frames Mesh Action category, remove outdated Mesh Path Selection category and defines, use updated reason codes, add mesh_action_is_path_sel for readability, and update/correct path selection IEs. Signed-off-by: Thomas Pedersen <thomas@cozybit.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
36c704fded
commit
25d49e4d63
6 changed files with 69 additions and 55 deletions
|
@ -2241,9 +2241,8 @@ ieee80211_rx_h_action(struct ieee80211_rx_data *rx)
|
|||
case WLAN_CATEGORY_MESH_ACTION:
|
||||
if (!ieee80211_vif_is_mesh(&sdata->vif))
|
||||
break;
|
||||
goto queue;
|
||||
case WLAN_CATEGORY_MESH_PATH_SEL:
|
||||
if (!mesh_path_sel_is_hwmp(sdata))
|
||||
if (mesh_action_is_path_sel(mgmt) &&
|
||||
(!mesh_path_sel_is_hwmp(sdata)))
|
||||
break;
|
||||
goto queue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue