Lines Matching refs:cmd

503 static void iwl_mvm_copy_hdr(void *cmd, const void *hdr, int hdrlen,  in iwl_mvm_copy_hdr()  argument
506 struct ieee80211_hdr *out_hdr = cmd; in iwl_mvm_copy_hdr()
508 memcpy(cmd, hdr, hdrlen); in iwl_mvm_copy_hdr()
531 dev_cmd->hdr.cmd = TX_CMD; in iwl_mvm_set_tx_params()
568 struct iwl_tx_cmd_gen3 *cmd = (void *)dev_cmd->payload; in iwl_mvm_set_tx_params() local
572 cmd->offload_assist = cpu_to_le32(offload_assist); in iwl_mvm_set_tx_params()
575 cmd->len = cpu_to_le16((u16)skb->len); in iwl_mvm_set_tx_params()
578 iwl_mvm_copy_hdr(cmd->hdr, hdr, hdrlen, addr3_override); in iwl_mvm_set_tx_params()
580 cmd->flags = cpu_to_le16(flags); in iwl_mvm_set_tx_params()
581 cmd->rate_n_flags = cpu_to_le32(rate_n_flags); in iwl_mvm_set_tx_params()
583 struct iwl_tx_cmd_gen2 *cmd = (void *)dev_cmd->payload; in iwl_mvm_set_tx_params() local
587 cmd->offload_assist = cpu_to_le16(offload_assist); in iwl_mvm_set_tx_params()
590 cmd->len = cpu_to_le16((u16)skb->len); in iwl_mvm_set_tx_params()
593 iwl_mvm_copy_hdr(cmd->hdr, hdr, hdrlen, addr3_override); in iwl_mvm_set_tx_params()
595 cmd->flags = cpu_to_le32(flags); in iwl_mvm_set_tx_params()
596 cmd->rate_n_flags = cpu_to_le32(rate_n_flags); in iwl_mvm_set_tx_params()
618 struct iwl_device_tx_cmd *cmd) in iwl_mvm_skb_prepare_status() argument
625 skb_info->driver_data[1] = cmd; in iwl_mvm_skb_prepare_status()
2287 struct iwl_host_cmd cmd = { in iwl_mvm_flush_sta_tids() local
2296 cmd.flags |= CMD_WANT_SKB | CMD_SEND_IN_RFKILL; in iwl_mvm_flush_sta_tids()
2301 ret = iwl_mvm_send_cmd(mvm, &cmd); in iwl_mvm_flush_sta_tids()
2308 if (cmd.flags & CMD_WANT_SKB) { in iwl_mvm_flush_sta_tids()
2312 if (WARN_ON_ONCE(iwl_rx_packet_payload_len(cmd.resp_pkt) != sizeof(*rsp))) { in iwl_mvm_flush_sta_tids()
2317 rsp = (void *)cmd.resp_pkt->data; in iwl_mvm_flush_sta_tids()
2352 iwl_free_resp(&cmd); in iwl_mvm_flush_sta_tids()