Lines Matching refs:tfd

4995 	struct tfd_frame *tfd;
5002 tfd = &txq->bd[q->first_empty];
5005 memset(tfd, 0, sizeof(*tfd));
5006 tfd->control_flags.message_type = TX_HOST_COMMAND_TYPE;
5007 tfd->control_flags.control_bits = TFD_NEED_IRQ_MASK;
5009 tfd->u.cmd.index = hcmd;
5010 tfd->u.cmd.length = len;
5011 memcpy(tfd->u.cmd.payload, buf, len);
7139 struct tfd_data *tfd)
7145 tfd->tx_flags_ext |= DCT_FLAG_EXT_QOS_ENABLED;
7148 tfd->tx_flags &= ~DCT_FLAG_ACK_REQD;
7149 tfd->tfd.tfd_26.mchdr.qos_ctrl |= cpu_to_le16(CTRL_QOS_NO_ACK);
10035 modify to send one tfd per fragment instead of using chunking. otherwise
10045 struct tfd_frame *tfd;
10082 tfd = &txq->bd[q->first_empty];
10084 memset(tfd, 0, sizeof(*tfd));
10085 tfd->u.data.station_number = id;
10087 tfd->control_flags.message_type = TX_FRAME_TYPE;
10088 tfd->control_flags.control_bits = TFD_NEED_IRQ_MASK;
10090 tfd->u.data.cmd_id = DINO_CMD_TX;
10091 tfd->u.data.len = cpu_to_le16(txb->payload_size);
10094 tfd->u.data.tx_flags_ext |= DCT_FLAG_EXT_MODE_CCK;
10096 tfd->u.data.tx_flags_ext |= DCT_FLAG_EXT_MODE_OFDM;
10099 tfd->u.data.tx_flags |= DCT_FLAG_SHORT_PREAMBLE;
10104 memcpy(&tfd->u.data.tfd.tfd_24.mchdr, hdr, hdr_len);
10107 tfd->u.data.tx_flags |= DCT_FLAG_ACK_REQD;
10112 tfd->u.data.tfd.tfd_24.mchdr.frame_ctl |=
10119 tfd->u.data.tx_flags |= DCT_FLAG_ACK_REQD;
10121 tfd->u.data.tx_flags &= ~DCT_FLAG_NO_WEP;
10122 tfd->u.data.tx_flags_ext |= DCT_FLAG_EXT_SECURITY_CCM;
10123 tfd->u.data.key_index = 0;
10124 tfd->u.data.key_index |= DCT_WEP_INDEX_USE_IMMEDIATE;
10127 tfd->u.data.tfd.tfd_24.mchdr.frame_ctl |=
10129 tfd->u.data.tx_flags &= ~DCT_FLAG_NO_WEP;
10130 tfd->u.data.tx_flags_ext |= DCT_FLAG_EXT_SECURITY_TKIP;
10131 tfd->u.data.key_index = DCT_WEP_INDEX_USE_IMMEDIATE;
10134 tfd->u.data.tfd.tfd_24.mchdr.frame_ctl |=
10136 tfd->u.data.key_index = priv->ieee->crypt_info.tx_keyidx;
10139 tfd->u.data.key_index |= DCT_WEP_KEY_64Bit;
10141 tfd->u.data.key_index |= DCT_WEP_KEY_128Bit;
10152 tfd->u.data.tx_flags |= DCT_FLAG_NO_WEP;
10156 ipw_qos_set_tx_queue_command(priv, pri, &(tfd->u.data));
10160 tfd->u.data.num_chunks = cpu_to_le32(min((u8) (NUM_TFD_CHUNKS - 2),
10163 txb->nr_frags, le32_to_cpu(tfd->u.data.num_chunks));
10164 for (i = 0; i < le32_to_cpu(tfd->u.data.num_chunks); i++) {
10166 i, le32_to_cpu(tfd->u.data.num_chunks),
10169 i, tfd->u.data.num_chunks,
10174 tfd->u.data.chunk_ptr[i] =
10179 tfd->u.data.chunk_len[i] =
10195 tfd->u.data.chunk_len[i] = cpu_to_le16(remaining_bytes);
10207 tfd->u.data.chunk_ptr[i] =
10213 le32_add_cpu(&tfd->u.data.num_chunks, 1);