Home
last modified time | relevance | path

Searched refs:sec_key (Results 1 – 4 of 4) sorted by relevance

/drivers/net/wireless/mediatek/mt76/mt7921/
Dmcu.c630 struct sec_key *sec_key; in mt7921_mcu_sta_key_tlv() local
637 sec_key = &sec->key[0]; in mt7921_mcu_sta_key_tlv()
638 sec_key->cipher_len = sizeof(*sec_key); in mt7921_mcu_sta_key_tlv()
641 sec_key->cipher_id = MCU_CIPHER_AES_CCMP; in mt7921_mcu_sta_key_tlv()
642 sec_key->key_id = bip->keyidx; in mt7921_mcu_sta_key_tlv()
643 sec_key->key_len = 16; in mt7921_mcu_sta_key_tlv()
644 memcpy(sec_key->key, bip->key, 16); in mt7921_mcu_sta_key_tlv()
646 sec_key = &sec->key[1]; in mt7921_mcu_sta_key_tlv()
647 sec_key->cipher_id = MCU_CIPHER_BIP_CMAC_128; in mt7921_mcu_sta_key_tlv()
648 sec_key->cipher_len = sizeof(*sec_key); in mt7921_mcu_sta_key_tlv()
[all …]
Dmcu.h183 struct sec_key { struct
198 struct sec_key key[2]; argument
/drivers/net/wireless/mediatek/mt76/mt7915/
Dmcu.c1200 struct sec_key *sec_key; in mt7915_mcu_sta_key_tlv() local
1207 sec_key = &sec->key[0]; in mt7915_mcu_sta_key_tlv()
1208 sec_key->cipher_len = sizeof(*sec_key); in mt7915_mcu_sta_key_tlv()
1211 sec_key->cipher_id = MCU_CIPHER_AES_CCMP; in mt7915_mcu_sta_key_tlv()
1212 sec_key->key_id = bip->keyidx; in mt7915_mcu_sta_key_tlv()
1213 sec_key->key_len = 16; in mt7915_mcu_sta_key_tlv()
1214 memcpy(sec_key->key, bip->key, 16); in mt7915_mcu_sta_key_tlv()
1216 sec_key = &sec->key[1]; in mt7915_mcu_sta_key_tlv()
1217 sec_key->cipher_id = MCU_CIPHER_BIP_CMAC_128; in mt7915_mcu_sta_key_tlv()
1218 sec_key->cipher_len = sizeof(*sec_key); in mt7915_mcu_sta_key_tlv()
[all …]
Dmcu.h900 struct sec_key { struct
915 struct sec_key key[2]; argument