Lines Matching defs:key
466 struct ieee80211_key *key;
507 * to protect against concurrent sta key updates.
510 key = rcu_access_pointer(sta->ptk[sta->ptk_idx]);
511 if (!key)
512 key = rcu_access_pointer(sdata->default_unicast_key);
513 build.fast_tx.key = key;
515 if (key) {
518 gen_iv = key->conf.flags & IEEE80211_KEY_FLAG_GENERATE_IV;
519 iv_spc = key->conf.flags & IEEE80211_KEY_FLAG_PUT_IV_SPACE;
521 if (!(key->flags & KEY_FLAG_UPLOADED_TO_HARDWARE) ||
522 (key->flags & KEY_FLAG_TAINTED))
525 switch (key->conf.cipher) {
557 if (build.fast_tx.key)