Lines Matching refs:conf

2053 			struct ieee80211_key_conf conf;
2055 } conf = {};
2072 conf.conf.cipher = old_keys->cipher[link_id][key_type];
2074 if (!conf.conf.cipher)
2077 conf.conf.keylen = 0;
2078 switch (conf.conf.cipher) {
2081 conf.conf.keylen = WLAN_KEY_LEN_CCMP;
2084 conf.conf.keylen = WLAN_KEY_LEN_GCMP_256;
2087 conf.conf.keylen = WLAN_KEY_LEN_BIP_GMAC_128;
2090 conf.conf.keylen = WLAN_KEY_LEN_BIP_GMAC_256;
2093 conf.conf.keylen = WLAN_KEY_LEN_AES_CMAC;
2096 conf.conf.keylen = WLAN_KEY_LEN_BIP_CMAC_256;
2100 if (WARN_ON(!conf.conf.keylen ||
2101 conf.conf.keylen > sizeof(conf.key)))
2104 memcpy(conf.conf.key, mlo_key->key, conf.conf.keylen);
2105 conf.conf.keyidx = key_id;
2117 key = ieee80211_gtk_rekey_add(vif, &conf.conf, link_id);
2148 struct ieee80211_key_conf conf;
2150 } conf = {
2151 .conf.cipher = gtk_cipher,
2156 BUILD_BUG_ON(sizeof(conf.key) < WLAN_KEY_LEN_CCMP);
2157 BUILD_BUG_ON(sizeof(conf.key) < WLAN_KEY_LEN_GCMP_256);
2158 BUILD_BUG_ON(sizeof(conf.key) < WLAN_KEY_LEN_TKIP);
2159 BUILD_BUG_ON(sizeof(conf.key) < sizeof(status->gtk[0].key));
2164 conf.conf.keylen = WLAN_KEY_LEN_CCMP;
2167 conf.conf.keylen = WLAN_KEY_LEN_GCMP_256;
2170 conf.conf.keylen = WLAN_KEY_LEN_TKIP;
2180 conf.conf.keyidx = status->gtk[i].id;
2183 conf.conf.cipher, conf.conf.keyidx);
2184 memcpy(conf.conf.key, status->gtk[i].key,
2187 key = ieee80211_gtk_rekey_add(vif, &conf.conf, link_id);
2211 struct ieee80211_key_conf conf;
2213 } conf = {
2214 .conf.cipher = cipher,
2215 .conf.keyidx = key_data->id,
2223 iwl_mvm_d3_set_igtk_bigtk_ipn(key_data, &seq, conf.conf.cipher);
2227 conf.conf.keylen = WLAN_KEY_LEN_BIP_GMAC_128;
2230 conf.conf.keylen = WLAN_KEY_LEN_BIP_GMAC_256;
2233 conf.conf.keylen = WLAN_KEY_LEN_AES_CMAC;
2236 conf.conf.keylen = WLAN_KEY_LEN_BIP_CMAC_256;
2241 BUILD_BUG_ON(sizeof(conf.key) < sizeof(key_data->key));
2242 memcpy(conf.conf.key, key_data->key, conf.conf.keylen);
2244 key_config = ieee80211_gtk_rekey_add(vif, &conf.conf, link_id);