Lines Matching refs:gtk_tlv

2290 	struct mt76_connac_gtk_rekey_tlv *gtk_tlv = data;  in mt76_connac_mcu_key_iter()  local
2306 gtk_tlv->proto = cpu_to_le32(NL80211_WPA_VERSION_1); in mt76_connac_mcu_key_iter()
2308 gtk_tlv->proto = cpu_to_le32(NL80211_WPA_VERSION_2); in mt76_connac_mcu_key_iter()
2310 gtk_tlv->pairwise_cipher = cpu_to_le32(cipher); in mt76_connac_mcu_key_iter()
2311 gtk_tlv->keyid = key->keyidx; in mt76_connac_mcu_key_iter()
2313 gtk_tlv->group_cipher = cpu_to_le32(cipher); in mt76_connac_mcu_key_iter()
2322 struct mt76_connac_gtk_rekey_tlv *gtk_tlv; in mt76_connac_mcu_update_gtk_rekey() local
2333 sizeof(hdr) + sizeof(*gtk_tlv)); in mt76_connac_mcu_update_gtk_rekey()
2338 gtk_tlv = (struct mt76_connac_gtk_rekey_tlv *)skb_put_zero(skb, in mt76_connac_mcu_update_gtk_rekey()
2339 sizeof(*gtk_tlv)); in mt76_connac_mcu_update_gtk_rekey()
2340 gtk_tlv->tag = cpu_to_le16(UNI_OFFLOAD_OFFLOAD_GTK_REKEY); in mt76_connac_mcu_update_gtk_rekey()
2341 gtk_tlv->len = cpu_to_le16(sizeof(*gtk_tlv)); in mt76_connac_mcu_update_gtk_rekey()
2342 gtk_tlv->rekey_mode = 2; in mt76_connac_mcu_update_gtk_rekey()
2343 gtk_tlv->option = 1; in mt76_connac_mcu_update_gtk_rekey()
2346 ieee80211_iter_keys_rcu(hw, vif, mt76_connac_mcu_key_iter, gtk_tlv); in mt76_connac_mcu_update_gtk_rekey()
2349 memcpy(gtk_tlv->kek, key->kek, NL80211_KEK_LEN); in mt76_connac_mcu_update_gtk_rekey()
2350 memcpy(gtk_tlv->kck, key->kck, NL80211_KCK_LEN); in mt76_connac_mcu_update_gtk_rekey()
2351 memcpy(gtk_tlv->replay_ctr, key->replay_ctr, NL80211_REPLAY_CTR_LEN); in mt76_connac_mcu_update_gtk_rekey()
2394 struct mt76_connac_gtk_rekey_tlv gtk_tlv; in mt76_connac_mcu_set_gtk_rekey() member
2399 .gtk_tlv = { in mt76_connac_mcu_set_gtk_rekey()