aboutsummaryrefslogtreecommitdiffstats
path: root/net/wireless
diff options
context:
space:
mode:
authorJavier Cardona <javier@cozybit.com>2010-12-16 20:37:50 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-12-20 14:46:58 -0500
commitc7108a7111cd9e592d6ad498be37276dbea75d2b (patch)
treedab25dbb5607c4151629bf747ee10b4487772419 /net/wireless
parentc80d545da3f7c0e534ccd4a780f322f80a92cff1 (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/wireless')
-rw-r--r--net/wireless/nl80211.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/wireless/nl80211.c b/net/wireless/nl80211.c
index eef89d0b558b..6a5d6fa11e46 100644
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
@@ -4445,6 +4445,7 @@ static int nl80211_register_mgmt(struct sk_buff *skb, struct genl_info *info)
4445 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT && 4445 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT &&
4446 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && 4446 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP &&
4447 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP_VLAN && 4447 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP_VLAN &&
4448 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT &&
4448 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) 4449 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO)
4449 return -EOPNOTSUPP; 4450 return -EOPNOTSUPP;
4450 4451
@@ -4485,6 +4486,7 @@ static int nl80211_tx_mgmt(struct sk_buff *skb, struct genl_info *info)
4485 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT && 4486 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_CLIENT &&
4486 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP && 4487 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP &&
4487 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP_VLAN && 4488 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP_VLAN &&
4489 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_MESH_POINT &&
4488 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO) 4490 dev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO)
4489 return -EOPNOTSUPP; 4491 return -EOPNOTSUPP;
4490 4492