| /linux/drivers/net/wireless/intel/iwlwifi/fw/ |
| H A D | debugfs.c | 149 struct iwl_host_cmd hcmd = { in iwl_dbgfs_enabled_severities_write() local 164 ret = fwrt->ops->send_hcmd(fwrt->ops_ctx, &hcmd); in iwl_dbgfs_enabled_severities_write() 247 struct iwl_host_cmd hcmd = { in iwl_dbgfs_send_hcmd_write() local 266 hcmd.id = be32_to_cpu(data->cmd_id); in iwl_dbgfs_send_hcmd_write() 267 hcmd.flags = be32_to_cpu(data->flags); in iwl_dbgfs_send_hcmd_write() 268 hcmd.len[0] = be16_to_cpu(data->length); in iwl_dbgfs_send_hcmd_write() 269 hcmd.data[0] = data->data; in iwl_dbgfs_send_hcmd_write() 271 if (count != header_size + hcmd.len[0] * 2 + 1) { in iwl_dbgfs_send_hcmd_write() 279 ret = fwrt->ops->send_hcmd(fwrt->ops_ctx, &hcmd); in iwl_dbgfs_send_hcmd_write() 286 if (hcmd.flags & CMD_WANT_SKB) in iwl_dbgfs_send_hcmd_write() [all …]
|
| /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() 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()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | ap.c | 78 struct iwl_host_cmd hcmd = { in iwl_mld_send_beacon_template_cmd() local 82 hcmd.len[0] = sizeof(*cmd); in iwl_mld_send_beacon_template_cmd() 83 hcmd.data[0] = cmd; in iwl_mld_send_beacon_template_cmd() 85 hcmd.len[1] = beacon->len; in iwl_mld_send_beacon_template_cmd() 86 hcmd.data[1] = beacon->data; in iwl_mld_send_beacon_template_cmd() 87 hcmd.dataflags[1] = IWL_HCMD_DFL_DUP; in iwl_mld_send_beacon_template_cmd() 89 return iwl_mld_send_cmd(mld, &hcmd); in iwl_mld_send_beacon_template_cmd()
|
| H A D | agg.c | 406 struct iwl_host_cmd hcmd = { in iwl_mld_start_ba_in_fw() local 419 ret = iwl_mld_send_cmd(mld, &hcmd); in iwl_mld_start_ba_in_fw() 423 pkt = hcmd.resp_pkt; in iwl_mld_start_ba_in_fw() 446 iwl_free_resp(&hcmd); in iwl_mld_start_ba_in_fw()
|
| H A D | scan.c | 1328 struct iwl_host_cmd hcmd = { in iwl_mld_config_sched_scan_profiles() local 1348 hcmd.data[0] = cmd; in iwl_mld_config_sched_scan_profiles() 1349 hcmd.len[0] = cmd_size; in iwl_mld_config_sched_scan_profiles() 1383 ret = iwl_mld_send_cmd(mld, &hcmd); in iwl_mld_config_sched_scan_profiles() 1552 struct iwl_host_cmd hcmd = { in _iwl_mld_single_scan_start() local 1618 ret = iwl_mld_send_cmd(mld, &hcmd); in _iwl_mld_single_scan_start() 1743 struct iwl_host_cmd hcmd = { in iwl_mld_sched_scan_start() local 1816 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 | 1784 struct iwl_host_cmd hcmd = { in iwl_mld_send_proto_offload() local 1791 cmd = kzalloc(hcmd.len[0], GFP_KERNEL); in iwl_mld_send_proto_offload() 1860 hcmd.data[0] = cmd; in iwl_mld_send_proto_offload() 1861 return iwl_mld_send_cmd(mld, &hcmd); in iwl_mld_send_proto_offload()
|
| H A D | mac80211.c | 792 struct iwl_host_cmd hcmd = { in iwl_mld_mc_iface_iterator() local 809 hcmd.len[0] = len; in iwl_mld_mc_iface_iterator() 810 hcmd.data[0] = cmd; in iwl_mld_mc_iface_iterator() 812 ret = iwl_mld_send_cmd(mld, &hcmd); in iwl_mld_mc_iface_iterator()
|
| /linux/drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/ |
| H A D | tx-gen2.c | 965 struct iwl_host_cmd *hcmd) in iwl_pcie_txq_alloc_response() argument 972 if (WARN_ON(iwl_rx_packet_payload_len(hcmd->resp_pkt) != in iwl_pcie_txq_alloc_response() 978 rsp = (void *)hcmd->resp_pkt->data; in iwl_pcie_txq_alloc_response() 1010 iwl_free_resp(hcmd); in iwl_pcie_txq_alloc_response() 1014 iwl_free_resp(hcmd); in iwl_pcie_txq_alloc_response() 1028 struct iwl_host_cmd hcmd = { in iwl_txq_dyn_alloc() local 1073 hcmd.id = SCD_QUEUE_CFG; in iwl_txq_dyn_alloc() 1074 hcmd.len[0] = sizeof(cmd.old); in iwl_txq_dyn_alloc() 1075 hcmd.data[0] = &cmd.old; in iwl_txq_dyn_alloc() 1086 hcmd.id = WIDE_ID(DATA_PATH_GROUP, SCD_QUEUE_CONFIG_CMD); in iwl_txq_dyn_alloc() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| 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 | 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 | ops.c | 994 static void iwl_mvm_frob_hcmd(void *ctx, void *hcmd, size_t len) in iwl_mvm_frob_hcmd() argument 997 struct iwl_cmd_header_wide *hdr = hcmd; in iwl_mvm_frob_hcmd() 1035 memset((u8 *)hcmd + frob_start, 0xAA, frob_end - frob_start); in iwl_mvm_frob_hcmd()
|
| 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/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/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/drivers/net/wireless/intel/ipw2x00/ |
| H A D | ipw2200.c | 202 static int ipw_queue_tx_hcmd(struct ipw_priv *priv, int hcmd, const void *buf, 4803 if (priv->hcmd in ipw_rx_notification() 4804 && priv->hcmd->cmd != HOST_CMD_DINO_CONFIG) in ipw_rx_notification() 4989 static int ipw_queue_tx_hcmd(struct ipw_priv *priv, int hcmd, const void *buf, in ipw_queue_tx_hcmd() argument 5008 tfd->u.cmd.index = hcmd; in ipw_queue_tx_hcmd()
|