Lines Matching full:txp
1102 /* MT7996 and MT7992 require driver to provide the MAC TXP for AddBA in mt7996_tx_prepare_skb()
1129 struct mt76_connac_txp_common *txp; in mt7996_tx_prepare_skb() local
1131 txp = (struct mt76_connac_txp_common *)(txwi + MT_TXD_SIZE); in mt7996_tx_prepare_skb()
1141 txp->fw.buf[i] = cpu_to_le32(tx_info->buf[i + 1].addr); in mt7996_tx_prepare_skb()
1142 txp->fw.len[i] = cpu_to_le16(len); in mt7996_tx_prepare_skb()
1144 txp->fw.nbuf = nbuf; in mt7996_tx_prepare_skb()
1146 txp->fw.flags = cpu_to_le16(MT_CT_INFO_FROM_HOST); in mt7996_tx_prepare_skb()
1149 txp->fw.flags |= cpu_to_le16(MT_CT_INFO_APPLY_TXD); in mt7996_tx_prepare_skb()
1152 txp->fw.flags |= cpu_to_le16(MT_CT_INFO_NONE_CIPHER_FRAME); in mt7996_tx_prepare_skb()
1155 txp->fw.flags |= cpu_to_le16(MT_CT_INFO_MGMT_FRAME); in mt7996_tx_prepare_skb()
1166 txp->fw.bss_idx = mlink ? mlink->idx : mvif->deflink.mt76.idx; in mt7996_tx_prepare_skb()
1169 txp->fw.token = cpu_to_le16(id); in mt7996_tx_prepare_skb()
1170 txp->fw.rept_wds_wcid = cpu_to_le16(sta ? wcid->idx : 0xfff); in mt7996_tx_prepare_skb()
1185 struct mt76_connac_fw_txp *txp = ptr + MT_TXD_SIZE; in mt7996_wed_init_buf() local
1189 memset(ptr, 0, MT_TXD_SIZE + sizeof(*txp)); in mt7996_wed_init_buf()
1199 txp->token = cpu_to_le16(token_id); in mt7996_wed_init_buf()
1200 txp->nbuf = 1; in mt7996_wed_init_buf()
1201 txp->buf[0] = cpu_to_le32(phys + MT_TXD_SIZE + sizeof(*txp)); in mt7996_wed_init_buf()
1203 return MT_TXD_SIZE + sizeof(*txp); in mt7996_wed_init_buf()