Searched refs:exit_sockets (Results 1 – 3 of 3) sorted by relevance
/hardware/libhardware_legacy/wifi/ |
D | wifi.c | 71 static int exit_sockets[2]; variable 484 exit_sockets[0] = exit_sockets[1] = -1; in wifi_start_supplicant() 587 if (socketpair(AF_UNIX, SOCK_STREAM, 0, exit_sockets) == -1) { in wifi_connect_on_socket_path() 621 TEMP_FAILURE_RETRY(write(exit_sockets[0], "T", 1)); in wifi_send_command() 653 rfds[1].fd = exit_sockets[1]; in wifi_ctrl_recv() 769 if (exit_sockets[0] >= 0) { in wifi_close_sockets() 770 close(exit_sockets[0]); in wifi_close_sockets() 771 exit_sockets[0] = -1; in wifi_close_sockets() 774 if (exit_sockets[1] >= 0) { in wifi_close_sockets() 775 close(exit_sockets[1]); in wifi_close_sockets() [all …]
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
D | wifi_hal.cpp | 488 info->exit_sockets[0] = -1; in wifi_initialize() 489 info->exit_sockets[1] = -1; in wifi_initialize() 491 if (socketpair(AF_UNIX, SOCK_STREAM, 0, info->exit_sockets) == -1) { in wifi_initialize() 572 if (info->exit_sockets[0] >= 0) { in internal_cleaned_up_handler() 573 close(info->exit_sockets[0]); in internal_cleaned_up_handler() 574 info->exit_sockets[0] = -1; in internal_cleaned_up_handler() 577 if (info->exit_sockets[1] >= 0) { in internal_cleaned_up_handler() 578 close(info->exit_sockets[1]); in internal_cleaned_up_handler() 579 info->exit_sockets[1] = -1; in internal_cleaned_up_handler() 600 TEMP_FAILURE_RETRY(write(info->exit_sockets[0], "E", 1)); in wifi_cleanup() [all …]
|
D | common.h | 124 int exit_sockets[2]; member
|