Lines Matching refs:tx_cmd

45 				      struct iwl_tx_cmd *tx_cmd,  in iwlagn_tx_cmd_build_basic()  argument
50 __le32 tx_flags = tx_cmd->tx_flags; in iwlagn_tx_cmd_build_basic()
52 tx_cmd->stop_time.life_time = TX_CMD_LIFE_TIME_INFINITE; in iwlagn_tx_cmd_build_basic()
72 tx_cmd->sta_id = sta_id; in iwlagn_tx_cmd_build_basic()
78 tx_cmd->tid_tspec = qc[0] & 0xf; in iwlagn_tx_cmd_build_basic()
81 tx_cmd->tid_tspec = IWL_TID_NON_QOS; in iwlagn_tx_cmd_build_basic()
93 tx_cmd->timeout.pm_frame_timeout = cpu_to_le16(3); in iwlagn_tx_cmd_build_basic()
95 tx_cmd->timeout.pm_frame_timeout = cpu_to_le16(2); in iwlagn_tx_cmd_build_basic()
97 tx_cmd->timeout.pm_frame_timeout = 0; in iwlagn_tx_cmd_build_basic()
100 tx_cmd->driver_txop = 0; in iwlagn_tx_cmd_build_basic()
101 tx_cmd->tx_flags = tx_flags; in iwlagn_tx_cmd_build_basic()
102 tx_cmd->next_frame_len = 0; in iwlagn_tx_cmd_build_basic()
106 struct iwl_tx_cmd *tx_cmd, in iwlagn_tx_cmd_build_rate() argument
135 tx_cmd->data_retry_limit = data_retry_limit; in iwlagn_tx_cmd_build_rate()
136 tx_cmd->rts_retry_limit = rts_retry_limit; in iwlagn_tx_cmd_build_rate()
141 tx_cmd->initial_rate_index = 0; in iwlagn_tx_cmd_build_rate()
142 tx_cmd->tx_flags |= TX_CMD_FLG_STA_RATE_MSK; in iwlagn_tx_cmd_build_rate()
145 tx_cmd->tx_flags |= TX_CMD_FLG_STA_RATE_MSK; in iwlagn_tx_cmd_build_rate()
184 tx_cmd->rate_n_flags = iwl_hw_set_rate_n_flags(rate_plcp, rate_flags); in iwlagn_tx_cmd_build_rate()
189 struct iwl_tx_cmd *tx_cmd, in iwlagn_tx_cmd_build_hwcrypto() argument
196 tx_cmd->sec_ctl = TX_CMD_SEC_CCM; in iwlagn_tx_cmd_build_hwcrypto()
197 memcpy(tx_cmd->key, keyconf->key, keyconf->keylen); in iwlagn_tx_cmd_build_hwcrypto()
199 tx_cmd->tx_flags |= TX_CMD_FLG_AGG_CCMP_MSK; in iwlagn_tx_cmd_build_hwcrypto()
203 tx_cmd->sec_ctl = TX_CMD_SEC_TKIP; in iwlagn_tx_cmd_build_hwcrypto()
204 ieee80211_get_tkip_p2k(keyconf, skb_frag, tx_cmd->key); in iwlagn_tx_cmd_build_hwcrypto()
208 tx_cmd->sec_ctl |= TX_CMD_SEC_KEY128; in iwlagn_tx_cmd_build_hwcrypto()
211 tx_cmd->sec_ctl |= (TX_CMD_SEC_WEP | in iwlagn_tx_cmd_build_hwcrypto()
214 memcpy(&tx_cmd->key[3], keyconf->key, keyconf->keylen); in iwlagn_tx_cmd_build_hwcrypto()
267 struct iwl_tx_cmd *tx_cmd; in iwlagn_tx_skb() local
348 tx_cmd = (struct iwl_tx_cmd *) dev_cmd->payload; in iwlagn_tx_skb()
352 tx_cmd->len = cpu_to_le16(len); in iwlagn_tx_skb()
355 iwlagn_tx_cmd_build_hwcrypto(priv, info, tx_cmd, skb); in iwlagn_tx_skb()
358 iwlagn_tx_cmd_build_basic(priv, skb, tx_cmd, info, hdr, sta_id); in iwlagn_tx_skb()
360 iwlagn_tx_cmd_build_rate(priv, tx_cmd, info, sta, fc); in iwlagn_tx_skb()
412 memcpy(tx_cmd->hdr, hdr, hdr_len); in iwlagn_tx_skb()