Lines Matching refs:reply
2042 u16 reply_id, void *reply, u16 reply_size, int to_msec) in wmi_call() argument
2053 wil->reply_buf = reply; in wmi_call()
2137 } __packed reply = { in wmi_led_cfg() local
2155 WMI_LED_CFG_DONE_EVENTID, &reply, sizeof(reply), in wmi_led_cfg()
2160 if (reply.evt.status) { in wmi_led_cfg()
2162 led_id, le32_to_cpu(reply.evt.status)); in wmi_led_cfg()
2182 } __packed reply = { in wmi_rbufcap_cfg() local
2187 WMI_RBUFCAP_CFG_EVENTID, &reply, sizeof(reply), in wmi_rbufcap_cfg()
2192 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wmi_rbufcap_cfg()
2194 reply.evt.status); in wmi_rbufcap_cfg()
2224 } __packed reply = { in wmi_pcp_start() local
2250 WMI_PCP_STARTED_EVENTID, &reply, sizeof(reply), 5000); in wmi_pcp_start()
2254 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) in wmi_pcp_start()
2300 } __packed reply; in wmi_get_ssid() local
2303 memset(&reply, 0, sizeof(reply)); in wmi_get_ssid()
2306 WMI_GET_SSID_EVENTID, &reply, sizeof(reply), in wmi_get_ssid()
2311 len = le32_to_cpu(reply.cmd.ssid_len); in wmi_get_ssid()
2312 if (len > sizeof(reply.cmd.ssid)) in wmi_get_ssid()
2316 memcpy(ssid, reply.cmd.ssid, len); in wmi_get_ssid()
2339 } __packed reply; in wmi_get_channel() local
2341 memset(&reply, 0, sizeof(reply)); in wmi_get_channel()
2344 WMI_GET_PCP_CHANNEL_EVENTID, &reply, sizeof(reply), in wmi_get_channel()
2349 if (reply.cmd.channel > 3) in wmi_get_channel()
2352 *channel = reply.cmd.channel + 1; in wmi_get_channel()
2369 } __packed reply = { in wmi_p2p_cfg() local
2376 WMI_P2P_CFG_DONE_EVENTID, &reply, sizeof(reply), 300); in wmi_p2p_cfg()
2377 if (!rc && reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wmi_p2p_cfg()
2378 wil_err(wil, "P2P_CFG failed. status %d\n", reply.evt.status); in wmi_p2p_cfg()
2392 } __packed reply = { in wmi_start_listen() local
2399 WMI_LISTEN_STARTED_EVENTID, &reply, sizeof(reply), 300); in wmi_start_listen()
2400 if (!rc && reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wmi_start_listen()
2402 reply.evt.status); in wmi_start_listen()
2416 } __packed reply = { in wmi_start_search() local
2423 WMI_SEARCH_STARTED_EVENTID, &reply, sizeof(reply), 300); in wmi_start_search()
2424 if (!rc && reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wmi_start_search()
2426 reply.evt.status); in wmi_start_search()
2589 } __packed reply = { in wmi_rxon() local
2598 &reply, sizeof(reply), in wmi_rxon()
2600 if ((rc == 0) && (reply.evt.status != WMI_FW_STATUS_SUCCESS)) in wmi_rxon()
2689 } __packed reply; in wmi_get_temperature() local
2691 memset(&reply, 0, sizeof(reply)); in wmi_get_temperature()
2694 WMI_TEMP_SENSE_DONE_EVENTID, &reply, sizeof(reply), in wmi_get_temperature()
2700 *t_bb = le32_to_cpu(reply.evt.baseband_t1000); in wmi_get_temperature()
2702 *t_rf = le32_to_cpu(reply.evt.rf_t1000); in wmi_get_temperature()
2721 } __packed reply; in wmi_get_all_temperatures() local
2728 memset(&reply, 0, sizeof(reply)); in wmi_get_all_temperatures()
2729 reply.evt.status = WMI_FW_STATUS_FAILURE; in wmi_get_all_temperatures()
2732 &reply, sizeof(reply), WIL_WMI_CALL_GENERAL_TO_MS); in wmi_get_all_temperatures()
2736 if (reply.evt.status == WMI_FW_STATUS_FAILURE) { in wmi_get_all_temperatures()
2741 memcpy(sense_all_evt, &reply.evt, sizeof(reply.evt)); in wmi_get_all_temperatures()
2759 } __packed reply; in wmi_disconnect_sta() local
2763 memset(&reply, 0, sizeof(reply)); in wmi_disconnect_sta()
2769 &reply, sizeof(reply), 1000); in wmi_disconnect_sta()
2775 &reply, sizeof(reply), 1000); in wmi_disconnect_sta()
2858 } __packed reply = { in wmi_addba_rx_resp() local
2876 WMI_RCP_ADDBA_RESP_SENT_EVENTID, &reply, sizeof(reply), in wmi_addba_rx_resp()
2881 if (reply.evt.status) { in wmi_addba_rx_resp()
2883 le16_to_cpu(reply.evt.status)); in wmi_addba_rx_resp()
2914 } __packed reply = { in wmi_addba_rx_resp_edma() local
2924 sizeof(cmd), WMI_RCP_ADDBA_RESP_SENT_EVENTID, &reply, in wmi_addba_rx_resp_edma()
2925 sizeof(reply), WIL_WMI_CALL_GENERAL_TO_MS); in wmi_addba_rx_resp_edma()
2929 if (reply.evt.status) { in wmi_addba_rx_resp_edma()
2931 le16_to_cpu(reply.evt.status)); in wmi_addba_rx_resp_edma()
2949 } __packed reply = { in wmi_ps_dev_profile_cfg() local
2958 WMI_PS_DEV_PROFILE_CFG_EVENTID, &reply, sizeof(reply), in wmi_ps_dev_profile_cfg()
2963 status = le32_to_cpu(reply.evt.status); in wmi_ps_dev_profile_cfg()
2984 } __packed reply = { in wmi_set_mgmt_retry() local
2995 WMI_SET_MGMT_RETRY_LIMIT_EVENTID, &reply, sizeof(reply), in wmi_set_mgmt_retry()
3000 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wmi_set_mgmt_retry()
3002 reply.evt.status); in wmi_set_mgmt_retry()
3016 } __packed reply; in wmi_get_mgmt_retry() local
3023 memset(&reply, 0, sizeof(reply)); in wmi_get_mgmt_retry()
3025 WMI_GET_MGMT_RETRY_LIMIT_EVENTID, &reply, sizeof(reply), in wmi_get_mgmt_retry()
3031 *retry_short = reply.evt.mgmt_retry_limit; in wmi_get_mgmt_retry()
3110 } __packed reply = { in wmi_suspend() local
3121 WMI_TRAFFIC_SUSPEND_EVENTID, &reply, sizeof(reply), in wmi_suspend()
3150 if (reply.evt.status != WMI_TRAFFIC_SUSPEND_APPROVED) { in wmi_suspend()
3152 suspend_status2name(reply.evt.status)); in wmi_suspend()
3155 rc = reply.evt.status; in wmi_suspend()
3197 } __packed reply = { in wmi_resume() local
3204 WMI_TRAFFIC_RESUME_EVENTID, &reply, sizeof(reply), in wmi_resume()
3208 resume_triggers2string(le32_to_cpu(reply.evt.resume_triggers), string, in wmi_resume()
3211 reply.evt.status ? "failed" : "passed", string, in wmi_resume()
3212 le32_to_cpu(reply.evt.resume_triggers)); in wmi_resume()
3214 return reply.evt.status; in wmi_resume()
3227 } __packed reply = { in wmi_port_allocate() local
3256 WMI_PORT_ALLOCATED_EVENTID, &reply, in wmi_port_allocate()
3257 sizeof(reply), 300); in wmi_port_allocate()
3262 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wmi_port_allocate()
3264 reply.evt.status); in wmi_port_allocate()
3280 } __packed reply = { in wmi_port_delete() local
3288 WMI_PORT_DELETED_EVENTID, &reply, in wmi_port_delete()
3289 sizeof(reply), 2000); in wmi_port_delete()
3294 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wmi_port_delete()
3296 reply.evt.status); in wmi_port_delete()
3553 } __packed reply = { in wmi_start_sched_scan() local
3573 WMI_START_SCHED_SCAN_EVENTID, &reply, sizeof(reply), in wmi_start_sched_scan()
3578 if (reply.evt.result != WMI_PNO_SUCCESS) { in wmi_start_sched_scan()
3580 reply.evt.result); in wmi_start_sched_scan()
3594 } __packed reply = { in wmi_stop_sched_scan() local
3602 WMI_STOP_SCHED_SCAN_EVENTID, &reply, sizeof(reply), in wmi_stop_sched_scan()
3607 if (reply.evt.result != WMI_PNO_SUCCESS) { in wmi_stop_sched_scan()
3609 reply.evt.result); in wmi_stop_sched_scan()
3732 } __packed reply = { in wil_wmi_tx_sring_cfg() local
3741 &reply, sizeof(reply), WIL_WMI_CALL_GENERAL_TO_MS); in wil_wmi_tx_sring_cfg()
3747 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wil_wmi_tx_sring_cfg()
3749 reply.evt.status); in wil_wmi_tx_sring_cfg()
3753 sring->hwtail = le32_to_cpu(reply.evt.ring_tail_ptr); in wil_wmi_tx_sring_cfg()
3773 } __packed reply = { in wil_wmi_cfg_def_rx_offload() local
3778 sizeof(cmd), WMI_CFG_DEF_RX_OFFLOAD_DONE_EVENTID, &reply, in wil_wmi_cfg_def_rx_offload()
3779 sizeof(reply), WIL_WMI_CALL_GENERAL_TO_MS); in wil_wmi_cfg_def_rx_offload()
3785 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wil_wmi_cfg_def_rx_offload()
3787 reply.evt.status); in wil_wmi_cfg_def_rx_offload()
3813 } __packed reply = { in wil_wmi_rx_sring_add() local
3819 sizeof(cmd), WMI_RX_STATUS_RING_CFG_DONE_EVENTID, &reply, in wil_wmi_rx_sring_add()
3820 sizeof(reply), WIL_WMI_CALL_GENERAL_TO_MS); in wil_wmi_rx_sring_add()
3826 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wil_wmi_rx_sring_add()
3828 reply.evt.status); in wil_wmi_rx_sring_add()
3832 sring->hwtail = le32_to_cpu(reply.evt.ring_tail_ptr); in wil_wmi_rx_sring_add()
3854 } __packed reply = { in wil_wmi_rx_desc_ring_add() local
3861 sizeof(cmd), WMI_RX_DESC_RING_CFG_DONE_EVENTID, &reply, in wil_wmi_rx_desc_ring_add()
3862 sizeof(reply), WIL_WMI_CALL_GENERAL_TO_MS); in wil_wmi_rx_desc_ring_add()
3868 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wil_wmi_rx_desc_ring_add()
3870 reply.evt.status); in wil_wmi_rx_desc_ring_add()
3874 ring->hwtail = le32_to_cpu(reply.evt.ring_tail_ptr); in wil_wmi_rx_desc_ring_add()
3905 } __packed reply = { in wil_wmi_tx_desc_ring_add() local
3911 sizeof(cmd), WMI_TX_DESC_RING_CFG_DONE_EVENTID, &reply, in wil_wmi_tx_desc_ring_add()
3912 sizeof(reply), WIL_WMI_CALL_GENERAL_TO_MS); in wil_wmi_tx_desc_ring_add()
3918 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wil_wmi_tx_desc_ring_add()
3920 reply.evt.status); in wil_wmi_tx_desc_ring_add()
3925 ring->hwtail = le32_to_cpu(reply.evt.ring_tail_ptr); in wil_wmi_tx_desc_ring_add()
3950 } __packed reply = { in wil_wmi_bcast_desc_ring_add() local
3957 sizeof(cmd), WMI_TX_DESC_RING_CFG_DONE_EVENTID, &reply, in wil_wmi_bcast_desc_ring_add()
3958 sizeof(reply), WIL_WMI_CALL_GENERAL_TO_MS); in wil_wmi_bcast_desc_ring_add()
3964 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wil_wmi_bcast_desc_ring_add()
3966 reply.evt.status); in wil_wmi_bcast_desc_ring_add()
3971 ring->hwtail = le32_to_cpu(reply.evt.ring_tail_ptr); in wil_wmi_bcast_desc_ring_add()
3991 } __packed reply = { in wmi_link_stats_cfg() local
3997 WMI_LINK_STATS_CONFIG_DONE_EVENTID, &reply, in wmi_link_stats_cfg()
3998 sizeof(reply), WIL_WMI_CALL_GENERAL_TO_MS); in wmi_link_stats_cfg()
4004 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wmi_link_stats_cfg()
4006 reply.evt.status); in wmi_link_stats_cfg()
4032 } __packed reply = { in wmi_set_cqm_rssi_config() local
4041 &reply, sizeof(reply), WIL_WMI_CALL_GENERAL_TO_MS); in wmi_set_cqm_rssi_config()
4047 if (reply.evt.status != WMI_FW_STATUS_SUCCESS) { in wmi_set_cqm_rssi_config()
4049 reply.evt.status); in wmi_set_cqm_rssi_config()