aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rndis_wlan.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2010-10-05 13:39:30 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-10-06 16:30:40 -0400
commite31b82136d1adc7a599b6e99d3321e5831841f5a (patch)
treec72d78d4cccfd08587e909c7efe59956f1cbc23e /drivers/net/wireless/rndis_wlan.c
parent53f73c09d64f1fa7d7e6e8b6bb7468d42eddc92d (diff)
cfg80211/mac80211: allow per-station GTKs
This adds API to allow adding per-station GTKs, updates mac80211 to support it, and also allows drivers to remove a key from hwaccel again when this may be necessary due to multiple GTKs. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rndis_wlan.c')
-rw-r--r--drivers/net/wireless/rndis_wlan.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/wireless/rndis_wlan.c b/drivers/net/wireless/rndis_wlan.c
index 719573bbbf81..71b5971da597 100644
--- a/drivers/net/wireless/rndis_wlan.c
+++ b/drivers/net/wireless/rndis_wlan.c
@@ -540,11 +540,11 @@ static int rndis_set_channel(struct wiphy *wiphy, struct net_device *dev,
540 struct ieee80211_channel *chan, enum nl80211_channel_type channel_type); 540 struct ieee80211_channel *chan, enum nl80211_channel_type channel_type);
541 541
542static int rndis_add_key(struct wiphy *wiphy, struct net_device *netdev, 542static int rndis_add_key(struct wiphy *wiphy, struct net_device *netdev,
543 u8 key_index, const u8 *mac_addr, 543 u8 key_index, bool pairwise, const u8 *mac_addr,
544 struct key_params *params); 544 struct key_params *params);
545 545
546static int rndis_del_key(struct wiphy *wiphy, struct net_device *netdev, 546static int rndis_del_key(struct wiphy *wiphy, struct net_device *netdev,
547 u8 key_index, const u8 *mac_addr); 547 u8 key_index, bool pairwise, const u8 *mac_addr);
548 548
549static int rndis_set_default_key(struct wiphy *wiphy, struct net_device *netdev, 549static int rndis_set_default_key(struct wiphy *wiphy, struct net_device *netdev,
550 u8 key_index); 550 u8 key_index);
@@ -2308,8 +2308,8 @@ static int rndis_set_channel(struct wiphy *wiphy, struct net_device *netdev,
2308} 2308}
2309 2309
2310static int rndis_add_key(struct wiphy *wiphy, struct net_device *netdev, 2310static int rndis_add_key(struct wiphy *wiphy, struct net_device *netdev,
2311 u8 key_index, const u8 *mac_addr, 2311 u8 key_index, bool pairwise, const u8 *mac_addr,
2312 struct key_params *params) 2312 struct key_params *params)
2313{ 2313{
2314 struct rndis_wlan_private *priv = wiphy_priv(wiphy); 2314 struct rndis_wlan_private *priv = wiphy_priv(wiphy);
2315 struct usbnet *usbdev = priv->usbdev; 2315 struct usbnet *usbdev = priv->usbdev;
@@ -2344,7 +2344,7 @@ static int rndis_add_key(struct wiphy *wiphy, struct net_device *netdev,
2344} 2344}
2345 2345
2346static int rndis_del_key(struct wiphy *wiphy, struct net_device *netdev, 2346static int rndis_del_key(struct wiphy *wiphy, struct net_device *netdev,
2347 u8 key_index, const u8 *mac_addr) 2347 u8 key_index, bool pairwise, const u8 *mac_addr)
2348{ 2348{
2349 struct rndis_wlan_private *priv = wiphy_priv(wiphy); 2349 struct rndis_wlan_private *priv = wiphy_priv(wiphy);
2350 struct usbnet *usbdev = priv->usbdev; 2350 struct usbnet *usbdev = priv->usbdev;