| /linux-6.15/drivers/net/wireless/intel/iwlwifi/fw/ |
| H A D | init.c | 62 struct iwl_host_cmd hcmd = { in iwl_set_soc_latency() local 99 ret = iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_set_soc_latency() 110 struct iwl_host_cmd hcmd = { in iwl_configure_rxq() local 151 hcmd.data[0] = cmd; in iwl_configure_rxq() 152 hcmd.len[0] = size; in iwl_configure_rxq() 154 ret = iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_configure_rxq()
|
| H A D | debugfs.c | 148 struct iwl_host_cmd hcmd = { in iwl_dbgfs_enabled_severities_write() local 163 ret = fwrt->ops->send_hcmd(fwrt->ops_ctx, &hcmd); in iwl_dbgfs_enabled_severities_write() 246 struct iwl_host_cmd hcmd = { in iwl_dbgfs_send_hcmd_write() local 265 hcmd.id = be32_to_cpu(data->cmd_id); in iwl_dbgfs_send_hcmd_write() 266 hcmd.flags = be32_to_cpu(data->flags); in iwl_dbgfs_send_hcmd_write() 267 hcmd.len[0] = be16_to_cpu(data->length); in iwl_dbgfs_send_hcmd_write() 268 hcmd.data[0] = data->data; in iwl_dbgfs_send_hcmd_write() 270 if (count != header_size + hcmd.len[0] * 2 + 1) { in iwl_dbgfs_send_hcmd_write() 278 ret = fwrt->ops->send_hcmd(fwrt->ops_ctx, &hcmd); in iwl_dbgfs_send_hcmd_write() 285 if (hcmd.flags & CMD_WANT_SKB) in iwl_dbgfs_send_hcmd_write() [all …]
|
| H A D | paging.c | 245 struct iwl_host_cmd hcmd = { in iwl_send_paging_cmd() local 262 return iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_send_paging_cmd()
|
| H A D | dbg.c | 3106 struct iwl_host_cmd hcmd = { in iwl_fw_start_dbg_conf() local 3130 struct iwl_host_cmd hcmd = { in iwl_send_dbg_dump_complete_cmd() local 3332 struct iwl_host_cmd hcmd = { in iwl_fw_dbg_suspend_resume_hcmd() local 3386 struct iwl_host_cmd hcmd = { in iwl_fw_send_timestamp_marker_cmd() local 3411 hcmd.data[0] = ▮ in iwl_fw_send_timestamp_marker_cmd() 3412 hcmd.len[0] = sizeof(marker); in iwl_fw_send_timestamp_marker_cmd() 3416 if (cmd_ver > 1 && hcmd.resp_pkt) { in iwl_fw_send_timestamp_marker_cmd() 3417 resp = (void *)hcmd.resp_pkt->data; in iwl_fw_send_timestamp_marker_cmd() 3461 struct iwl_host_cmd hcmd = { in iwl_fw_disable_dbg_asserts() local 3476 iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_fw_disable_dbg_asserts() [all …]
|
| H A D | dump.c | 54 u32 hcmd; /* last host command header */ member 253 IWL_ERR(fwrt, "0x%08X | hcmd\n", table.hcmd); in iwl_fwrt_dump_lmac_error_log()
|
| /linux-6.15/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() 698 struct iwl_host_cmd hcmd = { in iwl_dbg_tlv_apply_buffer() local 714 ret = iwl_trans_send_cmd(fwrt->trans, &hcmd); in iwl_dbg_tlv_apply_buffer() 838 struct iwl_fw_ini_hcmd_tlv *hcmd = (void *)node->tlv.data; in iwl_dbg_tlv_send_hcmds() local 839 struct iwl_fw_ini_hcmd *hcmd_data = &hcmd->hcmd; in iwl_dbg_tlv_send_hcmds() 840 u16 hcmd_len = le32_to_cpu(node->tlv.length) - sizeof(*hcmd); in iwl_dbg_tlv_send_hcmds()
|
| H A D | iwl-nvm-parse.c | 2081 struct iwl_host_cmd hcmd = { in iwl_get_nvm() local 2107 ret = iwl_trans_send_cmd(trans, &hcmd); in iwl_get_nvm() 2111 if (WARN(iwl_rx_packet_payload_len(hcmd.resp_pkt) != rsp_size, in iwl_get_nvm() 2113 iwl_rx_packet_payload_len(hcmd.resp_pkt))) { in iwl_get_nvm() 2118 rsp = (void *)hcmd.resp_pkt->data; in iwl_get_nvm() 2192 iwl_free_resp(&hcmd); in iwl_get_nvm() 2198 iwl_free_resp(&hcmd); in iwl_get_nvm()
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | ap.c | 77 struct iwl_host_cmd hcmd = { in iwl_mld_send_beacon_template_cmd() local 81 hcmd.len[0] = sizeof(*cmd); in iwl_mld_send_beacon_template_cmd() 82 hcmd.data[0] = cmd; in iwl_mld_send_beacon_template_cmd() 84 hcmd.len[1] = beacon->len; in iwl_mld_send_beacon_template_cmd() 85 hcmd.data[1] = beacon->data; in iwl_mld_send_beacon_template_cmd() 86 hcmd.dataflags[1] = IWL_HCMD_DFL_DUP; in iwl_mld_send_beacon_template_cmd() 88 return iwl_mld_send_cmd(mld, &hcmd); in iwl_mld_send_beacon_template_cmd()
|
| H A D | debugfs.c | 392 struct iwl_host_cmd hcmd = { in iwl_dbgfs_tas_get_status_read() local 407 ret = iwl_mld_send_cmd(mld, &hcmd); in iwl_dbgfs_tas_get_status_read() 417 status = iwl_dhc_resp_status(mld->fwrt.fw, hcmd.resp_pkt); in iwl_dbgfs_tas_get_status_read() 425 resp = iwl_dhc_resp_data(mld->fwrt.fw, hcmd.resp_pkt, &resp_len); in iwl_dbgfs_tas_get_status_read() 436 iwl_free_resp(&hcmd); in iwl_dbgfs_tas_get_status_read() 786 struct iwl_host_cmd hcmd = { in iwl_dbgfs_vif_twt_setup_write() local 847 hcmd.len[0] = sizeof(*cmd) + sizeof(*dhc_twt_cmd); in iwl_dbgfs_vif_twt_setup_write() 848 hcmd.data[0] = cmd; in iwl_dbgfs_vif_twt_setup_write() 850 ret = iwl_mld_send_cmd(mld, &hcmd); in iwl_dbgfs_vif_twt_setup_write()
|
| H A D | agg.c | 399 struct iwl_host_cmd hcmd = { in iwl_mld_start_ba_in_fw() local 412 ret = iwl_mld_send_cmd(mld, &hcmd); in iwl_mld_start_ba_in_fw() 416 pkt = hcmd.resp_pkt; in iwl_mld_start_ba_in_fw() 439 iwl_free_resp(&hcmd); in iwl_mld_start_ba_in_fw()
|
| H A D | scan.c | 1198 struct iwl_host_cmd hcmd = { in iwl_mld_config_sched_scan_profiles() local 1218 hcmd.data[0] = cmd; in iwl_mld_config_sched_scan_profiles() 1219 hcmd.len[0] = cmd_size; in iwl_mld_config_sched_scan_profiles() 1253 ret = iwl_mld_send_cmd(mld, &hcmd); in iwl_mld_config_sched_scan_profiles() 1422 struct iwl_host_cmd hcmd = { in _iwl_mld_single_scan_start() local 1488 ret = iwl_mld_send_cmd(mld, &hcmd); in _iwl_mld_single_scan_start() 1613 struct iwl_host_cmd hcmd = { in iwl_mld_sched_scan_start() local 1686 ret = iwl_mld_send_cmd(mld, &hcmd); in iwl_mld_sched_scan_start()
|
| H A D | ftm-initiator.c | 225 struct iwl_host_cmd hcmd = { in iwl_mld_ftm_start() local 256 ret = iwl_mld_send_cmd(mld, &hcmd); in iwl_mld_ftm_start()
|
| H A D | d3.c | 1717 struct iwl_host_cmd hcmd = { in iwl_mld_send_proto_offload() local 1724 cmd = kzalloc(hcmd.len[0], GFP_KERNEL); in iwl_mld_send_proto_offload() 1789 hcmd.data[0] = cmd; in iwl_mld_send_proto_offload() 1790 return iwl_mld_send_cmd(mld, &hcmd); in iwl_mld_send_proto_offload()
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | offloading.c | 42 struct iwl_host_cmd hcmd = { in iwl_mvm_send_proto_offload() local 51 int ver = iwl_fw_lookup_cmd_ver(mvm->fw, hcmd.id, 0); in iwl_mvm_send_proto_offload() 186 hcmd.data[0] = common; in iwl_mvm_send_proto_offload() 212 hcmd.len[0] = size; in iwl_mvm_send_proto_offload() 213 return iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_send_proto_offload()
|
| H A D | ftm-initiator.c | 516 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v5() local 535 return iwl_mvm_ftm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_start_v5() 542 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v7() local 565 return iwl_mvm_ftm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_start_v7() 572 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v8() local 591 return iwl_mvm_ftm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_start_v8() 598 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v9() local 714 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v11() local 786 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v12() local 814 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_start_v13() local [all …]
|
| H A D | ftm-responder.c | 186 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_responder_dyn_cfg_v2() local 216 hcmd.len[1] = aligned_lci_len + aligned_civicloc_len; in iwl_mvm_ftm_responder_dyn_cfg_v2() 218 return iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_responder_dyn_cfg_v2() 228 struct iwl_host_cmd hcmd = { in iwl_mvm_ftm_responder_dyn_cfg_v3() local 277 return iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_ftm_responder_dyn_cfg_v3()
|
| H A D | debugfs.c | 570 struct iwl_host_cmd hcmd = { in iwl_dbgfs_tas_get_status_read() local 588 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_dbgfs_tas_get_status_read() 599 rsp = (void *)hcmd.resp_pkt->data; in iwl_dbgfs_tas_get_status_read() 723 iwl_free_resp(&hcmd); in iwl_dbgfs_tas_get_status_read() 1961 struct iwl_host_cmd hcmd = { in iwl_dbgfs_mem_read() local 1993 rsp = (void *)hcmd.resp_pkt->data; in iwl_dbgfs_mem_read() 2011 iwl_free_resp(&hcmd); in iwl_dbgfs_mem_read() 2022 struct iwl_host_cmd hcmd = {}; in iwl_dbgfs_mem_write() local 2057 hcmd.data[0] = (void *)cmd; in iwl_dbgfs_mem_write() 2058 hcmd.len[0] = cmd_size; in iwl_dbgfs_mem_write() [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 | 2831 struct iwl_host_cmd *hcmd, in iwl_mvm_build_scan_cmd() argument 2844 hcmd->id = SCAN_OFFLOAD_REQUEST_CMD; in iwl_mvm_build_scan_cmd() 2853 hcmd->id = WIDE_ID(IWL_ALWAYS_LONG_GROUP, SCAN_REQ_UMAC); in iwl_mvm_build_scan_cmd() 2973 struct iwl_host_cmd hcmd = { in _iwl_mvm_single_scan_start() local 3038 uid = iwl_mvm_build_scan_cmd(mvm, vif, &hcmd, ¶ms, type); in _iwl_mvm_single_scan_start() 3045 ret = iwl_mvm_send_cmd(mvm, &hcmd); in _iwl_mvm_single_scan_start() 3088 struct iwl_host_cmd hcmd = { in iwl_mvm_sched_scan_start() local 3187 uid = iwl_mvm_build_scan_cmd(mvm, vif, &hcmd, ¶ms, type); in iwl_mvm_sched_scan_start() 3193 ret = iwl_mvm_send_cmd(mvm, &hcmd); in iwl_mvm_sched_scan_start()
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/pcie/ |
| H A D | tx-gen2.c | 973 struct iwl_host_cmd *hcmd) in iwl_pcie_txq_alloc_response() argument 986 rsp = (void *)hcmd->resp_pkt->data; in iwl_pcie_txq_alloc_response() 1018 iwl_free_resp(hcmd); in iwl_pcie_txq_alloc_response() 1022 iwl_free_resp(hcmd); in iwl_pcie_txq_alloc_response() 1036 struct iwl_host_cmd hcmd = { in iwl_txq_dyn_alloc() local 1081 hcmd.id = SCD_QUEUE_CFG; in iwl_txq_dyn_alloc() 1082 hcmd.len[0] = sizeof(cmd.old); in iwl_txq_dyn_alloc() 1083 hcmd.data[0] = &cmd.old; in iwl_txq_dyn_alloc() 1095 hcmd.len[0] = sizeof(cmd.new); in iwl_txq_dyn_alloc() 1096 hcmd.data[0] = &cmd.new; in iwl_txq_dyn_alloc() [all …]
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | devices.c | 400 struct iwl_host_cmd hcmd = { in iwl5000_hw_channel_switch() local 445 return iwl_dvm_send_cmd(priv, &hcmd); in iwl5000_hw_channel_switch() 561 struct iwl_host_cmd hcmd = { in iwl6000_hw_channel_switch() local 572 hcmd.data[0] = cmd; in iwl6000_hw_channel_switch() 613 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()
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/tests/ |
| H A D | Makefile | 2 iwlmld-tests-y += module.o hcmd.o utils.o link.o rx.o agg.o link-selection.o
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/fw/api/ |
| H A D | dbg-tlv.h | 281 struct iwl_fw_ini_hcmd hcmd; member
|