Lines Matching refs:tlv

242 struct tlv *
247 struct tlv *sta_hdr = sta_wtbl; in mt76_connac_mcu_add_nested_tlv()
248 struct tlv *ptlv, tlv = { in mt76_connac_mcu_add_nested_tlv() local
255 memcpy(ptlv, &tlv, sizeof(tlv)); in mt76_connac_mcu_add_nested_tlv()
297 struct tlv *sta_hdr = sta_wtbl; in mt76_connac_mcu_alloc_wtbl_req()
327 struct tlv *tlv; in mt76_connac_mcu_sta_basic_tlv() local
330 tlv = mt76_connac_mcu_add_tlv(skb, STA_REC_BASIC, sizeof(*basic)); in mt76_connac_mcu_sta_basic_tlv()
332 basic = (struct sta_rec_basic *)tlv; in mt76_connac_mcu_sta_basic_tlv()
386 struct tlv *tlv; in mt76_connac_mcu_sta_uapsd() local
391 tlv = mt76_connac_mcu_add_tlv(skb, STA_REC_APPS, sizeof(*uapsd)); in mt76_connac_mcu_sta_uapsd()
392 uapsd = (struct sta_rec_uapsd *)tlv; in mt76_connac_mcu_sta_uapsd()
419 struct tlv *tlv; in mt76_connac_mcu_wtbl_hdr_trans_tlv() local
421 tlv = mt76_connac_mcu_add_nested_tlv(skb, WTBL_HDR_TRANS, in mt76_connac_mcu_wtbl_hdr_trans_tlv()
424 htr = (struct wtbl_hdr_trans *)tlv; in mt76_connac_mcu_wtbl_hdr_trans_tlv()
445 struct tlv *sta_wtbl; in mt76_connac_mcu_sta_update_hdr_trans()
453 sizeof(struct tlv)); in mt76_connac_mcu_sta_update_hdr_trans()
476 struct tlv *tlv; in mt76_connac_mcu_wtbl_generic_tlv() local
478 tlv = mt76_connac_mcu_add_nested_tlv(skb, WTBL_GENERIC, in mt76_connac_mcu_wtbl_generic_tlv()
482 generic = (struct wtbl_generic *)tlv; in mt76_connac_mcu_wtbl_generic_tlv()
503 tlv = mt76_connac_mcu_add_nested_tlv(skb, WTBL_RX, sizeof(*rx), in mt76_connac_mcu_wtbl_generic_tlv()
506 rx = (struct wtbl_rx *)tlv; in mt76_connac_mcu_wtbl_generic_tlv()
514 tlv = mt76_connac_mcu_add_nested_tlv(skb, WTBL_SPE, sizeof(*spe), in mt76_connac_mcu_wtbl_generic_tlv()
516 spe = (struct wtbl_spe *)tlv; in mt76_connac_mcu_wtbl_generic_tlv()
527 struct tlv *tlv; in mt76_connac_mcu_sta_amsdu_tlv() local
536 tlv = mt76_connac_mcu_add_tlv(skb, STA_REC_HW_AMSDU, sizeof(*amsdu)); in mt76_connac_mcu_sta_amsdu_tlv()
537 amsdu = (struct sta_rec_amsdu *)tlv; in mt76_connac_mcu_sta_amsdu_tlv()
554 struct tlv *tlv; in mt76_connac_mcu_sta_he_tlv() local
557 tlv = mt76_connac_mcu_add_tlv(skb, STA_REC_HE, sizeof(*he)); in mt76_connac_mcu_sta_he_tlv()
559 he = (struct sta_rec_he *)tlv; in mt76_connac_mcu_sta_he_tlv()
738 struct tlv *tlv; in mt76_connac_mcu_sta_tlv() local
745 tlv = mt76_connac_mcu_add_tlv(skb, STA_REC_HT, sizeof(*ht)); in mt76_connac_mcu_sta_tlv()
746 ht = (struct sta_rec_ht *)tlv; in mt76_connac_mcu_sta_tlv()
756 tlv = mt76_connac_mcu_add_tlv(skb, STA_REC_VHT, len); in mt76_connac_mcu_sta_tlv()
757 vht = (struct sta_rec_vht *)tlv; in mt76_connac_mcu_sta_tlv()
779 tlv = mt76_connac_mcu_add_tlv(skb, STA_REC_HE_6G, in mt76_connac_mcu_sta_tlv()
781 he_6g_capa = (struct sta_rec_he_6g_capa *)tlv; in mt76_connac_mcu_sta_tlv()
786 tlv = mt76_connac_mcu_add_tlv(skb, STA_REC_PHY, sizeof(*phy)); in mt76_connac_mcu_sta_tlv()
787 phy = (struct sta_rec_phy *)tlv; in mt76_connac_mcu_sta_tlv()
796 tlv = mt76_connac_mcu_add_tlv(skb, STA_REC_RA, sizeof(*ra_info)); in mt76_connac_mcu_sta_tlv()
797 ra_info = (struct sta_rec_ra_info *)tlv; in mt76_connac_mcu_sta_tlv()
812 tlv = mt76_connac_mcu_add_tlv(skb, STA_REC_STATE, sizeof(*state)); in mt76_connac_mcu_sta_tlv()
813 state = (struct sta_rec_state *)tlv; in mt76_connac_mcu_sta_tlv()
829 struct tlv *tlv; in mt76_connac_mcu_wtbl_smps_tlv() local
831 tlv = mt76_connac_mcu_add_nested_tlv(skb, WTBL_SMPS, sizeof(*smps), in mt76_connac_mcu_wtbl_smps_tlv()
833 smps = (struct wtbl_smps *)tlv; in mt76_connac_mcu_wtbl_smps_tlv()
844 struct tlv *tlv; in mt76_connac_mcu_wtbl_ht_tlv() local
848 tlv = mt76_connac_mcu_add_nested_tlv(skb, WTBL_HT, sizeof(*ht), in mt76_connac_mcu_wtbl_ht_tlv()
850 ht = (struct wtbl_ht *)tlv; in mt76_connac_mcu_wtbl_ht_tlv()
861 tlv = mt76_connac_mcu_add_nested_tlv(skb, WTBL_VHT, in mt76_connac_mcu_wtbl_ht_tlv()
864 vht = (struct wtbl_vht *)tlv; in mt76_connac_mcu_wtbl_ht_tlv()
882 tlv = mt76_connac_mcu_add_nested_tlv(skb, WTBL_RAW_DATA, in mt76_connac_mcu_wtbl_ht_tlv()
897 raw = (struct wtbl_raw *)tlv; in mt76_connac_mcu_wtbl_ht_tlv()
912 struct tlv *sta_wtbl; in mt76_connac_mcu_sta_cmd()
928 sizeof(struct tlv)); in mt76_connac_mcu_sta_cmd()
957 struct tlv *tlv; in mt76_connac_mcu_wtbl_ba_tlv() local
959 tlv = mt76_connac_mcu_add_nested_tlv(skb, WTBL_BA, sizeof(*ba), in mt76_connac_mcu_wtbl_ba_tlv()
962 ba = (struct wtbl_ba *)tlv; in mt76_connac_mcu_wtbl_ba_tlv()
1015 } __packed tlv; in mt76_connac_mcu_uni_add_dev() member
1021 .tlv = { in mt76_connac_mcu_uni_add_dev()
1072 memcpy(dev_req.tlv.omac_addr, vif->addr, ETH_ALEN); in mt76_connac_mcu_uni_add_dev()
1095 struct tlv *tlv; in mt76_connac_mcu_sta_ba_tlv() local
1097 tlv = mt76_connac_mcu_add_tlv(skb, STA_REC_BA, sizeof(*ba)); in mt76_connac_mcu_sta_ba_tlv()
1099 ba = (struct sta_rec_ba *)tlv; in mt76_connac_mcu_sta_ba_tlv()
1115 struct tlv *sta_wtbl; in mt76_connac_mcu_sta_ba()
1124 sizeof(struct tlv)); in mt76_connac_mcu_sta_ba()
1219 struct tlv *tlv) in mt76_connac_mcu_uni_bss_he_tlv() argument
1226 he = (struct bss_info_uni_he *)tlv; in mt76_connac_mcu_uni_bss_he_tlv()
1392 (struct tlv *)&he_req.he); in mt76_connac_mcu_uni_add_bss()
1806 } __packed * tlv = (struct tlv_hdr *)skb->data; in mt76_connac_mcu_get_nic_capability() local
1809 if (skb->len < sizeof(*tlv)) in mt76_connac_mcu_get_nic_capability()
1812 skb_pull(skb, sizeof(*tlv)); in mt76_connac_mcu_get_nic_capability()
1814 len = le32_to_cpu(tlv->len); in mt76_connac_mcu_get_nic_capability()
1818 switch (le32_to_cpu(tlv->type)) { in mt76_connac_mcu_get_nic_capability()