Lines Matching +full:ath10k +full:- +full:calibration +full:- +full:variant

1 // SPDX-License-Identifier: ISC
35 struct ath10k *ar = qmi->ar; in ath10k_qmi_map_msa_permission()
47 if (mem_info->secure) { in ath10k_qmi_map_msa_permission()
55 ret = qcom_scm_assign_mem(mem_info->addr, mem_info->size, in ath10k_qmi_map_msa_permission()
67 struct ath10k *ar = qmi->ar; in ath10k_qmi_unmap_msa_permission()
73 if (!mem_info->secure) in ath10k_qmi_unmap_msa_permission()
79 ret = qcom_scm_assign_mem(mem_info->addr, mem_info->size, in ath10k_qmi_unmap_msa_permission()
92 if (qmi->msa_fixed_perm) in ath10k_qmi_setup_msa_permissions()
95 for (i = 0; i < qmi->nr_mem_region; i++) { in ath10k_qmi_setup_msa_permissions()
96 ret = ath10k_qmi_map_msa_permission(qmi, &qmi->mem_region[i]); in ath10k_qmi_setup_msa_permissions()
104 for (i--; i >= 0; i--) in ath10k_qmi_setup_msa_permissions()
105 ath10k_qmi_unmap_msa_permission(qmi, &qmi->mem_region[i]); in ath10k_qmi_setup_msa_permissions()
113 if (qmi->msa_fixed_perm) in ath10k_qmi_remove_msa_permission()
116 for (i = 0; i < qmi->nr_mem_region; i++) in ath10k_qmi_remove_msa_permission()
117 ath10k_qmi_unmap_msa_permission(qmi, &qmi->mem_region[i]); in ath10k_qmi_remove_msa_permission()
124 struct ath10k *ar = qmi->ar; in ath10k_qmi_msa_mem_info_send_sync_msg()
130 req.msa_addr = ar->msa.paddr; in ath10k_qmi_msa_mem_info_send_sync_msg()
131 req.size = ar->msa.mem_size; in ath10k_qmi_msa_mem_info_send_sync_msg()
133 ret = qmi_txn_init(&qmi->qmi_hdl, &txn, in ath10k_qmi_msa_mem_info_send_sync_msg()
138 ret = qmi_send_request(&qmi->qmi_hdl, NULL, &txn, in ath10k_qmi_msa_mem_info_send_sync_msg()
154 ret = -EINVAL; in ath10k_qmi_msa_mem_info_send_sync_msg()
161 ret = -EINVAL; in ath10k_qmi_msa_mem_info_send_sync_msg()
165 max_mapped_addr = ar->msa.paddr + ar->msa.mem_size; in ath10k_qmi_msa_mem_info_send_sync_msg()
166 qmi->nr_mem_region = resp.mem_region_info_len; in ath10k_qmi_msa_mem_info_send_sync_msg()
168 if (resp.mem_region_info[i].size > ar->msa.mem_size || in ath10k_qmi_msa_mem_info_send_sync_msg()
170 resp.mem_region_info[i].region_addr < ar->msa.paddr || in ath10k_qmi_msa_mem_info_send_sync_msg()
176 ret = -EINVAL; in ath10k_qmi_msa_mem_info_send_sync_msg()
179 qmi->mem_region[i].addr = resp.mem_region_info[i].region_addr; in ath10k_qmi_msa_mem_info_send_sync_msg()
180 qmi->mem_region[i].size = resp.mem_region_info[i].size; in ath10k_qmi_msa_mem_info_send_sync_msg()
181 qmi->mem_region[i].secure = resp.mem_region_info[i].secure_flag; in ath10k_qmi_msa_mem_info_send_sync_msg()
184 i, &qmi->mem_region[i].addr, in ath10k_qmi_msa_mem_info_send_sync_msg()
185 qmi->mem_region[i].size, in ath10k_qmi_msa_mem_info_send_sync_msg()
186 qmi->mem_region[i].secure); in ath10k_qmi_msa_mem_info_send_sync_msg()
193 memset(&qmi->mem_region[0], 0, sizeof(qmi->mem_region[0]) * i); in ath10k_qmi_msa_mem_info_send_sync_msg()
202 struct ath10k *ar = qmi->ar; in ath10k_qmi_msa_ready_send_sync_msg()
206 ret = qmi_txn_init(&qmi->qmi_hdl, &txn, in ath10k_qmi_msa_ready_send_sync_msg()
211 ret = qmi_send_request(&qmi->qmi_hdl, NULL, &txn, in ath10k_qmi_msa_ready_send_sync_msg()
227 ret = -EINVAL; in ath10k_qmi_msa_ready_send_sync_msg()
241 struct ath10k *ar = qmi->ar; in ath10k_qmi_bdf_dnld_send_sync()
249 return -ENOMEM; in ath10k_qmi_bdf_dnld_send_sync()
251 temp = ar->normal_mode_fw.board_data; in ath10k_qmi_bdf_dnld_send_sync()
252 remaining = ar->normal_mode_fw.board_len; in ath10k_qmi_bdf_dnld_send_sync()
255 req->valid = 1; in ath10k_qmi_bdf_dnld_send_sync()
256 req->file_id_valid = 1; in ath10k_qmi_bdf_dnld_send_sync()
257 req->file_id = 0; in ath10k_qmi_bdf_dnld_send_sync()
258 req->total_size_valid = 1; in ath10k_qmi_bdf_dnld_send_sync()
259 req->total_size = ar->normal_mode_fw.board_len; in ath10k_qmi_bdf_dnld_send_sync()
260 req->seg_id_valid = 1; in ath10k_qmi_bdf_dnld_send_sync()
261 req->data_valid = 1; in ath10k_qmi_bdf_dnld_send_sync()
262 req->end_valid = 1; in ath10k_qmi_bdf_dnld_send_sync()
265 req->data_len = QMI_WLFW_MAX_DATA_SIZE_V01; in ath10k_qmi_bdf_dnld_send_sync()
267 req->data_len = remaining; in ath10k_qmi_bdf_dnld_send_sync()
268 req->end = 1; in ath10k_qmi_bdf_dnld_send_sync()
271 memcpy(req->data, temp, req->data_len); in ath10k_qmi_bdf_dnld_send_sync()
273 ret = qmi_txn_init(&qmi->qmi_hdl, &txn, in ath10k_qmi_bdf_dnld_send_sync()
279 ret = qmi_send_request(&qmi->qmi_hdl, NULL, &txn, in ath10k_qmi_bdf_dnld_send_sync()
297 * scenario and treat it as non-fatal. in ath10k_qmi_bdf_dnld_send_sync()
300 !(req->end == 1 && in ath10k_qmi_bdf_dnld_send_sync()
304 ret = -EINVAL; in ath10k_qmi_bdf_dnld_send_sync()
308 remaining -= req->data_len; in ath10k_qmi_bdf_dnld_send_sync()
309 temp += req->data_len; in ath10k_qmi_bdf_dnld_send_sync()
310 req->seg_id++; in ath10k_qmi_bdf_dnld_send_sync()
327 struct ath10k *ar = qmi->ar; in ath10k_qmi_send_cal_report_req()
333 if (ar_snoc->xo_cal_supported) { in ath10k_qmi_send_cal_report_req()
335 req.xo_cal_data = ar_snoc->xo_cal_data; in ath10k_qmi_send_cal_report_req()
338 ret = qmi_txn_init(&qmi->qmi_hdl, &txn, wlfw_cal_report_resp_msg_v01_ei, in ath10k_qmi_send_cal_report_req()
344 if (qmi->cal_data[i].total_size && in ath10k_qmi_send_cal_report_req()
345 qmi->cal_data[i].data) { in ath10k_qmi_send_cal_report_req()
346 req.meta_data[j] = qmi->cal_data[i].cal_id; in ath10k_qmi_send_cal_report_req()
352 ret = qmi_send_request(&qmi->qmi_hdl, NULL, &txn, in ath10k_qmi_send_cal_report_req()
358 ath10k_err(ar, "failed to send calibration request: %d\n", ret); in ath10k_qmi_send_cal_report_req()
367 ath10k_err(ar, "calibration request rejected: %d\n", resp.resp.error); in ath10k_qmi_send_cal_report_req()
368 ret = -EINVAL; in ath10k_qmi_send_cal_report_req()
380 ath10k_qmi_mode_send_sync_msg(struct ath10k *ar, enum wlfw_driver_mode_enum_v01 mode) in ath10k_qmi_mode_send_sync_msg()
383 struct ath10k_qmi *qmi = ar_snoc->qmi; in ath10k_qmi_mode_send_sync_msg()
389 ret = qmi_txn_init(&qmi->qmi_hdl, &txn, in ath10k_qmi_mode_send_sync_msg()
399 ret = qmi_send_request(&qmi->qmi_hdl, NULL, &txn, in ath10k_qmi_mode_send_sync_msg()
415 ret = -EINVAL; in ath10k_qmi_mode_send_sync_msg()
427 ath10k_qmi_cfg_send_sync_msg(struct ath10k *ar, in ath10k_qmi_cfg_send_sync_msg()
432 struct ath10k_qmi *qmi = ar_snoc->qmi; in ath10k_qmi_cfg_send_sync_msg()
441 return -ENOMEM; in ath10k_qmi_cfg_send_sync_msg()
443 ret = qmi_txn_init(&qmi->qmi_hdl, &txn, in ath10k_qmi_cfg_send_sync_msg()
449 req->host_version_valid = 0; in ath10k_qmi_cfg_send_sync_msg()
451 req->tgt_cfg_valid = 1; in ath10k_qmi_cfg_send_sync_msg()
452 if (config->num_ce_tgt_cfg > QMI_WLFW_MAX_NUM_CE_V01) in ath10k_qmi_cfg_send_sync_msg()
453 req->tgt_cfg_len = QMI_WLFW_MAX_NUM_CE_V01; in ath10k_qmi_cfg_send_sync_msg()
455 req->tgt_cfg_len = config->num_ce_tgt_cfg; in ath10k_qmi_cfg_send_sync_msg()
456 for (i = 0; i < req->tgt_cfg_len; i++) { in ath10k_qmi_cfg_send_sync_msg()
457 req->tgt_cfg[i].pipe_num = config->ce_tgt_cfg[i].pipe_num; in ath10k_qmi_cfg_send_sync_msg()
458 req->tgt_cfg[i].pipe_dir = config->ce_tgt_cfg[i].pipe_dir; in ath10k_qmi_cfg_send_sync_msg()
459 req->tgt_cfg[i].nentries = config->ce_tgt_cfg[i].nentries; in ath10k_qmi_cfg_send_sync_msg()
460 req->tgt_cfg[i].nbytes_max = config->ce_tgt_cfg[i].nbytes_max; in ath10k_qmi_cfg_send_sync_msg()
461 req->tgt_cfg[i].flags = config->ce_tgt_cfg[i].flags; in ath10k_qmi_cfg_send_sync_msg()
464 req->svc_cfg_valid = 1; in ath10k_qmi_cfg_send_sync_msg()
465 if (config->num_ce_svc_pipe_cfg > QMI_WLFW_MAX_NUM_SVC_V01) in ath10k_qmi_cfg_send_sync_msg()
466 req->svc_cfg_len = QMI_WLFW_MAX_NUM_SVC_V01; in ath10k_qmi_cfg_send_sync_msg()
468 req->svc_cfg_len = config->num_ce_svc_pipe_cfg; in ath10k_qmi_cfg_send_sync_msg()
469 for (i = 0; i < req->svc_cfg_len; i++) { in ath10k_qmi_cfg_send_sync_msg()
470 req->svc_cfg[i].service_id = config->ce_svc_cfg[i].service_id; in ath10k_qmi_cfg_send_sync_msg()
471 req->svc_cfg[i].pipe_dir = config->ce_svc_cfg[i].pipe_dir; in ath10k_qmi_cfg_send_sync_msg()
472 req->svc_cfg[i].pipe_num = config->ce_svc_cfg[i].pipe_num; in ath10k_qmi_cfg_send_sync_msg()
475 req->shadow_reg_valid = 1; in ath10k_qmi_cfg_send_sync_msg()
476 if (config->num_shadow_reg_cfg > in ath10k_qmi_cfg_send_sync_msg()
478 req->shadow_reg_len = QMI_WLFW_MAX_NUM_SHADOW_REG_V01; in ath10k_qmi_cfg_send_sync_msg()
480 req->shadow_reg_len = config->num_shadow_reg_cfg; in ath10k_qmi_cfg_send_sync_msg()
482 memcpy(req->shadow_reg, config->shadow_reg_cfg, in ath10k_qmi_cfg_send_sync_msg()
483 sizeof(struct wlfw_shadow_reg_cfg_s_v01) * req->shadow_reg_len); in ath10k_qmi_cfg_send_sync_msg()
485 ret = qmi_send_request(&qmi->qmi_hdl, NULL, &txn, in ath10k_qmi_cfg_send_sync_msg()
501 ret = -EINVAL; in ath10k_qmi_cfg_send_sync_msg()
514 int ath10k_qmi_wlan_enable(struct ath10k *ar, in ath10k_qmi_wlan_enable()
539 int ath10k_qmi_wlan_disable(struct ath10k *ar) in ath10k_qmi_wlan_disable()
544 static void ath10k_qmi_add_wlan_ver_smem(struct ath10k *ar, const char *fw_build_id) in ath10k_qmi_add_wlan_ver_smem()
575 struct ath10k *ar = qmi->ar; in ath10k_qmi_cap_send_sync_msg()
582 return -ENOMEM; in ath10k_qmi_cap_send_sync_msg()
584 ret = qmi_txn_init(&qmi->qmi_hdl, &txn, wlfw_cap_resp_msg_v01_ei, resp); in ath10k_qmi_cap_send_sync_msg()
588 ret = qmi_send_request(&qmi->qmi_hdl, NULL, &txn, in ath10k_qmi_cap_send_sync_msg()
602 if (resp->resp.result != QMI_RESULT_SUCCESS_V01) { in ath10k_qmi_cap_send_sync_msg()
603 ath10k_err(ar, "capability req rejected: %d\n", resp->resp.error); in ath10k_qmi_cap_send_sync_msg()
604 ret = -EINVAL; in ath10k_qmi_cap_send_sync_msg()
608 if (resp->chip_info_valid) { in ath10k_qmi_cap_send_sync_msg()
609 qmi->chip_info.chip_id = resp->chip_info.chip_id; in ath10k_qmi_cap_send_sync_msg()
610 qmi->chip_info.chip_family = resp->chip_info.chip_family; in ath10k_qmi_cap_send_sync_msg()
612 qmi->chip_info.chip_id = 0xFF; in ath10k_qmi_cap_send_sync_msg()
615 if (resp->board_info_valid) in ath10k_qmi_cap_send_sync_msg()
616 qmi->board_info.board_id = resp->board_info.board_id; in ath10k_qmi_cap_send_sync_msg()
618 qmi->board_info.board_id = 0xFF; in ath10k_qmi_cap_send_sync_msg()
620 if (resp->soc_info_valid) in ath10k_qmi_cap_send_sync_msg()
621 qmi->soc_info.soc_id = resp->soc_info.soc_id; in ath10k_qmi_cap_send_sync_msg()
623 if (resp->fw_version_info_valid) { in ath10k_qmi_cap_send_sync_msg()
624 qmi->fw_version = resp->fw_version_info.fw_version; in ath10k_qmi_cap_send_sync_msg()
625 strscpy(qmi->fw_build_timestamp, resp->fw_version_info.fw_build_timestamp, in ath10k_qmi_cap_send_sync_msg()
626 sizeof(qmi->fw_build_timestamp)); in ath10k_qmi_cap_send_sync_msg()
629 if (resp->fw_build_id_valid) in ath10k_qmi_cap_send_sync_msg()
630 strscpy(qmi->fw_build_id, resp->fw_build_id, in ath10k_qmi_cap_send_sync_msg()
633 if (!test_bit(ATH10K_SNOC_FLAG_REGISTERED, &ar_snoc->flags)) { in ath10k_qmi_cap_send_sync_msg()
635 qmi->chip_info.chip_id, qmi->chip_info.chip_family, in ath10k_qmi_cap_send_sync_msg()
636 qmi->board_info.board_id, qmi->soc_info.soc_id); in ath10k_qmi_cap_send_sync_msg()
638 qmi->fw_version, qmi->fw_build_timestamp, qmi->fw_build_id); in ath10k_qmi_cap_send_sync_msg()
641 if (resp->fw_build_id_valid) in ath10k_qmi_cap_send_sync_msg()
642 ath10k_qmi_add_wlan_ver_smem(ar, qmi->fw_build_id); in ath10k_qmi_cap_send_sync_msg()
657 struct ath10k *ar = qmi->ar; in ath10k_qmi_host_cap_send_sync()
665 ret = qmi_txn_init(&qmi->qmi_hdl, &txn, wlfw_host_cap_resp_msg_v01_ei, in ath10k_qmi_host_cap_send_sync()
670 if (test_bit(ATH10K_SNOC_FLAG_8BIT_HOST_CAP_QUIRK, &ar_snoc->flags)) in ath10k_qmi_host_cap_send_sync()
675 ret = qmi_send_request(&qmi->qmi_hdl, NULL, &txn, in ath10k_qmi_host_cap_send_sync()
693 ret = -EINVAL; in ath10k_qmi_host_cap_send_sync()
704 int ath10k_qmi_set_fw_log_mode(struct ath10k *ar, u8 fw_log_mode) in ath10k_qmi_set_fw_log_mode()
708 struct ath10k_qmi *qmi = ar_snoc->qmi; in ath10k_qmi_set_fw_log_mode()
716 ret = qmi_txn_init(&qmi->qmi_hdl, &txn, wlfw_ini_resp_msg_v01_ei, in ath10k_qmi_set_fw_log_mode()
721 ret = qmi_send_request(&qmi->qmi_hdl, NULL, &txn, in ath10k_qmi_set_fw_log_mode()
738 ret = -EINVAL; in ath10k_qmi_set_fw_log_mode()
754 struct ath10k *ar = qmi->ar; in ath10k_qmi_ind_register_send_sync_msg()
766 if (ar_snoc->xo_cal_supported) { in ath10k_qmi_ind_register_send_sync_msg()
771 ret = qmi_txn_init(&qmi->qmi_hdl, &txn, in ath10k_qmi_ind_register_send_sync_msg()
776 ret = qmi_send_request(&qmi->qmi_hdl, NULL, &txn, in ath10k_qmi_ind_register_send_sync_msg()
792 ret = -EINVAL; in ath10k_qmi_ind_register_send_sync_msg()
798 qmi->fw_ready = true; in ath10k_qmi_ind_register_send_sync_msg()
809 struct ath10k *ar = qmi->ar; in ath10k_qmi_event_server_arrive()
816 if (qmi->fw_ready) { in ath10k_qmi_event_server_arrive()
832 * violation, when running MPSS.AT.4.0.c2-01184-SDM845_GEN_PACK-1. in ath10k_qmi_event_server_arrive()
856 struct ath10k *ar = qmi->ar; in ath10k_qmi_fetch_board_file()
859 ar->hif.bus = ATH10K_BUS_SNOC; in ath10k_qmi_fetch_board_file()
860 ar->id.qmi_ids_valid = true; in ath10k_qmi_fetch_board_file()
861 ar->id.qmi_board_id = qmi->board_info.board_id; in ath10k_qmi_fetch_board_file()
862 ar->id.qmi_chip_id = qmi->chip_info.chip_id; in ath10k_qmi_fetch_board_file()
863 ar->hw_params.fw.dir = WCN3990_HW_1_0_FW_DIR; in ath10k_qmi_fetch_board_file()
867 ath10k_dbg(ar, ATH10K_DBG_QMI, "DT bdf variant name not set.\n"); in ath10k_qmi_fetch_board_file()
869 return ath10k_core_fetch_board_file(qmi->ar, ATH10K_BD_IE_BOARD); in ath10k_qmi_fetch_board_file()
881 return -ENOMEM; in ath10k_qmi_driver_event_post()
883 event->type = type; in ath10k_qmi_driver_event_post()
884 event->data = data; in ath10k_qmi_driver_event_post()
886 spin_lock(&qmi->event_lock); in ath10k_qmi_driver_event_post()
887 list_add_tail(&event->list, &qmi->event_list); in ath10k_qmi_driver_event_post()
888 spin_unlock(&qmi->event_lock); in ath10k_qmi_driver_event_post()
890 queue_work(qmi->event_wq, &qmi->event_work); in ath10k_qmi_driver_event_post()
897 struct ath10k *ar = qmi->ar; in ath10k_qmi_event_server_exit()
902 if (!test_bit(ATH10K_SNOC_FLAG_UNREGISTERING, &ar_snoc->flags) && in ath10k_qmi_event_server_exit()
903 !test_bit(ATH10K_SNOC_FLAG_MODEM_STOPPED, &ar_snoc->flags)) in ath10k_qmi_event_server_exit()
930 struct ath10k *ar = qmi->ar; in ath10k_qmi_event_fw_ready_ind()
978 struct sockaddr_qrtr *sq = &qmi->sq; in ath10k_qmi_new_server()
979 struct ath10k *ar = qmi->ar; in ath10k_qmi_new_server()
982 sq->sq_family = AF_QIPCRTR; in ath10k_qmi_new_server()
983 sq->sq_node = service->node; in ath10k_qmi_new_server()
984 sq->sq_port = service->port; in ath10k_qmi_new_server()
988 ret = kernel_connect(qmi_hdl->sock, (struct sockaddr *)&qmi->sq, in ath10k_qmi_new_server()
989 sizeof(qmi->sq), 0); in ath10k_qmi_new_server()
1007 qmi->fw_ready = false; in ath10k_qmi_del_server()
1015 if (qmi->state == ATH10K_QMI_STATE_INIT_DONE) in ath10k_qmi_del_server()
1030 struct ath10k *ar = qmi->ar; in ath10k_qmi_driver_event_work()
1032 spin_lock(&qmi->event_lock); in ath10k_qmi_driver_event_work()
1033 while (!list_empty(&qmi->event_list)) { in ath10k_qmi_driver_event_work()
1034 event = list_first_entry(&qmi->event_list, in ath10k_qmi_driver_event_work()
1036 list_del(&event->list); in ath10k_qmi_driver_event_work()
1037 spin_unlock(&qmi->event_lock); in ath10k_qmi_driver_event_work()
1039 switch (event->type) { in ath10k_qmi_driver_event_work()
1053 ath10k_warn(ar, "invalid event type: %d", event->type); in ath10k_qmi_driver_event_work()
1057 spin_lock(&qmi->event_lock); in ath10k_qmi_driver_event_work()
1059 spin_unlock(&qmi->event_lock); in ath10k_qmi_driver_event_work()
1062 int ath10k_qmi_init(struct ath10k *ar, u32 msa_size) in ath10k_qmi_init()
1065 struct device *dev = ar->dev; in ath10k_qmi_init()
1071 return -ENOMEM; in ath10k_qmi_init()
1073 qmi->ar = ar; in ath10k_qmi_init()
1074 ar_snoc->qmi = qmi; in ath10k_qmi_init()
1076 if (of_property_read_bool(dev->of_node, "qcom,msa-fixed-perm")) in ath10k_qmi_init()
1077 qmi->msa_fixed_perm = true; in ath10k_qmi_init()
1079 ret = qmi_handle_init(&qmi->qmi_hdl, in ath10k_qmi_init()
1085 qmi->event_wq = alloc_ordered_workqueue("ath10k_qmi_driver_event", 0); in ath10k_qmi_init()
1086 if (!qmi->event_wq) { in ath10k_qmi_init()
1088 ret = -EFAULT; in ath10k_qmi_init()
1092 INIT_LIST_HEAD(&qmi->event_list); in ath10k_qmi_init()
1093 spin_lock_init(&qmi->event_lock); in ath10k_qmi_init()
1094 INIT_WORK(&qmi->event_work, ath10k_qmi_driver_event_work); in ath10k_qmi_init()
1096 ret = qmi_add_lookup(&qmi->qmi_hdl, WLFW_SERVICE_ID_V01, in ath10k_qmi_init()
1101 qmi->state = ATH10K_QMI_STATE_INIT_DONE; in ath10k_qmi_init()
1105 destroy_workqueue(qmi->event_wq); in ath10k_qmi_init()
1108 qmi_handle_release(&qmi->qmi_hdl); in ath10k_qmi_init()
1115 int ath10k_qmi_deinit(struct ath10k *ar) in ath10k_qmi_deinit()
1118 struct ath10k_qmi *qmi = ar_snoc->qmi; in ath10k_qmi_deinit()
1120 qmi->state = ATH10K_QMI_STATE_DEINIT; in ath10k_qmi_deinit()
1121 qmi_handle_release(&qmi->qmi_hdl); in ath10k_qmi_deinit()
1122 cancel_work_sync(&qmi->event_work); in ath10k_qmi_deinit()
1123 destroy_workqueue(qmi->event_wq); in ath10k_qmi_deinit()
1125 ar_snoc->qmi = NULL; in ath10k_qmi_deinit()