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);
10036 modify to send one tfd per fragment instead of using chunking. otherwise
10046 struct tfd_frame *tfd;
10083 tfd = &txq->bd[q->first_empty];
10085 memset(tfd, 0, sizeof(*tfd));
10086 tfd->u.data.station_number = id;
10088 tfd->control_flags.message_type = TX_FRAME_TYPE;
10089 tfd->control_flags.control_bits = TFD_NEED_IRQ_MASK;
10091 tfd->u.data.cmd_id = DINO_CMD_TX;
10092 tfd->u.data.len = cpu_to_le16(txb->payload_size);
10095 tfd->u.data.tx_flags_ext |= DCT_FLAG_EXT_MODE_CCK;
10097 tfd->u.data.tx_flags_ext |= DCT_FLAG_EXT_MODE_OFDM;
10100 tfd->u.data.tx_flags |= DCT_FLAG_SHORT_PREAMBLE;
10105 memcpy(&tfd->u.data.tfd.tfd_24.mchdr, hdr, hdr_len);
10108 tfd->u.data.tx_flags |= DCT_FLAG_ACK_REQD;
10113 tfd->u.data.tfd.tfd_24.mchdr.frame_ctl |=
10120 tfd->u.data.tx_flags |= DCT_FLAG_ACK_REQD;
10122 tfd->u.data.tx_flags &= ~DCT_FLAG_NO_WEP;
10123 tfd->u.data.tx_flags_ext |= DCT_FLAG_EXT_SECURITY_CCM;
10124 tfd->u.data.key_index = 0;
10125 tfd->u.data.key_index |= DCT_WEP_INDEX_USE_IMMEDIATE;
10128 tfd->u.data.tfd.tfd_24.mchdr.frame_ctl |=
10130 tfd->u.data.tx_flags &= ~DCT_FLAG_NO_WEP;
10131 tfd->u.data.tx_flags_ext |= DCT_FLAG_EXT_SECURITY_TKIP;
10132 tfd->u.data.key_index = DCT_WEP_INDEX_USE_IMMEDIATE;
10135 tfd->u.data.tfd.tfd_24.mchdr.frame_ctl |=
10137 tfd->u.data.key_index = priv->ieee->crypt_info.tx_keyidx;
10140 tfd->u.data.key_index |= DCT_WEP_KEY_64Bit;
10142 tfd->u.data.key_index |= DCT_WEP_KEY_128Bit;
10153 tfd->u.data.tx_flags |= DCT_FLAG_NO_WEP;
10157 ipw_qos_set_tx_queue_command(priv, pri, &(tfd->u.data));
10161 tfd->u.data.num_chunks = cpu_to_le32(min((u8) (NUM_TFD_CHUNKS - 2),
10164 txb->nr_frags, le32_to_cpu(tfd->u.data.num_chunks));
10165 for (i = 0; i < le32_to_cpu(tfd->u.data.num_chunks); i++) {
10167 i, le32_to_cpu(tfd->u.data.num_chunks),
10170 i, tfd->u.data.num_chunks,
10175 tfd->u.data.chunk_ptr[i] =
10180 tfd->u.data.chunk_len[i] =
10196 tfd->u.data.chunk_len[i] = cpu_to_le16(remaining_bytes);
10208 tfd->u.data.chunk_ptr[i] =
10214 le32_add_cpu(&tfd->u.data.num_chunks, 1);