diff options
author | Javier Cardona <javier@cozybit.com> | 2010-12-16 20:37:50 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-12-20 14:46:58 -0500 |
commit | c7108a7111cd9e592d6ad498be37276dbea75d2b (patch) | |
tree | dab25dbb5607c4151629bf747ee10b4487772419 /net/mac80211/rx.c | |
parent | c80d545da3f7c0e534ccd4a780f322f80a92cff1 (diff) |
mac80211: Send mesh non-HWMP path selection frames to userspace
Let path selection frames for protocols other than HWMP be sent to
userspace via NL80211_CMD_REGISTER_FRAME. Also allow userspace to send
and receive mesh path selection frames.
Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/rx.c')
-rw-r--r-- | net/mac80211/rx.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/net/mac80211/rx.c b/net/mac80211/rx.c index 4573ce1e1d15..7c5d1b2ec453 100644 --- a/net/mac80211/rx.c +++ b/net/mac80211/rx.c | |||
@@ -2161,10 +2161,13 @@ ieee80211_rx_h_action(struct ieee80211_rx_data *rx) | |||
2161 | } | 2161 | } |
2162 | break; | 2162 | break; |
2163 | case WLAN_CATEGORY_MESH_PLINK: | 2163 | case WLAN_CATEGORY_MESH_PLINK: |
2164 | case WLAN_CATEGORY_MESH_PATH_SEL: | ||
2165 | if (!ieee80211_vif_is_mesh(&sdata->vif)) | 2164 | if (!ieee80211_vif_is_mesh(&sdata->vif)) |
2166 | break; | 2165 | break; |
2167 | goto queue; | 2166 | goto queue; |
2167 | case WLAN_CATEGORY_MESH_PATH_SEL: | ||
2168 | if (!mesh_path_sel_is_hwmp(sdata)) | ||
2169 | break; | ||
2170 | goto queue; | ||
2168 | } | 2171 | } |
2169 | 2172 | ||
2170 | return RX_CONTINUE; | 2173 | return RX_CONTINUE; |