Lines Matching refs:tx_cmd

930 	scan->tx_cmd.tx_flags = TX_CMD_FLG_SEQ_CTL_MSK;
931 scan->tx_cmd.sta_id = il->hw_params.bcast_id;
932 scan->tx_cmd.stop_time.life_time = TX_CMD_LIFE_TIME_INFINITE;
982 scan->tx_cmd.rate_n_flags = cpu_to_le32(rate | rate_flags);
1010 scan->tx_cmd.len = cpu_to_le16(cmd_len);
1024 le16_to_cpu(scan->tx_cmd.len) +
1485 struct il_tx_cmd *tx_cmd,
1490 __le32 tx_flags = tx_cmd->tx_flags;
1492 tx_cmd->stop_time.life_time = TX_CMD_LIFE_TIME_INFINITE;
1508 tx_cmd->sta_id = std_id;
1514 tx_cmd->tid_tspec = qc[0] & 0xf;
1525 tx_cmd->timeout.pm_frame_timeout = cpu_to_le16(3);
1527 tx_cmd->timeout.pm_frame_timeout = cpu_to_le16(2);
1529 tx_cmd->timeout.pm_frame_timeout = 0;
1532 tx_cmd->driver_txop = 0;
1533 tx_cmd->tx_flags = tx_flags;
1534 tx_cmd->next_frame_len = 0;
1539 struct il_tx_cmd *tx_cmd,
1555 tx_cmd->data_retry_limit = data_retry_limit;
1557 tx_cmd->rts_retry_limit = min(data_retry_limit, rts_retry_limit);
1562 tx_cmd->initial_rate_idx = 0;
1563 tx_cmd->tx_flags |= TX_CMD_FLG_STA_RATE_MSK;
1580 /* Get PLCP rate for tx_cmd->rate_n_flags */
1594 tx_cmd->rate_n_flags = cpu_to_le32(rate_plcp | rate_flags);
1599 struct il_tx_cmd *tx_cmd, struct sk_buff *skb_frag,
1606 tx_cmd->sec_ctl = TX_CMD_SEC_CCM;
1607 memcpy(tx_cmd->key, keyconf->key, keyconf->keylen);
1609 tx_cmd->tx_flags |= TX_CMD_FLG_AGG_CCMP_MSK;
1610 D_TX("tx_cmd with AES hwcrypto\n");
1614 tx_cmd->sec_ctl = TX_CMD_SEC_TKIP;
1615 ieee80211_get_tkip_p2k(keyconf, skb_frag, tx_cmd->key);
1616 D_TX("tx_cmd with tkip hwcrypto\n");
1620 tx_cmd->sec_ctl |= TX_CMD_SEC_KEY128;
1623 tx_cmd->sec_ctl |=
1627 memcpy(&tx_cmd->key[3], keyconf->key, keyconf->keylen);
1654 struct il_tx_cmd *tx_cmd;
1772 tx_cmd = &out_cmd->cmd.tx;
1774 memset(tx_cmd, 0, sizeof(struct il_tx_cmd));
1788 memcpy(tx_cmd->hdr, hdr, hdr_len);
1791 tx_cmd->len = cpu_to_le16((u16) skb->len);
1794 il4965_tx_cmd_build_hwcrypto(il, info, tx_cmd, skb, sta_id);
1797 il4965_tx_cmd_build_basic(il, skb, tx_cmd, info, hdr, sta_id);
1799 il4965_tx_cmd_build_rate(il, tx_cmd, info, sta, fc);
1815 tx_cmd->tx_flags |= TX_CMD_FLG_MH_PAD_MSK;
1857 tx_cmd->dram_lsb_ptr = cpu_to_le32(scratch_phys);
1858 tx_cmd->dram_msb_ptr = il_get_dma_hi_addr(scratch_phys);
1863 D_TX("tx_flags = 0X%x\n", le32_to_cpu(tx_cmd->tx_flags));
1864 il_print_hex_dump(il, IL_DL_TX, (u8 *) tx_cmd, sizeof(*tx_cmd));
1865 il_print_hex_dump(il, IL_DL_TX, (u8 *) tx_cmd->hdr, hdr_len);
1869 il->ops->txq_update_byte_cnt_tbl(il, txq, le16_to_cpu(tx_cmd->len));
3929 /* Unmap tx_cmd */