Lines Matching refs:key

1655 					   struct ieee80211_key_conf *key)  in rt2800_config_wcid_attr_cipher()  argument
1661 offset = MAC_WCID_ATTR_ENTRY(key->hw_key_idx); in rt2800_config_wcid_attr_cipher()
1666 !!(key->flags & IEEE80211_KEY_FLAG_PAIRWISE)); in rt2800_config_wcid_attr_cipher()
1691 offset = MAC_IVEIV_ENTRY(key->hw_key_idx); in rt2800_config_wcid_attr_cipher()
1698 iveiv_entry.iv[3] |= key->keyidx << 6; in rt2800_config_wcid_attr_cipher()
1705 struct ieee80211_key_conf *key) in rt2800_config_shared_key() argument
1713 key->hw_key_idx = (4 * crypto->bssidx) + key->keyidx; in rt2800_config_shared_key()
1715 memcpy(key_entry.key, crypto->key, in rt2800_config_shared_key()
1716 sizeof(key_entry.key)); in rt2800_config_shared_key()
1722 offset = SHARED_KEY_ENTRY(key->hw_key_idx); in rt2800_config_shared_key()
1734 field.bit_offset = 4 * (key->hw_key_idx % 8); in rt2800_config_shared_key()
1737 offset = SHARED_KEY_MODE_ENTRY(key->hw_key_idx / 8); in rt2800_config_shared_key()
1747 rt2800_config_wcid(rt2x00dev, crypto->address, key->hw_key_idx); in rt2800_config_shared_key()
1748 rt2800_config_wcid_attr_bssidx(rt2x00dev, key->hw_key_idx, in rt2800_config_shared_key()
1750 rt2800_config_wcid_attr_cipher(rt2x00dev, crypto, key); in rt2800_config_shared_key()
1758 struct ieee80211_key_conf *key) in rt2800_config_pairwise_key() argument
1770 key->hw_key_idx = crypto->wcid; in rt2800_config_pairwise_key()
1772 memcpy(key_entry.key, crypto->key, in rt2800_config_pairwise_key()
1773 sizeof(key_entry.key)); in rt2800_config_pairwise_key()
1779 offset = PAIRWISE_KEY_ENTRY(key->hw_key_idx); in rt2800_config_pairwise_key()
1787 rt2800_config_wcid_attr_cipher(rt2x00dev, crypto, key); in rt2800_config_pairwise_key()
11958 struct ieee80211_key_conf *key, in rt2800_get_key_seq() argument
11965 if (key->cipher != WLAN_CIPHER_SUITE_TKIP) in rt2800_get_key_seq()
11968 offset = MAC_IVEIV_ENTRY(key->hw_key_idx); in rt2800_get_key_seq()