diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2008-04-15 00:16:06 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-04-16 15:59:58 -0400 |
commit | 6974e36356524fa856435cb1be40aaffbac9601a (patch) | |
tree | c5a98e784ce1d5c20ce99dec5ffcc7b1bca46efa /drivers/net/wireless/iwlwifi/iwl-4965.h | |
parent | 0a0bed1d10105a9f58cd14ebe216e8479dd31fda (diff) |
iwlwifi: default WEP HW encryption
This patch adds HW encryption support in default WEP mode.
When no key mapping key/pairwise key is used. The key is broadcast key
is used as default/global/static key.
This code assumes that group cast key is added after pairwise key.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-4965.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.h b/drivers/net/wireless/iwlwifi/iwl-4965.h index 65e536782706..93df29e4689a 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.h +++ b/drivers/net/wireless/iwlwifi/iwl-4965.h | |||
@@ -1112,6 +1112,9 @@ struct iwl_priv { | |||
1112 | spinlock_t sta_lock; | 1112 | spinlock_t sta_lock; |
1113 | int num_stations; | 1113 | int num_stations; |
1114 | struct iwl4965_station_entry stations[IWL_STATION_COUNT]; | 1114 | struct iwl4965_station_entry stations[IWL_STATION_COUNT]; |
1115 | struct iwl_wep_key wep_keys[WEP_KEYS_MAX]; | ||
1116 | u8 default_wep_key; | ||
1117 | u8 key_mapping_key; | ||
1115 | 1118 | ||
1116 | /* Indication if ieee80211_ops->open has been called */ | 1119 | /* Indication if ieee80211_ops->open has been called */ |
1117 | u8 is_open; | 1120 | u8 is_open; |