| /linux/drivers/net/wireless/intel/iwlwifi/ |
| H A D | iwl-devtrace-iwlwifi.h | 25 __dynamic_array(u8, hcmd, total_size) 36 memcpy(__get_dynamic_array(hcmd), hdr, offset); 41 memcpy((u8 *)__get_dynamic_array(hcmd) + offset, 47 __get_str(dev), ((u8 *)__get_dynamic_array(hcmd))[1], 48 ((u8 *)__get_dynamic_array(hcmd))[0],
|
| H A D | iwl-dbg-tlv.c | 169 const struct iwl_fw_ini_hcmd_tlv *hcmd = (const void *)tlv->data; in iwl_dbg_tlv_alloc_hcmd() local 170 u32 tp = le32_to_cpu(hcmd->time_point); in iwl_dbg_tlv_alloc_hcmd() 172 if (le32_to_cpu(tlv->length) <= sizeof(*hcmd)) in iwl_dbg_tlv_alloc_hcmd() 713 struct iwl_host_cmd hcmd = { in iwl_dbg_tlv_apply_buffer() local 729 ret = iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_dbg_tlv_apply_buffer() 853 struct iwl_fw_ini_hcmd_tlv *hcmd = (void *)node->tlv.data; in iwl_dbg_tlv_send_hcmds() local 854 struct iwl_fw_ini_hcmd *hcmd_data = &hcmd->hcmd; in iwl_dbg_tlv_send_hcmds() 855 u16 hcmd_len = le32_to_cpu(node->tlv.length) - sizeof(*hcmd); in iwl_dbg_tlv_send_hcmds()
|
| H A D | iwl-nvm-parse.c | 2101 struct iwl_host_cmd hcmd = { in iwl_get_nvm() local 2127 ret = iwl_trans_send_cmd(trans, &hcmd); in iwl_get_nvm() 2144 if (WARN(iwl_rx_packet_payload_len(hcmd.resp_pkt) != rsp_size, in iwl_get_nvm() 2146 iwl_rx_packet_payload_len(hcmd.resp_pkt))) { in iwl_get_nvm() 2151 rsp = (void *)hcmd.resp_pkt->data; in iwl_get_nvm() 2228 iwl_free_resp(&hcmd); in iwl_get_nvm() 2234 iwl_free_resp(&hcmd); in iwl_get_nvm()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | ftm-initiator.c | 508 static int iwl_mvm_ftm_send_cmd(struct iwl_mvm *mvm, struct iwl_host_cmd *hcmd) in iwl_mvm_ftm_send_cmd() argument 511 int err = iwl_mvm_send_cmd_status(mvm, hcmd, &status); in iwl_mvm_ftm_send_cmd() 526 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v5() local 545 return iwl_mvm_ftm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_start_v5() 552 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v7() local 575 return iwl_mvm_ftm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_start_v7() 582 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v8() local 601 return iwl_mvm_ftm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_start_v8() 608 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v9() local 628 return iwl_mvm_ftm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_start_v9() [all …]
|
| H A D | rfi.c | 87 struct iwl_host_cmd hcmd = { in iwl_rfi_send_config_cmd() local 108 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_rfi_send_config_cmd()
|
| H A D | scan.c | 2830 struct iwl_host_cmd *hcmd, in iwl_mvm_build_scan_cmd() argument 2843 hcmd->id = SCAN_OFFLOAD_REQUEST_CMD; in iwl_mvm_build_scan_cmd() 2852 hcmd->id = WIDE_ID(IWL_ALWAYS_LONG_GROUP, SCAN_REQ_UMAC); in iwl_mvm_build_scan_cmd() 2972 struct iwl_host_cmd hcmd = { in _iwl_mvm_single_scan_start() local 3033 uid = iwl_mvm_build_scan_cmd(mvm, vif, &hcmd, ¶ms, type); in _iwl_mvm_single_scan_start() 3040 ret = iwl_mvm_send_cmd(mvm, &hcmd); in _iwl_mvm_single_scan_start() 3083 struct iwl_host_cmd hcmd = { in iwl_mvm_sched_scan_start() local 3182 uid = iwl_mvm_build_scan_cmd(mvm, vif, &hcmd, ¶ms, type); in iwl_mvm_sched_scan_start() 3188 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_sched_scan_start()
|
| H A D | fw.c | 465 struct iwl_host_cmd hcmd = { in iwl_mvm_uats_init() local 509 hcmd.data[0] = cmd; in iwl_mvm_uats_init() 511 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_uats_init()
|
| H A D | ops.c | 995 static void iwl_mvm_frob_hcmd(void *ctx, void *hcmd, size_t len) in iwl_mvm_frob_hcmd() argument 998 struct iwl_cmd_header_wide *hdr = hcmd; in iwl_mvm_frob_hcmd() 1036 memset((u8 *)hcmd + frob_start, 0xAA, frob_end - frob_start); in iwl_mvm_frob_hcmd()
|
| H A D | mac80211.c | 1912 struct iwl_host_cmd hcmd = { in iwl_mvm_mc_iface_iterator() local 1931 hcmd.len[0] = len; in iwl_mvm_mc_iface_iterator() 1932 hcmd.data[0] = cmd; in iwl_mvm_mc_iface_iterator() 1934 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_mc_iface_iterator() 6199 struct iwl_host_cmd hcmd = { in iwl_mvm_sync_rx_queues_internal() local 6227 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_sync_rx_queues_internal()
|
| H A D | sta.c | 2815 struct iwl_host_cmd hcmd = { in iwl_mvm_fw_baid_op_cmd() local 2832 } else if (iwl_fw_lookup_cmd_ver(mvm->fw, hcmd.id, 1) == 1) { in iwl_mvm_fw_baid_op_cmd() 2841 ret = iwl_mvm_send_cmd_status(mvm, &hcmd, &baid); in iwl_mvm_fw_baid_op_cmd()
|
| /linux/drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/ |
| H A D | tx-gen2.c | 967 struct iwl_host_cmd *hcmd) in iwl_pcie_txq_alloc_response() argument 974 if (WARN_ON(iwl_rx_packet_payload_len(hcmd->resp_pkt) != in iwl_pcie_txq_alloc_response() 980 rsp = (void *)hcmd->resp_pkt->data; in iwl_pcie_txq_alloc_response() 1012 iwl_free_resp(hcmd); in iwl_pcie_txq_alloc_response() 1016 iwl_free_resp(hcmd); in iwl_pcie_txq_alloc_response() 1030 struct iwl_host_cmd hcmd = { in iwl_txq_dyn_alloc() local 1075 hcmd.id = SCD_QUEUE_CFG; in iwl_txq_dyn_alloc() 1076 hcmd.len[0] = sizeof(cmd.old); in iwl_txq_dyn_alloc() 1077 hcmd.data[0] = &cmd.old; in iwl_txq_dyn_alloc() 1088 hcmd.id = WIDE_ID(DATA_PATH_GROUP, SCD_QUEUE_CONFIG_CMD); in iwl_txq_dyn_alloc() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | devices.c | 402 struct iwl_host_cmd hcmd = { in iwl5000_hw_channel_switch() local 447 return iwl_dvm_send_cmd(priv, &hcmd); in iwl5000_hw_channel_switch() 563 struct iwl_host_cmd hcmd = { in iwl6000_hw_channel_switch() local 574 hcmd.data[0] = cmd; in iwl6000_hw_channel_switch() 615 err = iwl_dvm_send_cmd(priv, &hcmd); in iwl6000_hw_channel_switch()
|
| H A D | calib.c | 36 struct iwl_host_cmd hcmd = { in iwl_send_calib_results() local 44 hcmd.len[0] = res->cmd_len; in iwl_send_calib_results() 45 hcmd.data[0] = &res->cmd; in iwl_send_calib_results() 46 hcmd.dataflags[0] = IWL_HCMD_DFL_NOCOPY; in iwl_send_calib_results() 47 ret = iwl_dvm_send_cmd(priv, &hcmd); in iwl_send_calib_results()
|
| H A D | commands.h | 385 u32 hcmd; /* last host command header */ member
|
| H A D | main.c | 1676 IWL_ERR(priv, "0x%08X | hcmd\n", table.hcmd); in iwl_dump_nic_error_log()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | agg.c | 423 struct iwl_host_cmd hcmd = { in iwl_mld_start_ba_in_fw() local 436 ret = iwl_mld_send_cmd(mld, &hcmd); in iwl_mld_start_ba_in_fw() 440 pkt = hcmd.resp_pkt; in iwl_mld_start_ba_in_fw() 463 iwl_free_resp(&hcmd); in iwl_mld_start_ba_in_fw()
|
| H A D | scan.c | 1334 struct iwl_host_cmd hcmd = { in iwl_mld_config_sched_scan_profiles() local 1354 hcmd.data[0] = cmd; in iwl_mld_config_sched_scan_profiles() 1355 hcmd.len[0] = cmd_size; in iwl_mld_config_sched_scan_profiles() 1389 ret = iwl_mld_send_cmd(mld, &hcmd); in iwl_mld_config_sched_scan_profiles() 1558 struct iwl_host_cmd hcmd = { in _iwl_mld_single_scan_start() local 1624 ret = iwl_mld_send_cmd(mld, &hcmd); in _iwl_mld_single_scan_start() 1750 struct iwl_host_cmd hcmd = { in iwl_mld_sched_scan_start() local 1823 ret = iwl_mld_send_cmd(mld, &hcmd); in iwl_mld_sched_scan_start()
|
| H A D | ftm-initiator.c | 235 struct iwl_host_cmd hcmd = { in iwl_mld_ftm_start() local 266 ret = iwl_mld_send_cmd(mld, &hcmd); in iwl_mld_ftm_start()
|
| H A D | d3.c | 1991 struct iwl_host_cmd hcmd = { in iwl_mld_send_proto_offload() local 1998 cmd = kzalloc(hcmd.len[0], GFP_KERNEL); in iwl_mld_send_proto_offload() 2067 hcmd.data[0] = cmd; in iwl_mld_send_proto_offload() 2068 return iwl_mld_send_cmd(mld, &hcmd); in iwl_mld_send_proto_offload()
|
| H A D | mac80211.c | 817 struct iwl_host_cmd hcmd = { in iwl_mld_mc_iface_iterator() local 834 hcmd.len[0] = len; in iwl_mld_mc_iface_iterator() 835 hcmd.data[0] = cmd; in iwl_mld_mc_iface_iterator() 837 ret = iwl_mld_send_cmd(mld, &hcmd); in iwl_mld_mc_iface_iterator()
|
| /linux/drivers/net/wireless/intel/iwlwifi/fw/ |
| H A D | dump.c | 47 u32 hcmd; /* last host command header */ member
|
| H A D | file.h | 1028 struct iwl_fw_dbg_conf_hcmd hcmd; member
|