Lines Matching refs:tfd
5041 struct tfd_frame *tfd;
5048 tfd = &txq->bd[q->first_empty];
5051 memset(tfd, 0, sizeof(*tfd));
5052 tfd->control_flags.message_type = TX_HOST_COMMAND_TYPE;
5053 tfd->control_flags.control_bits = TFD_NEED_IRQ_MASK;
5055 tfd->u.cmd.index = hcmd;
5056 tfd->u.cmd.length = len;
5057 memcpy(tfd->u.cmd.payload, buf, len);
7185 struct tfd_data *tfd)
7191 tfd->tx_flags_ext |= DCT_FLAG_EXT_QOS_ENABLED;
7194 tfd->tx_flags &= ~DCT_FLAG_ACK_REQD;
7195 tfd->tfd.tfd_26.mchdr.qos_ctrl |= cpu_to_le16(CTRL_QOS_NO_ACK);
10082 modify to send one tfd per fragment instead of using chunking. otherwise
10092 struct tfd_frame *tfd;
10129 tfd = &txq->bd[q->first_empty];
10131 memset(tfd, 0, sizeof(*tfd));
10132 tfd->u.data.station_number = id;
10134 tfd->control_flags.message_type = TX_FRAME_TYPE;
10135 tfd->control_flags.control_bits = TFD_NEED_IRQ_MASK;
10137 tfd->u.data.cmd_id = DINO_CMD_TX;
10138 tfd->u.data.len = cpu_to_le16(txb->payload_size);
10141 tfd->u.data.tx_flags_ext |= DCT_FLAG_EXT_MODE_CCK;
10143 tfd->u.data.tx_flags_ext |= DCT_FLAG_EXT_MODE_OFDM;
10146 tfd->u.data.tx_flags |= DCT_FLAG_SHORT_PREAMBLE;
10151 memcpy(&tfd->u.data.tfd.tfd_24.mchdr, hdr, hdr_len);
10154 tfd->u.data.tx_flags |= DCT_FLAG_ACK_REQD;
10159 tfd->u.data.tfd.tfd_24.mchdr.frame_ctl |=
10166 tfd->u.data.tx_flags |= DCT_FLAG_ACK_REQD;
10168 tfd->u.data.tx_flags &= ~DCT_FLAG_NO_WEP;
10169 tfd->u.data.tx_flags_ext |= DCT_FLAG_EXT_SECURITY_CCM;
10170 tfd->u.data.key_index = 0;
10171 tfd->u.data.key_index |= DCT_WEP_INDEX_USE_IMMEDIATE;
10174 tfd->u.data.tfd.tfd_24.mchdr.frame_ctl |=
10176 tfd->u.data.tx_flags &= ~DCT_FLAG_NO_WEP;
10177 tfd->u.data.tx_flags_ext |= DCT_FLAG_EXT_SECURITY_TKIP;
10178 tfd->u.data.key_index = DCT_WEP_INDEX_USE_IMMEDIATE;
10181 tfd->u.data.tfd.tfd_24.mchdr.frame_ctl |=
10183 tfd->u.data.key_index = priv->ieee->crypt_info.tx_keyidx;
10186 tfd->u.data.key_index |= DCT_WEP_KEY_64Bit;
10188 tfd->u.data.key_index |= DCT_WEP_KEY_128Bit;
10199 tfd->u.data.tx_flags |= DCT_FLAG_NO_WEP;
10203 ipw_qos_set_tx_queue_command(priv, pri, &(tfd->u.data));
10207 tfd->u.data.num_chunks = cpu_to_le32(min((u8) (NUM_TFD_CHUNKS - 2),
10210 txb->nr_frags, le32_to_cpu(tfd->u.data.num_chunks));
10211 for (i = 0; i < le32_to_cpu(tfd->u.data.num_chunks); i++) {
10213 i, le32_to_cpu(tfd->u.data.num_chunks),
10216 i, tfd->u.data.num_chunks,
10221 tfd->u.data.chunk_ptr[i] =
10226 tfd->u.data.chunk_len[i] =
10242 tfd->u.data.chunk_len[i] = cpu_to_le16(remaining_bytes);
10254 tfd->u.data.chunk_ptr[i] =
10260 le32_add_cpu(&tfd->u.data.num_chunks, 1);