• Home
  • Raw
  • Download

Lines Matching refs:tfd

5066 	struct tfd_frame *tfd;  in ipw_queue_tx_hcmd()  local
5073 tfd = &txq->bd[q->first_empty]; in ipw_queue_tx_hcmd()
5076 memset(tfd, 0, sizeof(*tfd)); in ipw_queue_tx_hcmd()
5077 tfd->control_flags.message_type = TX_HOST_COMMAND_TYPE; in ipw_queue_tx_hcmd()
5078 tfd->control_flags.control_bits = TFD_NEED_IRQ_MASK; in ipw_queue_tx_hcmd()
5080 tfd->u.cmd.index = hcmd; in ipw_queue_tx_hcmd()
5081 tfd->u.cmd.length = len; in ipw_queue_tx_hcmd()
5082 memcpy(tfd->u.cmd.payload, buf, len); in ipw_queue_tx_hcmd()
7215 struct tfd_data *tfd) in ipw_qos_set_tx_queue_command() argument
7221 tfd->tx_flags_ext |= DCT_FLAG_EXT_QOS_ENABLED; in ipw_qos_set_tx_queue_command()
7224 tfd->tx_flags &= ~DCT_FLAG_ACK_REQD; in ipw_qos_set_tx_queue_command()
7225 tfd->tfd.tfd_26.mchdr.qos_ctrl |= cpu_to_le16(CTRL_QOS_NO_ACK); in ipw_qos_set_tx_queue_command()
10124 struct tfd_frame *tfd; in ipw_tx_skb() local
10161 tfd = &txq->bd[q->first_empty]; in ipw_tx_skb()
10163 memset(tfd, 0, sizeof(*tfd)); in ipw_tx_skb()
10164 tfd->u.data.station_number = id; in ipw_tx_skb()
10166 tfd->control_flags.message_type = TX_FRAME_TYPE; in ipw_tx_skb()
10167 tfd->control_flags.control_bits = TFD_NEED_IRQ_MASK; in ipw_tx_skb()
10169 tfd->u.data.cmd_id = DINO_CMD_TX; in ipw_tx_skb()
10170 tfd->u.data.len = cpu_to_le16(txb->payload_size); in ipw_tx_skb()
10173 tfd->u.data.tx_flags_ext |= DCT_FLAG_EXT_MODE_CCK; in ipw_tx_skb()
10175 tfd->u.data.tx_flags_ext |= DCT_FLAG_EXT_MODE_OFDM; in ipw_tx_skb()
10178 tfd->u.data.tx_flags |= DCT_FLAG_SHORT_PREAMBLE; in ipw_tx_skb()
10183 memcpy(&tfd->u.data.tfd.tfd_24.mchdr, hdr, hdr_len); in ipw_tx_skb()
10186 tfd->u.data.tx_flags |= DCT_FLAG_ACK_REQD; in ipw_tx_skb()
10191 tfd->u.data.tfd.tfd_24.mchdr.frame_ctl |= in ipw_tx_skb()
10198 tfd->u.data.tx_flags |= DCT_FLAG_ACK_REQD; in ipw_tx_skb()
10200 tfd->u.data.tx_flags &= ~DCT_FLAG_NO_WEP; in ipw_tx_skb()
10201 tfd->u.data.tx_flags_ext |= DCT_FLAG_EXT_SECURITY_CCM; in ipw_tx_skb()
10202 tfd->u.data.key_index = 0; in ipw_tx_skb()
10203 tfd->u.data.key_index |= DCT_WEP_INDEX_USE_IMMEDIATE; in ipw_tx_skb()
10206 tfd->u.data.tfd.tfd_24.mchdr.frame_ctl |= in ipw_tx_skb()
10208 tfd->u.data.tx_flags &= ~DCT_FLAG_NO_WEP; in ipw_tx_skb()
10209 tfd->u.data.tx_flags_ext |= DCT_FLAG_EXT_SECURITY_TKIP; in ipw_tx_skb()
10210 tfd->u.data.key_index = DCT_WEP_INDEX_USE_IMMEDIATE; in ipw_tx_skb()
10213 tfd->u.data.tfd.tfd_24.mchdr.frame_ctl |= in ipw_tx_skb()
10215 tfd->u.data.key_index = priv->ieee->crypt_info.tx_keyidx; in ipw_tx_skb()
10218 tfd->u.data.key_index |= DCT_WEP_KEY_64Bit; in ipw_tx_skb()
10220 tfd->u.data.key_index |= DCT_WEP_KEY_128Bit; in ipw_tx_skb()
10231 tfd->u.data.tx_flags |= DCT_FLAG_NO_WEP; in ipw_tx_skb()
10235 ipw_qos_set_tx_queue_command(priv, pri, &(tfd->u.data)); in ipw_tx_skb()
10239 tfd->u.data.num_chunks = cpu_to_le32(min((u8) (NUM_TFD_CHUNKS - 2), in ipw_tx_skb()
10242 txb->nr_frags, le32_to_cpu(tfd->u.data.num_chunks)); in ipw_tx_skb()
10243 for (i = 0; i < le32_to_cpu(tfd->u.data.num_chunks); i++) { in ipw_tx_skb()
10245 i, le32_to_cpu(tfd->u.data.num_chunks), in ipw_tx_skb()
10248 i, tfd->u.data.num_chunks, in ipw_tx_skb()
10253 tfd->u.data.chunk_ptr[i] = in ipw_tx_skb()
10259 tfd->u.data.chunk_len[i] = in ipw_tx_skb()
10275 tfd->u.data.chunk_len[i] = cpu_to_le16(remaining_bytes); in ipw_tx_skb()
10286 tfd->u.data.chunk_ptr[i] = in ipw_tx_skb()
10292 le32_add_cpu(&tfd->u.data.num_chunks, 1); in ipw_tx_skb()