Lines Matching defs:txp
921 struct mt76_connac_txp_common *txp;
944 txp = (struct mt76_connac_txp_common *)(txwi + MT_TXD_SIZE);
954 txp->fw.buf[i] = cpu_to_le32(tx_info->buf[i + 1].addr);
955 txp->fw.len[i] = cpu_to_le16(len);
957 txp->fw.nbuf = nbuf;
959 txp->fw.flags =
963 txp->fw.flags |= cpu_to_le16(MT_CT_INFO_NONE_CIPHER_FRAME);
966 txp->fw.flags |= cpu_to_le16(MT_CT_INFO_MGMT_FRAME);
971 txp->fw.bss_idx = mvif->mt76.idx;
974 txp->fw.token = cpu_to_le16(id);
975 txp->fw.rept_wds_wcid = cpu_to_le16(sta ? wcid->idx : 0xfff);
989 struct mt76_connac_fw_txp *txp = ptr + MT_TXD_SIZE;
993 memset(ptr, 0, MT_TXD_SIZE + sizeof(*txp));
1003 txp->token = cpu_to_le16(token_id);
1004 txp->nbuf = 1;
1005 txp->buf[0] = cpu_to_le32(phys + MT_TXD_SIZE + sizeof(*txp));
1007 return MT_TXD_SIZE + sizeof(*txp);