| Seq | Timestamp | Type | Name | Duration |
|---|---|---|---|---|
| 0/0 | 2026/10/30 02:35 | flow | patch-triage |
2mArgs:null Results: {
"EnableConfigs": null,
"FocusSymbols": [],
"KMSANReasoning": "",
"NeedsKMSAN": false,
"Reasoning": "The patch only deletes unused QMI wire format message definitions and structures (dead code) from the ath10k driver, with no modifications to active executable logic, control flow, or runtime assertions. Furthermore, the affected module (ath10k_snoc) is a platform driver for Qualcomm WCN3990 Wi-Fi connected via the SNOC bus, which requires physical Qualcomm SoC hardware and is structurally unreachable in standard amd64 virtualized environments.",
"WorthFuzzing": false
} |
| 1/1 | 2026/10/30 02:35 | action | read-patch-diff |
0mArgs:null Results: {
"PatchDiff": "commit 61d6a3cfd6d7f85d87b72fbf8e80c1d357b52179\nAuthor: syz-cluster \u003ctriage@syzkaller.com\u003e\nDate: Fri Oct 30 02:35:15 2026 +0000\n\n syz-cluster: applied patch under review\n\ndiff --git a/drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.c b/drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.c\nindex 279aeb2a7dbc40..dc0f7e3533491a 100644\n--- a/drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.c\n+++ b/drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.c\n@@ -569,64 +569,6 @@ const struct qmi_elem_info wlfw_msa_ready_ind_msg_v01_ei[] = {\n \t{}\n };\n \n-const struct qmi_elem_info wlfw_pin_connect_result_ind_msg_v01_ei[] = {\n-\t{\n-\t\t.data_type = QMI_OPT_FLAG,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x10,\n-\t\t.offset = offsetof(struct wlfw_pin_connect_result_ind_msg_v01,\n-\t\t\t\t\t pwr_pin_result_valid),\n-\t},\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_4_BYTE,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u32),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x10,\n-\t\t.offset = offsetof(struct wlfw_pin_connect_result_ind_msg_v01,\n-\t\t\t\t\t pwr_pin_result),\n-\t},\n-\t{\n-\t\t.data_type = QMI_OPT_FLAG,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x11,\n-\t\t.offset = offsetof(struct wlfw_pin_connect_result_ind_msg_v01,\n-\t\t\t\t\t phy_io_pin_result_valid),\n-\t},\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_4_BYTE,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u32),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x11,\n-\t\t.offset = offsetof(struct wlfw_pin_connect_result_ind_msg_v01,\n-\t\t\t\t\t phy_io_pin_result),\n-\t},\n-\t{\n-\t\t.data_type = QMI_OPT_FLAG,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x12,\n-\t\t.offset = offsetof(struct wlfw_pin_connect_result_ind_msg_v01,\n-\t\t\t\t\t rf_pin_result_valid),\n-\t},\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_4_BYTE,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u32),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x12,\n-\t\t.offset = offsetof(struct wlfw_pin_connect_result_ind_msg_v01,\n-\t\t\t\t\t rf_pin_result),\n-\t},\n-\t{}\n-};\n-\n const struct qmi_elem_info wlfw_wlan_mode_req_msg_v01_ei[] = {\n \t{\n \t\t.data_type = QMI_SIGNED_4_BYTE_ENUM,\n@@ -1148,217 +1090,133 @@ const struct qmi_elem_info wlfw_cal_report_resp_msg_v01_ei[] = {\n \t{}\n };\n \n-const struct qmi_elem_info wlfw_initiate_cal_download_ind_msg_v01_ei[] = {\n-\t{\n-\t\t.data_type = QMI_SIGNED_4_BYTE_ENUM,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(enum wlfw_cal_temp_id_enum_v01),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x01,\n-\t\t.offset = offsetof(struct wlfw_initiate_cal_download_ind_msg_v01,\n-\t\t\t\t\t cal_id),\n-\t},\n-\t{}\n-};\n-\n-const struct qmi_elem_info wlfw_cal_download_req_msg_v01_ei[] = {\n+const struct qmi_elem_info wlfw_msa_info_req_msg_v01_ei[] = {\n \t{\n-\t\t.data_type = QMI_UNSIGNED_1_BYTE,\n+\t\t.data_type = QMI_UNSIGNED_8_BYTE,\n \t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n+\t\t.elem_size = sizeof(u64),\n \t\t.array_type = NO_ARRAY,\n \t\t.tlv_type = 0x01,\n-\t\t.offset = offsetof(struct wlfw_cal_download_req_msg_v01,\n-\t\t\t\t\t valid),\n-\t},\n-\t{\n-\t\t.data_type = QMI_OPT_FLAG,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x10,\n-\t\t.offset = offsetof(struct wlfw_cal_download_req_msg_v01,\n-\t\t\t\t\t file_id_valid),\n-\t},\n-\t{\n-\t\t.data_type = QMI_SIGNED_4_BYTE_ENUM,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(enum wlfw_cal_temp_id_enum_v01),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x10,\n-\t\t.offset = offsetof(struct wlfw_cal_download_req_msg_v01,\n-\t\t\t\t\t file_id),\n-\t},\n-\t{\n-\t\t.data_type = QMI_OPT_FLAG,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x11,\n-\t\t.offset = offsetof(struct wlfw_cal_download_req_msg_v01,\n-\t\t\t\t\t total_size_valid),\n-\t},\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_4_BYTE,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u32),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x11,\n-\t\t.offset = offsetof(struct wlfw_cal_download_req_msg_v01,\n-\t\t\t\t\t total_size),\n-\t},\n-\t{\n-\t\t.data_type = QMI_OPT_FLAG,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x12,\n-\t\t.offset = offsetof(struct wlfw_cal_download_req_msg_v01,\n-\t\t\t\t\t seg_id_valid),\n+\t\t.offset = offsetof(struct wlfw_msa_info_req_msg_v01,\n+\t\t\t\t\t msa_addr),\n \t},\n \t{\n \t\t.data_type = QMI_UNSIGNED_4_BYTE,\n \t\t.elem_len = 1,\n \t\t.elem_size = sizeof(u32),\n \t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x12,\n-\t\t.offset = offsetof(struct wlfw_cal_download_req_msg_v01,\n-\t\t\t\t\t seg_id),\n+\t\t.tlv_type = 0x02,\n+\t\t.offset = offsetof(struct wlfw_msa_info_req_msg_v01,\n+\t\t\t\t\t size),\n \t},\n+\t{}\n+};\n+\n+const struct qmi_elem_info wlfw_msa_info_resp_msg_v01_ei[] = {\n \t{\n-\t\t.data_type = QMI_OPT_FLAG,\n+\t\t.data_type = QMI_STRUCT,\n \t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n+\t\t.elem_size = sizeof(struct qmi_response_type_v01),\n \t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x13,\n-\t\t.offset = offsetof(struct wlfw_cal_download_req_msg_v01,\n-\t\t\t\t\t data_valid),\n+\t\t.tlv_type = 0x02,\n+\t\t.offset = offsetof(struct wlfw_msa_info_resp_msg_v01,\n+\t\t\t\t\t resp),\n+\t\t.ei_array = qmi_response_type_v01_ei,\n \t},\n \t{\n \t\t.data_type = QMI_DATA_LEN,\n \t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u16),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x13,\n-\t\t.offset = offsetof(struct wlfw_cal_download_req_msg_v01,\n-\t\t\t\t\t data_len),\n-\t},\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_1_BYTE,\n-\t\t.elem_len = QMI_WLFW_MAX_DATA_SIZE_V01,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = VAR_LEN_ARRAY,\n-\t\t.tlv_type = 0x13,\n-\t\t.offset = offsetof(struct wlfw_cal_download_req_msg_v01,\n-\t\t\t\t\t data),\n-\t},\n-\t{\n-\t\t.data_type = QMI_OPT_FLAG,\n-\t\t.elem_len = 1,\n \t\t.elem_size = sizeof(u8),\n \t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x14,\n-\t\t.offset = offsetof(struct wlfw_cal_download_req_msg_v01,\n-\t\t\t\t\t end_valid),\n+\t\t.tlv_type = 0x03,\n+\t\t.offset = offsetof(struct wlfw_msa_info_resp_msg_v01,\n+\t\t\t\t\t mem_region_info_len),\n \t},\n \t{\n-\t\t.data_type = QMI_UNSIGNED_1_BYTE,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x14,\n-\t\t.offset = offsetof(struct wlfw_cal_download_req_msg_v01,\n-\t\t\t\t\t end),\n+\t\t.data_type = QMI_STRUCT,\n+\t\t.elem_len = QMI_WLFW_MAX_MEM_REG_V01,\n+\t\t.elem_size = sizeof(struct wlfw_memory_region_info_s_v01),\n+\t\t.array_type = VAR_LEN_ARRAY,\n+\t\t.tlv_type = 0x03,\n+\t\t.offset = offsetof(struct wlfw_msa_info_resp_msg_v01,\n+\t\t\t\t\t mem_region_info),\n+\t\t.ei_array = wlfw_memory_region_info_s_v01_ei,\n \t},\n \t{}\n };\n \n-const struct qmi_elem_info wlfw_cal_download_resp_msg_v01_ei[] = {\n+const struct qmi_elem_info wlfw_msa_ready_req_msg_v01_ei[] = {\n+\t{}\n+};\n+\n+const struct qmi_elem_info wlfw_msa_ready_resp_msg_v01_ei[] = {\n \t{\n \t\t.data_type = QMI_STRUCT,\n \t\t.elem_len = 1,\n \t\t.elem_size = sizeof(struct qmi_response_type_v01),\n \t\t.array_type = NO_ARRAY,\n \t\t.tlv_type = 0x02,\n-\t\t.offset = offsetof(struct wlfw_cal_download_resp_msg_v01,\n+\t\t.offset = offsetof(struct wlfw_msa_ready_resp_msg_v01,\n \t\t\t\t\t resp),\n \t\t.ei_array = qmi_response_type_v01_ei,\n \t},\n \t{}\n };\n \n-const struct qmi_elem_info wlfw_initiate_cal_update_ind_msg_v01_ei[] = {\n-\t{\n-\t\t.data_type = QMI_SIGNED_4_BYTE_ENUM,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(enum wlfw_cal_temp_id_enum_v01),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x01,\n-\t\t.offset = offsetof(struct wlfw_initiate_cal_update_ind_msg_v01,\n-\t\t\t\t\t cal_id),\n-\t},\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_4_BYTE,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u32),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x02,\n-\t\t.offset = offsetof(struct wlfw_initiate_cal_update_ind_msg_v01,\n-\t\t\t\t\t total_size),\n-\t},\n-\t{}\n-};\n-\n-const struct qmi_elem_info wlfw_cal_update_req_msg_v01_ei[] = {\n+const struct qmi_elem_info wlfw_ini_req_msg_v01_ei[] = {\n \t{\n-\t\t.data_type = QMI_SIGNED_4_BYTE_ENUM,\n+\t\t.data_type = QMI_OPT_FLAG,\n \t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(enum wlfw_cal_temp_id_enum_v01),\n+\t\t.elem_size = sizeof(u8),\n \t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x01,\n-\t\t.offset = offsetof(struct wlfw_cal_update_req_msg_v01,\n-\t\t\t\t\t cal_id),\n+\t\t.tlv_type = 0x10,\n+\t\t.offset = offsetof(struct wlfw_ini_req_msg_v01,\n+\t\t\t\t\t enablefwlog_valid),\n \t},\n \t{\n-\t\t.data_type = QMI_UNSIGNED_4_BYTE,\n+\t\t.data_type = QMI_UNSIGNED_1_BYTE,\n \t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u32),\n+\t\t.elem_size = sizeof(u8),\n \t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x02,\n-\t\t.offset = offsetof(struct wlfw_cal_update_req_msg_v01,\n-\t\t\t\t\t seg_id),\n+\t\t.tlv_type = 0x10,\n+\t\t.offset = offsetof(struct wlfw_ini_req_msg_v01,\n+\t\t\t\t\t enablefwlog),\n \t},\n \t{}\n };\n \n-const struct qmi_elem_info wlfw_cal_update_resp_msg_v01_ei[] = {\n+const struct qmi_elem_info wlfw_ini_resp_msg_v01_ei[] = {\n \t{\n \t\t.data_type = QMI_STRUCT,\n \t\t.elem_len = 1,\n \t\t.elem_size = sizeof(struct qmi_response_type_v01),\n \t\t.array_type = NO_ARRAY,\n \t\t.tlv_type = 0x02,\n-\t\t.offset = offsetof(struct wlfw_cal_update_resp_msg_v01,\n+\t\t.offset = offsetof(struct wlfw_ini_resp_msg_v01,\n \t\t\t\t\t resp),\n \t\t.ei_array = qmi_response_type_v01_ei,\n \t},\n+\t{}\n+};\n+\n+const struct qmi_elem_info wlfw_host_cap_req_msg_v01_ei[] = {\n \t{\n \t\t.data_type = QMI_OPT_FLAG,\n \t\t.elem_len = 1,\n \t\t.elem_size = sizeof(u8),\n \t\t.array_type = NO_ARRAY,\n \t\t.tlv_type = 0x10,\n-\t\t.offset = offsetof(struct wlfw_cal_update_resp_msg_v01,\n-\t\t\t\t\t file_id_valid),\n+\t\t.offset = offsetof(struct wlfw_host_cap_req_msg_v01,\n+\t\t\t\t\t daemon_support_valid),\n \t},\n \t{\n-\t\t.data_type = QMI_SIGNED_4_BYTE_ENUM,\n+\t\t.data_type = QMI_UNSIGNED_4_BYTE,\n \t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(enum wlfw_cal_temp_id_enum_v01),\n+\t\t.elem_size = sizeof(u32),\n \t\t.array_type = NO_ARRAY,\n \t\t.tlv_type = 0x10,\n-\t\t.offset = offsetof(struct wlfw_cal_update_resp_msg_v01,\n-\t\t\t\t\t file_id),\n+\t\t.offset = offsetof(struct wlfw_host_cap_req_msg_v01,\n+\t\t\t\t\t daemon_support),\n \t},\n \t{\n \t\t.data_type = QMI_OPT_FLAG,\n@@ -1366,8 +1224,8 @@ const struct qmi_elem_info wlfw_cal_update_resp_msg_v01_ei[] = {\n \t\t.elem_size = sizeof(u8),\n \t\t.array_type = NO_ARRAY,\n \t\t.tlv_type = 0x11,\n-\t\t.offset = offsetof(struct wlfw_cal_update_resp_msg_v01,\n-\t\t\t\t\t total_size_valid),\n+\t\t.offset = offsetof(struct wlfw_host_cap_req_msg_v01,\n+\t\t\t\t\t wake_msi_valid),\n \t},\n \t{\n \t\t.data_type = QMI_UNSIGNED_4_BYTE,\n@@ -1375,8 +1233,8 @@ const struct qmi_elem_info wlfw_cal_update_resp_msg_v01_ei[] = {\n \t\t.elem_size = sizeof(u32),\n \t\t.array_type = NO_ARRAY,\n \t\t.tlv_type = 0x11,\n-\t\t.offset = offsetof(struct wlfw_cal_update_resp_msg_v01,\n-\t\t\t\t\t total_size),\n+\t\t.offset = offsetof(struct wlfw_host_cap_req_msg_v01,\n+\t\t\t\t\t wake_msi),\n \t},\n \t{\n \t\t.data_type = QMI_OPT_FLAG,\n@@ -1384,445 +1242,44 @@ const struct qmi_elem_info wlfw_cal_update_resp_msg_v01_ei[] = {\n \t\t.elem_size = sizeof(u8),\n \t\t.array_type = NO_ARRAY,\n \t\t.tlv_type = 0x12,\n-\t\t.offset = offsetof(struct wlfw_cal_update_resp_msg_v01,\n-\t\t\t\t\t seg_id_valid),\n+\t\t.offset = offsetof(struct wlfw_host_cap_req_msg_v01,\n+\t\t\t\t\t gpios_valid),\n \t},\n \t{\n-\t\t.data_type = QMI_UNSIGNED_4_BYTE,\n+\t\t.data_type = QMI_DATA_LEN,\n \t\t.elem_len = 1,\n \t\t.elem_size = sizeof(u32),\n \t\t.array_type = NO_ARRAY,\n \t\t.tlv_type = 0x12,\n-\t\t.offset = offsetof(struct wlfw_cal_update_resp_msg_v01,\n-\t\t\t\t\t seg_id),\n+\t\t.offset = offsetof(struct wlfw_host_cap_req_msg_v01,\n+\t\t\t\t\t gpios_len),\n \t},\n \t{\n-\t\t.data_type = QMI_OPT_FLAG,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x13,\n-\t\t.offset = offsetof(struct wlfw_cal_update_resp_msg_v01,\n-\t\t\t\t\t data_valid),\n+\t\t.data_type = QMI_UNSIGNED_4_BYTE,\n+\t\t.elem_len = QMI_WLFW_MAX_NUM_GPIO_V01,\n+\t\t.elem_size = sizeof(u32),\n+\t\t.array_type = VAR_LEN_ARRAY,\n+\t\t.tlv_type = 0x12,\n+\t\t.offset = offsetof(struct wlfw_host_cap_req_msg_v01,\n+\t\t\t\t\t gpios),\n \t},\n \t{\n-\t\t.data_type = QMI_DATA_LEN,\n+\t\t.data_type = QMI_OPT_FLAG,\n \t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u16),\n+\t\t.elem_size = sizeof(u8),\n \t\t.array_type = NO_ARRAY,\n \t\t.tlv_type = 0x13,\n-\t\t.offset = offsetof(struct wlfw_cal_update_resp_msg_v01,\n-\t\t\t\t\t data_len),\n+\t\t.offset = offsetof(struct wlfw_host_cap_req_msg_v01,\n+\t\t\t\t\t nm_modem_valid),\n \t},\n \t{\n \t\t.data_type = QMI_UNSIGNED_1_BYTE,\n-\t\t.elem_len = QMI_WLFW_MAX_DATA_SIZE_V01,\n+\t\t.elem_len = 1,\n \t\t.elem_size = sizeof(u8),\n-\t\t.array_type = VAR_LEN_ARRAY,\n+\t\t.array_type = NO_ARRAY,\n \t\t.tlv_type = 0x13,\n-\t\t.offset = offsetof(struct wlfw_cal_update_resp_msg_v01,\n-\t\t\t\t\t data),\n-\t},\n-\t{\n-\t\t.data_type = QMI_OPT_FLAG,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x14,\n-\t\t.offset = offsetof(struct wlfw_cal_update_resp_msg_v01,\n-\t\t\t\t\t end_valid),\n-\t},\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_1_BYTE,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x14,\n-\t\t.offset = offsetof(struct wlfw_cal_update_resp_msg_v01,\n-\t\t\t\t\t end),\n-\t},\n-\t{}\n-};\n-\n-const struct qmi_elem_info wlfw_msa_info_req_msg_v01_ei[] = {\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_8_BYTE,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u64),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x01,\n-\t\t.offset = offsetof(struct wlfw_msa_info_req_msg_v01,\n-\t\t\t\t\t msa_addr),\n-\t},\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_4_BYTE,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u32),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x02,\n-\t\t.offset = offsetof(struct wlfw_msa_info_req_msg_v01,\n-\t\t\t\t\t size),\n-\t},\n-\t{}\n-};\n-\n-const struct qmi_elem_info wlfw_msa_info_resp_msg_v01_ei[] = {\n-\t{\n-\t\t.data_type = QMI_STRUCT,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(struct qmi_response_type_v01),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x02,\n-\t\t.offset = offsetof(struct wlfw_msa_info_resp_msg_v01,\n-\t\t\t\t\t resp),\n-\t\t.ei_array = qmi_response_type_v01_ei,\n-\t},\n-\t{\n-\t\t.data_type = QMI_DATA_LEN,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x03,\n-\t\t.offset = offsetof(struct wlfw_msa_info_resp_msg_v01,\n-\t\t\t\t\t mem_region_info_len),\n-\t},\n-\t{\n-\t\t.data_type = QMI_STRUCT,\n-\t\t.elem_len = QMI_WLFW_MAX_MEM_REG_V01,\n-\t\t.elem_size = sizeof(struct wlfw_memory_region_info_s_v01),\n-\t\t.array_type = VAR_LEN_ARRAY,\n-\t\t.tlv_type = 0x03,\n-\t\t.offset = offsetof(struct wlfw_msa_info_resp_msg_v01,\n-\t\t\t\t\t mem_region_info),\n-\t\t.ei_array = wlfw_memory_region_info_s_v01_ei,\n-\t},\n-\t{}\n-};\n-\n-const struct qmi_elem_info wlfw_msa_ready_req_msg_v01_ei[] = {\n-\t{}\n-};\n-\n-const struct qmi_elem_info wlfw_msa_ready_resp_msg_v01_ei[] = {\n-\t{\n-\t\t.data_type = QMI_STRUCT,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(struct qmi_response_type_v01),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x02,\n-\t\t.offset = offsetof(struct wlfw_msa_ready_resp_msg_v01,\n-\t\t\t\t\t resp),\n-\t\t.ei_array = qmi_response_type_v01_ei,\n-\t},\n-\t{}\n-};\n-\n-const struct qmi_elem_info wlfw_ini_req_msg_v01_ei[] = {\n-\t{\n-\t\t.data_type = QMI_OPT_FLAG,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x10,\n-\t\t.offset = offsetof(struct wlfw_ini_req_msg_v01,\n-\t\t\t\t\t enablefwlog_valid),\n-\t},\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_1_BYTE,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x10,\n-\t\t.offset = offsetof(struct wlfw_ini_req_msg_v01,\n-\t\t\t\t\t enablefwlog),\n-\t},\n-\t{}\n-};\n-\n-const struct qmi_elem_info wlfw_ini_resp_msg_v01_ei[] = {\n-\t{\n-\t\t.data_type = QMI_STRUCT,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(struct qmi_response_type_v01),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x02,\n-\t\t.offset = offsetof(struct wlfw_ini_resp_msg_v01,\n-\t\t\t\t\t resp),\n-\t\t.ei_array = qmi_response_type_v01_ei,\n-\t},\n-\t{}\n-};\n-\n-const struct qmi_elem_info wlfw_athdiag_read_req_msg_v01_ei[] = {\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_4_BYTE,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u32),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x01,\n-\t\t.offset = offsetof(struct wlfw_athdiag_read_req_msg_v01,\n-\t\t\t\t\t offset),\n-\t},\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_4_BYTE,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u32),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x02,\n-\t\t.offset = offsetof(struct wlfw_athdiag_read_req_msg_v01,\n-\t\t\t\t\t mem_type),\n-\t},\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_4_BYTE,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u32),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x03,\n-\t\t.offset = offsetof(struct wlfw_athdiag_read_req_msg_v01,\n-\t\t\t\t\t data_len),\n-\t},\n-\t{}\n-};\n-\n-const struct qmi_elem_info wlfw_athdiag_read_resp_msg_v01_ei[] = {\n-\t{\n-\t\t.data_type = QMI_STRUCT,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(struct qmi_response_type_v01),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x02,\n-\t\t.offset = offsetof(struct wlfw_athdiag_read_resp_msg_v01,\n-\t\t\t\t\t resp),\n-\t\t.ei_array = qmi_response_type_v01_ei,\n-\t},\n-\t{\n-\t\t.data_type = QMI_OPT_FLAG,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x10,\n-\t\t.offset = offsetof(struct wlfw_athdiag_read_resp_msg_v01,\n-\t\t\t\t\t data_valid),\n-\t},\n-\t{\n-\t\t.data_type = QMI_DATA_LEN,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u16),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x10,\n-\t\t.offset = offsetof(struct wlfw_athdiag_read_resp_msg_v01,\n-\t\t\t\t\t data_len),\n-\t},\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_1_BYTE,\n-\t\t.elem_len = QMI_WLFW_MAX_ATHDIAG_DATA_SIZE_V01,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = VAR_LEN_ARRAY,\n-\t\t.tlv_type = 0x10,\n-\t\t.offset = offsetof(struct wlfw_athdiag_read_resp_msg_v01,\n-\t\t\t\t\t data),\n-\t},\n-\t{}\n-};\n-\n-const struct qmi_elem_info wlfw_athdiag_write_req_msg_v01_ei[] = {\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_4_BYTE,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u32),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x01,\n-\t\t.offset = offsetof(struct wlfw_athdiag_write_req_msg_v01,\n-\t\t\t\t\t offset),\n-\t},\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_4_BYTE,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u32),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x02,\n-\t\t.offset = offsetof(struct wlfw_athdiag_write_req_msg_v01,\n-\t\t\t\t\t mem_type),\n-\t},\n-\t{\n-\t\t.data_type = QMI_DATA_LEN,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u16),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x03,\n-\t\t.offset = offsetof(struct wlfw_athdiag_write_req_msg_v01,\n-\t\t\t\t\t data_len),\n-\t},\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_1_BYTE,\n-\t\t.elem_len = QMI_WLFW_MAX_ATHDIAG_DATA_SIZE_V01,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = VAR_LEN_ARRAY,\n-\t\t.tlv_type = 0x03,\n-\t\t.offset = offsetof(struct wlfw_athdiag_write_req_msg_v01,\n-\t\t\t\t\t data),\n-\t},\n-\t{}\n-};\n-\n-const struct qmi_elem_info wlfw_athdiag_write_resp_msg_v01_ei[] = {\n-\t{\n-\t\t.data_type = QMI_STRUCT,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(struct qmi_response_type_v01),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x02,\n-\t\t.offset = offsetof(struct wlfw_athdiag_write_resp_msg_v01,\n-\t\t\t\t\t resp),\n-\t\t.ei_array = qmi_response_type_v01_ei,\n-\t},\n-\t{}\n-};\n-\n-const struct qmi_elem_info wlfw_vbatt_req_msg_v01_ei[] = {\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_8_BYTE,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u64),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x01,\n-\t\t.offset = offsetof(struct wlfw_vbatt_req_msg_v01,\n-\t\t\t\t\t voltage_uv),\n-\t},\n-\t{}\n-};\n-\n-const struct qmi_elem_info wlfw_vbatt_resp_msg_v01_ei[] = {\n-\t{\n-\t\t.data_type = QMI_STRUCT,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(struct qmi_response_type_v01),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x02,\n-\t\t.offset = offsetof(struct wlfw_vbatt_resp_msg_v01,\n-\t\t\t\t\t resp),\n-\t\t.ei_array = qmi_response_type_v01_ei,\n-\t},\n-\t{}\n-};\n-\n-const struct qmi_elem_info wlfw_mac_addr_req_msg_v01_ei[] = {\n-\t{\n-\t\t.data_type = QMI_OPT_FLAG,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x10,\n-\t\t.offset = offsetof(struct wlfw_mac_addr_req_msg_v01,\n-\t\t\t\t\t mac_addr_valid),\n-\t},\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_1_BYTE,\n-\t\t.elem_len = QMI_WLFW_MAC_ADDR_SIZE_V01,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = STATIC_ARRAY,\n-\t\t.tlv_type = 0x10,\n-\t\t.offset = offsetof(struct wlfw_mac_addr_req_msg_v01,\n-\t\t\t\t\t mac_addr),\n-\t},\n-\t{}\n-};\n-\n-const struct qmi_elem_info wlfw_mac_addr_resp_msg_v01_ei[] = {\n-\t{\n-\t\t.data_type = QMI_STRUCT,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(struct qmi_response_type_v01),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x02,\n-\t\t.offset = offsetof(struct wlfw_mac_addr_resp_msg_v01,\n-\t\t\t\t\t resp),\n-\t\t.ei_array = qmi_response_type_v01_ei,\n-\t},\n-\t{}\n-};\n-\n-const struct qmi_elem_info wlfw_host_cap_req_msg_v01_ei[] = {\n-\t{\n-\t\t.data_type = QMI_OPT_FLAG,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x10,\n-\t\t.offset = offsetof(struct wlfw_host_cap_req_msg_v01,\n-\t\t\t\t\t daemon_support_valid),\n-\t},\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_4_BYTE,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u32),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x10,\n-\t\t.offset = offsetof(struct wlfw_host_cap_req_msg_v01,\n-\t\t\t\t\t daemon_support),\n-\t},\n-\t{\n-\t\t.data_type = QMI_OPT_FLAG,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x11,\n-\t\t.offset = offsetof(struct wlfw_host_cap_req_msg_v01,\n-\t\t\t\t\t wake_msi_valid),\n-\t},\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_4_BYTE,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u32),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x11,\n-\t\t.offset = offsetof(struct wlfw_host_cap_req_msg_v01,\n-\t\t\t\t\t wake_msi),\n-\t},\n-\t{\n-\t\t.data_type = QMI_OPT_FLAG,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x12,\n-\t\t.offset = offsetof(struct wlfw_host_cap_req_msg_v01,\n-\t\t\t\t\t gpios_valid),\n-\t},\n-\t{\n-\t\t.data_type = QMI_DATA_LEN,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u32),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x12,\n-\t\t.offset = offsetof(struct wlfw_host_cap_req_msg_v01,\n-\t\t\t\t\t gpios_len),\n-\t},\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_4_BYTE,\n-\t\t.elem_len = QMI_WLFW_MAX_NUM_GPIO_V01,\n-\t\t.elem_size = sizeof(u32),\n-\t\t.array_type = VAR_LEN_ARRAY,\n-\t\t.tlv_type = 0x12,\n-\t\t.offset = offsetof(struct wlfw_host_cap_req_msg_v01,\n-\t\t\t\t\t gpios),\n-\t},\n-\t{\n-\t\t.data_type = QMI_OPT_FLAG,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x13,\n-\t\t.offset = offsetof(struct wlfw_host_cap_req_msg_v01,\n-\t\t\t\t\t nm_modem_valid),\n-\t},\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_1_BYTE,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x13,\n-\t\t.offset = offsetof(struct wlfw_host_cap_req_msg_v01,\n-\t\t\t\t\t nm_modem),\n+\t\t.offset = offsetof(struct wlfw_host_cap_req_msg_v01,\n+\t\t\t\t\t nm_modem),\n \t},\n \t{\n \t\t.data_type = QMI_OPT_FLAG,\n@@ -2024,286 +1481,3 @@ const struct qmi_elem_info wlfw_host_cap_resp_msg_v01_ei[] = {\n \t},\n \t{}\n };\n-\n-const struct qmi_elem_info wlfw_request_mem_ind_msg_v01_ei[] = {\n-\t{\n-\t\t.data_type = QMI_DATA_LEN,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x01,\n-\t\t.offset = offsetof(struct wlfw_request_mem_ind_msg_v01,\n-\t\t\t\t\t mem_seg_len),\n-\t},\n-\t{\n-\t\t.data_type = QMI_STRUCT,\n-\t\t.elem_len = QMI_WLFW_MAX_NUM_MEM_SEG_V01,\n-\t\t.elem_size = sizeof(struct wlfw_mem_seg_s_v01),\n-\t\t.array_type = VAR_LEN_ARRAY,\n-\t\t.tlv_type = 0x01,\n-\t\t.offset = offsetof(struct wlfw_request_mem_ind_msg_v01,\n-\t\t\t\t\t mem_seg),\n-\t\t.ei_array = wlfw_mem_seg_s_v01_ei,\n-\t},\n-\t{}\n-};\n-\n-const struct qmi_elem_info wlfw_respond_mem_req_msg_v01_ei[] = {\n-\t{\n-\t\t.data_type = QMI_DATA_LEN,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x01,\n-\t\t.offset = offsetof(struct wlfw_respond_mem_req_msg_v01,\n-\t\t\t\t\t mem_seg_len),\n-\t},\n-\t{\n-\t\t.data_type = QMI_STRUCT,\n-\t\t.elem_len = QMI_WLFW_MAX_NUM_MEM_SEG_V01,\n-\t\t.elem_size = sizeof(struct wlfw_mem_seg_resp_s_v01),\n-\t\t.array_type = VAR_LEN_ARRAY,\n-\t\t.tlv_type = 0x01,\n-\t\t.offset = offsetof(struct wlfw_respond_mem_req_msg_v01,\n-\t\t\t\t\t mem_seg),\n-\t\t.ei_array = wlfw_mem_seg_resp_s_v01_ei,\n-\t},\n-\t{}\n-};\n-\n-const struct qmi_elem_info wlfw_respond_mem_resp_msg_v01_ei[] = {\n-\t{\n-\t\t.data_type = QMI_STRUCT,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(struct qmi_response_type_v01),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x02,\n-\t\t.offset = offsetof(struct wlfw_respond_mem_resp_msg_v01,\n-\t\t\t\t\t resp),\n-\t\t.ei_array = qmi_response_type_v01_ei,\n-\t},\n-\t{}\n-};\n-\n-const struct qmi_elem_info wlfw_mem_ready_ind_msg_v01_ei[] = {\n-\t{}\n-};\n-\n-const struct qmi_elem_info wlfw_fw_init_done_ind_msg_v01_ei[] = {\n-\t{}\n-};\n-\n-const struct qmi_elem_info wlfw_rejuvenate_ind_msg_v01_ei[] = {\n-\t{\n-\t\t.data_type = QMI_OPT_FLAG,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x10,\n-\t\t.offset = offsetof(struct wlfw_rejuvenate_ind_msg_v01,\n-\t\t\t\t\t cause_for_rejuvenation_valid),\n-\t},\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_1_BYTE,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x10,\n-\t\t.offset = offsetof(struct wlfw_rejuvenate_ind_msg_v01,\n-\t\t\t\t\t cause_for_rejuvenation),\n-\t},\n-\t{\n-\t\t.data_type = QMI_OPT_FLAG,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x11,\n-\t\t.offset = offsetof(struct wlfw_rejuvenate_ind_msg_v01,\n-\t\t\t\t\t requesting_sub_system_valid),\n-\t},\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_1_BYTE,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x11,\n-\t\t.offset = offsetof(struct wlfw_rejuvenate_ind_msg_v01,\n-\t\t\t\t\t requesting_sub_system),\n-\t},\n-\t{\n-\t\t.data_type = QMI_OPT_FLAG,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x12,\n-\t\t.offset = offsetof(struct wlfw_rejuvenate_ind_msg_v01,\n-\t\t\t\t\t line_number_valid),\n-\t},\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_2_BYTE,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u16),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x12,\n-\t\t.offset = offsetof(struct wlfw_rejuvenate_ind_msg_v01,\n-\t\t\t\t\t line_number),\n-\t},\n-\t{\n-\t\t.data_type = QMI_OPT_FLAG,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x13,\n-\t\t.offset = offsetof(struct wlfw_rejuvenate_ind_msg_v01,\n-\t\t\t\t\t function_name_valid),\n-\t},\n-\t{\n-\t\t.data_type = QMI_STRING,\n-\t\t.elem_len = QMI_WLFW_FUNCTION_NAME_LEN_V01 + 1,\n-\t\t.elem_size = sizeof(char),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x13,\n-\t\t.offset = offsetof(struct wlfw_rejuvenate_ind_msg_v01,\n-\t\t\t\t\t function_name),\n-\t},\n-\t{}\n-};\n-\n-const struct qmi_elem_info wlfw_rejuvenate_ack_req_msg_v01_ei[] = {\n-\t{}\n-};\n-\n-const struct qmi_elem_info wlfw_rejuvenate_ack_resp_msg_v01_ei[] = {\n-\t{\n-\t\t.data_type = QMI_STRUCT,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(struct qmi_response_type_v01),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x02,\n-\t\t.offset = offsetof(struct wlfw_rejuvenate_ack_resp_msg_v01,\n-\t\t\t\t\t resp),\n-\t\t.ei_array = qmi_response_type_v01_ei,\n-\t},\n-\t{}\n-};\n-\n-const struct qmi_elem_info wlfw_dynamic_feature_mask_req_msg_v01_ei[] = {\n-\t{\n-\t\t.data_type = QMI_OPT_FLAG,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x10,\n-\t\t.offset = offsetof(struct wlfw_dynamic_feature_mask_req_msg_v01,\n-\t\t\t\t\t mask_valid),\n-\t},\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_8_BYTE,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u64),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x10,\n-\t\t.offset = offsetof(struct wlfw_dynamic_feature_mask_req_msg_v01,\n-\t\t\t\t\t mask),\n-\t},\n-\t{}\n-};\n-\n-const struct qmi_elem_info wlfw_dynamic_feature_mask_resp_msg_v01_ei[] = {\n-\t{\n-\t\t.data_type = QMI_STRUCT,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(struct qmi_response_type_v01),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x02,\n-\t\t.offset = offsetof(struct wlfw_dynamic_feature_mask_resp_msg_v01,\n-\t\t\t\t\t resp),\n-\t\t.ei_array = qmi_response_type_v01_ei,\n-\t},\n-\t{\n-\t\t.data_type = QMI_OPT_FLAG,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x10,\n-\t\t.offset = offsetof(struct wlfw_dynamic_feature_mask_resp_msg_v01,\n-\t\t\t\t\t prev_mask_valid),\n-\t},\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_8_BYTE,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u64),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x10,\n-\t\t.offset = offsetof(struct wlfw_dynamic_feature_mask_resp_msg_v01,\n-\t\t\t\t\t prev_mask),\n-\t},\n-\t{\n-\t\t.data_type = QMI_OPT_FLAG,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x11,\n-\t\t.offset = offsetof(struct wlfw_dynamic_feature_mask_resp_msg_v01,\n-\t\t\t\t\t curr_mask_valid),\n-\t},\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_8_BYTE,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u64),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x11,\n-\t\t.offset = offsetof(struct wlfw_dynamic_feature_mask_resp_msg_v01,\n-\t\t\t\t\t curr_mask),\n-\t},\n-\t{}\n-};\n-\n-const struct qmi_elem_info wlfw_m3_info_req_msg_v01_ei[] = {\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_8_BYTE,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u64),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x01,\n-\t\t.offset = offsetof(struct wlfw_m3_info_req_msg_v01,\n-\t\t\t\t\t addr),\n-\t},\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_4_BYTE,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u32),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x02,\n-\t\t.offset = offsetof(struct wlfw_m3_info_req_msg_v01,\n-\t\t\t\t\t size),\n-\t},\n-\t{}\n-};\n-\n-const struct qmi_elem_info wlfw_m3_info_resp_msg_v01_ei[] = {\n-\t{\n-\t\t.data_type = QMI_STRUCT,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(struct qmi_response_type_v01),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x02,\n-\t\t.offset = offsetof(struct wlfw_m3_info_resp_msg_v01,\n-\t\t\t\t\t resp),\n-\t\t.ei_array = qmi_response_type_v01_ei,\n-\t},\n-\t{}\n-};\n-\n-const struct qmi_elem_info wlfw_xo_cal_ind_msg_v01_ei[] = {\n-\t{\n-\t\t.data_type = QMI_UNSIGNED_1_BYTE,\n-\t\t.elem_len = 1,\n-\t\t.elem_size = sizeof(u8),\n-\t\t.array_type = NO_ARRAY,\n-\t\t.tlv_type = 0x01,\n-\t\t.offset = offsetof(struct wlfw_xo_cal_ind_msg_v01,\n-\t\t\t\t\t xo_cal_data),\n-\t},\n-\t{}\n-};\ndiff --git a/drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.h b/drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.h\nindex 8d4b929e8437b3..c0b2eaea4dbcc9 100644\n--- a/drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.h\n+++ b/drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.h\n@@ -240,18 +240,6 @@ struct wlfw_msa_ready_ind_msg_v01 {\n #define WLFW_MSA_READY_IND_MSG_V01_MAX_MSG_LEN 0\n extern const struct qmi_elem_info wlfw_msa_ready_ind_msg_v01_ei[];\n \n-struct wlfw_pin_connect_result_ind_msg_v01 {\n-\tu8 pwr_pin_result_valid;\n-\tu32 pwr_pin_result;\n-\tu8 phy_io_pin_result_valid;\n-\tu32 phy_io_pin_result;\n-\tu8 rf_pin_result_valid;\n-\tu32 rf_pin_result;\n-};\n-\n-#define WLFW_PIN_CONNECT_RESULT_IND_MSG_V01_MAX_MSG_LEN 21\n-extern const struct qmi_elem_info wlfw_pin_connect_result_ind_msg_v01_ei[];\n-\n struct wlfw_wlan_mode_req_msg_v01 {\n \tenum wlfw_driver_mode_enum_v01 mode;\n \tu8 hw_debug_valid;\n@@ -365,72 +353,6 @@ struct wlfw_cal_report_resp_msg_v01 {\n #define WLFW_CAL_REPORT_RESP_MSG_V01_MAX_MSG_LEN 7\n extern const struct qmi_elem_info wlfw_cal_report_resp_msg_v01_ei[];\n \n-struct wlfw_initiate_cal_download_ind_msg_v01 {\n-\tenum wlfw_cal_temp_id_enum_v01 cal_id;\n-};\n-\n-#define WLFW_INITIATE_CAL_DOWNLOAD_IND_MSG_V01_MAX_MSG_LEN 7\n-extern const struct qmi_elem_info wlfw_initiate_cal_download_ind_msg_v01_ei[];\n-\n-struct wlfw_cal_download_req_msg_v01 {\n-\tu8 valid;\n-\tu8 file_id_valid;\n-\tenum wlfw_cal_temp_id_enum_v01 file_id;\n-\tu8 total_size_valid;\n-\tu32 total_size;\n-\tu8 seg_id_valid;\n-\tu32 seg_id;\n-\tu8 data_valid;\n-\tu32 data_len;\n-\tu8 data[QMI_WLFW_MAX_DATA_SIZE_V01];\n-\tu8 end_valid;\n-\tu8 end;\n-};\n-\n-#define WLFW_CAL_DOWNLOAD_REQ_MSG_V01_MAX_MSG_LEN 6178\n-extern const struct qmi_elem_info wlfw_cal_download_req_msg_v01_ei[];\n-\n-struct wlfw_cal_download_resp_msg_v01 {\n-\tstruct qmi_response_type_v01 resp;\n-};\n-\n-#define WLFW_CAL_DOWNLOAD_RESP_MSG_V01_MAX_MSG_LEN 7\n-extern const struct qmi_elem_info wlfw_cal_download_resp_msg_v01_ei[];\n-\n-struct wlfw_initiate_cal_update_ind_msg_v01 {\n-\tenum wlfw_cal_temp_id_enum_v01 cal_id;\n-\tu32 total_size;\n-};\n-\n-#define WLFW_INITIATE_CAL_UPDATE_IND_MSG_V01_MAX_MSG_LEN 14\n-extern const struct qmi_elem_info wlfw_initiate_cal_update_ind_msg_v01_ei[];\n-\n-struct wlfw_cal_update_req_msg_v01 {\n-\tenum wlfw_cal_temp_id_enum_v01 cal_id;\n-\tu32 seg_id;\n-};\n-\n-#define WLFW_CAL_UPDATE_REQ_MSG_V01_MAX_MSG_LEN 14\n-extern const struct qmi_elem_info wlfw_cal_update_req_msg_v01_ei[];\n-\n-struct wlfw_cal_update_resp_msg_v01 {\n-\tstruct qmi_response_type_v01 resp;\n-\tu8 file_id_valid;\n-\tenum wlfw_cal_temp_id_enum_v01 file_id;\n-\tu8 total_size_valid;\n-\tu32 total_size;\n-\tu8 seg_id_valid;\n-\tu32 seg_id;\n-\tu8 data_valid;\n-\tu32 data_len;\n-\tu8 data[QMI_WLFW_MAX_DATA_SIZE_V01];\n-\tu8 end_valid;\n-\tu8 end;\n-};\n-\n-#define WLFW_CAL_UPDATE_RESP_MSG_V01_MAX_MSG_LEN 6181\n-extern const struct qmi_elem_info wlfw_cal_update_resp_msg_v01_ei[];\n-\n struct wlfw_msa_info_req_msg_v01 {\n \tu64 msa_addr;\n \tu32 size;\n@@ -477,71 +399,6 @@ struct wlfw_ini_resp_msg_v01 {\n #define WLFW_INI_RESP_MSG_V01_MAX_MSG_LEN 7\n extern const struct qmi_elem_info wlfw_ini_resp_msg_v01_ei[];\n \n-struct wlfw_athdiag_read_req_msg_v01 {\n-\tu32 offset;\n-\tu32 mem_type;\n-\tu32 data_len;\n-};\n-\n-#define WLFW_ATHDIAG_READ_REQ_MSG_V01_MAX_MSG_LEN 21\n-extern const struct qmi_elem_info wlfw_athdiag_read_req_msg_v01_ei[];\n-\n-struct wlfw_athdiag_read_resp_msg_v01 {\n-\tstruct qmi_response_type_v01 resp;\n-\tu8 data_valid;\n-\tu32 data_len;\n-\tu8 data[QMI_WLFW_MAX_ATHDIAG_DATA_SIZE_V01];\n-};\n-\n-#define WLFW_ATHDIAG_READ_RESP_MSG_V01_MAX_MSG_LEN 6156\n-extern const struct qmi_elem_info wlfw_athdiag_read_resp_msg_v01_ei[];\n-\n-struct wlfw_athdiag_write_req_msg_v01 {\n-\tu32 offset;\n-\tu32 mem_type;\n-\tu32 data_len;\n-\tu8 data[QMI_WLFW_MAX_ATHDIAG_DATA_SIZE_V01];\n-};\n-\n-#define WLFW_ATHDIAG_WRITE_REQ_MSG_V01_MAX_MSG_LEN 6163\n-extern const struct qmi_elem_info wlfw_athdiag_write_req_msg_v01_ei[];\n-\n-struct wlfw_athdiag_write_resp_msg_v01 {\n-\tstruct qmi_response_type_v01 resp;\n-};\n-\n-#define WLFW_ATHDIAG_WRITE_RESP_MSG_V01_MAX_MSG_LEN 7\n-extern const struct qmi_elem_info wlfw_athdiag_write_resp_msg_v01_ei[];\n-\n-struct wlfw_vbatt_req_msg_v01 {\n-\tu64 voltage_uv;\n-};\n-\n-#define WLFW_VBATT_REQ_MSG_V01_MAX_MSG_LEN 11\n-extern const struct qmi_elem_info wlfw_vbatt_req_msg_v01_ei[];\n-\n-struct wlfw_vbatt_resp_msg_v01 {\n-\tstruct qmi_response_type_v01 resp;\n-};\n-\n-#define WLFW_VBATT_RESP_MSG_V01_MAX_MSG_LEN 7\n-extern const struct qmi_elem_info wlfw_vbatt_resp_msg_v01_ei[];\n-\n-struct wlfw_mac_addr_req_msg_v01 {\n-\tu8 mac_addr_valid;\n-\tu8 mac_addr[QMI_WLFW_MAC_ADDR_SIZE_V01];\n-};\n-\n-#define WLFW_MAC_ADDR_REQ_MSG_V01_MAX_MSG_LEN 9\n-extern const struct qmi_elem_info wlfw_mac_addr_req_msg_v01_ei[];\n-\n-struct wlfw_mac_addr_resp_msg_v01 {\n-\tstruct qmi_response_type_v01 resp;\n-};\n-\n-#define WLFW_MAC_ADDR_RESP_MSG_V01_MAX_MSG_LEN 7\n-extern const struct qmi_elem_info wlfw_mac_addr_resp_msg_v01_ei[];\n-\n #define QMI_WLFW_MAX_NUM_GPIO_V01 32\n struct wlfw_host_cap_req_msg_v01 {\n \tu8 daemon_support_valid;\n@@ -584,110 +441,4 @@ struct wlfw_host_cap_resp_msg_v01 {\n #define WLFW_HOST_CAP_RESP_MSG_V01_MAX_MSG_LEN 7\n extern const struct qmi_elem_info wlfw_host_cap_resp_msg_v01_ei[];\n \n-struct wlfw_request_mem_ind_msg_v01 {\n-\tu32 mem_seg_len;\n-\tstruct wlfw_mem_seg_s_v01 mem_seg[QMI_WLFW_MAX_NUM_MEM_SEG_V01];\n-};\n-\n-#define WLFW_REQUEST_MEM_IND_MSG_V01_MAX_MSG_LEN 564\n-extern const struct qmi_elem_info wlfw_request_mem_ind_msg_v01_ei[];\n-\n-struct wlfw_respond_mem_req_msg_v01 {\n-\tu32 mem_seg_len;\n-\tstruct wlfw_mem_seg_resp_s_v01 mem_seg[QMI_WLFW_MAX_NUM_MEM_SEG_V01];\n-};\n-\n-#define WLFW_RESPOND_MEM_REQ_MSG_V01_MAX_MSG_LEN 260\n-extern const struct qmi_elem_info wlfw_respond_mem_req_msg_v01_ei[];\n-\n-struct wlfw_respond_mem_resp_msg_v01 {\n-\tstruct qmi_response_type_v01 resp;\n-};\n-\n-#define WLFW_RESPOND_MEM_RESP_MSG_V01_MAX_MSG_LEN 7\n-extern const struct qmi_elem_info wlfw_respond_mem_resp_msg_v01_ei[];\n-\n-struct wlfw_mem_ready_ind_msg_v01 {\n-\tchar placeholder;\n-};\n-\n-#define WLFW_MEM_READY_IND_MSG_V01_MAX_MSG_LEN 0\n-extern const struct qmi_elem_info wlfw_mem_ready_ind_msg_v01_ei[];\n-\n-struct wlfw_fw_init_done_ind_msg_v01 {\n-\tchar placeholder;\n-};\n-\n-#define WLFW_FW_INIT_DONE_IND_MSG_V01_MAX_MSG_LEN 0\n-extern const struct qmi_elem_info wlfw_fw_init_done_ind_msg_v01_ei[];\n-\n-struct wlfw_rejuvenate_ind_msg_v01 {\n-\tu8 cause_for_rejuvenation_valid;\n-\tu8 cause_for_rejuvenation;\n-\tu8 requesting_sub_system_valid;\n-\tu8 requesting_sub_system;\n-\tu8 line_number_valid;\n-\tu16 line_number;\n-\tu8 function_name_valid;\n-\tchar function_name[QMI_WLFW_FUNCTION_NAME_LEN_V01 + 1];\n-};\n-\n-#define WLFW_REJUVENATE_IND_MSG_V01_MAX_MSG_LEN 144\n-extern const struct qmi_elem_info wlfw_rejuvenate_ind_msg_v01_ei[];\n-\n-struct wlfw_rejuvenate_ack_req_msg_v01 {\n-\tchar placeholder;\n-};\n-\n-#define WLFW_REJUVENATE_ACK_REQ_MSG_V01_MAX_MSG_LEN 0\n-extern const struct qmi_elem_info wlfw_rejuvenate_ack_req_msg_v01_ei[];\n-\n-struct wlfw_rejuvenate_ack_resp_msg_v01 {\n-\tstruct qmi_response_type_v01 resp;\n-};\n-\n-#define WLFW_REJUVENATE_ACK_RESP_MSG_V01_MAX_MSG_LEN 7\n-extern const struct qmi_elem_info wlfw_rejuvenate_ack_resp_msg_v01_ei[];\n-\n-struct wlfw_dynamic_feature_mask_req_msg_v01 {\n-\tu8 mask_valid;\n-\tu64 mask;\n-};\n-\n-#define WLFW_DYNAMIC_FEATURE_MASK_REQ_MSG_V01_MAX_MSG_LEN 11\n-extern const struct qmi_elem_info wlfw_dynamic_feature_mask_req_msg_v01_ei[];\n-\n-struct wlfw_dynamic_feature_mask_resp_msg_v01 {\n-\tstruct qmi_response_type_v01 resp;\n-\tu8 prev_mask_valid;\n-\tu64 prev_mask;\n-\tu8 curr_mask_valid;\n-\tu64 curr_mask;\n-};\n-\n-#define WLFW_DYNAMIC_FEATURE_MASK_RESP_MSG_V01_MAX_MSG_LEN 29\n-extern const struct qmi_elem_info wlfw_dynamic_feature_mask_resp_msg_v01_ei[];\n-\n-struct wlfw_m3_info_req_msg_v01 {\n-\tu64 addr;\n-\tu32 size;\n-};\n-\n-#define WLFW_M3_INFO_REQ_MSG_V01_MAX_MSG_LEN 18\n-extern const struct qmi_elem_info wlfw_m3_info_req_msg_v01_ei[];\n-\n-struct wlfw_m3_info_resp_msg_v01 {\n-\tstruct qmi_response_type_v01 resp;\n-};\n-\n-#define WLFW_M3_INFO_RESP_MSG_V01_MAX_MSG_LEN 7\n-extern const struct qmi_elem_info wlfw_m3_info_resp_msg_v01_ei[];\n-\n-struct wlfw_xo_cal_ind_msg_v01 {\n-\tu8 xo_cal_data;\n-};\n-\n-#define WLFW_XO_CAL_IND_MSG_V01_MAX_MSG_LEN 4\n-extern const struct qmi_elem_info wlfw_xo_cal_ind_msg_v01_ei[];\n-\n #endif\n"
} |
| 2/1 | 2026/10/30 02:35 | agent | patch-evaluator |
2mModel:core Args: null Results: {
"EnableConfigs": null,
"FocusSymbols": [],
"Reasoning": "The patch only deletes unused QMI wire format message definitions and structures (dead code) from the ath10k driver, with no modifications to active executable logic, control flow, or runtime assertions. Furthermore, the affected module (ath10k_snoc) is a platform driver for Qualcomm WCN3990 Wi-Fi connected via the SNOC bus, which requires physical Qualcomm SoC hardware and is structurally unreachable in standard amd64 virtualized environments.",
"WorthFuzzing": false
}Instruction: You are an expert Linux kernel maintainer and security engineer.
Your job is to review a provided patch series and evaluate whether it warrants fuzzing with syzkaller.
IMPORTANT: The changes have ALREADY been applied and committed as the HEAD commit in
your workspace. Do NOT rely on internal assumptions. You must actively use your code access
tools to inspect the actual source code, callers, and surrounding context.
================================================================================
1. CORE TRIAGE PHILOSOPHY
================================================================================
The goal of patch fuzzing is to discover crashes, regressions, exposed latent bugs,
and newly triggered assertions introduced by the patch series.
- REACHABILITY IS THE PRIMARY GATE:
Fuzzing can only discover bugs in code that can actually execute in standard virtualized
environments (GCE or QEMU, utilizing software-emulated devices like USB gadgets, netdev, tun/tap).
If the modified code is structurally unreachable (see Section 2), it MUST NOT be fuzzed,
regardless of whether it adds assertions or complex logic.
- DO NOT BLINDLY TRUST "NO FUNCTIONAL CHANGE" (NFCI) OR "REFACTORING" CLAIMS:
Patch authors routinely label changes as "cleanups", "refactorings", or state
"No functional change intended". Do NOT take these claims at face value.
Code refactorings that rearrange logic, introduce helper functions, or alter state management
in core subsystems frequently introduce subtle semantic shifts or uncover latent kernel bugs.
If reachable executable code is modified or refactored, it MUST be fuzzed.
- NEW OR MODIFIED ASSERTIONS IN REACHABLE CODE MUST BE FUZZED:
When a patch introduces or modifies runtime checks or assertions (e.g., WARN_ON*, VM_WARN_ON*,
BUG_ON*, lockdep_assert*) in reachable code paths, it enforces new or stricter invariants.
Even if the author believes the invariant always holds, fuzzing is essential to verify whether
an unusual sequence of operations can violate it.
================================================================================
2. WHEN TO RETURN WorthFuzzing=false (NEGATIVE CRITERIA)
================================================================================
Return WorthFuzzing=false ONLY IF all modified code falls strictly into one or more of these categories:
- Non-kernel and non-executable changes:
* Modifications to Documentation/, comments, or spelling fixes.
* User-space directories, self-tests, samples, or scripts (e.g., tools/, samples/, scripts/, usr/)
that do not affect the compiled kernel image (vmlinux) or kernel modules.
* Purely decorative logging (e.g., message strings in pr_err, printk, dev_info) or tracepoints
that do not alter control flow or data structures.
* Build system or Kconfig changes that do not alter compiled C logic.
- Structurally unreachable hardware:
* Vendor-specific PCIe switches, SmartNICs, or GPU drivers (e.g., mlxsw, pds_core, qed,
ionic, amdgpu) requiring physical ASIC/PCIe cards not emulated in standard QEMU.
- Unreachable execution paths:
* Driver teardown callbacks (.remove, .shutdown, pci_unregister_driver) executed only during
physical PCI hot-unplug or manual sysfs driver unbinding.
* Code paths exclusive to architectures other than the target architecture.
================================================================================
3. WHEN TO RETURN WorthFuzzing=true (POSITIVE CRITERIA)
================================================================================
Return WorthFuzzing=true whenever the patch touches reachable executable code, including:
- Core Subsystems:
* Any logic modifications in memory management (mm/), synchronization/locking (kernel/locking/),
BPF, scheduler, core networking, VFS, or syscall handling.
- Refactorings and Code Cleanups:
* Any restructuring of reachable data structures, helper abstractions, or algorithm flows.
- Runtime Assertions and Defensive Checks:
* Any introduction or alteration of assertions (WARN_ON*, VM_WARN_ON*, BUG_ON*, etc.) in reachable paths.
- Reachable Drivers and Protocols:
* Drivers accessible via virtual buses (virtio, USB gadget, loopback, netlink, binder, sockets, etc.).
================================================================================
4. EXTRACTING FocusSymbols (PREVENTING DILUTION)
================================================================================
When WorthFuzzing=true, you must extract specific kernel functions into FocusSymbols to guide the fuzzer:
- AVOID UBIQUITOUS LIFECYCLE HOT-PATHS:
Do NOT list generic, ubiquitous functions called by almost every program in the corpus
(including, but not limited to: general memory allocators and deallocators, page fault
and trap handlers, or core synchronization primitives; this is not an exhaustive list).
Listing ubiquitous functions causes the fuzzer to classify thousands of unrelated tests as "focused",
which severely dilutes fuzzing effort away from the actual changes.
- TARGET SPECIFIC FEATURE LOGIC AND ENTRYPOINTS:
List functions that specifically implement the logic being added or altered, or direct API entrypoints
for the subsystem feature under review.
- HANDLING STATIC INLINE FUNCTIONS IN HEADERS (.h):
Compiler-inlined static functions (such as static inlines in mm/*.h or include/linux/*.h) lack
distinct symbol addresses in vmlinux and cannot be targeted directly by symbol coverage filters.
If the changes are primarily in static inline helpers, identify non-static, feature-specific caller
functions in .c files that exercise them (avoiding ubiquitous lifecycle wrappers).
================================================================================
5. IDENTIFYING EnableConfigs
================================================================================
Identify any specific CONFIG_ options required to properly compile and reach the modified code:
- Inspect Kconfig files and #ifdef guards; do not make assumptions.
- Check "depends on" lines in Kconfig to include any non-standard parent subsystem configs needed.
- Strip any 'CONFIG_' prefix (e.g., return "NET_IPV4" instead of "CONFIG_NET_IPV4").
Prefer calling several tools at the same time to save round-trips.
Use set-results tool to provide results of the analysis.
It must be called exactly once before the final reply.
Ignore results of this tool.
Prompt: Target architecture: amd64
For your convenience, here is the diff of the changes:
commit 61d6a3cfd6d7f85d87b72fbf8e80c1d357b52179
Author: syz-cluster <triage@syzkaller.com>
Date: Fri Oct 30 02:35:15 2026 +0000
syz-cluster: applied patch under review
diff --git a/drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.c b/drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.c
index 279aeb2a7dbc40..dc0f7e3533491a 100644
--- a/drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.c
+++ b/drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.c
@@ -569,64 +569,6 @@ const struct qmi_elem_info wlfw_msa_ready_ind_msg_v01_ei[] = {
{}
};
-const struct qmi_elem_info wlfw_pin_connect_result_ind_msg_v01_ei[] = {
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x10,
- .offset = offsetof(struct wlfw_pin_connect_result_ind_msg_v01,
- pwr_pin_result_valid),
- },
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u32),
- .array_type = NO_ARRAY,
- .tlv_type = 0x10,
- .offset = offsetof(struct wlfw_pin_connect_result_ind_msg_v01,
- pwr_pin_result),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x11,
- .offset = offsetof(struct wlfw_pin_connect_result_ind_msg_v01,
- phy_io_pin_result_valid),
- },
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u32),
- .array_type = NO_ARRAY,
- .tlv_type = 0x11,
- .offset = offsetof(struct wlfw_pin_connect_result_ind_msg_v01,
- phy_io_pin_result),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x12,
- .offset = offsetof(struct wlfw_pin_connect_result_ind_msg_v01,
- rf_pin_result_valid),
- },
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u32),
- .array_type = NO_ARRAY,
- .tlv_type = 0x12,
- .offset = offsetof(struct wlfw_pin_connect_result_ind_msg_v01,
- rf_pin_result),
- },
- {}
-};
-
const struct qmi_elem_info wlfw_wlan_mode_req_msg_v01_ei[] = {
{
.data_type = QMI_SIGNED_4_BYTE_ENUM,
@@ -1148,217 +1090,133 @@ const struct qmi_elem_info wlfw_cal_report_resp_msg_v01_ei[] = {
{}
};
-const struct qmi_elem_info wlfw_initiate_cal_download_ind_msg_v01_ei[] = {
- {
- .data_type = QMI_SIGNED_4_BYTE_ENUM,
- .elem_len = 1,
- .elem_size = sizeof(enum wlfw_cal_temp_id_enum_v01),
- .array_type = NO_ARRAY,
- .tlv_type = 0x01,
- .offset = offsetof(struct wlfw_initiate_cal_download_ind_msg_v01,
- cal_id),
- },
- {}
-};
-
-const struct qmi_elem_info wlfw_cal_download_req_msg_v01_ei[] = {
+const struct qmi_elem_info wlfw_msa_info_req_msg_v01_ei[] = {
{
- .data_type = QMI_UNSIGNED_1_BYTE,
+ .data_type = QMI_UNSIGNED_8_BYTE,
.elem_len = 1,
- .elem_size = sizeof(u8),
+ .elem_size = sizeof(u64),
.array_type = NO_ARRAY,
.tlv_type = 0x01,
- .offset = offsetof(struct wlfw_cal_download_req_msg_v01,
- valid),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x10,
- .offset = offsetof(struct wlfw_cal_download_req_msg_v01,
- file_id_valid),
- },
- {
- .data_type = QMI_SIGNED_4_BYTE_ENUM,
- .elem_len = 1,
- .elem_size = sizeof(enum wlfw_cal_temp_id_enum_v01),
- .array_type = NO_ARRAY,
- .tlv_type = 0x10,
- .offset = offsetof(struct wlfw_cal_download_req_msg_v01,
- file_id),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x11,
- .offset = offsetof(struct wlfw_cal_download_req_msg_v01,
- total_size_valid),
- },
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u32),
- .array_type = NO_ARRAY,
- .tlv_type = 0x11,
- .offset = offsetof(struct wlfw_cal_download_req_msg_v01,
- total_size),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x12,
- .offset = offsetof(struct wlfw_cal_download_req_msg_v01,
- seg_id_valid),
+ .offset = offsetof(struct wlfw_msa_info_req_msg_v01,
+ msa_addr),
},
{
.data_type = QMI_UNSIGNED_4_BYTE,
.elem_len = 1,
.elem_size = sizeof(u32),
.array_type = NO_ARRAY,
- .tlv_type = 0x12,
- .offset = offsetof(struct wlfw_cal_download_req_msg_v01,
- seg_id),
+ .tlv_type = 0x02,
+ .offset = offsetof(struct wlfw_msa_info_req_msg_v01,
+ size),
},
+ {}
+};
+
+const struct qmi_elem_info wlfw_msa_info_resp_msg_v01_ei[] = {
{
- .data_type = QMI_OPT_FLAG,
+ .data_type = QMI_STRUCT,
.elem_len = 1,
- .elem_size = sizeof(u8),
+ .elem_size = sizeof(struct qmi_response_type_v01),
.array_type = NO_ARRAY,
- .tlv_type = 0x13,
- .offset = offsetof(struct wlfw_cal_download_req_msg_v01,
- data_valid),
+ .tlv_type = 0x02,
+ .offset = offsetof(struct wlfw_msa_info_resp_msg_v01,
+ resp),
+ .ei_array = qmi_response_type_v01_ei,
},
{
.data_type = QMI_DATA_LEN,
.elem_len = 1,
- .elem_size = sizeof(u16),
- .array_type = NO_ARRAY,
- .tlv_type = 0x13,
- .offset = offsetof(struct wlfw_cal_download_req_msg_v01,
- data_len),
- },
- {
- .data_type = QMI_UNSIGNED_1_BYTE,
- .elem_len = QMI_WLFW_MAX_DATA_SIZE_V01,
- .elem_size = sizeof(u8),
- .array_type = VAR_LEN_ARRAY,
- .tlv_type = 0x13,
- .offset = offsetof(struct wlfw_cal_download_req_msg_v01,
- data),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
.elem_size = sizeof(u8),
.array_type = NO_ARRAY,
- .tlv_type = 0x14,
- .offset = offsetof(struct wlfw_cal_download_req_msg_v01,
- end_valid),
+ .tlv_type = 0x03,
+ .offset = offsetof(struct wlfw_msa_info_resp_msg_v01,
+ mem_region_info_len),
},
{
- .data_type = QMI_UNSIGNED_1_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x14,
- .offset = offsetof(struct wlfw_cal_download_req_msg_v01,
- end),
+ .data_type = QMI_STRUCT,
+ .elem_len = QMI_WLFW_MAX_MEM_REG_V01,
+ .elem_size = sizeof(struct wlfw_memory_region_info_s_v01),
+ .array_type = VAR_LEN_ARRAY,
+ .tlv_type = 0x03,
+ .offset = offsetof(struct wlfw_msa_info_resp_msg_v01,
+ mem_region_info),
+ .ei_array = wlfw_memory_region_info_s_v01_ei,
},
{}
};
-const struct qmi_elem_info wlfw_cal_download_resp_msg_v01_ei[] = {
+const struct qmi_elem_info wlfw_msa_ready_req_msg_v01_ei[] = {
+ {}
+};
+
+const struct qmi_elem_info wlfw_msa_ready_resp_msg_v01_ei[] = {
{
.data_type = QMI_STRUCT,
.elem_len = 1,
.elem_size = sizeof(struct qmi_response_type_v01),
.array_type = NO_ARRAY,
.tlv_type = 0x02,
- .offset = offsetof(struct wlfw_cal_download_resp_msg_v01,
+ .offset = offsetof(struct wlfw_msa_ready_resp_msg_v01,
resp),
.ei_array = qmi_response_type_v01_ei,
},
{}
};
-const struct qmi_elem_info wlfw_initiate_cal_update_ind_msg_v01_ei[] = {
- {
- .data_type = QMI_SIGNED_4_BYTE_ENUM,
- .elem_len = 1,
- .elem_size = sizeof(enum wlfw_cal_temp_id_enum_v01),
- .array_type = NO_ARRAY,
- .tlv_type = 0x01,
- .offset = offsetof(struct wlfw_initiate_cal_update_ind_msg_v01,
- cal_id),
- },
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u32),
- .array_type = NO_ARRAY,
- .tlv_type = 0x02,
- .offset = offsetof(struct wlfw_initiate_cal_update_ind_msg_v01,
- total_size),
- },
- {}
-};
-
-const struct qmi_elem_info wlfw_cal_update_req_msg_v01_ei[] = {
+const struct qmi_elem_info wlfw_ini_req_msg_v01_ei[] = {
{
- .data_type = QMI_SIGNED_4_BYTE_ENUM,
+ .data_type = QMI_OPT_FLAG,
.elem_len = 1,
- .elem_size = sizeof(enum wlfw_cal_temp_id_enum_v01),
+ .elem_size = sizeof(u8),
.array_type = NO_ARRAY,
- .tlv_type = 0x01,
- .offset = offsetof(struct wlfw_cal_update_req_msg_v01,
- cal_id),
+ .tlv_type = 0x10,
+ .offset = offsetof(struct wlfw_ini_req_msg_v01,
+ enablefwlog_valid),
},
{
- .data_type = QMI_UNSIGNED_4_BYTE,
+ .data_type = QMI_UNSIGNED_1_BYTE,
.elem_len = 1,
- .elem_size = sizeof(u32),
+ .elem_size = sizeof(u8),
.array_type = NO_ARRAY,
- .tlv_type = 0x02,
- .offset = offsetof(struct wlfw_cal_update_req_msg_v01,
- seg_id),
+ .tlv_type = 0x10,
+ .offset = offsetof(struct wlfw_ini_req_msg_v01,
+ enablefwlog),
},
{}
};
-const struct qmi_elem_info wlfw_cal_update_resp_msg_v01_ei[] = {
+const struct qmi_elem_info wlfw_ini_resp_msg_v01_ei[] = {
{
.data_type = QMI_STRUCT,
.elem_len = 1,
.elem_size = sizeof(struct qmi_response_type_v01),
.array_type = NO_ARRAY,
.tlv_type = 0x02,
- .offset = offsetof(struct wlfw_cal_update_resp_msg_v01,
+ .offset = offsetof(struct wlfw_ini_resp_msg_v01,
resp),
.ei_array = qmi_response_type_v01_ei,
},
+ {}
+};
+
+const struct qmi_elem_info wlfw_host_cap_req_msg_v01_ei[] = {
{
.data_type = QMI_OPT_FLAG,
.elem_len = 1,
.elem_size = sizeof(u8),
.array_type = NO_ARRAY,
.tlv_type = 0x10,
- .offset = offsetof(struct wlfw_cal_update_resp_msg_v01,
- file_id_valid),
+ .offset = offsetof(struct wlfw_host_cap_req_msg_v01,
+ daemon_support_valid),
},
{
- .data_type = QMI_SIGNED_4_BYTE_ENUM,
+ .data_type = QMI_UNSIGNED_4_BYTE,
.elem_len = 1,
- .elem_size = sizeof(enum wlfw_cal_temp_id_enum_v01),
+ .elem_size = sizeof(u32),
.array_type = NO_ARRAY,
.tlv_type = 0x10,
- .offset = offsetof(struct wlfw_cal_update_resp_msg_v01,
- file_id),
+ .offset = offsetof(struct wlfw_host_cap_req_msg_v01,
+ daemon_support),
},
{
.data_type = QMI_OPT_FLAG,
@@ -1366,8 +1224,8 @@ const struct qmi_elem_info wlfw_cal_update_resp_msg_v01_ei[] = {
.elem_size = sizeof(u8),
.array_type = NO_ARRAY,
.tlv_type = 0x11,
- .offset = offsetof(struct wlfw_cal_update_resp_msg_v01,
- total_size_valid),
+ .offset = offsetof(struct wlfw_host_cap_req_msg_v01,
+ wake_msi_valid),
},
{
.data_type = QMI_UNSIGNED_4_BYTE,
@@ -1375,8 +1233,8 @@ const struct qmi_elem_info wlfw_cal_update_resp_msg_v01_ei[] = {
.elem_size = sizeof(u32),
.array_type = NO_ARRAY,
.tlv_type = 0x11,
- .offset = offsetof(struct wlfw_cal_update_resp_msg_v01,
- total_size),
+ .offset = offsetof(struct wlfw_host_cap_req_msg_v01,
+ wake_msi),
},
{
.data_type = QMI_OPT_FLAG,
@@ -1384,445 +1242,44 @@ const struct qmi_elem_info wlfw_cal_update_resp_msg_v01_ei[] = {
.elem_size = sizeof(u8),
.array_type = NO_ARRAY,
.tlv_type = 0x12,
- .offset = offsetof(struct wlfw_cal_update_resp_msg_v01,
- seg_id_valid),
+ .offset = offsetof(struct wlfw_host_cap_req_msg_v01,
+ gpios_valid),
},
{
- .data_type = QMI_UNSIGNED_4_BYTE,
+ .data_type = QMI_DATA_LEN,
.elem_len = 1,
.elem_size = sizeof(u32),
.array_type = NO_ARRAY,
.tlv_type = 0x12,
- .offset = offsetof(struct wlfw_cal_update_resp_msg_v01,
- seg_id),
+ .offset = offsetof(struct wlfw_host_cap_req_msg_v01,
+ gpios_len),
},
{
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x13,
- .offset = offsetof(struct wlfw_cal_update_resp_msg_v01,
- data_valid),
+ .data_type = QMI_UNSIGNED_4_BYTE,
+ .elem_len = QMI_WLFW_MAX_NUM_GPIO_V01,
+ .elem_size = sizeof(u32),
+ .array_type = VAR_LEN_ARRAY,
+ .tlv_type = 0x12,
+ .offset = offsetof(struct wlfw_host_cap_req_msg_v01,
+ gpios),
},
{
- .data_type = QMI_DATA_LEN,
+ .data_type = QMI_OPT_FLAG,
.elem_len = 1,
- .elem_size = sizeof(u16),
+ .elem_size = sizeof(u8),
.array_type = NO_ARRAY,
.tlv_type = 0x13,
- .offset = offsetof(struct wlfw_cal_update_resp_msg_v01,
- data_len),
+ .offset = offsetof(struct wlfw_host_cap_req_msg_v01,
+ nm_modem_valid),
},
{
.data_type = QMI_UNSIGNED_1_BYTE,
- .elem_len = QMI_WLFW_MAX_DATA_SIZE_V01,
+ .elem_len = 1,
.elem_size = sizeof(u8),
- .array_type = VAR_LEN_ARRAY,
+ .array_type = NO_ARRAY,
.tlv_type = 0x13,
- .offset = offsetof(struct wlfw_cal_update_resp_msg_v01,
- data),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x14,
- .offset = offsetof(struct wlfw_cal_update_resp_msg_v01,
- end_valid),
- },
- {
- .data_type = QMI_UNSIGNED_1_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x14,
- .offset = offsetof(struct wlfw_cal_update_resp_msg_v01,
- end),
- },
- {}
-};
-
-const struct qmi_elem_info wlfw_msa_info_req_msg_v01_ei[] = {
- {
- .data_type = QMI_UNSIGNED_8_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u64),
- .array_type = NO_ARRAY,
- .tlv_type = 0x01,
- .offset = offsetof(struct wlfw_msa_info_req_msg_v01,
- msa_addr),
- },
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u32),
- .array_type = NO_ARRAY,
- .tlv_type = 0x02,
- .offset = offsetof(struct wlfw_msa_info_req_msg_v01,
- size),
- },
- {}
-};
-
-const struct qmi_elem_info wlfw_msa_info_resp_msg_v01_ei[] = {
- {
- .data_type = QMI_STRUCT,
- .elem_len = 1,
- .elem_size = sizeof(struct qmi_response_type_v01),
- .array_type = NO_ARRAY,
- .tlv_type = 0x02,
- .offset = offsetof(struct wlfw_msa_info_resp_msg_v01,
- resp),
- .ei_array = qmi_response_type_v01_ei,
- },
- {
- .data_type = QMI_DATA_LEN,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x03,
- .offset = offsetof(struct wlfw_msa_info_resp_msg_v01,
- mem_region_info_len),
- },
- {
- .data_type = QMI_STRUCT,
- .elem_len = QMI_WLFW_MAX_MEM_REG_V01,
- .elem_size = sizeof(struct wlfw_memory_region_info_s_v01),
- .array_type = VAR_LEN_ARRAY,
- .tlv_type = 0x03,
- .offset = offsetof(struct wlfw_msa_info_resp_msg_v01,
- mem_region_info),
- .ei_array = wlfw_memory_region_info_s_v01_ei,
- },
- {}
-};
-
-const struct qmi_elem_info wlfw_msa_ready_req_msg_v01_ei[] = {
- {}
-};
-
-const struct qmi_elem_info wlfw_msa_ready_resp_msg_v01_ei[] = {
- {
- .data_type = QMI_STRUCT,
- .elem_len = 1,
- .elem_size = sizeof(struct qmi_response_type_v01),
- .array_type = NO_ARRAY,
- .tlv_type = 0x02,
- .offset = offsetof(struct wlfw_msa_ready_resp_msg_v01,
- resp),
- .ei_array = qmi_response_type_v01_ei,
- },
- {}
-};
-
-const struct qmi_elem_info wlfw_ini_req_msg_v01_ei[] = {
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x10,
- .offset = offsetof(struct wlfw_ini_req_msg_v01,
- enablefwlog_valid),
- },
- {
- .data_type = QMI_UNSIGNED_1_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x10,
- .offset = offsetof(struct wlfw_ini_req_msg_v01,
- enablefwlog),
- },
- {}
-};
-
-const struct qmi_elem_info wlfw_ini_resp_msg_v01_ei[] = {
- {
- .data_type = QMI_STRUCT,
- .elem_len = 1,
- .elem_size = sizeof(struct qmi_response_type_v01),
- .array_type = NO_ARRAY,
- .tlv_type = 0x02,
- .offset = offsetof(struct wlfw_ini_resp_msg_v01,
- resp),
- .ei_array = qmi_response_type_v01_ei,
- },
- {}
-};
-
-const struct qmi_elem_info wlfw_athdiag_read_req_msg_v01_ei[] = {
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u32),
- .array_type = NO_ARRAY,
- .tlv_type = 0x01,
- .offset = offsetof(struct wlfw_athdiag_read_req_msg_v01,
- offset),
- },
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u32),
- .array_type = NO_ARRAY,
- .tlv_type = 0x02,
- .offset = offsetof(struct wlfw_athdiag_read_req_msg_v01,
- mem_type),
- },
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u32),
- .array_type = NO_ARRAY,
- .tlv_type = 0x03,
- .offset = offsetof(struct wlfw_athdiag_read_req_msg_v01,
- data_len),
- },
- {}
-};
-
-const struct qmi_elem_info wlfw_athdiag_read_resp_msg_v01_ei[] = {
- {
- .data_type = QMI_STRUCT,
- .elem_len = 1,
- .elem_size = sizeof(struct qmi_response_type_v01),
- .array_type = NO_ARRAY,
- .tlv_type = 0x02,
- .offset = offsetof(struct wlfw_athdiag_read_resp_msg_v01,
- resp),
- .ei_array = qmi_response_type_v01_ei,
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x10,
- .offset = offsetof(struct wlfw_athdiag_read_resp_msg_v01,
- data_valid),
- },
- {
- .data_type = QMI_DATA_LEN,
- .elem_len = 1,
- .elem_size = sizeof(u16),
- .array_type = NO_ARRAY,
- .tlv_type = 0x10,
- .offset = offsetof(struct wlfw_athdiag_read_resp_msg_v01,
- data_len),
- },
- {
- .data_type = QMI_UNSIGNED_1_BYTE,
- .elem_len = QMI_WLFW_MAX_ATHDIAG_DATA_SIZE_V01,
- .elem_size = sizeof(u8),
- .array_type = VAR_LEN_ARRAY,
- .tlv_type = 0x10,
- .offset = offsetof(struct wlfw_athdiag_read_resp_msg_v01,
- data),
- },
- {}
-};
-
-const struct qmi_elem_info wlfw_athdiag_write_req_msg_v01_ei[] = {
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u32),
- .array_type = NO_ARRAY,
- .tlv_type = 0x01,
- .offset = offsetof(struct wlfw_athdiag_write_req_msg_v01,
- offset),
- },
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u32),
- .array_type = NO_ARRAY,
- .tlv_type = 0x02,
- .offset = offsetof(struct wlfw_athdiag_write_req_msg_v01,
- mem_type),
- },
- {
- .data_type = QMI_DATA_LEN,
- .elem_len = 1,
- .elem_size = sizeof(u16),
- .array_type = NO_ARRAY,
- .tlv_type = 0x03,
- .offset = offsetof(struct wlfw_athdiag_write_req_msg_v01,
- data_len),
- },
- {
- .data_type = QMI_UNSIGNED_1_BYTE,
- .elem_len = QMI_WLFW_MAX_ATHDIAG_DATA_SIZE_V01,
- .elem_size = sizeof(u8),
- .array_type = VAR_LEN_ARRAY,
- .tlv_type = 0x03,
- .offset = offsetof(struct wlfw_athdiag_write_req_msg_v01,
- data),
- },
- {}
-};
-
-const struct qmi_elem_info wlfw_athdiag_write_resp_msg_v01_ei[] = {
- {
- .data_type = QMI_STRUCT,
- .elem_len = 1,
- .elem_size = sizeof(struct qmi_response_type_v01),
- .array_type = NO_ARRAY,
- .tlv_type = 0x02,
- .offset = offsetof(struct wlfw_athdiag_write_resp_msg_v01,
- resp),
- .ei_array = qmi_response_type_v01_ei,
- },
- {}
-};
-
-const struct qmi_elem_info wlfw_vbatt_req_msg_v01_ei[] = {
- {
- .data_type = QMI_UNSIGNED_8_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u64),
- .array_type = NO_ARRAY,
- .tlv_type = 0x01,
- .offset = offsetof(struct wlfw_vbatt_req_msg_v01,
- voltage_uv),
- },
- {}
-};
-
-const struct qmi_elem_info wlfw_vbatt_resp_msg_v01_ei[] = {
- {
- .data_type = QMI_STRUCT,
- .elem_len = 1,
- .elem_size = sizeof(struct qmi_response_type_v01),
- .array_type = NO_ARRAY,
- .tlv_type = 0x02,
- .offset = offsetof(struct wlfw_vbatt_resp_msg_v01,
- resp),
- .ei_array = qmi_response_type_v01_ei,
- },
- {}
-};
-
-const struct qmi_elem_info wlfw_mac_addr_req_msg_v01_ei[] = {
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x10,
- .offset = offsetof(struct wlfw_mac_addr_req_msg_v01,
- mac_addr_valid),
- },
- {
- .data_type = QMI_UNSIGNED_1_BYTE,
- .elem_len = QMI_WLFW_MAC_ADDR_SIZE_V01,
- .elem_size = sizeof(u8),
- .array_type = STATIC_ARRAY,
- .tlv_type = 0x10,
- .offset = offsetof(struct wlfw_mac_addr_req_msg_v01,
- mac_addr),
- },
- {}
-};
-
-const struct qmi_elem_info wlfw_mac_addr_resp_msg_v01_ei[] = {
- {
- .data_type = QMI_STRUCT,
- .elem_len = 1,
- .elem_size = sizeof(struct qmi_response_type_v01),
- .array_type = NO_ARRAY,
- .tlv_type = 0x02,
- .offset = offsetof(struct wlfw_mac_addr_resp_msg_v01,
- resp),
- .ei_array = qmi_response_type_v01_ei,
- },
- {}
-};
-
-const struct qmi_elem_info wlfw_host_cap_req_msg_v01_ei[] = {
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x10,
- .offset = offsetof(struct wlfw_host_cap_req_msg_v01,
- daemon_support_valid),
- },
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u32),
- .array_type = NO_ARRAY,
- .tlv_type = 0x10,
- .offset = offsetof(struct wlfw_host_cap_req_msg_v01,
- daemon_support),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x11,
- .offset = offsetof(struct wlfw_host_cap_req_msg_v01,
- wake_msi_valid),
- },
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u32),
- .array_type = NO_ARRAY,
- .tlv_type = 0x11,
- .offset = offsetof(struct wlfw_host_cap_req_msg_v01,
- wake_msi),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x12,
- .offset = offsetof(struct wlfw_host_cap_req_msg_v01,
- gpios_valid),
- },
- {
- .data_type = QMI_DATA_LEN,
- .elem_len = 1,
- .elem_size = sizeof(u32),
- .array_type = NO_ARRAY,
- .tlv_type = 0x12,
- .offset = offsetof(struct wlfw_host_cap_req_msg_v01,
- gpios_len),
- },
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = QMI_WLFW_MAX_NUM_GPIO_V01,
- .elem_size = sizeof(u32),
- .array_type = VAR_LEN_ARRAY,
- .tlv_type = 0x12,
- .offset = offsetof(struct wlfw_host_cap_req_msg_v01,
- gpios),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x13,
- .offset = offsetof(struct wlfw_host_cap_req_msg_v01,
- nm_modem_valid),
- },
- {
- .data_type = QMI_UNSIGNED_1_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x13,
- .offset = offsetof(struct wlfw_host_cap_req_msg_v01,
- nm_modem),
+ .offset = offsetof(struct wlfw_host_cap_req_msg_v01,
+ nm_modem),
},
{
.data_type = QMI_OPT_FLAG,
@@ -2024,286 +1481,3 @@ const struct qmi_elem_info wlfw_host_cap_resp_msg_v01_ei[] = {
},
{}
};
-
-const struct qmi_elem_info wlfw_request_mem_ind_msg_v01_ei[] = {
- {
- .data_type = QMI_DATA_LEN,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x01,
- .offset = offsetof(struct wlfw_request_mem_ind_msg_v01,
- mem_seg_len),
- },
- {
- .data_type = QMI_STRUCT,
- .elem_len = QMI_WLFW_MAX_NUM_MEM_SEG_V01,
- .elem_size = sizeof(struct wlfw_mem_seg_s_v01),
- .array_type = VAR_LEN_ARRAY,
- .tlv_type = 0x01,
- .offset = offsetof(struct wlfw_request_mem_ind_msg_v01,
- mem_seg),
- .ei_array = wlfw_mem_seg_s_v01_ei,
- },
- {}
-};
-
-const struct qmi_elem_info wlfw_respond_mem_req_msg_v01_ei[] = {
- {
- .data_type = QMI_DATA_LEN,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x01,
- .offset = offsetof(struct wlfw_respond_mem_req_msg_v01,
- mem_seg_len),
- },
- {
- .data_type = QMI_STRUCT,
- .elem_len = QMI_WLFW_MAX_NUM_MEM_SEG_V01,
- .elem_size = sizeof(struct wlfw_mem_seg_resp_s_v01),
- .array_type = VAR_LEN_ARRAY,
- .tlv_type = 0x01,
- .offset = offsetof(struct wlfw_respond_mem_req_msg_v01,
- mem_seg),
- .ei_array = wlfw_mem_seg_resp_s_v01_ei,
- },
- {}
-};
-
-const struct qmi_elem_info wlfw_respond_mem_resp_msg_v01_ei[] = {
- {
- .data_type = QMI_STRUCT,
- .elem_len = 1,
- .elem_size = sizeof(struct qmi_response_type_v01),
- .array_type = NO_ARRAY,
- .tlv_type = 0x02,
- .offset = offsetof(struct wlfw_respond_mem_resp_msg_v01,
- resp),
- .ei_array = qmi_response_type_v01_ei,
- },
- {}
-};
-
-const struct qmi_elem_info wlfw_mem_ready_ind_msg_v01_ei[] = {
- {}
-};
-
-const struct qmi_elem_info wlfw_fw_init_done_ind_msg_v01_ei[] = {
- {}
-};
-
-const struct qmi_elem_info wlfw_rejuvenate_ind_msg_v01_ei[] = {
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x10,
- .offset = offsetof(struct wlfw_rejuvenate_ind_msg_v01,
- cause_for_rejuvenation_valid),
- },
- {
- .data_type = QMI_UNSIGNED_1_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x10,
- .offset = offsetof(struct wlfw_rejuvenate_ind_msg_v01,
- cause_for_rejuvenation),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x11,
- .offset = offsetof(struct wlfw_rejuvenate_ind_msg_v01,
- requesting_sub_system_valid),
- },
- {
- .data_type = QMI_UNSIGNED_1_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x11,
- .offset = offsetof(struct wlfw_rejuvenate_ind_msg_v01,
- requesting_sub_system),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x12,
- .offset = offsetof(struct wlfw_rejuvenate_ind_msg_v01,
- line_number_valid),
- },
- {
- .data_type = QMI_UNSIGNED_2_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u16),
- .array_type = NO_ARRAY,
- .tlv_type = 0x12,
- .offset = offsetof(struct wlfw_rejuvenate_ind_msg_v01,
- line_number),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x13,
- .offset = offsetof(struct wlfw_rejuvenate_ind_msg_v01,
- function_name_valid),
- },
- {
- .data_type = QMI_STRING,
- .elem_len = QMI_WLFW_FUNCTION_NAME_LEN_V01 + 1,
- .elem_size = sizeof(char),
- .array_type = NO_ARRAY,
- .tlv_type = 0x13,
- .offset = offsetof(struct wlfw_rejuvenate_ind_msg_v01,
- function_name),
- },
- {}
-};
-
-const struct qmi_elem_info wlfw_rejuvenate_ack_req_msg_v01_ei[] = {
- {}
-};
-
-const struct qmi_elem_info wlfw_rejuvenate_ack_resp_msg_v01_ei[] = {
- {
- .data_type = QMI_STRUCT,
- .elem_len = 1,
- .elem_size = sizeof(struct qmi_response_type_v01),
- .array_type = NO_ARRAY,
- .tlv_type = 0x02,
- .offset = offsetof(struct wlfw_rejuvenate_ack_resp_msg_v01,
- resp),
- .ei_array = qmi_response_type_v01_ei,
- },
- {}
-};
-
-const struct qmi_elem_info wlfw_dynamic_feature_mask_req_msg_v01_ei[] = {
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x10,
- .offset = offsetof(struct wlfw_dynamic_feature_mask_req_msg_v01,
- mask_valid),
- },
- {
- .data_type = QMI_UNSIGNED_8_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u64),
- .array_type = NO_ARRAY,
- .tlv_type = 0x10,
- .offset = offsetof(struct wlfw_dynamic_feature_mask_req_msg_v01,
- mask),
- },
- {}
-};
-
-const struct qmi_elem_info wlfw_dynamic_feature_mask_resp_msg_v01_ei[] = {
- {
- .data_type = QMI_STRUCT,
- .elem_len = 1,
- .elem_size = sizeof(struct qmi_response_type_v01),
- .array_type = NO_ARRAY,
- .tlv_type = 0x02,
- .offset = offsetof(struct wlfw_dynamic_feature_mask_resp_msg_v01,
- resp),
- .ei_array = qmi_response_type_v01_ei,
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x10,
- .offset = offsetof(struct wlfw_dynamic_feature_mask_resp_msg_v01,
- prev_mask_valid),
- },
- {
- .data_type = QMI_UNSIGNED_8_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u64),
- .array_type = NO_ARRAY,
- .tlv_type = 0x10,
- .offset = offsetof(struct wlfw_dynamic_feature_mask_resp_msg_v01,
- prev_mask),
- },
- {
- .data_type = QMI_OPT_FLAG,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x11,
- .offset = offsetof(struct wlfw_dynamic_feature_mask_resp_msg_v01,
- curr_mask_valid),
- },
- {
- .data_type = QMI_UNSIGNED_8_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u64),
- .array_type = NO_ARRAY,
- .tlv_type = 0x11,
- .offset = offsetof(struct wlfw_dynamic_feature_mask_resp_msg_v01,
- curr_mask),
- },
- {}
-};
-
-const struct qmi_elem_info wlfw_m3_info_req_msg_v01_ei[] = {
- {
- .data_type = QMI_UNSIGNED_8_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u64),
- .array_type = NO_ARRAY,
- .tlv_type = 0x01,
- .offset = offsetof(struct wlfw_m3_info_req_msg_v01,
- addr),
- },
- {
- .data_type = QMI_UNSIGNED_4_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u32),
- .array_type = NO_ARRAY,
- .tlv_type = 0x02,
- .offset = offsetof(struct wlfw_m3_info_req_msg_v01,
- size),
- },
- {}
-};
-
-const struct qmi_elem_info wlfw_m3_info_resp_msg_v01_ei[] = {
- {
- .data_type = QMI_STRUCT,
- .elem_len = 1,
- .elem_size = sizeof(struct qmi_response_type_v01),
- .array_type = NO_ARRAY,
- .tlv_type = 0x02,
- .offset = offsetof(struct wlfw_m3_info_resp_msg_v01,
- resp),
- .ei_array = qmi_response_type_v01_ei,
- },
- {}
-};
-
-const struct qmi_elem_info wlfw_xo_cal_ind_msg_v01_ei[] = {
- {
- .data_type = QMI_UNSIGNED_1_BYTE,
- .elem_len = 1,
- .elem_size = sizeof(u8),
- .array_type = NO_ARRAY,
- .tlv_type = 0x01,
- .offset = offsetof(struct wlfw_xo_cal_ind_msg_v01,
- xo_cal_data),
- },
- {}
-};
diff --git a/drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.h b/drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.h
index 8d4b929e8437b3..c0b2eaea4dbcc9 100644
--- a/drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.h
+++ b/drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.h
@@ -240,18 +240,6 @@ struct wlfw_msa_ready_ind_msg_v01 {
#define WLFW_MSA_READY_IND_MSG_V01_MAX_MSG_LEN 0
extern const struct qmi_elem_info wlfw_msa_ready_ind_msg_v01_ei[];
-struct wlfw_pin_connect_result_ind_msg_v01 {
- u8 pwr_pin_result_valid;
- u32 pwr_pin_result;
- u8 phy_io_pin_result_valid;
- u32 phy_io_pin_result;
- u8 rf_pin_result_valid;
- u32 rf_pin_result;
-};
-
-#define WLFW_PIN_CONNECT_RESULT_IND_MSG_V01_MAX_MSG_LEN 21
-extern const struct qmi_elem_info wlfw_pin_connect_result_ind_msg_v01_ei[];
-
struct wlfw_wlan_mode_req_msg_v01 {
enum wlfw_driver_mode_enum_v01 mode;
u8 hw_debug_valid;
@@ -365,72 +353,6 @@ struct wlfw_cal_report_resp_msg_v01 {
#define WLFW_CAL_REPORT_RESP_MSG_V01_MAX_MSG_LEN 7
extern const struct qmi_elem_info wlfw_cal_report_resp_msg_v01_ei[];
-struct wlfw_initiate_cal_download_ind_msg_v01 {
- enum wlfw_cal_temp_id_enum_v01 cal_id;
-};
-
-#define WLFW_INITIATE_CAL_DOWNLOAD_IND_MSG_V01_MAX_MSG_LEN 7
-extern const struct qmi_elem_info wlfw_initiate_cal_download_ind_msg_v01_ei[];
-
-struct wlfw_cal_download_req_msg_v01 {
- u8 valid;
- u8 file_id_valid;
- enum wlfw_cal_temp_id_enum_v01 file_id;
- u8 total_size_valid;
- u32 total_size;
- u8 seg_id_valid;
- u32 seg_id;
- u8 data_valid;
- u32 data_len;
- u8 data[QMI_WLFW_MAX_DATA_SIZE_V01];
- u8 end_valid;
- u8 end;
-};
-
-#define WLFW_CAL_DOWNLOAD_REQ_MSG_V01_MAX_MSG_LEN 6178
-extern const struct qmi_elem_info wlfw_cal_download_req_msg_v01_ei[];
-
-struct wlfw_cal_download_resp_msg_v01 {
- struct qmi_response_type_v01 resp;
-};
-
-#define WLFW_CAL_DOWNLOAD_RESP_MSG_V01_MAX_MSG_LEN 7
-extern const struct qmi_elem_info wlfw_cal_download_resp_msg_v01_ei[];
-
-struct wlfw_initiate_cal_update_ind_msg_v01 {
- enum wlfw_cal_temp_id_enum_v01 cal_id;
- u32 total_size;
-};
-
-#define WLFW_INITIATE_CAL_UPDATE_IND_MSG_V01_MAX_MSG_LEN 14
-extern const struct qmi_elem_info wlfw_initiate_cal_update_ind_msg_v01_ei[];
-
-struct wlfw_cal_update_req_msg_v01 {
- enum wlfw_cal_temp_id_enum_v01 cal_id;
- u32 seg_id;
-};
-
-#define WLFW_CAL_UPDATE_REQ_MSG_V01_MAX_MSG_LEN 14
-extern const struct qmi_elem_info wlfw_cal_update_req_msg_v01_ei[];
-
-struct wlfw_cal_update_resp_msg_v01 {
- struct qmi_response_type_v01 resp;
- u8 file_id_valid;
- enum wlfw_cal_temp_id_enum_v01 file_id;
- u8 total_size_valid;
- u32 total_size;
- u8 seg_id_valid;
- u32 seg_id;
- u8 data_valid;
- u32 data_len;
- u8 data[QMI_WLFW_MAX_DATA_SIZE_V01];
- u8 end_valid;
- u8 end;
-};
-
-#define WLFW_CAL_UPDATE_RESP_MSG_V01_MAX_MSG_LEN 6181
-extern const struct qmi_elem_info wlfw_cal_update_resp_msg_v01_ei[];
-
struct wlfw_msa_info_req_msg_v01 {
u64 msa_addr;
u32 size;
@@ -477,71 +399,6 @@ struct wlfw_ini_resp_msg_v01 {
#define WLFW_INI_RESP_MSG_V01_MAX_MSG_LEN 7
extern const struct qmi_elem_info wlfw_ini_resp_msg_v01_ei[];
-struct wlfw_athdiag_read_req_msg_v01 {
- u32 offset;
- u32 mem_type;
- u32 data_len;
-};
-
-#define WLFW_ATHDIAG_READ_REQ_MSG_V01_MAX_MSG_LEN 21
-extern const struct qmi_elem_info wlfw_athdiag_read_req_msg_v01_ei[];
-
-struct wlfw_athdiag_read_resp_msg_v01 {
- struct qmi_response_type_v01 resp;
- u8 data_valid;
- u32 data_len;
- u8 data[QMI_WLFW_MAX_ATHDIAG_DATA_SIZE_V01];
-};
-
-#define WLFW_ATHDIAG_READ_RESP_MSG_V01_MAX_MSG_LEN 6156
-extern const struct qmi_elem_info wlfw_athdiag_read_resp_msg_v01_ei[];
-
-struct wlfw_athdiag_write_req_msg_v01 {
- u32 offset;
- u32 mem_type;
- u32 data_len;
- u8 data[QMI_WLFW_MAX_ATHDIAG_DATA_SIZE_V01];
-};
-
-#define WLFW_ATHDIAG_WRITE_REQ_MSG_V01_MAX_MSG_LEN 6163
-extern const struct qmi_elem_info wlfw_athdiag_write_req_msg_v01_ei[];
-
-struct wlfw_athdiag_write_resp_msg_v01 {
- struct qmi_response_type_v01 resp;
-};
-
-#define WLFW_ATHDIAG_WRITE_RESP_MSG_V01_MAX_MSG_LEN 7
-extern const struct qmi_elem_info wlfw_athdiag_write_resp_msg_v01_ei[];
-
-struct wlfw_vbatt_req_msg_v01 {
- u64 voltage_uv;
-};
-
-#define WLFW_VBATT_REQ_MSG_V01_MAX_MSG_LEN 11
-extern const struct qmi_elem_info wlfw_vbatt_req_msg_v01_ei[];
-
-struct wlfw_vbatt_resp_msg_v01 {
- struct qmi_response_type_v01 resp;
-};
-
-#define WLFW_VBATT_RESP_MSG_V01_MAX_MSG_LEN 7
-extern const struct qmi_elem_info wlfw_vbatt_resp_msg_v01_ei[];
-
-struct wlfw_mac_addr_req_msg_v01 {
- u8 mac_addr_valid;
- u8 mac_addr[QMI_WLFW_MAC_ADDR_SIZE_V01];
-};
-
-#define WLFW_MAC_ADDR_REQ_MSG_V01_MAX_MSG_LEN 9
-extern const struct qmi_elem_info wlfw_mac_addr_req_msg_v01_ei[];
-
-struct wlfw_mac_addr_resp_msg_v01 {
- struct qmi_response_type_v01 resp;
-};
-
-#define WLFW_MAC_ADDR_RESP_MSG_V01_MAX_MSG_LEN 7
-extern const struct qmi_elem_info wlfw_mac_addr_resp_msg_v01_ei[];
-
#define QMI_WLFW_MAX_NUM_GPIO_V01 32
struct wlfw_host_cap_req_msg_v01 {
u8 daemon_support_valid;
@@ -584,110 +441,4 @@ struct wlfw_host_cap_resp_msg_v01 {
#define WLFW_HOST_CAP_RESP_MSG_V01_MAX_MSG_LEN 7
extern const struct qmi_elem_info wlfw_host_cap_resp_msg_v01_ei[];
-struct wlfw_request_mem_ind_msg_v01 {
- u32 mem_seg_len;
- struct wlfw_mem_seg_s_v01 mem_seg[QMI_WLFW_MAX_NUM_MEM_SEG_V01];
-};
-
-#define WLFW_REQUEST_MEM_IND_MSG_V01_MAX_MSG_LEN 564
-extern const struct qmi_elem_info wlfw_request_mem_ind_msg_v01_ei[];
-
-struct wlfw_respond_mem_req_msg_v01 {
- u32 mem_seg_len;
- struct wlfw_mem_seg_resp_s_v01 mem_seg[QMI_WLFW_MAX_NUM_MEM_SEG_V01];
-};
-
-#define WLFW_RESPOND_MEM_REQ_MSG_V01_MAX_MSG_LEN 260
-extern const struct qmi_elem_info wlfw_respond_mem_req_msg_v01_ei[];
-
-struct wlfw_respond_mem_resp_msg_v01 {
- struct qmi_response_type_v01 resp;
-};
-
-#define WLFW_RESPOND_MEM_RESP_MSG_V01_MAX_MSG_LEN 7
-extern const struct qmi_elem_info wlfw_respond_mem_resp_msg_v01_ei[];
-
-struct wlfw_mem_ready_ind_msg_v01 {
- char placeholder;
-};
-
-#define WLFW_MEM_READY_IND_MSG_V01_MAX_MSG_LEN 0
-extern const struct qmi_elem_info wlfw_mem_ready_ind_msg_v01_ei[];
-
-struct wlfw_fw_init_done_ind_msg_v01 {
- char placeholder;
-};
-
-#define WLFW_FW_INIT_DONE_IND_MSG_V01_MAX_MSG_LEN 0
-extern const struct qmi_elem_info wlfw_fw_init_done_ind_msg_v01_ei[];
-
-struct wlfw_rejuvenate_ind_msg_v01 {
- u8 cause_for_rejuvenation_valid;
- u8 cause_for_rejuvenation;
- u8 requesting_sub_system_valid;
- u8 requesting_sub_system;
- u8 line_number_valid;
- u16 line_number;
- u8 function_name_valid;
- char function_name[QMI_WLFW_FUNCTION_NAME_LEN_V01 + 1];
-};
-
-#define WLFW_REJUVENATE_IND_MSG_V01_MAX_MSG_LEN 144
-extern const struct qmi_elem_info wlfw_rejuvenate_ind_msg_v01_ei[];
-
-struct wlfw_rejuvenate_ack_req_msg_v01 {
- char placeholder;
-};
-
-#define WLFW_REJUVENATE_ACK_REQ_MSG_V01_MAX_MSG_LEN 0
-extern const struct qmi_elem_info wlfw_rejuvenate_ack_req_msg_v01_ei[];
-
-struct wlfw_rejuvenate_ack_resp_msg_v01 {
- struct qmi_response_type_v01 resp;
-};
-
-#define WLFW_REJUVENATE_ACK_RESP_MSG_V01_MAX_MSG_LEN 7
-extern const struct qmi_elem_info wlfw_rejuvenate_ack_resp_msg_v01_ei[];
-
-struct wlfw_dynamic_feature_mask_req_msg_v01 {
- u8 mask_valid;
- u64 mask;
-};
-
-#define WLFW_DYNAMIC_FEATURE_MASK_REQ_MSG_V01_MAX_MSG_LEN 11
-extern const struct qmi_elem_info wlfw_dynamic_feature_mask_req_msg_v01_ei[];
-
-struct wlfw_dynamic_feature_mask_resp_msg_v01 {
- struct qmi_response_type_v01 resp;
- u8 prev_mask_valid;
- u64 prev_mask;
- u8 curr_mask_valid;
- u64 curr_mask;
-};
-
-#define WLFW_DYNAMIC_FEATURE_MASK_RESP_MSG_V01_MAX_MSG_LEN 29
-extern const struct qmi_elem_info wlfw_dynamic_feature_mask_resp_msg_v01_ei[];
-
-struct wlfw_m3_info_req_msg_v01 {
- u64 addr;
- u32 size;
-};
-
-#define WLFW_M3_INFO_REQ_MSG_V01_MAX_MSG_LEN 18
-extern const struct qmi_elem_info wlfw_m3_info_req_msg_v01_ei[];
-
-struct wlfw_m3_info_resp_msg_v01 {
- struct qmi_response_type_v01 resp;
-};
-
-#define WLFW_M3_INFO_RESP_MSG_V01_MAX_MSG_LEN 7
-extern const struct qmi_elem_info wlfw_m3_info_resp_msg_v01_ei[];
-
-struct wlfw_xo_cal_ind_msg_v01 {
- u8 xo_cal_data;
-};
-
-#define WLFW_XO_CAL_IND_MSG_V01_MAX_MSG_LEN 4
-extern const struct qmi_elem_info wlfw_xo_cal_ind_msg_v01_ei[];
-
#endif
|
| 3/2 | 2026/10/30 02:35 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 21794 output: 51 thoughts: 955 Thoughts: **Analyzing the Atheros QMI Wlfw Patch**
Okay, so I'm looking at this patch that touches `drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.c` and `qmi_wlfw_v01.h`. My initial thought is to figure out the scope. It looks like it is removing unused struct definitions and `qmi_elem_info` arrays from the files. My first instinct is to check the git log and `grep` to confirm if it's purely a cleanup or if there's any addition happening. It's always good to be thorough. Since I don't have direct access to `git log` but I do have `grepper`, `codesearch-dir-index`, `read-file`, and `set-results`, I can use these tools to inspect the changes.
I'm diving into the diff directly. Let's see: I see a whole slew of `qmi_elem_info` definitions are gone from `qmi_wlfw_v01.c`. I see things like `wlfw_pin_connect_result_ind_msg_v01_ei`, `wlfw_initiate_cal_download_ind_msg_v01_ei`, all the way down to `wlfw_xo_cal_ind_msg_v01_ei` are gone. Now, I have to be sure nothing new was added. I see a `const struct qmi_elem_info wlfw_msa_info_req_msg_v01_ei[] = {` in the code, but I need to confirm if it's new or just repositioned. So, back to my tools, I'll need to check the files to be sure.
|
| 4/2 | 2026/10/30 02:35 | tool | grepper |
0mArgs:{
"Expression": "wlfw_msa_info_req_msg_v01_ei",
"PathPrefixes": [
"drivers/net/wireless/ath/ath10k/"
]
}Results: {
"Output": "drivers/net/wireless/ath/ath10k/qmi.c=121=static int ath10k_qmi_msa_mem_info_send_sync_msg(struct ath10k_qmi *qmi)\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-141-\t\t\t WLFW_MSA_INFO_REQ_MSG_V01_MAX_MSG_LEN,\ndrivers/net/wireless/ath/ath10k/qmi.c:142:\t\t\t wlfw_msa_info_req_msg_v01_ei, \u0026req);\ndrivers/net/wireless/ath/ath10k/qmi.c-143-\tif (ret \u003c 0) {\n--\ndrivers/net/wireless/ath/ath10k/qmi_wlfw_v01.c=1079=const struct qmi_elem_info wlfw_cal_report_resp_msg_v01_ei[] = {\n--\ndrivers/net/wireless/ath/ath10k/qmi_wlfw_v01.c-1092-\ndrivers/net/wireless/ath/ath10k/qmi_wlfw_v01.c:1093:const struct qmi_elem_info wlfw_msa_info_req_msg_v01_ei[] = {\ndrivers/net/wireless/ath/ath10k/qmi_wlfw_v01.c-1094-\t{\n--\ndrivers/net/wireless/ath/ath10k/qmi_wlfw_v01.h=356=struct wlfw_msa_info_req_msg_v01 {\n--\ndrivers/net/wireless/ath/ath10k/qmi_wlfw_v01.h-361-#define WLFW_MSA_INFO_REQ_MSG_V01_MAX_MSG_LEN 18\ndrivers/net/wireless/ath/ath10k/qmi_wlfw_v01.h:362:extern const struct qmi_elem_info wlfw_msa_info_req_msg_v01_ei[];\ndrivers/net/wireless/ath/ath10k/qmi_wlfw_v01.h-363-\n"
} |
| 5/2 | 2026/10/30 02:35 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 23765 output: 53 thoughts: 742 Thoughts: **Analyzing the Diff: A Closer Look at the QMI Wlfw Changes**
Okay, let's break down this diff. My initial thought is to understand the scope of the changes. The diff clearly indicates the removal of several QMI message definitions: `wlfw_pin_connect_result_ind_msg_v01_ei`, `wlfw_initiate_cal_download_ind_msg_v01_ei`, and so on. But, why is `wlfw_msa_info_req_msg_v01_ei` showing up in the deleted section?
Ah, I see it now. The original file structure, based on the context, had `wlfw_msa_info_req_msg_v01_ei` positioned *after* `wlfw_cal_update_resp_msg_v01_ei`. Now I understand! Git is just aligning the diff based on similar code structure. It's essentially context matching due to the structural similarities between these definitions. It *looks* like a replacement, but it's just the way git diff is presenting the changes due to the surrounding code. It's important to recognize that the `-const struct qmi_elem_info wlfw_msa_info_req_msg_v01_ei[] = {` line was also deleted further down the file and added higher up. That doesn't mean it moved, this is merely an artifact of the diff tool.
My concern now is to verify whether any actual modification took place or if this is purely the removal of dead code. Let's see if there are any commit messages or file status information to give additional context. I know a `git log -1` or `grep` might be helpful. Since `grepper` runs `git grep`, let's see what we can find.
Okay, it looks like only two files were changed: `drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.c` and `drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.h`. Given that, I should probably check the file sizes of the `.c` file before and after and then analyze lines around line 1080 to 1120 of `qmi_wlfw_v01.c` to understand the true impact of this change.
|
| 6/2 | 2026/10/30 02:35 | tool | read-file |
0mArgs:{
"File": "drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.c",
"FirstLine": 1080,
"LineCount": 50
}Results: {
"Contents": "1080:\t\t{\n1081:\t\t\t.data_type = QMI_STRUCT,\n1082:\t\t\t.elem_len = 1,\n1083:\t\t\t.elem_size = sizeof(struct qmi_response_type_v01),\n1084:\t\t\t.array_type = NO_ARRAY,\n1085:\t\t\t.tlv_type = 0x02,\n1086:\t\t\t.offset = offsetof(struct wlfw_cal_report_resp_msg_v01,\n1087:\t\t\t\t\t\t resp),\n1088:\t\t\t.ei_array = qmi_response_type_v01_ei,\n1089:\t\t},\n1090:\t\t{}\n1091:\t};\n1092:\t\n1093:\tconst struct qmi_elem_info wlfw_msa_info_req_msg_v01_ei[] = {\n1094:\t\t{\n1095:\t\t\t.data_type = QMI_UNSIGNED_8_BYTE,\n1096:\t\t\t.elem_len = 1,\n1097:\t\t\t.elem_size = sizeof(u64),\n1098:\t\t\t.array_type = NO_ARRAY,\n1099:\t\t\t.tlv_type = 0x01,\n1100:\t\t\t.offset = offsetof(struct wlfw_msa_info_req_msg_v01,\n1101:\t\t\t\t\t\t msa_addr),\n1102:\t\t},\n1103:\t\t{\n1104:\t\t\t.data_type = QMI_UNSIGNED_4_BYTE,\n1105:\t\t\t.elem_len = 1,\n1106:\t\t\t.elem_size = sizeof(u32),\n1107:\t\t\t.array_type = NO_ARRAY,\n1108:\t\t\t.tlv_type = 0x02,\n1109:\t\t\t.offset = offsetof(struct wlfw_msa_info_req_msg_v01,\n1110:\t\t\t\t\t\t size),\n1111:\t\t},\n1112:\t\t{}\n1113:\t};\n1114:\t\n1115:\tconst struct qmi_elem_info wlfw_msa_info_resp_msg_v01_ei[] = {\n1116:\t\t{\n1117:\t\t\t.data_type = QMI_STRUCT,\n1118:\t\t\t.elem_len = 1,\n1119:\t\t\t.elem_size = sizeof(struct qmi_response_type_v01),\n1120:\t\t\t.array_type = NO_ARRAY,\n1121:\t\t\t.tlv_type = 0x02,\n1122:\t\t\t.offset = offsetof(struct wlfw_msa_info_resp_msg_v01,\n1123:\t\t\t\t\t\t resp),\n1124:\t\t\t.ei_array = qmi_response_type_v01_ei,\n1125:\t\t},\n1126:\t\t{\n1127:\t\t\t.data_type = QMI_DATA_LEN,\n1128:\t\t\t.elem_len = 1,\n1129:\t\t\t.elem_size = sizeof(u8),\n"
} |
| 7/2 | 2026/10/30 02:35 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 25936 output: 53 thoughts: 27 Thoughts: Here's my take on those thoughts: **Peering into the Depths of `qmi_wlfw_v01.c`** Alright, let's dive into this `qmi_wlfw_v01.c` file again. I'm specifically interested in what's happening after line 1129. I need to understand the logic or data structures that are defined and utilized from that point forward. I'm probably looking for a specific function call, variable definition, or conditional block that relates to the issue I am trying to resolve, or the feature I'm implementing. I have a hunch it might be related to [my knowledge about the problem], but I need to confirm. I should start by quickly scanning for any comments, function headers, or variable names that stand out, trying to get a sense of the code's intent without getting bogged down in the details at this stage. Hopefully, it's well-commented, but this being firmware, I'm prepared for some digging. I'll need to remember to check for any macros or preprocessor directives that could be obfuscating the actual code flow; those often trip me up initially. |
| 8/2 | 2026/10/30 02:35 | tool | read-file |
0mArgs:{
"File": "drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.c",
"FirstLine": 1130,
"LineCount": 80
}Results: {
"Contents": "1130:\t\t\t.array_type = NO_ARRAY,\n1131:\t\t\t.tlv_type = 0x03,\n1132:\t\t\t.offset = offsetof(struct wlfw_msa_info_resp_msg_v01,\n1133:\t\t\t\t\t\t mem_region_info_len),\n1134:\t\t},\n1135:\t\t{\n1136:\t\t\t.data_type = QMI_STRUCT,\n1137:\t\t\t.elem_len = QMI_WLFW_MAX_MEM_REG_V01,\n1138:\t\t\t.elem_size = sizeof(struct wlfw_memory_region_info_s_v01),\n1139:\t\t\t.array_type = VAR_LEN_ARRAY,\n1140:\t\t\t.tlv_type = 0x03,\n1141:\t\t\t.offset = offsetof(struct wlfw_msa_info_resp_msg_v01,\n1142:\t\t\t\t\t\t mem_region_info),\n1143:\t\t\t.ei_array = wlfw_memory_region_info_s_v01_ei,\n1144:\t\t},\n1145:\t\t{}\n1146:\t};\n1147:\t\n1148:\tconst struct qmi_elem_info wlfw_msa_ready_req_msg_v01_ei[] = {\n1149:\t\t{}\n1150:\t};\n1151:\t\n1152:\tconst struct qmi_elem_info wlfw_msa_ready_resp_msg_v01_ei[] = {\n1153:\t\t{\n1154:\t\t\t.data_type = QMI_STRUCT,\n1155:\t\t\t.elem_len = 1,\n1156:\t\t\t.elem_size = sizeof(struct qmi_response_type_v01),\n1157:\t\t\t.array_type = NO_ARRAY,\n1158:\t\t\t.tlv_type = 0x02,\n1159:\t\t\t.offset = offsetof(struct wlfw_msa_ready_resp_msg_v01,\n1160:\t\t\t\t\t\t resp),\n1161:\t\t\t.ei_array = qmi_response_type_v01_ei,\n1162:\t\t},\n1163:\t\t{}\n1164:\t};\n1165:\t\n1166:\tconst struct qmi_elem_info wlfw_ini_req_msg_v01_ei[] = {\n1167:\t\t{\n1168:\t\t\t.data_type = QMI_OPT_FLAG,\n1169:\t\t\t.elem_len = 1,\n1170:\t\t\t.elem_size = sizeof(u8),\n1171:\t\t\t.array_type = NO_ARRAY,\n1172:\t\t\t.tlv_type = 0x10,\n1173:\t\t\t.offset = offsetof(struct wlfw_ini_req_msg_v01,\n1174:\t\t\t\t\t\t enablefwlog_valid),\n1175:\t\t},\n1176:\t\t{\n1177:\t\t\t.data_type = QMI_UNSIGNED_1_BYTE,\n1178:\t\t\t.elem_len = 1,\n1179:\t\t\t.elem_size = sizeof(u8),\n1180:\t\t\t.array_type = NO_ARRAY,\n1181:\t\t\t.tlv_type = 0x10,\n1182:\t\t\t.offset = offsetof(struct wlfw_ini_req_msg_v01,\n1183:\t\t\t\t\t\t enablefwlog),\n1184:\t\t},\n1185:\t\t{}\n1186:\t};\n1187:\t\n1188:\tconst struct qmi_elem_info wlfw_ini_resp_msg_v01_ei[] = {\n1189:\t\t{\n1190:\t\t\t.data_type = QMI_STRUCT,\n1191:\t\t\t.elem_len = 1,\n1192:\t\t\t.elem_size = sizeof(struct qmi_response_type_v01),\n1193:\t\t\t.array_type = NO_ARRAY,\n1194:\t\t\t.tlv_type = 0x02,\n1195:\t\t\t.offset = offsetof(struct wlfw_ini_resp_msg_v01,\n1196:\t\t\t\t\t\t resp),\n1197:\t\t\t.ei_array = qmi_response_type_v01_ei,\n1198:\t\t},\n1199:\t\t{}\n1200:\t};\n1201:\t\n1202:\tconst struct qmi_elem_info wlfw_host_cap_req_msg_v01_ei[] = {\n1203:\t\t{\n1204:\t\t\t.data_type = QMI_OPT_FLAG,\n1205:\t\t\t.elem_len = 1,\n1206:\t\t\t.elem_size = sizeof(u8),\n1207:\t\t\t.array_type = NO_ARRAY,\n1208:\t\t\t.tlv_type = 0x10,\n1209:\t\t\t.offset = offsetof(struct wlfw_host_cap_req_msg_v01,\n"
} |
| 9/2 | 2026/10/30 02:35 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 27648 output: 53 thoughts: 23 Thoughts: Here's my analysis of what you're asking, delivered as a first-person summary, keeping your expertise in mind: **Examining the Terminal Section of `qmi_wlfw_v01.c`** Okay, so I'm focusing in on the end of `qmi_wlfw_v01.c`. My immediate thought is, "What's the intention behind this?" Is it a trailing comment block, a final function definition, some crucial error handling, or perhaps a section containing release notes or copyright information? Given the file's naming convention – `qmi_wlfw_v01.c` – I'm expecting something related to QMI (Qualcomm Message Interface) and likely, a Wi-Fi firmware component. This terminal section is potentially where this specific version's key behaviors are encapsulated. It's often where you find functions that are called, but not further down the file, which need to be called on termination. My hypothesis is that this is the area with the shutdown sequence, or last-minute setup and configuration. A quick scan will reveal its purpose and then I can deduce its overall importance in the source code. |
| 10/2 | 2026/10/30 02:35 | tool | read-file |
0mArgs:{
"File": "drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.c",
"FirstLine": 1460,
"LineCount": 50
}Results: {
"Contents": "1460:\t\t\t.data_type = QMI_UNSIGNED_1_BYTE,\n1461:\t\t\t.elem_len = 1,\n1462:\t\t\t.elem_size = sizeof(u8),\n1463:\t\t\t.array_type = NO_ARRAY,\n1464:\t\t\t.tlv_type = 0x10,\n1465:\t\t\t.offset = offsetof(struct wlfw_host_cap_req_msg_v01,\n1466:\t\t\t\t\t\t daemon_support),\n1467:\t\t},\n1468:\t\t{}\n1469:\t};\n1470:\t\n1471:\tconst struct qmi_elem_info wlfw_host_cap_resp_msg_v01_ei[] = {\n1472:\t\t{\n1473:\t\t\t.data_type = QMI_STRUCT,\n1474:\t\t\t.elem_len = 1,\n1475:\t\t\t.elem_size = sizeof(struct qmi_response_type_v01),\n1476:\t\t\t.array_type = NO_ARRAY,\n1477:\t\t\t.tlv_type = 0x02,\n1478:\t\t\t.offset = offsetof(struct wlfw_host_cap_resp_msg_v01,\n1479:\t\t\t\t\t\t resp),\n1480:\t\t\t.ei_array = qmi_response_type_v01_ei,\n1481:\t\t},\n1482:\t\t{}\n1483:\t};\n"
} |
| 11/2 | 2026/10/30 02:35 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 28381 output: 52 thoughts: 82 Thoughts: **Checking the ATH10K QMI Firmware Code** Okay, so I've hit the end of `drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.c` at line 1483. Before I move on, let me just quickly double-check something. It's always a good practice to confirm the header file. Specifically, I need to verify what's declared in `drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.h` around lines 430-450. I want to make sure I haven't missed anything obvious and that the definition matches my understanding. It’s better to be thorough at this point rather than debug later. |
| 12/2 | 2026/10/30 02:36 | tool | read-file |
0mArgs:{
"File": "drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.h",
"FirstLine": 430,
"LineCount": 25
}Results: {
"Contents": " 430:\t\tu8 mem_cfg_mode;\n 431:\t};\n 432:\t\n 433:\t#define WLFW_HOST_CAP_REQ_MSG_V01_MAX_MSG_LEN 189\n 434:\textern const struct qmi_elem_info wlfw_host_cap_req_msg_v01_ei[];\n 435:\textern const struct qmi_elem_info wlfw_host_cap_8bit_req_msg_v01_ei[];\n 436:\t\n 437:\tstruct wlfw_host_cap_resp_msg_v01 {\n 438:\t\tstruct qmi_response_type_v01 resp;\n 439:\t};\n 440:\t\n 441:\t#define WLFW_HOST_CAP_RESP_MSG_V01_MAX_MSG_LEN 7\n 442:\textern const struct qmi_elem_info wlfw_host_cap_resp_msg_v01_ei[];\n 443:\t\n 444:\t#endif\n"
} |
| 13/2 | 2026/10/30 02:36 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 28973 output: 83 thoughts: 614 Thoughts: **Analyzing the Patch: A Purge of Unused Elements** Okay, let's dissect this. First, I need to see what's been removed in this patch. Right, here's the list: a rather extensive collection of message structures and their associated elements, all seemingly prefixed with "wlfw_". Specifically, I'm seeing `wlfw_pin_connect_result_ind_msg_v01_ei`, `wlfw_initiate_cal_download_ind_msg_v01_ei`, and a whole host more. I'm noting a pattern of request, response, indication types, all seemingly related to calibration, diagnostics, battery voltage, MAC address retrieval, memory management, firmware initialization, rejuvenation, and dynamic feature masking, as well as M3 information, and XO calibration... a rather extensive suite of capabilities that are now, apparently, deprecated. However, a critical question immediately arises: *Is this a purely cosmetic cleanup, or does this removal impact actual functionality?* This is key, because deleting these declarations won't matter if they are never actually used. I need to determine if this is just an exercise in removing dead code or if it has some potential ramifications on the system. So, I need to check: Are any of these deleted symbols *referenced* anywhere else in the kernel? I need to check for calls to the qmi_elem_info declarations and structure instances. Are any of the structures used in a callback or other critical part of the core wireless stack? If there are no references, this is a very straightforward, beneficial cleanup operation - perhaps improving build times, code readability, and reducing the attack surface. If there are, I need to understand why these symbols were removed in the first place, and where the function of this code has moved to. |
| 14/2 | 2026/10/30 02:36 | tool | grepper |
0mArgs:{
"Expression": "wlfw_(pin_connect_result|initiate_cal|cal_download|cal_update|athdiag|vbatt|mac_addr|request_mem|respond_mem|mem_ready|fw_init_done|rejuvenate|dynamic_feature_mask|m3_info|xo_cal)"
}Results: {
"Output": "drivers/net/wireless/ath/ath11k/qmi.c=1683=static const struct qmi_elem_info qmi_wlanfw_wlan_ini_resp_msg_v01_ei[] = {\n--\ndrivers/net/wireless/ath/ath11k/qmi.c-1700-\ndrivers/net/wireless/ath/ath11k/qmi.c:1701:static const struct qmi_elem_info qmi_wlfw_fw_init_done_ind_msg_v01_ei[] = {\ndrivers/net/wireless/ath/ath11k/qmi.c-1702-\t{\n--\ndrivers/net/wireless/ath/ath11k/qmi.c=3124=static const struct qmi_msg_handler ath11k_qmi_msg_handlers[] = {\n--\ndrivers/net/wireless/ath/ath11k/qmi.c-3156-\t\t.msg_id = QMI_WLFW_FW_INIT_DONE_IND_V01,\ndrivers/net/wireless/ath/ath11k/qmi.c:3157:\t\t.ei = qmi_wlfw_fw_init_done_ind_msg_v01_ei,\ndrivers/net/wireless/ath/ath11k/qmi.c-3158-\t\t.decoded_size =\ndrivers/net/wireless/ath/ath11k/qmi.c:3159:\t\t\tsizeof(struct qmi_wlfw_fw_init_done_ind_msg_v01),\ndrivers/net/wireless/ath/ath11k/qmi.c-3160-\t\t.fn = ath11k_qmi_msg_fw_init_done_cb,\n--\ndrivers/net/wireless/ath/ath11k/qmi.h=295=struct qmi_wlanfw_fw_cold_cal_done_ind_msg_v01 {\n--\ndrivers/net/wireless/ath/ath11k/qmi.h-298-\ndrivers/net/wireless/ath/ath11k/qmi.h:299:struct qmi_wlfw_fw_init_done_ind_msg_v01 {\ndrivers/net/wireless/ath/ath11k/qmi.h-300-\tchar placeholder;\n"
} |
| 15/2 | 2026/10/30 02:36 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 30643 output: 40 thoughts: 88 Thoughts: Okay, let me think this through. **Investigating Potential Driver Conflicts** Alright, I see this `qmi_wlfw_...` prefix cropping up in `ath11k` and my initial thought is, "Hmm, is this related to something we had in `ath10k`?" I need to quickly determine if there's any overlap or if something was removed and reimplemented in a different place. So, I need to check the `ath10k` directory at `drivers/net/wireless/ath/ath10k/`, because that's where I expect relevant code for that module might be. I'll search for any deleted symbols... nope. Nothing. That's good; it means nothing was obviously dropped there. But wait, hold on. Let's not jump to conclusions. It’s possible a function might have been renamed or refactored. Let me specifically check for `wlfw_pin_connect`, just in case. I want to be *sure* I haven't missed a refactored function with the same basic function. |
| 16/2 | 2026/10/30 02:36 | tool | grepper |
0mArgs:{
"Expression": "wlfw_pin_connect",
"PathPrefixes": [
"drivers/net/wireless/ath/ath10k/"
]
}Results: {
"Output": "no matches"
} |
| 17/2 | 2026/10/30 02:36 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 31016 output: 39 thoughts: 17 Thoughts: Okay, here's my take on those thoughts, tailored for an expert audience, presented in the first person: **Diving into `wlfw_athdiag` within the ath10k framework** Alright, so the first thing that pops into my head is, "Let's dig into `wlfw_athdiag` and see what's going on." I immediately associate it with the ath10k driver, so I'm thinking specifically about that context. I need to refresh my memory on what that particular diagnostic feature provides. Is it firmware logging? Radio state information? Debugging parameters? I know ath10k has evolved, so I’m wondering if this is the original implementation or if it’s been refactored or extended recently. My initial thought is to quickly assess its current status and functionality. I’ll need to check the code to see if there are any changes or additions to this diagnostic command and compare it to previous versions. Then, I will focus on understanding how it handles potential errors and if it offers enough information to diagnose potential issues. The main thought is always to understand its role within the wider debug and support ecosystem for the ath10k driver, particularly if I am trying to resolve an issue with connectivity or throughput. |
| 18/2 | 2026/10/30 02:36 | tool | grepper |
0mArgs:{
"Expression": "wlfw_athdiag",
"PathPrefixes": [
"drivers/net/wireless/ath/ath10k/"
]
}Results: {
"Output": "no matches"
} |
| 19/2 | 2026/10/30 02:36 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 31349 output: 53 thoughts: 183 Thoughts: **Analyzing a QMI Element in a Driver Change** Okay, so I'm looking at this diff and the first thing that jumps out is the potential modification to `wlfw_host_cap_req_msg_v01_ei`. My initial instinct is to see if there are any real changes, or if it's just a line shift. Sometimes this happens during reformatting or minor code adjustments, and it would be a waste of time to look further if that's all that's happened. Let me quickly scan the lines around the declaration of `wlfw_host_cap_req_msg_v01_ei` within the `drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.c` file. I need to quickly ascertain if the struct itself has been modified. Is it merely a relocation, or are there actual element changes within the struct definition? |
| 20/2 | 2026/10/30 02:36 | tool | read-file |
0mArgs:{
"File": "drivers/net/wireless/ath/ath10k/qmi_wlfw_v01.c",
"FirstLine": 1200,
"LineCount": 80
}Results: {
"Contents": "1200:\t};\n1201:\t\n1202:\tconst struct qmi_elem_info wlfw_host_cap_req_msg_v01_ei[] = {\n1203:\t\t{\n1204:\t\t\t.data_type = QMI_OPT_FLAG,\n1205:\t\t\t.elem_len = 1,\n1206:\t\t\t.elem_size = sizeof(u8),\n1207:\t\t\t.array_type = NO_ARRAY,\n1208:\t\t\t.tlv_type = 0x10,\n1209:\t\t\t.offset = offsetof(struct wlfw_host_cap_req_msg_v01,\n1210:\t\t\t\t\t\t daemon_support_valid),\n1211:\t\t},\n1212:\t\t{\n1213:\t\t\t.data_type = QMI_UNSIGNED_4_BYTE,\n1214:\t\t\t.elem_len = 1,\n1215:\t\t\t.elem_size = sizeof(u32),\n1216:\t\t\t.array_type = NO_ARRAY,\n1217:\t\t\t.tlv_type = 0x10,\n1218:\t\t\t.offset = offsetof(struct wlfw_host_cap_req_msg_v01,\n1219:\t\t\t\t\t\t daemon_support),\n1220:\t\t},\n1221:\t\t{\n1222:\t\t\t.data_type = QMI_OPT_FLAG,\n1223:\t\t\t.elem_len = 1,\n1224:\t\t\t.elem_size = sizeof(u8),\n1225:\t\t\t.array_type = NO_ARRAY,\n1226:\t\t\t.tlv_type = 0x11,\n1227:\t\t\t.offset = offsetof(struct wlfw_host_cap_req_msg_v01,\n1228:\t\t\t\t\t\t wake_msi_valid),\n1229:\t\t},\n1230:\t\t{\n1231:\t\t\t.data_type = QMI_UNSIGNED_4_BYTE,\n1232:\t\t\t.elem_len = 1,\n1233:\t\t\t.elem_size = sizeof(u32),\n1234:\t\t\t.array_type = NO_ARRAY,\n1235:\t\t\t.tlv_type = 0x11,\n1236:\t\t\t.offset = offsetof(struct wlfw_host_cap_req_msg_v01,\n1237:\t\t\t\t\t\t wake_msi),\n1238:\t\t},\n1239:\t\t{\n1240:\t\t\t.data_type = QMI_OPT_FLAG,\n1241:\t\t\t.elem_len = 1,\n1242:\t\t\t.elem_size = sizeof(u8),\n1243:\t\t\t.array_type = NO_ARRAY,\n1244:\t\t\t.tlv_type = 0x12,\n1245:\t\t\t.offset = offsetof(struct wlfw_host_cap_req_msg_v01,\n1246:\t\t\t\t\t\t gpios_valid),\n1247:\t\t},\n1248:\t\t{\n1249:\t\t\t.data_type = QMI_DATA_LEN,\n1250:\t\t\t.elem_len = 1,\n1251:\t\t\t.elem_size = sizeof(u32),\n1252:\t\t\t.array_type = NO_ARRAY,\n1253:\t\t\t.tlv_type = 0x12,\n1254:\t\t\t.offset = offsetof(struct wlfw_host_cap_req_msg_v01,\n1255:\t\t\t\t\t\t gpios_len),\n1256:\t\t},\n1257:\t\t{\n1258:\t\t\t.data_type = QMI_UNSIGNED_4_BYTE,\n1259:\t\t\t.elem_len = QMI_WLFW_MAX_NUM_GPIO_V01,\n1260:\t\t\t.elem_size = sizeof(u32),\n1261:\t\t\t.array_type = VAR_LEN_ARRAY,\n1262:\t\t\t.tlv_type = 0x12,\n1263:\t\t\t.offset = offsetof(struct wlfw_host_cap_req_msg_v01,\n1264:\t\t\t\t\t\t gpios),\n1265:\t\t},\n1266:\t\t{\n1267:\t\t\t.data_type = QMI_OPT_FLAG,\n1268:\t\t\t.elem_len = 1,\n1269:\t\t\t.elem_size = sizeof(u8),\n1270:\t\t\t.array_type = NO_ARRAY,\n1271:\t\t\t.tlv_type = 0x13,\n1272:\t\t\t.offset = offsetof(struct wlfw_host_cap_req_msg_v01,\n1273:\t\t\t\t\t\t nm_modem_valid),\n1274:\t\t},\n1275:\t\t{\n1276:\t\t\t.data_type = QMI_UNSIGNED_1_BYTE,\n1277:\t\t\t.elem_len = 1,\n1278:\t\t\t.elem_size = sizeof(u8),\n1279:\t\t\t.array_type = NO_ARRAY,\n"
} |
| 21/2 | 2026/10/30 02:36 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 33152 output: 30 thoughts: 3466 Thoughts: **Code Removal Analysis: Unused QMI Code in ath10k** Okay, here's the breakdown of my thought process. I'm looking at a diff that seems to involve significant code removal, specifically within the `ath10k` driver. The initial clue is the git diff alignment - it looks like blocks of code are being removed, but git's diff algorithm is aligning deleted sections with existing sections, which makes it look more complicated than it is. My first instinct is to dig into lines 1200-1280 to understand what's happening and figure out what is being deleted and what is being kept. The diff clearly shows the removal of a bunch of `qmi_elem_info` structures related to various `wlfw_*` message types: `cal_update`, `download`, `vbatt`, `mac_addr`, `athdiag` and more. My first concern is to make sure nothing essential is being removed. I carefully check the sections of `wlfw_host_cap_req_msg_v01_ei` that *were* kept to make sure they are still the same. The order of `wlfw_*` elements before and after the change is suspicious: it seems like a big chunk of code is being removed. This causes me to suspect a large deletion of unused code. I systematically trace the order of elements before and after the patch, making sure to track the deleted and kept code blocks. Then, I start to suspect that *all* of the changes are just the removal of dead code. I meticulously go through the diff and confirm that the kept parts of the code (`wlfw_msa_info`, `wlfw_ini`, `wlfw_host_cap`) are, in fact, identical before and after. The diff is just showing the deleted code because the kept code moved up. I also confirm this by looking at `qmi_wlfw_v01.h`, to ensure all the relevant data structures were removed from the header file, and make sure that any *data structures* were also deleted and not just the QMI element information. Given that everything seems to be deleted code, I need to evaluate *why* it's being deleted. I start to think about the reachability of this code. Is it possible this code is no longer used, or has it been moved to another location? Is there any chance it's used in some other part of the system? My primary concern is whether this removal affects code that is actually *reachable* during normal operation. My expertise in this area is what matters, here. I remember that ath10k requires specific Qualcomm Atheros hardware, and that it relies on QMI, and that this code is specifically QMI. The driver, itself, is not emulated in standard QEMU or GCE and has its own QMI implementation. The documentation's "reachability" section indicates that unreachable code *should not* be fuzzed, so I need to check the hardware and software context. I make sure to search the code base for any usage of those struct names, in case they are actually still needed somewhere. I do a grep for all the removed symbols, to ensure they're not referenced anywhere else in the code base *before* the patch. I check Section 2 of the directions, which says that *Structurally unreachable hardware* is a negative criterion. I check that ath10k itself is, in fact, not emulated. It also seems that the ath10k driver supports PCI/SDIO/AHB/SNOC and *does* use QMI. I consult Section 1 and Section 3 of the directions, which state that if the modified code is structurally unreachable, it MUST NOT be fuzzed. In summary, my expert analysis concludes this change strictly involves deleting unreachable code. Given the ath10k's hardware dependence, and the absence of any references to the deleted code, I am confident that these removals represent safe, non-functional changes and that no further fuzzing is required. |
| 22/2 | 2026/10/30 02:37 | tool | codesearch-dir-index |
0mArgs:{
"Dir": "drivers/net/wireless/ath/ath10k"
}Results: {
"Files": [
"ahb.c",
"ahb.h",
"bmi.c",
"bmi.h",
"ce.c",
"ce.h",
"core.c",
"core.h",
"coredump.c",
"coredump.h",
"debug.c",
"debug.h",
"debugfs_sta.c",
"hif.h",
"htc.c",
"htc.h",
"htt.c",
"htt.h",
"htt_rx.c",
"htt_tx.c",
"hw.c",
"hw.h",
"leds.c",
"leds.h",
"mac.c",
"mac.h",
"p2p.c",
"p2p.h",
"pci.c",
"pci.h",
"qmi.c",
"qmi.h",
"qmi_wlfw_v01.c",
"qmi_wlfw_v01.h",
"rx_desc.h",
"sdio.c",
"sdio.h",
"snoc.c",
"snoc.h",
"spectral.c",
"spectral.h",
"swap.c",
"swap.h",
"targaddrs.h",
"testmode.c",
"testmode.h",
"testmode_i.h",
"thermal.c",
"thermal.h",
"trace.c",
"trace.h",
"txrx.c",
"txrx.h",
"usb.c",
"usb.h",
"wmi-ops.h",
"wmi-tlv.c",
"wmi-tlv.h",
"wmi.c",
"wmi.h",
"wow.c",
"wow.h"
],
"Subdirs": null
} |
| 23/2 | 2026/10/30 02:37 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 37960 output: 41 thoughts: 72 Thoughts: Here's my take on those files: **Code Base Quick Assessment** Alright, let's take a quick scan of this directory. I see `usb.c`, `snoc.c`, and `qmi.c`... Interesting mix. My immediate thought is, how are these modules related? Specifically, I'm already trying to figure out the dependencies on `qmi.c`. Does the QMI (Qualcomm MSM Interface) driver have dependencies on the USB or SNOC (System Network On a Chip) subsystems? Or is it related to something entirely different like PCI? Time to look into the includes, cross-references, and build system to clarify the inter-module relationships here. Let's see who's calling `qmi.c` or perhaps `qmi_wlfw_v01.c` specifically. |
| 24/2 | 2026/10/30 02:37 | tool | grepper |
0mArgs:{
"Expression": "ath10k_qmi",
"PathPrefixes": [
"drivers/net/wireless/ath/ath10k/"
]
}Results: {
"Output": "\nFull output is too long, showing 200 out of 398 lines.\nUse more precise expression or PathPrefixes if possible.\n\nNumber of matching lines per file (4 files in total):\ndrivers/net/wireless/ath/ath10k/qmi.c:82\ndrivers/net/wireless/ath/ath10k/qmi.h:21\ndrivers/net/wireless/ath/ath10k/snoc.c:7\ndrivers/net/wireless/ath/ath10k/snoc.h:1\n\ndrivers/net/wireless/ath/ath10k/qmi.c-31-\ndrivers/net/wireless/ath/ath10k/qmi.c:32:static int ath10k_qmi_map_msa_permission(struct ath10k_qmi *qmi,\ndrivers/net/wireless/ath/ath10k/qmi.c-33-\t\t\t\t\t struct ath10k_msa_mem_info *mem_info)\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-63-\ndrivers/net/wireless/ath/ath10k/qmi.c:64:static int ath10k_qmi_unmap_msa_permission(struct ath10k_qmi *qmi,\ndrivers/net/wireless/ath/ath10k/qmi.c-65-\t\t\t\t\t struct ath10k_msa_mem_info *mem_info)\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-87-\ndrivers/net/wireless/ath/ath10k/qmi.c:88:static int ath10k_qmi_setup_msa_permissions(struct ath10k_qmi *qmi)\ndrivers/net/wireless/ath/ath10k/qmi.c-89-{\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-96-\tfor (i = 0; i \u003c qmi-\u003enr_mem_region; i++) {\ndrivers/net/wireless/ath/ath10k/qmi.c:97:\t\tret = ath10k_qmi_map_msa_permission(qmi, \u0026qmi-\u003emem_region[i]);\ndrivers/net/wireless/ath/ath10k/qmi.c-98-\t\tif (ret)\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-105-\tfor (i--; i \u003e= 0; i--)\ndrivers/net/wireless/ath/ath10k/qmi.c:106:\t\tath10k_qmi_unmap_msa_permission(qmi, \u0026qmi-\u003emem_region[i]);\ndrivers/net/wireless/ath/ath10k/qmi.c-107-\treturn ret;\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-109-\ndrivers/net/wireless/ath/ath10k/qmi.c:110:static void ath10k_qmi_remove_msa_permission(struct ath10k_qmi *qmi)\ndrivers/net/wireless/ath/ath10k/qmi.c-111-{\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-117-\tfor (i = 0; i \u003c qmi-\u003enr_mem_region; i++)\ndrivers/net/wireless/ath/ath10k/qmi.c:118:\t\tath10k_qmi_unmap_msa_permission(qmi, \u0026qmi-\u003emem_region[i]);\ndrivers/net/wireless/ath/ath10k/qmi.c-119-}\ndrivers/net/wireless/ath/ath10k/qmi.c-120-\ndrivers/net/wireless/ath/ath10k/qmi.c:121:static int ath10k_qmi_msa_mem_info_send_sync_msg(struct ath10k_qmi *qmi)\ndrivers/net/wireless/ath/ath10k/qmi.c-122-{\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-198-\ndrivers/net/wireless/ath/ath10k/qmi.c:199:static int ath10k_qmi_msa_ready_send_sync_msg(struct ath10k_qmi *qmi)\ndrivers/net/wireless/ath/ath10k/qmi.c-200-{\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-237-\ndrivers/net/wireless/ath/ath10k/qmi.c:238:static int ath10k_qmi_bdf_dnld_send_sync(struct ath10k_qmi *qmi)\ndrivers/net/wireless/ath/ath10k/qmi.c-239-{\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-323-\ndrivers/net/wireless/ath/ath10k/qmi.c:324:static int ath10k_qmi_send_cal_report_req(struct ath10k_qmi *qmi)\ndrivers/net/wireless/ath/ath10k/qmi.c-325-{\n--\ndrivers/net/wireless/ath/ath10k/qmi.c=380=static int\ndrivers/net/wireless/ath/ath10k/qmi.c:381:ath10k_qmi_mode_send_sync_msg(struct ath10k *ar, enum wlfw_driver_mode_enum_v01 mode)\ndrivers/net/wireless/ath/ath10k/qmi.c-382-{\ndrivers/net/wireless/ath/ath10k/qmi.c-383-\tstruct ath10k_snoc *ar_snoc = ath10k_snoc_priv(ar);\ndrivers/net/wireless/ath/ath10k/qmi.c:384:\tstruct ath10k_qmi *qmi = ar_snoc-\u003eqmi;\ndrivers/net/wireless/ath/ath10k/qmi.c-385-\tstruct wlfw_wlan_mode_resp_msg_v01 resp = {};\n--\ndrivers/net/wireless/ath/ath10k/qmi.c=427=static int\ndrivers/net/wireless/ath/ath10k/qmi.c:428:ath10k_qmi_cfg_send_sync_msg(struct ath10k *ar,\ndrivers/net/wireless/ath/ath10k/qmi.c:429:\t\t\t struct ath10k_qmi_wlan_enable_cfg *config,\ndrivers/net/wireless/ath/ath10k/qmi.c-430-\t\t\t const char *version)\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-432-\tstruct ath10k_snoc *ar_snoc = ath10k_snoc_priv(ar);\ndrivers/net/wireless/ath/ath10k/qmi.c:433:\tstruct ath10k_qmi *qmi = ar_snoc-\u003eqmi;\ndrivers/net/wireless/ath/ath10k/qmi.c-434-\tstruct wlfw_wlan_cfg_resp_msg_v01 resp = {};\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-514-\ndrivers/net/wireless/ath/ath10k/qmi.c:515:int ath10k_qmi_wlan_enable(struct ath10k *ar,\ndrivers/net/wireless/ath/ath10k/qmi.c:516:\t\t\t struct ath10k_qmi_wlan_enable_cfg *config,\ndrivers/net/wireless/ath/ath10k/qmi.c-517-\t\t\t enum wlfw_driver_mode_enum_v01 mode,\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-524-\ndrivers/net/wireless/ath/ath10k/qmi.c:525:\tret = ath10k_qmi_cfg_send_sync_msg(ar, config, version);\ndrivers/net/wireless/ath/ath10k/qmi.c-526-\tif (ret) {\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-530-\ndrivers/net/wireless/ath/ath10k/qmi.c:531:\tret = ath10k_qmi_mode_send_sync_msg(ar, mode);\ndrivers/net/wireless/ath/ath10k/qmi.c-532-\tif (ret) {\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-539-\ndrivers/net/wireless/ath/ath10k/qmi.c:540:int ath10k_qmi_wlan_disable(struct ath10k *ar)\ndrivers/net/wireless/ath/ath10k/qmi.c-541-{\ndrivers/net/wireless/ath/ath10k/qmi.c:542:\treturn ath10k_qmi_mode_send_sync_msg(ar, QMI_WLFW_OFF_V01);\ndrivers/net/wireless/ath/ath10k/qmi.c-543-}\ndrivers/net/wireless/ath/ath10k/qmi.c-544-\ndrivers/net/wireless/ath/ath10k/qmi.c:545:static void ath10k_qmi_add_wlan_ver_smem(struct ath10k *ar, const char *fw_build_id)\ndrivers/net/wireless/ath/ath10k/qmi.c-546-{\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-571-\ndrivers/net/wireless/ath/ath10k/qmi.c:572:static int ath10k_qmi_cap_send_sync_msg(struct ath10k_qmi *qmi)\ndrivers/net/wireless/ath/ath10k/qmi.c-573-{\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-642-\tif (resp-\u003efw_build_id_valid)\ndrivers/net/wireless/ath/ath10k/qmi.c:643:\t\tath10k_qmi_add_wlan_ver_smem(ar, qmi-\u003efw_build_id);\ndrivers/net/wireless/ath/ath10k/qmi.c-644-\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-652-\ndrivers/net/wireless/ath/ath10k/qmi.c:653:static int ath10k_qmi_host_cap_send_sync(struct ath10k_qmi *qmi)\ndrivers/net/wireless/ath/ath10k/qmi.c-654-{\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-704-\ndrivers/net/wireless/ath/ath10k/qmi.c:705:int ath10k_qmi_set_fw_log_mode(struct ath10k *ar, u8 fw_log_mode)\ndrivers/net/wireless/ath/ath10k/qmi.c-706-{\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-708-\tstruct wlfw_ini_resp_msg_v01 resp = {};\ndrivers/net/wireless/ath/ath10k/qmi.c:709:\tstruct ath10k_qmi *qmi = ar_snoc-\u003eqmi;\ndrivers/net/wireless/ath/ath10k/qmi.c-710-\tstruct wlfw_ini_req_msg_v01 req = {};\n--\ndrivers/net/wireless/ath/ath10k/qmi.c=750=static int\ndrivers/net/wireless/ath/ath10k/qmi.c:751:ath10k_qmi_ind_register_send_sync_msg(struct ath10k_qmi *qmi)\ndrivers/net/wireless/ath/ath10k/qmi.c-752-{\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-807-\ndrivers/net/wireless/ath/ath10k/qmi.c:808:static void ath10k_qmi_event_server_arrive(struct ath10k_qmi *qmi)\ndrivers/net/wireless/ath/ath10k/qmi.c-809-{\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-813-\ndrivers/net/wireless/ath/ath10k/qmi.c:814:\tret = ath10k_qmi_ind_register_send_sync_msg(qmi);\ndrivers/net/wireless/ath/ath10k/qmi.c-815-\tif (ret)\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-827-\tif (!test_bit(ATH10K_SNOC_FLAG_SKIP_HOST_CAP_QUIRK, \u0026ar_snoc-\u003eflags)) {\ndrivers/net/wireless/ath/ath10k/qmi.c:828:\t\tret = ath10k_qmi_host_cap_send_sync(qmi);\ndrivers/net/wireless/ath/ath10k/qmi.c-829-\t\tif (ret)\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-832-\ndrivers/net/wireless/ath/ath10k/qmi.c:833:\tret = ath10k_qmi_msa_mem_info_send_sync_msg(qmi);\ndrivers/net/wireless/ath/ath10k/qmi.c-834-\tif (ret)\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-843-\ndrivers/net/wireless/ath/ath10k/qmi.c:844:\tret = ath10k_qmi_setup_msa_permissions(qmi);\ndrivers/net/wireless/ath/ath10k/qmi.c-845-\tif (ret)\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-847-\ndrivers/net/wireless/ath/ath10k/qmi.c:848:\tret = ath10k_qmi_msa_ready_send_sync_msg(qmi);\ndrivers/net/wireless/ath/ath10k/qmi.c-849-\tif (ret)\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-851-\ndrivers/net/wireless/ath/ath10k/qmi.c:852:\tret = ath10k_qmi_cap_send_sync_msg(qmi);\ndrivers/net/wireless/ath/ath10k/qmi.c-853-\tif (ret)\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-858-err_setup_msa:\ndrivers/net/wireless/ath/ath10k/qmi.c:859:\tath10k_qmi_remove_msa_permission(qmi);\ndrivers/net/wireless/ath/ath10k/qmi.c-860-}\ndrivers/net/wireless/ath/ath10k/qmi.c-861-\ndrivers/net/wireless/ath/ath10k/qmi.c:862:static int ath10k_qmi_fetch_board_file(struct ath10k_qmi *qmi)\ndrivers/net/wireless/ath/ath10k/qmi.c-863-{\n--\ndrivers/net/wireless/ath/ath10k/qmi.c=880=static int\ndrivers/net/wireless/ath/ath10k/qmi.c:881:ath10k_qmi_driver_event_post(struct ath10k_qmi *qmi,\ndrivers/net/wireless/ath/ath10k/qmi.c:882:\t\t\t enum ath10k_qmi_driver_event_type type,\ndrivers/net/wireless/ath/ath10k/qmi.c-883-\t\t\t void *data)\ndrivers/net/wireless/ath/ath10k/qmi.c-884-{\ndrivers/net/wireless/ath/ath10k/qmi.c:885:\tstruct ath10k_qmi_driver_event *event;\ndrivers/net/wireless/ath/ath10k/qmi.c-886-\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-902-\ndrivers/net/wireless/ath/ath10k/qmi.c:903:static void ath10k_qmi_event_server_exit(struct ath10k_qmi *qmi)\ndrivers/net/wireless/ath/ath10k/qmi.c-904-{\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-907-\ndrivers/net/wireless/ath/ath10k/qmi.c:908:\tath10k_qmi_remove_msa_permission(qmi);\ndrivers/net/wireless/ath/ath10k/qmi.c-909-\tath10k_core_free_board_files(ar);\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-917-\ndrivers/net/wireless/ath/ath10k/qmi.c:918:static void ath10k_qmi_event_msa_ready(struct ath10k_qmi *qmi)\ndrivers/net/wireless/ath/ath10k/qmi.c-919-{\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-921-\ndrivers/net/wireless/ath/ath10k/qmi.c:922:\tret = ath10k_qmi_fetch_board_file(qmi);\ndrivers/net/wireless/ath/ath10k/qmi.c-923-\tif (ret)\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-925-\ndrivers/net/wireless/ath/ath10k/qmi.c:926:\tret = ath10k_qmi_bdf_dnld_send_sync(qmi);\ndrivers/net/wireless/ath/ath10k/qmi.c-927-\tif (ret)\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-929-\ndrivers/net/wireless/ath/ath10k/qmi.c:930:\tret = ath10k_qmi_send_cal_report_req(qmi);\ndrivers/net/wireless/ath/ath10k/qmi.c-931-\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-935-\ndrivers/net/wireless/ath/ath10k/qmi.c:936:static int ath10k_qmi_event_fw_ready_ind(struct ath10k_qmi *qmi)\ndrivers/net/wireless/ath/ath10k/qmi.c-937-{\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-945-\ndrivers/net/wireless/ath/ath10k/qmi.c:946:static void ath10k_qmi_fw_ready_ind(struct qmi_handle *qmi_hdl,\ndrivers/net/wireless/ath/ath10k/qmi.c-947-\t\t\t\t struct sockaddr_qrtr *sq,\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-949-{\ndrivers/net/wireless/ath/ath10k/qmi.c:950:\tstruct ath10k_qmi *qmi = container_of(qmi_hdl, struct ath10k_qmi, qmi_hdl);\ndrivers/net/wireless/ath/ath10k/qmi.c-951-\ndrivers/net/wireless/ath/ath10k/qmi.c:952:\tath10k_qmi_driver_event_post(qmi, ATH10K_QMI_EVENT_FW_READY_IND, NULL);\ndrivers/net/wireless/ath/ath10k/qmi.c-953-}\ndrivers/net/wireless/ath/ath10k/qmi.c-954-\ndrivers/net/wireless/ath/ath10k/qmi.c:955:static void ath10k_qmi_msa_ready_ind(struct qmi_handle *qmi_hdl,\ndrivers/net/wireless/ath/ath10k/qmi.c-956-\t\t\t\t struct sockaddr_qrtr *sq,\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-958-{\ndrivers/net/wireless/ath/ath10k/qmi.c:959:\tstruct ath10k_qmi *qmi = container_of(qmi_hdl, struct ath10k_qmi, qmi_hdl);\ndrivers/net/wireless/ath/ath10k/qmi.c-960-\ndrivers/net/wireless/ath/ath10k/qmi.c:961:\tath10k_qmi_driver_event_post(qmi, ATH10K_QMI_EVENT_MSA_READY_IND, NULL);\ndrivers/net/wireless/ath/ath10k/qmi.c-962-}\n--\ndrivers/net/wireless/ath/ath10k/qmi.c=964=static const struct qmi_msg_handler qmi_msg_handler[] = {\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-969-\t\t.decoded_size = sizeof(struct wlfw_fw_ready_ind_msg_v01),\ndrivers/net/wireless/ath/ath10k/qmi.c:970:\t\t.fn = ath10k_qmi_fw_ready_ind,\ndrivers/net/wireless/ath/ath10k/qmi.c-971-\t},\n\n"
} |
| 25/2 | 2026/10/30 02:37 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 44020 output: 41 thoughts: 121 Thoughts: Okay, here's my take on those thoughts, framed as an expert's internal monologue: **Investigating the `qmi.c` dependency in the SNOC driver** Interesting. `qmi.c` appears to be exclusively coupled to `snoc.c` – that's the System Network-on-Chip bus interface for Qualcomm devices, especially those using the WCN3990 on Qualcomm SoCs. I suspected as much, but it's always worth a quick sanity check. Let me confirm that assumption quickly: Yep, just confirming that within `drivers/net/wireless/ath/ath10k/snoc.c`, I see `ar_snoc->qmi = ...`, which confirms that the SNOC driver is indeed the consumer. Now, just to be thorough and see if there are any subtle uses, let's just make certain by checking for anything referencing `ATH10K_SNOC` or `ath10k_snoc` within the ath10k codebase. I doubt it, but it's a fast grep and it'll give me peace of mind. |
| 26/2 | 2026/10/30 02:37 | tool | grepper |
0mArgs:{
"Expression": "ath10k_snoc",
"PathPrefixes": [
"drivers/net/wireless/ath/ath10k/"
]
}Results: {
"Output": "\nFull output is too long, showing 200 out of 663 lines.\nUse more precise expression or PathPrefixes if possible.\n\nNumber of matching lines per file (4 files in total):\ndrivers/net/wireless/ath/ath10k/Makefile:2\ndrivers/net/wireless/ath/ath10k/qmi.c:15\ndrivers/net/wireless/ath/ath10k/snoc.c:174\ndrivers/net/wireless/ath/ath10k/snoc.h:14\n\ndrivers/net/wireless/ath/ath10k/Makefile=37=ath10k_usb-y += usb.o\ndrivers/net/wireless/ath/ath10k/Makefile-38-\ndrivers/net/wireless/ath/ath10k/Makefile:39:obj-$(CONFIG_ATH10K_SNOC) += ath10k_snoc.o\ndrivers/net/wireless/ath/ath10k/Makefile:40:ath10k_snoc-y += qmi.o \\\ndrivers/net/wireless/ath/ath10k/Makefile-41-\t\t qmi_wlfw_v01.o \\\n--\ndrivers/net/wireless/ath/ath10k/qmi.c=324=static int ath10k_qmi_send_cal_report_req(struct ath10k_qmi *qmi)\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-328-\tstruct ath10k *ar = qmi-\u003ear;\ndrivers/net/wireless/ath/ath10k/qmi.c:329:\tstruct ath10k_snoc *ar_snoc = ath10k_snoc_priv(ar);\ndrivers/net/wireless/ath/ath10k/qmi.c-330-\tstruct qmi_txn txn;\n--\ndrivers/net/wireless/ath/ath10k/qmi.c=381=ath10k_qmi_mode_send_sync_msg(struct ath10k *ar, enum wlfw_driver_mode_enum_v01 mode)\ndrivers/net/wireless/ath/ath10k/qmi.c-382-{\ndrivers/net/wireless/ath/ath10k/qmi.c:383:\tstruct ath10k_snoc *ar_snoc = ath10k_snoc_priv(ar);\ndrivers/net/wireless/ath/ath10k/qmi.c-384-\tstruct ath10k_qmi *qmi = ar_snoc-\u003eqmi;\n--\ndrivers/net/wireless/ath/ath10k/qmi.c=428=ath10k_qmi_cfg_send_sync_msg(struct ath10k *ar,\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-431-{\ndrivers/net/wireless/ath/ath10k/qmi.c:432:\tstruct ath10k_snoc *ar_snoc = ath10k_snoc_priv(ar);\ndrivers/net/wireless/ath/ath10k/qmi.c-433-\tstruct ath10k_qmi *qmi = ar_snoc-\u003eqmi;\n--\ndrivers/net/wireless/ath/ath10k/qmi.c=572=static int ath10k_qmi_cap_send_sync_msg(struct ath10k_qmi *qmi)\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-576-\tstruct ath10k *ar = qmi-\u003ear;\ndrivers/net/wireless/ath/ath10k/qmi.c:577:\tstruct ath10k_snoc *ar_snoc = ath10k_snoc_priv(ar);\ndrivers/net/wireless/ath/ath10k/qmi.c-578-\tstruct qmi_txn txn;\n--\ndrivers/net/wireless/ath/ath10k/qmi.c=653=static int ath10k_qmi_host_cap_send_sync(struct ath10k_qmi *qmi)\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-658-\tstruct ath10k *ar = qmi-\u003ear;\ndrivers/net/wireless/ath/ath10k/qmi.c:659:\tstruct ath10k_snoc *ar_snoc = ath10k_snoc_priv(ar);\ndrivers/net/wireless/ath/ath10k/qmi.c-660-\tstruct qmi_txn txn;\n--\ndrivers/net/wireless/ath/ath10k/qmi.c=705=int ath10k_qmi_set_fw_log_mode(struct ath10k *ar, u8 fw_log_mode)\ndrivers/net/wireless/ath/ath10k/qmi.c-706-{\ndrivers/net/wireless/ath/ath10k/qmi.c:707:\tstruct ath10k_snoc *ar_snoc = ath10k_snoc_priv(ar);\ndrivers/net/wireless/ath/ath10k/qmi.c-708-\tstruct wlfw_ini_resp_msg_v01 resp = {};\n--\ndrivers/net/wireless/ath/ath10k/qmi.c=751=ath10k_qmi_ind_register_send_sync_msg(struct ath10k_qmi *qmi)\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-755-\tstruct ath10k *ar = qmi-\u003ear;\ndrivers/net/wireless/ath/ath10k/qmi.c:756:\tstruct ath10k_snoc *ar_snoc = ath10k_snoc_priv(ar);\ndrivers/net/wireless/ath/ath10k/qmi.c-757-\tstruct qmi_txn txn;\n--\ndrivers/net/wireless/ath/ath10k/qmi.c=808=static void ath10k_qmi_event_server_arrive(struct ath10k_qmi *qmi)\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-810-\tstruct ath10k *ar = qmi-\u003ear;\ndrivers/net/wireless/ath/ath10k/qmi.c:811:\tstruct ath10k_snoc *ar_snoc = ath10k_snoc_priv(ar);\ndrivers/net/wireless/ath/ath10k/qmi.c-812-\tint ret;\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-818-\tif (qmi-\u003efw_ready) {\ndrivers/net/wireless/ath/ath10k/qmi.c:819:\t\tath10k_snoc_fw_indication(ar, ATH10K_QMI_EVENT_FW_READY_IND);\ndrivers/net/wireless/ath/ath10k/qmi.c-820-\t\treturn;\n--\ndrivers/net/wireless/ath/ath10k/qmi.c=903=static void ath10k_qmi_event_server_exit(struct ath10k_qmi *qmi)\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-905-\tstruct ath10k *ar = qmi-\u003ear;\ndrivers/net/wireless/ath/ath10k/qmi.c:906:\tstruct ath10k_snoc *ar_snoc = ath10k_snoc_priv(ar);\ndrivers/net/wireless/ath/ath10k/qmi.c-907-\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-911-\t !test_bit(ATH10K_SNOC_FLAG_MODEM_STOPPED, \u0026ar_snoc-\u003eflags))\ndrivers/net/wireless/ath/ath10k/qmi.c:912:\t\tath10k_snoc_fw_crashed_dump(ar);\ndrivers/net/wireless/ath/ath10k/qmi.c-913-\ndrivers/net/wireless/ath/ath10k/qmi.c:914:\tath10k_snoc_fw_indication(ar, ATH10K_QMI_EVENT_FW_DOWN_IND);\ndrivers/net/wireless/ath/ath10k/qmi.c-915-\tath10k_dbg(ar, ATH10K_DBG_QMI, \"wifi fw qmi service disconnected\\n\");\n--\ndrivers/net/wireless/ath/ath10k/qmi.c=936=static int ath10k_qmi_event_fw_ready_ind(struct ath10k_qmi *qmi)\n--\ndrivers/net/wireless/ath/ath10k/qmi.c-940-\tath10k_dbg(ar, ATH10K_DBG_QMI, \"wifi fw ready event received\\n\");\ndrivers/net/wireless/ath/ath10k/qmi.c:941:\tath10k_snoc_fw_indication(ar, ATH10K_QMI_EVENT_FW_READY_IND);\ndrivers/net/wireless/ath/ath10k/qmi.c-942-\n--\ndrivers/net/wireless/ath/ath10k/qmi.c=1078=int ath10k_qmi_init(struct ath10k *ar, u32 msa_size)\ndrivers/net/wireless/ath/ath10k/qmi.c-1079-{\ndrivers/net/wireless/ath/ath10k/qmi.c:1080:\tstruct ath10k_snoc *ar_snoc = ath10k_snoc_priv(ar);\ndrivers/net/wireless/ath/ath10k/qmi.c-1081-\tstruct device *dev = ar-\u003edev;\n--\ndrivers/net/wireless/ath/ath10k/qmi.c=1135=int ath10k_qmi_deinit(struct ath10k *ar)\ndrivers/net/wireless/ath/ath10k/qmi.c-1136-{\ndrivers/net/wireless/ath/ath10k/qmi.c:1137:\tstruct ath10k_snoc *ar_snoc = ath10k_snoc_priv(ar);\ndrivers/net/wireless/ath/ath10k/qmi.c-1138-\tstruct ath10k_qmi *qmi = ar_snoc-\u003eqmi;\n--\ndrivers/net/wireless/ath/ath10k/snoc.c=56=static const char * const ath10k_clocks[] = {\n--\ndrivers/net/wireless/ath/ath10k/snoc.c-59-\ndrivers/net/wireless/ath/ath10k/snoc.c:60:static void ath10k_snoc_htc_tx_cb(struct ath10k_ce_pipe *ce_state);\ndrivers/net/wireless/ath/ath10k/snoc.c:61:static void ath10k_snoc_htt_tx_cb(struct ath10k_ce_pipe *ce_state);\ndrivers/net/wireless/ath/ath10k/snoc.c:62:static void ath10k_snoc_htc_rx_cb(struct ath10k_ce_pipe *ce_state);\ndrivers/net/wireless/ath/ath10k/snoc.c:63:static void ath10k_snoc_htt_rx_cb(struct ath10k_ce_pipe *ce_state);\ndrivers/net/wireless/ath/ath10k/snoc.c:64:static void ath10k_snoc_htt_htc_rx_cb(struct ath10k_ce_pipe *ce_state);\ndrivers/net/wireless/ath/ath10k/snoc.c:65:static void ath10k_snoc_pktlog_rx_cb(struct ath10k_ce_pipe *ce_state);\ndrivers/net/wireless/ath/ath10k/snoc.c-66-\ndrivers/net/wireless/ath/ath10k/snoc.c:67:static const struct ath10k_snoc_drv_priv drv_priv = {\ndrivers/net/wireless/ath/ath10k/snoc.c-68-\t.hw_rev = ATH10K_HW_WCN3990,\n--\ndrivers/net/wireless/ath/ath10k/snoc.c=138=static struct ce_attr host_ce_config_wlan[] = {\n--\ndrivers/net/wireless/ath/ath10k/snoc.c-144-\t\t.dest_nentries = 0,\ndrivers/net/wireless/ath/ath10k/snoc.c:145:\t\t.send_cb = ath10k_snoc_htc_tx_cb,\ndrivers/net/wireless/ath/ath10k/snoc.c-146-\t},\n--\ndrivers/net/wireless/ath/ath10k/snoc.c-153-\t\t.dest_nentries = 512,\ndrivers/net/wireless/ath/ath10k/snoc.c:154:\t\t.recv_cb = ath10k_snoc_htt_htc_rx_cb,\ndrivers/net/wireless/ath/ath10k/snoc.c-155-\t},\n--\ndrivers/net/wireless/ath/ath10k/snoc.c-162-\t\t.dest_nentries = 64,\ndrivers/net/wireless/ath/ath10k/snoc.c:163:\t\t.recv_cb = ath10k_snoc_htc_rx_cb,\ndrivers/net/wireless/ath/ath10k/snoc.c-164-\t},\n--\ndrivers/net/wireless/ath/ath10k/snoc.c-171-\t\t.dest_nentries = 0,\ndrivers/net/wireless/ath/ath10k/snoc.c:172:\t\t.send_cb = ath10k_snoc_htc_tx_cb,\ndrivers/net/wireless/ath/ath10k/snoc.c-173-\t},\n--\ndrivers/net/wireless/ath/ath10k/snoc.c-180-\t\t.dest_nentries = 0,\ndrivers/net/wireless/ath/ath10k/snoc.c:181:\t\t.send_cb = ath10k_snoc_htt_tx_cb,\ndrivers/net/wireless/ath/ath10k/snoc.c-182-\t},\n--\ndrivers/net/wireless/ath/ath10k/snoc.c-189-\t\t.dest_nentries = 512,\ndrivers/net/wireless/ath/ath10k/snoc.c:190:\t\t.recv_cb = ath10k_snoc_htt_rx_cb,\ndrivers/net/wireless/ath/ath10k/snoc.c-191-\t},\n--\ndrivers/net/wireless/ath/ath10k/snoc.c-222-\t\t.dest_nentries = 512,\ndrivers/net/wireless/ath/ath10k/snoc.c:223:\t\t.recv_cb = ath10k_snoc_htt_htc_rx_cb,\ndrivers/net/wireless/ath/ath10k/snoc.c-224-\t},\n--\ndrivers/net/wireless/ath/ath10k/snoc.c-231-\t\t.dest_nentries = 512,\ndrivers/net/wireless/ath/ath10k/snoc.c:232:\t\t.recv_cb = ath10k_snoc_htt_htc_rx_cb,\ndrivers/net/wireless/ath/ath10k/snoc.c-233-\t},\n--\ndrivers/net/wireless/ath/ath10k/snoc.c-240-\t\t.dest_nentries = 512,\ndrivers/net/wireless/ath/ath10k/snoc.c:241:\t\t.recv_cb = ath10k_snoc_pktlog_rx_cb,\ndrivers/net/wireless/ath/ath10k/snoc.c-242-\t},\n--\ndrivers/net/wireless/ath/ath10k/snoc.c=367=static struct ce_service_to_pipe target_service_to_ce_map_wlan[] = {\n--\ndrivers/net/wireless/ath/ath10k/snoc.c-476-\ndrivers/net/wireless/ath/ath10k/snoc.c:477:static void ath10k_snoc_write32(struct ath10k *ar, u32 offset, u32 value)\ndrivers/net/wireless/ath/ath10k/snoc.c-478-{\ndrivers/net/wireless/ath/ath10k/snoc.c:479:\tstruct ath10k_snoc *ar_snoc = ath10k_snoc_priv(ar);\ndrivers/net/wireless/ath/ath10k/snoc.c-480-\n--\ndrivers/net/wireless/ath/ath10k/snoc.c-483-\ndrivers/net/wireless/ath/ath10k/snoc.c:484:static u32 ath10k_snoc_read32(struct ath10k *ar, u32 offset)\ndrivers/net/wireless/ath/ath10k/snoc.c-485-{\ndrivers/net/wireless/ath/ath10k/snoc.c:486:\tstruct ath10k_snoc *ar_snoc = ath10k_snoc_priv(ar);\ndrivers/net/wireless/ath/ath10k/snoc.c-487-\tu32 val;\n--\ndrivers/net/wireless/ath/ath10k/snoc.c-493-\ndrivers/net/wireless/ath/ath10k/snoc.c:494:static int __ath10k_snoc_rx_post_buf(struct ath10k_snoc_pipe *pipe)\ndrivers/net/wireless/ath/ath10k/snoc.c-495-{\n--\ndrivers/net/wireless/ath/ath10k/snoc.c-532-\ndrivers/net/wireless/ath/ath10k/snoc.c:533:static void ath10k_snoc_rx_post_pipe(struct ath10k_snoc_pipe *pipe)\ndrivers/net/wireless/ath/ath10k/snoc.c-534-{\n--\ndrivers/net/wireless/ath/ath10k/snoc.c-536-\tstruct ath10k_ce *ce = ath10k_ce_priv(ar);\ndrivers/net/wireless/ath/ath10k/snoc.c:537:\tstruct ath10k_snoc *ar_snoc = ath10k_snoc_priv(ar);\ndrivers/net/wireless/ath/ath10k/snoc.c-538-\tstruct ath10k_ce_pipe *ce_pipe = pipe-\u003ece_hdl;\n--\ndrivers/net/wireless/ath/ath10k/snoc.c-550-\twhile (num--) {\ndrivers/net/wireless/ath/ath10k/snoc.c:551:\t\tret = __ath10k_snoc_rx_post_buf(pipe);\ndrivers/net/wireless/ath/ath10k/snoc.c-552-\t\tif (ret) {\n--\ndrivers/net/wireless/ath/ath10k/snoc.c-562-\ndrivers/net/wireless/ath/ath10k/snoc.c:563:static void ath10k_snoc_rx_post(struct ath10k *ar)\ndrivers/net/wireless/ath/ath10k/snoc.c-564-{\ndrivers/net/wireless/ath/ath10k/snoc.c:565:\tstruct ath10k_snoc *ar_snoc = ath10k_snoc_priv(ar);\ndrivers/net/wireless/ath/ath10k/snoc.c-566-\tint i;\n--\ndrivers/net/wireless/ath/ath10k/snoc.c-568-\tfor (i = 0; i \u003c CE_COUNT; i++)\ndrivers/net/wireless/ath/ath10k/snoc.c:569:\t\tath10k_snoc_rx_post_pipe(\u0026ar_snoc-\u003epipe_info[i]);\ndrivers/net/wireless/ath/ath10k/snoc.c-570-}\ndrivers/net/wireless/ath/ath10k/snoc.c-571-\ndrivers/net/wireless/ath/ath10k/snoc.c:572:static void ath10k_snoc_process_rx_cb(struct ath10k_ce_pipe *ce_state,\ndrivers/net/wireless/ath/ath10k/snoc.c-573-\t\t\t\t void (*callback)(struct ath10k *ar,\n--\ndrivers/net/wireless/ath/ath10k/snoc.c-576-\tstruct ath10k *ar = ce_state-\u003ear;\ndrivers/net/wireless/ath/ath10k/snoc.c:577:\tstruct ath10k_snoc *ar_snoc = ath10k_snoc_priv(ar);\ndrivers/net/wireless/ath/ath10k/snoc.c:578:\tstruct ath10k_snoc_pipe *pipe_info = \u0026ar_snoc-\u003epipe_info[ce_state-\u003eid];\ndrivers/net/wireless/ath/ath10k/snoc.c-579-\tstruct sk_buff *skb;\n--\ndrivers/net/wireless/ath/ath10k/snoc.c-609-\ndrivers/net/wireless/ath/ath10k/snoc.c:610:\tath10k_snoc_rx_post_pipe(pipe_info);\ndrivers/net/wireless/ath/ath10k/snoc.c-611-}\ndrivers/net/wireless/ath/ath10k/snoc.c-612-\ndrivers/net/wireless/ath/ath10k/snoc.c:613:static void ath10k_snoc_htc_rx_cb(struct ath10k_ce_pipe *ce_state)\ndrivers/net/wireless/ath/ath10k/snoc.c-614-{\ndrivers/net/wireless/ath/ath10k/snoc.c:615:\tath10k_snoc_process_rx_cb(ce_state, ath10k_htc_rx_completion_handler);\ndrivers/net/wireless/ath/ath10k/snoc.c-616-}\ndrivers/net/wireless/ath/ath10k/snoc.c-617-\ndrivers/net/wireless/ath/ath10k/snoc.c:618:static void ath10k_snoc_htt_htc_rx_cb(struct ath10k_ce_pipe *ce_state)\ndrivers/net/wireless/ath/ath10k/snoc.c-619-{\n--\ndrivers/net/wireless/ath/ath10k/snoc.c-624-\ndrivers/net/wireless/ath/ath10k/snoc.c:625:\tath10k_snoc_process_rx_cb(ce_state, ath10k_htc_rx_completion_handler);\ndrivers/net/wireless/ath/ath10k/snoc.c-626-}\n--\ndrivers/net/wireless/ath/ath10k/snoc.c-630- */\n\n"
} |
| 27/2 | 2026/10/30 02:37 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 50535 output: 41 thoughts: 16 Thoughts: Here's a summary of my thought process: **Diving into the `snoc.c` Code** Okay, so I need to get a handle on the `snoc.c` driver. My initial thought is to zero in on the core of its operation. I'll need to meticulously examine the probe function first. It's the critical entry point where the driver attempts to initialize and connect with a hardware device. Understanding its logic will give me a solid foundation. I’ll be paying close attention to the device matching logic within the probe function. I need to figure out the criteria the driver uses to identify and accept a specific hardware device. What vendor IDs, device IDs, or other properties is it looking for? Are there quirks or specific configurations it handles? Any deviations from the standard device matching mechanism are important to note because they may suggest issues with certain models or environments. Grasping this process is going to unlock the rest. |
| 28/2 | 2026/10/30 02:37 | tool | grepper |
0mArgs:{
"Expression": "platform_driver",
"PathPrefixes": [
"drivers/net/wireless/ath/ath10k/snoc.c"
]
}Results: {
"Output": "drivers/net/wireless/ath/ath10k/snoc.c=1927=static void ath10k_snoc_shutdown(struct platform_device *pdev)\n--\ndrivers/net/wireless/ath/ath10k/snoc.c-1934-\ndrivers/net/wireless/ath/ath10k/snoc.c:1935:static struct platform_driver ath10k_snoc_driver = {\ndrivers/net/wireless/ath/ath10k/snoc.c-1936-\t.probe = ath10k_snoc_probe,\n--\ndrivers/net/wireless/ath/ath10k/snoc.c-1943-};\ndrivers/net/wireless/ath/ath10k/snoc.c:1944:module_platform_driver(ath10k_snoc_driver);\ndrivers/net/wireless/ath/ath10k/snoc.c-1945-\n"
} |
| 29/2 | 2026/10/30 02:37 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 51039 output: 42 thoughts: 144 Thoughts: Okay, let's break this down. **Understanding the ath10k_snoc Driver Configuration** Right, so `ath10k_snoc_driver`...that's the platform driver specifically designed for Qualcomm's SoC wireless, the `WCN3990`. Got it. Now, the interesting bit is how the QMI (Qualcomm MSM Interface) related code gets integrated. Specifically, `qmi.c` and `qmi_wlfw_v01.c` are *only* compiled into `ath10k_snoc.o`. The makefile snippet is clear on that: they're explicitly listed as dependencies *within* the `ath10k_snoc-y` list, which is in turn, only built when `CONFIG_ATH10K_SNOC` is enabled. So, if `CONFIG_ATH10K_SNOC` isn't set, those QMI files are effectively excluded. That's a key detail to keep in mind, depending on the scenario and use case. Time to check that config option... |
| 30/2 | 2026/10/30 02:37 | tool | grepper |
0mArgs:{
"Expression": "config ATH10K_SNOC",
"PathPrefixes": [
"drivers/net/wireless/ath/ath10k/"
]
}Results: {
"Output": "drivers/net/wireless/ath/ath10k/Kconfig=36=config ATH10K_USB\n--\ndrivers/net/wireless/ath/ath10k/Kconfig-42-\ndrivers/net/wireless/ath/ath10k/Kconfig:43:config ATH10K_SNOC\ndrivers/net/wireless/ath/ath10k/Kconfig-44-\ttristate \"Qualcomm ath10k SNOC support\"\n"
} |
| 31/2 | 2026/10/30 02:37 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 51589 output: 42 thoughts: 27 Thoughts: Okay, here's my interpretation of that thought process, tailored for an expert audience, and written in the first person: **Navigating the Kconfig Landscape: A Deep Dive into ath10k** Right, let's dive into the heart of the matter. I need to refresh my memory on the ath10k driver's configuration options, specifically focusing around line 43 of `drivers/net/wireless/ath/ath10k/Kconfig`. I'm guessing that area probably deals with a key feature or module selection, perhaps related to the firmware loading process, regulatory options, or specific hardware variants that the driver supports. I'll need to see how the dependencies are structured; what other configs trigger or block the section of the driver. Time to dig in and re-acquaint myself with the relevant bits of the Kconfig file. |
| 32/2 | 2026/10/30 02:37 | tool | read-file |
0mArgs:{
"File": "drivers/net/wireless/ath/ath10k/Kconfig",
"FirstLine": 40,
"LineCount": 20
}Results: {
"Contents": " 40:\t\t This module adds experimental support for USB bus. Currently\n 41:\t\t work in progress and will not fully work.\n 42:\t\n 43:\tconfig ATH10K_SNOC\n 44:\t\ttristate \"Qualcomm ath10k SNOC support\"\n 45:\t\tdepends on ATH10K\n 46:\t\tdepends on ARCH_QCOM || COMPILE_TEST\n 47:\t\tdepends on QCOM_SMEM\n 48:\t\tdepends on QCOM_RPROC_COMMON || QCOM_RPROC_COMMON=n\n 49:\t\tselect POWER_SEQUENCING\n 50:\t\tselect QCOM_SCM\n 51:\t\tselect QCOM_QMI_HELPERS\n 52:\t\thelp\n 53:\t\t This module adds support for integrated WCN3990 chip connected\n 54:\t\t to system NOC(SNOC).\n 55:\t\n 56:\tconfig ATH10K_DEBUG\n 57:\t\tbool \"Atheros ath10k debugging\"\n 58:\t\tdepends on ATH10K\n 59:\t\thelp\n"
} |
| 33/2 | 2026/10/30 02:37 | llm | patch-evaluator |
0mModel:gemini-3.8-flash Args: null Results: null Tokens: input: 52128 output: 126 thoughts: 804 Thoughts: **Fuzzing Verdict: WorthFuzzing = False** Okay, let's break this down. First, I'm looking at this patch and immediately see that `ATH10K_SNOC` is involved, and it depends on `ARCH_QCOM` or `COMPILE_TEST` along with `QCOM_SMEM`. That flags a potential issue – this is specifically targeting a Qualcomm WCN3990 chip on a SNOC bus. Not something I'd expect to find on a standard amd64 QEMU or GCE VM. My target is amd64, so it's already raising a red flag. Diving deeper, the patch itself is just removing unused struct declarations and tables related to `qmi_wlfw_v01.c` and `.h`. Nothing executable is being changed, no new logic, no modifications to existing functionality. Just dead code removal. This confirms my initial suspicion. This driver's code can't be reached in any standard virtualized environment. Now, let's apply those negative criteria: non-kernel changes, unreachable hardware, and unreachable execution paths. This is straight-up dead code deletion. We're talking about changes that are strictly dead code (removing unused QMI definitions and header structures) and the driver itself depends on Qualcomm SoC hardware that is not emulated in standard environments. So, according to the criteria, this patch definitely falls into the "WorthFuzzing = false" category. It's strictly dead code removal AND the code is for structurally unreachable hardware. Therefore, for the `set-results` invocation, here's what I'll do: * `WorthFuzzing`: false * `Reasoning`: Concise explanation: This patch strictly removes unused QMI message definitions and header structures (`wlfw_*`) from the Qualcomm ath10k wireless driver. No executable logic, control flow, or data structures used by active code paths are altered. The affected module (`ath10k_snoc`) is a platform driver for Qualcomm SoC integrated WCN3990 Wi-Fi (SNOC bus), which is structurally unreachable in standard amd64 QEMU/GCE environments without physical Qualcomm SoC hardware. * `FocusSymbols`: \[ ] * `EnableConfigs`: \[ ] The `FocusSymbols` and `EnableConfigs` are empty because there's nothing to focus on or enable when fuzzing is not worthwhile. It's time to invoke `set-results`. |
| 34/2 | 2026/10/30 02:37 | tool | set-results |
0mArgs:{
"EnableConfigs": [],
"FocusSymbols": [],
"Reasoning": "The patch only deletes unused QMI wire format message definitions and structures (dead code) from the ath10k driver, with no modifications to active executable logic, control flow, or runtime assertions. Furthermore, the affected module (ath10k_snoc) is a platform driver for Qualcomm WCN3990 Wi-Fi connected via the SNOC bus, which requires physical Qualcomm SoC hardware and is structurally unreachable in standard amd64 virtualized environments.",
"WorthFuzzing": false
}Results: {
"EnableConfigs": null,
"FocusSymbols": [],
"Reasoning": "The patch only deletes unused QMI wire format message definitions and structures (dead code) from the ath10k driver, with no modifications to active executable logic, control flow, or runtime assertions. Furthermore, the affected module (ath10k_snoc) is a platform driver for Qualcomm WCN3990 Wi-Fi connected via the SNOC bus, which requires physical Qualcomm SoC hardware and is structurally unreachable in standard amd64 virtualized environments.",
"WorthFuzzing": false
} |
| 35/1 | 2026/10/30 02:37 | action | If |
0mArgs:{
"WorthFuzzing": false
}Results: null |
| Total Calls | Total Tokens | Avg Tokens | Total Duration (Seconds) | Avg Duration (Seconds) |
|---|
| Total Calls | Total Duration (Seconds) | Avg Duration (Seconds) |
|---|