Lines Matching full:txp
762 struct mt76_connac_fw_txp *txp; in mt7915_tx_prepare_skb() local
796 txp = (struct mt76_connac_fw_txp *)(txwi + MT_TXD_SIZE); in mt7915_tx_prepare_skb()
798 txp->buf[i] = cpu_to_le32(tx_info->buf[i + 1].addr); in mt7915_tx_prepare_skb()
799 txp->len[i] = cpu_to_le16(tx_info->buf[i + 1].len); in mt7915_tx_prepare_skb()
801 txp->nbuf = nbuf; in mt7915_tx_prepare_skb()
803 txp->flags = cpu_to_le16(MT_CT_INFO_APPLY_TXD | MT_CT_INFO_FROM_HOST); in mt7915_tx_prepare_skb()
806 txp->flags |= cpu_to_le16(MT_CT_INFO_NONE_CIPHER_FRAME); in mt7915_tx_prepare_skb()
810 txp->flags |= cpu_to_le16(MT_CT_INFO_MGMT_FRAME); in mt7915_tx_prepare_skb()
815 txp->bss_idx = mvif->mt76.idx; in mt7915_tx_prepare_skb()
818 txp->token = cpu_to_le16(id); in mt7915_tx_prepare_skb()
820 txp->rept_wds_wcid = cpu_to_le16(wcid->idx); in mt7915_tx_prepare_skb()
822 txp->rept_wds_wcid = cpu_to_le16(0x3ff); in mt7915_tx_prepare_skb()
836 struct mt76_connac_fw_txp *txp = ptr + MT_TXD_SIZE; in mt7915_wed_init_buf() local
838 struct mt76_connac_fw_txp *txp = (void *)((u8 *)ptr + MT_TXD_SIZE); in mt7915_wed_init_buf()
843 memset(ptr, 0, MT_TXD_SIZE + sizeof(*txp)); in mt7915_wed_init_buf()
853 txp->token = cpu_to_le16(token_id); in mt7915_wed_init_buf()
854 txp->nbuf = 1; in mt7915_wed_init_buf()
855 txp->buf[0] = cpu_to_le32(phys + MT_TXD_SIZE + sizeof(*txp)); in mt7915_wed_init_buf()
857 return MT_TXD_SIZE + sizeof(*txp); in mt7915_wed_init_buf()