aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-07-06 13:49:54 -0400
committerJohannes Berg <johannes.berg@intel.com>2012-07-09 08:49:15 -0400
commitf72b85b8eb6657fae95ac8f5cb20954b4d87a520 (patch)
tree089123ac0b92e2939ffb4510b22f03cd4ac7da9a /include/net/mac80211.h
parent31ee67a1ced64f61e3f8266ddfd820d6ce599da3 (diff)
mac80211: remove ieee80211_key_removed
This API call was intended to be used by drivers if they want to optimize key handling by removing one key when another is added. Remove it since no driver is using it. If needed, it can always be added back. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index e3fa90ce9ecb..c5dbb46debb0 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -3592,22 +3592,6 @@ void ieee80211_request_smps(struct ieee80211_vif *vif,
3592 enum ieee80211_smps_mode smps_mode); 3592 enum ieee80211_smps_mode smps_mode);
3593 3593
3594/** 3594/**
3595 * ieee80211_key_removed - disable hw acceleration for key
3596 * @key_conf: The key hw acceleration should be disabled for
3597 *
3598 * This allows drivers to indicate that the given key has been
3599 * removed from hardware acceleration, due to a new key that
3600 * was added. Don't use this if the key can continue to be used
3601 * for TX, if the key restriction is on RX only it is permitted
3602 * to keep the key for TX only and not call this function.
3603 *
3604 * Due to locking constraints, it may only be called during
3605 * @set_key. This function must be allowed to sleep, and the
3606 * key it tries to disable may still be used until it returns.
3607 */
3608void ieee80211_key_removed(struct ieee80211_key_conf *key_conf);
3609
3610/**
3611 * ieee80211_ready_on_channel - notification of remain-on-channel start 3595 * ieee80211_ready_on_channel - notification of remain-on-channel start
3612 * @hw: pointer as obtained from ieee80211_alloc_hw() 3596 * @hw: pointer as obtained from ieee80211_alloc_hw()
3613 */ 3597 */