Lines Matching defs:txp
758 struct mt76_connac_fw_txp *txp;
792 txp = (struct mt76_connac_fw_txp *)(txwi + MT_TXD_SIZE);
794 txp->buf[i] = cpu_to_le32(tx_info->buf[i + 1].addr);
795 txp->len[i] = cpu_to_le16(tx_info->buf[i + 1].len);
797 txp->nbuf = nbuf;
799 txp->flags = cpu_to_le16(MT_CT_INFO_APPLY_TXD | MT_CT_INFO_FROM_HOST);
802 txp->flags |= cpu_to_le16(MT_CT_INFO_NONE_CIPHER_FRAME);
806 txp->flags |= cpu_to_le16(MT_CT_INFO_MGMT_FRAME);
811 txp->bss_idx = mvif->mt76.idx;
814 txp->token = cpu_to_le16(id);
816 txp->rept_wds_wcid = cpu_to_le16(wcid->idx);
818 txp->rept_wds_wcid = cpu_to_le16(0x3ff);
831 struct mt76_connac_fw_txp *txp = ptr + MT_TXD_SIZE;
835 memset(ptr, 0, MT_TXD_SIZE + sizeof(*txp));
845 txp->token = cpu_to_le16(token_id);
846 txp->nbuf = 1;
847 txp->buf[0] = cpu_to_le32(phys + MT_TXD_SIZE + sizeof(*txp));
849 return MT_TXD_SIZE + sizeof(*txp);