Home
last modified time | relevance | path

Searched refs:rsp_msg (Results 1 – 13 of 13) sorted by relevance

/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/wal/
Dwal_event_msg.c84 hi_u32 wal_check_and_release_msg_resp(wal_msg_stru *rsp_msg) in wal_check_and_release_msg_resp() argument
87 if (rsp_msg != HI_NULL) { in wal_check_and_release_msg_resp()
90 write_rsp_msg = (wal_msg_write_rsp_stru *)(rsp_msg->auc_msg_data); in wal_check_and_release_msg_resp()
94 oal_free(rsp_msg); in wal_check_and_release_msg_resp()
300 hi_u32 wal_send_cfg_wait_event(wal_msg_stru **rsp_msg, wal_msg_request_stru *msg_request) in wal_send_cfg_wait_event() argument
329 *rsp_msg = HI_NULL; in wal_send_cfg_wait_event()
338 *rsp_msg = HI_NULL; in wal_send_cfg_wait_event()
347 *rsp_msg = rsp_msg_info; in wal_send_cfg_wait_event()
374 const hi_u8 *puc_param, hi_u8 need_rsp, wal_msg_stru **rsp_msg) in wal_send_cfg_event() argument
384 if (rsp_msg != NULL) { in wal_send_cfg_event()
[all …]
Dwal_ioctl.c493 wal_msg_stru *rsp_msg = HI_NULL; in wal_cfg_vap_h2d_event() local
513 …L_MSG_WRITE_MSG_HDR_LENGTH + sizeof(mac_cfg_vap_h2d_stru), (hi_u8 *)&write_msg, HI_TRUE, &rsp_msg); in wal_cfg_vap_h2d_event()
520 ret = wal_check_and_release_msg_resp(rsp_msg); in wal_cfg_vap_h2d_event()
551 wal_msg_stru *rsp_msg = HI_NULL; in wal_host_dev_config() local
578 &rsp_msg); in wal_host_dev_config()
585 ret = wal_check_and_release_msg_resp(rsp_msg); in wal_host_dev_config()
1232 wal_msg_stru *rsp_msg = HI_NULL; in wal_ioctl_get_param() local
1245 …_cfg_event(netdev, WAL_MSG_TYPE_QUERY, WAL_MSG_WID_LENGTH, (hi_u8 *)&query_msg, HI_TRUE, &rsp_msg); in wal_ioctl_get_param()
1246 if ((ret != HI_SUCCESS) || (rsp_msg == HI_NULL)) { in wal_ioctl_get_param()
1252 query_rsp_msg = (wal_msg_rsp_stru *)(rsp_msg->auc_msg_data); in wal_ioctl_get_param()
[all …]
Dhi_wifi_driver_api.c881 wal_msg_stru *rsp_msg = HI_NULL; in hi_wifi_set_channel() local
903 (hi_u8 *)&write_msg, HI_TRUE, &rsp_msg); in hi_wifi_set_channel()
904 if ((l_ret != HI_SUCCESS) || (rsp_msg == HI_NULL)) { in hi_wifi_set_channel()
909 if (HI_SUCCESS != wal_check_and_release_msg_resp(rsp_msg)) { in hi_wifi_set_channel()
926 wal_msg_stru *rsp_msg = HI_NULL; in hi_wifi_get_channel() local
946 …_cfg_event(netdev, WAL_MSG_TYPE_QUERY, WAL_MSG_WID_LENGTH, (hi_u8 *)&query_msg, HI_TRUE, &rsp_msg); in hi_wifi_get_channel()
947 if ((l_ret != HI_SUCCESS) || (rsp_msg == HI_NULL)) { in hi_wifi_get_channel()
953 queue_rsp_msg = (wal_msg_rsp_stru *)(rsp_msg->auc_msg_data); in hi_wifi_get_channel()
955 oal_free(rsp_msg); in hi_wifi_get_channel()
Dwal_event_msg.h152 hi_u32 wal_check_and_release_msg_resp(wal_msg_stru *rsp_msg);
Dwal_scan.c609 wal_msg_stru *rsp_msg = HI_NULL; in wal_send_scan_abort_msg() local
620 (hi_u8 *)&write_msg, HI_TRUE, &rsp_msg); in wal_send_scan_abort_msg()
621 if (HI_SUCCESS != wal_check_and_release_msg_resp(rsp_msg)) { in wal_send_scan_abort_msg()
Dwal_cfg80211.c807 wal_msg_stru *rsp_msg = HI_NULL; in wal_cfg80211_get_key() local
858 …_MSG_WRITE_MSG_HDR_LENGTH + sizeof(mac_getkey_param_stru), (hi_u8 *)&write_msg, HI_TRUE, &rsp_msg); in wal_cfg80211_get_key()
864 if (wal_check_and_release_msg_resp(rsp_msg) != HI_SUCCESS) { in wal_cfg80211_get_key()
1477 wal_msg_stru *rsp_msg = HI_NULL; in wal_cfg80211_add_virtual_intf_send_event() local
1499 …WRITE_MSG_HDR_LENGTH + sizeof(mac_cfg_add_vap_param_stru), (hi_u8 *)&write_msg, HI_TRUE, &rsp_msg); in wal_cfg80211_add_virtual_intf_send_event()
1506 if (wal_check_and_release_msg_resp(rsp_msg) != HI_SUCCESS) { in wal_cfg80211_add_virtual_intf_send_event()
1675 wal_msg_stru *rsp_msg = HI_NULL; in wal_cfg80211_del_virtual_intf() local
1720 …WRITE_MSG_HDR_LENGTH + sizeof(mac_cfg_del_vap_param_stru), (hi_u8 *)&write_msg, HI_TRUE, &rsp_msg); in wal_cfg80211_del_virtual_intf()
1722 if (wal_check_and_release_msg_resp(rsp_msg) != HI_SUCCESS) { in wal_cfg80211_del_virtual_intf()
2099 wal_msg_stru *rsp_msg = HI_NULL; in wal_cfg80211_add_vap() local
[all …]
Dwal_ioctl.h108 const hi_u8 *puc_param, hi_u8 need_rsp, wal_msg_stru **rsp_msg);
Dwal_hipriv.c511 wal_msg_stru *rsp_msg = HI_NULL; in wal_hipriv_getcountry() local
518 …_cfg_event(netdev, WAL_MSG_TYPE_QUERY, WAL_MSG_WID_LENGTH, (hi_u8 *)&query_msg, HI_TRUE, &rsp_msg); in wal_hipriv_getcountry()
519 if ((ret != HI_SUCCESS) || (rsp_msg == HI_NULL)) { in wal_hipriv_getcountry()
524 queue_rsp_msg = (wal_msg_rsp_stru *)(rsp_msg->auc_msg_data); in wal_hipriv_getcountry()
529 oal_free(rsp_msg); in wal_hipriv_getcountry()
576 wal_msg_stru *rsp_msg = HI_NULL; in wal_hipriv_get_mesh_node_info() local
584 …_cfg_event(netdev, WAL_MSG_TYPE_QUERY, WAL_MSG_WID_LENGTH, (hi_u8 *)&query_msg, HI_TRUE, &rsp_msg); in wal_hipriv_get_mesh_node_info()
585 if ((ret != HI_SUCCESS) || (rsp_msg == HI_NULL)) { in wal_hipriv_get_mesh_node_info()
590 queue_rsp_msg = (wal_msg_rsp_stru *)(rsp_msg->auc_msg_data); in wal_hipriv_get_mesh_node_info()
603 oal_free(rsp_msg); in wal_hipriv_get_mesh_node_info()
[all …]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/
Dhmac_event.c528 wal_msg_write_stru *rsp_msg = (wal_msg_write_stru *)(&rsp[us_rsp_idx]); in wal_config_process_query() local
551 hi_u32 ret = g_ast_board_wid_op[us_cfgid].get_func(mac_vap, &us_len, rsp_msg->auc_value); in wal_config_process_query()
559 rsp_msg->wid = query_msg->wid; /* 设置返回消息的WID */ in wal_config_process_query()
560 rsp_msg->us_len = us_len; in wal_config_process_query()
602 wal_msg_write_rsp_stru *rsp_msg = HI_NULL; in wal_config_process_write() local
626 rsp_msg = (wal_msg_write_rsp_stru *)(&puc_rsp_msg[us_rsp_idx]); in wal_config_process_write()
643 rsp_msg->wid = write_msg->wid; in wal_config_process_write()
644 rsp_msg->err_code = ret; in wal_config_process_write()
667 hi_u32 wal_set_msg_response(hi_u32 request_address, hi_u8 rsp_toal_len, const hi_u8 *rsp_msg) in wal_set_msg_response() argument
680 if (memcpy_s(rsp_msg_tmp, rsp_toal_len, rsp_msg, rsp_toal_len) != EOK) { in wal_set_msg_response()
[all …]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/hdfadapt/
Dnet_adpater.c904 wal_msg_stru *rsp_msg = HI_NULL; in wal_netdev_open_send_event() local
926 …ITE_MSG_HDR_LENGTH + sizeof(mac_cfg_start_vap_param_stru), (hi_u8 *)&write_msg, HI_TRUE, &rsp_msg); in wal_netdev_open_send_event()
934 ret = wal_check_and_release_msg_resp(rsp_msg); in wal_netdev_open_send_event()
963 wal_msg_stru *rsp_msg = HI_NULL; in wal_netdev_open() local
986 …_cfg_event(netdev, WAL_MSG_TYPE_QUERY, WAL_MSG_WID_LENGTH, (hi_u8 *)&query_msg, HI_TRUE, &rsp_msg); in wal_netdev_open()
987 if ((ret != HI_SUCCESS) || (rsp_msg == HI_NULL)) { in wal_netdev_open()
994 query_rsp_msg = (wal_msg_rsp_stru *)(rsp_msg->auc_msg_data); in wal_netdev_open()
998 oal_free(rsp_msg); in wal_netdev_open()
1075 wal_msg_stru *rsp_msg = HI_NULL; in wal_netdev_stop() local
1117 …RITE_MSG_HDR_LENGTH + sizeof(mac_cfg_down_vap_param_stru), (hi_u8 *)&write_msg, HI_TRUE, &rsp_msg); in wal_netdev_stop()
[all …]
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gatt/
Dgatt_attr.c240 tGATTS_RSP rsp_msg ; in gatt_request_cback() local
243 memset(&rsp_msg, 0, sizeof(tGATTS_RSP)); in gatt_request_cback()
247 status = gatt_proc_read(type, &p_data->read_req, &rsp_msg); in gatt_request_cback()
274 GATTS_SendRsp (conn_id, trans_id, status, &rsp_msg); in gatt_request_cback()
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gap/
Dgap_ble.c322 tGATTS_RSP rsp_msg; in gap_ble_s_attr_request_cback() local
327 memset(&rsp_msg, 0, sizeof(tGATTS_RSP)); in gap_ble_s_attr_request_cback()
331 status = gap_proc_read(type, &p_data->read_req, &rsp_msg); in gap_ble_s_attr_request_cback()
358 GATTS_SendRsp (conn_id, trans_id, status, &rsp_msg); in gap_ble_s_attr_request_cback()
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/bk_cli/
Dshell_task.c509 static bool_t rsp_out(u8 * rsp_msg, u16 msg_len) in rsp_out() argument
513 if(rsp_msg != cmd_line_buf.rsp_buff) in rsp_out()
520 memcpy(cmd_line_buf.rsp_buff, rsp_msg, msg_len); in rsp_out()