Lines Matching refs:reply

2040 	     u16 reply_id, void *reply, u16 reply_size, int to_msec)  in wmi_call()  argument
2051 wil->reply_buf = reply; in wmi_call()
2135 } __packed reply = { in wmi_led_cfg() local
2153 WMI_LED_CFG_DONE_EVENTID, &reply, sizeof(reply), in wmi_led_cfg()
2158 if (reply.evt.status) { in wmi_led_cfg()
2160 led_id, le32_to_cpu(reply.evt.status)); in wmi_led_cfg()
2180 } __packed reply = { in wmi_rbufcap_cfg() local
2185 WMI_RBUFCAP_CFG_EVENTID, &reply, sizeof(reply), in wmi_rbufcap_cfg()
2190 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wmi_rbufcap_cfg()
2192 reply.evt.status); in wmi_rbufcap_cfg()
2222 } __packed reply = { in wmi_pcp_start() local
2248 WMI_PCP_STARTED_EVENTID, &reply, sizeof(reply), 5000); in wmi_pcp_start()
2252 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) in wmi_pcp_start()
2298 } __packed reply; in wmi_get_ssid() local
2301 memset(&reply, 0, sizeof(reply)); in wmi_get_ssid()
2304 WMI_GET_SSID_EVENTID, &reply, sizeof(reply), in wmi_get_ssid()
2309 len = le32_to_cpu(reply.cmd.ssid_len); in wmi_get_ssid()
2310 if (len > sizeof(reply.cmd.ssid)) in wmi_get_ssid()
2314 memcpy(ssid, reply.cmd.ssid, len); in wmi_get_ssid()
2337 } __packed reply; in wmi_get_channel() local
2339 memset(&reply, 0, sizeof(reply)); in wmi_get_channel()
2342 WMI_GET_PCP_CHANNEL_EVENTID, &reply, sizeof(reply), in wmi_get_channel()
2347 if (reply.cmd.channel > 3) in wmi_get_channel()
2350 *channel = reply.cmd.channel + 1; in wmi_get_channel()
2367 } __packed reply = { in wmi_p2p_cfg() local
2374 WMI_P2P_CFG_DONE_EVENTID, &reply, sizeof(reply), 300); in wmi_p2p_cfg()
2375 if (!rc && reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wmi_p2p_cfg()
2376 wil_err(wil, "P2P_CFG failed. status %d\n", reply.evt.status); in wmi_p2p_cfg()
2390 } __packed reply = { in wmi_start_listen() local
2397 WMI_LISTEN_STARTED_EVENTID, &reply, sizeof(reply), 300); in wmi_start_listen()
2398 if (!rc && reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wmi_start_listen()
2400 reply.evt.status); in wmi_start_listen()
2414 } __packed reply = { in wmi_start_search() local
2421 WMI_SEARCH_STARTED_EVENTID, &reply, sizeof(reply), 300); in wmi_start_search()
2422 if (!rc && reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wmi_start_search()
2424 reply.evt.status); in wmi_start_search()
2587 } __packed reply = { in wmi_rxon() local
2596 &reply, sizeof(reply), in wmi_rxon()
2598 if ((rc == 0) && (reply.evt.status != WMI_FW_STATUS_SUCCESS)) in wmi_rxon()
2687 } __packed reply; in wmi_get_temperature() local
2689 memset(&reply, 0, sizeof(reply)); in wmi_get_temperature()
2692 WMI_TEMP_SENSE_DONE_EVENTID, &reply, sizeof(reply), in wmi_get_temperature()
2698 *t_bb = le32_to_cpu(reply.evt.baseband_t1000); in wmi_get_temperature()
2700 *t_rf = le32_to_cpu(reply.evt.rf_t1000); in wmi_get_temperature()
2719 } __packed reply; in wmi_get_all_temperatures() local
2726 memset(&reply, 0, sizeof(reply)); in wmi_get_all_temperatures()
2727 reply.evt.status = WMI_FW_STATUS_FAILURE; in wmi_get_all_temperatures()
2730 &reply, sizeof(reply), WIL_WMI_CALL_GENERAL_TO_MS); in wmi_get_all_temperatures()
2734 if (reply.evt.status == WMI_FW_STATUS_FAILURE) { in wmi_get_all_temperatures()
2739 memcpy(sense_all_evt, &reply.evt, sizeof(reply.evt)); in wmi_get_all_temperatures()
2757 } __packed reply; in wmi_disconnect_sta() local
2761 memset(&reply, 0, sizeof(reply)); in wmi_disconnect_sta()
2767 &reply, sizeof(reply), 1000); in wmi_disconnect_sta()
2773 &reply, sizeof(reply), 1000); in wmi_disconnect_sta()
2856 } __packed reply = { in wmi_addba_rx_resp() local
2874 WMI_RCP_ADDBA_RESP_SENT_EVENTID, &reply, sizeof(reply), in wmi_addba_rx_resp()
2879 if (reply.evt.status) { in wmi_addba_rx_resp()
2881 le16_to_cpu(reply.evt.status)); in wmi_addba_rx_resp()
2912 } __packed reply = { in wmi_addba_rx_resp_edma() local
2922 sizeof(cmd), WMI_RCP_ADDBA_RESP_SENT_EVENTID, &reply, in wmi_addba_rx_resp_edma()
2923 sizeof(reply), WIL_WMI_CALL_GENERAL_TO_MS); in wmi_addba_rx_resp_edma()
2927 if (reply.evt.status) { in wmi_addba_rx_resp_edma()
2929 le16_to_cpu(reply.evt.status)); in wmi_addba_rx_resp_edma()
2947 } __packed reply = { in wmi_ps_dev_profile_cfg() local
2956 WMI_PS_DEV_PROFILE_CFG_EVENTID, &reply, sizeof(reply), in wmi_ps_dev_profile_cfg()
2961 status = le32_to_cpu(reply.evt.status); in wmi_ps_dev_profile_cfg()
2982 } __packed reply = { in wmi_set_mgmt_retry() local
2993 WMI_SET_MGMT_RETRY_LIMIT_EVENTID, &reply, sizeof(reply), in wmi_set_mgmt_retry()
2998 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wmi_set_mgmt_retry()
3000 reply.evt.status); in wmi_set_mgmt_retry()
3014 } __packed reply; in wmi_get_mgmt_retry() local
3021 memset(&reply, 0, sizeof(reply)); in wmi_get_mgmt_retry()
3023 WMI_GET_MGMT_RETRY_LIMIT_EVENTID, &reply, sizeof(reply), in wmi_get_mgmt_retry()
3029 *retry_short = reply.evt.mgmt_retry_limit; in wmi_get_mgmt_retry()
3108 } __packed reply = { in wmi_suspend() local
3119 WMI_TRAFFIC_SUSPEND_EVENTID, &reply, sizeof(reply), in wmi_suspend()
3148 if (reply.evt.status != WMI_TRAFFIC_SUSPEND_APPROVED) { in wmi_suspend()
3150 suspend_status2name(reply.evt.status)); in wmi_suspend()
3153 rc = reply.evt.status; in wmi_suspend()
3195 } __packed reply = { in wmi_resume() local
3202 WMI_TRAFFIC_RESUME_EVENTID, &reply, sizeof(reply), in wmi_resume()
3206 resume_triggers2string(le32_to_cpu(reply.evt.resume_triggers), string, in wmi_resume()
3209 reply.evt.status ? "failed" : "passed", string, in wmi_resume()
3210 le32_to_cpu(reply.evt.resume_triggers)); in wmi_resume()
3212 return reply.evt.status; in wmi_resume()
3225 } __packed reply = { in wmi_port_allocate() local
3254 WMI_PORT_ALLOCATED_EVENTID, &reply, in wmi_port_allocate()
3255 sizeof(reply), 300); in wmi_port_allocate()
3260 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wmi_port_allocate()
3262 reply.evt.status); in wmi_port_allocate()
3278 } __packed reply = { in wmi_port_delete() local
3286 WMI_PORT_DELETED_EVENTID, &reply, in wmi_port_delete()
3287 sizeof(reply), 2000); in wmi_port_delete()
3292 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wmi_port_delete()
3294 reply.evt.status); in wmi_port_delete()
3551 } __packed reply = { in wmi_start_sched_scan() local
3571 WMI_START_SCHED_SCAN_EVENTID, &reply, sizeof(reply), in wmi_start_sched_scan()
3576 if (reply.evt.result != WMI_PNO_SUCCESS) { in wmi_start_sched_scan()
3578 reply.evt.result); in wmi_start_sched_scan()
3592 } __packed reply = { in wmi_stop_sched_scan() local
3600 WMI_STOP_SCHED_SCAN_EVENTID, &reply, sizeof(reply), in wmi_stop_sched_scan()
3605 if (reply.evt.result != WMI_PNO_SUCCESS) { in wmi_stop_sched_scan()
3607 reply.evt.result); in wmi_stop_sched_scan()
3730 } __packed reply = { in wil_wmi_tx_sring_cfg() local
3739 &reply, sizeof(reply), WIL_WMI_CALL_GENERAL_TO_MS); in wil_wmi_tx_sring_cfg()
3745 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wil_wmi_tx_sring_cfg()
3747 reply.evt.status); in wil_wmi_tx_sring_cfg()
3751 sring->hwtail = le32_to_cpu(reply.evt.ring_tail_ptr); in wil_wmi_tx_sring_cfg()
3771 } __packed reply = { in wil_wmi_cfg_def_rx_offload() local
3776 sizeof(cmd), WMI_CFG_DEF_RX_OFFLOAD_DONE_EVENTID, &reply, in wil_wmi_cfg_def_rx_offload()
3777 sizeof(reply), WIL_WMI_CALL_GENERAL_TO_MS); in wil_wmi_cfg_def_rx_offload()
3783 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wil_wmi_cfg_def_rx_offload()
3785 reply.evt.status); in wil_wmi_cfg_def_rx_offload()
3811 } __packed reply = { in wil_wmi_rx_sring_add() local
3817 sizeof(cmd), WMI_RX_STATUS_RING_CFG_DONE_EVENTID, &reply, in wil_wmi_rx_sring_add()
3818 sizeof(reply), WIL_WMI_CALL_GENERAL_TO_MS); in wil_wmi_rx_sring_add()
3824 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wil_wmi_rx_sring_add()
3826 reply.evt.status); in wil_wmi_rx_sring_add()
3830 sring->hwtail = le32_to_cpu(reply.evt.ring_tail_ptr); in wil_wmi_rx_sring_add()
3852 } __packed reply = { in wil_wmi_rx_desc_ring_add() local
3859 sizeof(cmd), WMI_RX_DESC_RING_CFG_DONE_EVENTID, &reply, in wil_wmi_rx_desc_ring_add()
3860 sizeof(reply), WIL_WMI_CALL_GENERAL_TO_MS); in wil_wmi_rx_desc_ring_add()
3866 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wil_wmi_rx_desc_ring_add()
3868 reply.evt.status); in wil_wmi_rx_desc_ring_add()
3872 ring->hwtail = le32_to_cpu(reply.evt.ring_tail_ptr); in wil_wmi_rx_desc_ring_add()
3903 } __packed reply = { in wil_wmi_tx_desc_ring_add() local
3909 sizeof(cmd), WMI_TX_DESC_RING_CFG_DONE_EVENTID, &reply, in wil_wmi_tx_desc_ring_add()
3910 sizeof(reply), WIL_WMI_CALL_GENERAL_TO_MS); in wil_wmi_tx_desc_ring_add()
3916 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wil_wmi_tx_desc_ring_add()
3918 reply.evt.status); in wil_wmi_tx_desc_ring_add()
3923 ring->hwtail = le32_to_cpu(reply.evt.ring_tail_ptr); in wil_wmi_tx_desc_ring_add()
3948 } __packed reply = { in wil_wmi_bcast_desc_ring_add() local
3955 sizeof(cmd), WMI_TX_DESC_RING_CFG_DONE_EVENTID, &reply, in wil_wmi_bcast_desc_ring_add()
3956 sizeof(reply), WIL_WMI_CALL_GENERAL_TO_MS); in wil_wmi_bcast_desc_ring_add()
3962 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wil_wmi_bcast_desc_ring_add()
3964 reply.evt.status); in wil_wmi_bcast_desc_ring_add()
3969 ring->hwtail = le32_to_cpu(reply.evt.ring_tail_ptr); in wil_wmi_bcast_desc_ring_add()
3989 } __packed reply = { in wmi_link_stats_cfg() local
3995 WMI_LINK_STATS_CONFIG_DONE_EVENTID, &reply, in wmi_link_stats_cfg()
3996 sizeof(reply), WIL_WMI_CALL_GENERAL_TO_MS); in wmi_link_stats_cfg()
4002 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wmi_link_stats_cfg()
4004 reply.evt.status); in wmi_link_stats_cfg()
4020 } __packed reply = { in wmi_set_cqm_rssi_config() local
4034 &reply, sizeof(reply), WIL_WMI_CALL_GENERAL_TO_MS); in wmi_set_cqm_rssi_config()
4040 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wmi_set_cqm_rssi_config()
4042 reply.evt.status); in wmi_set_cqm_rssi_config()