Home
last modified time | relevance | path

Searched refs:exit_sockets (Results 1 – 4 of 4) sorted by relevance

/hardware/qcom/wlan/cld80211-lib/
Dcld80211_lib.c78 ctx->exit_sockets[0] = -1; in init_exit_sockets()
79 ctx->exit_sockets[1] = -1; in init_exit_sockets()
80 if (socketpair(AF_UNIX, SOCK_STREAM, 0, &ctx->exit_sockets[0]) == -1) { in init_exit_sockets()
92 if (ctx->exit_sockets[0] >= 0) { in cleanup_exit_sockets()
93 close(ctx->exit_sockets[0]); in cleanup_exit_sockets()
94 ctx->exit_sockets[0] = -1; in cleanup_exit_sockets()
97 if (ctx->exit_sockets[1] >= 0) { in cleanup_exit_sockets()
98 close(ctx->exit_sockets[1]); in cleanup_exit_sockets()
99 ctx->exit_sockets[1] = -1; in cleanup_exit_sockets()
110 TEMP_FAILURE_RETRY(write(ctx->exit_sockets[0], "E", 1)); in exit_cld80211_recv()
[all …]
Dcld80211_lib.h47 int exit_sockets[2]; member
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dwifi_hal.cpp729 info->exit_sockets[0] = -1; in wifi_initialize()
730 info->exit_sockets[1] = -1; in wifi_initialize()
732 if (socketpair(AF_UNIX, SOCK_STREAM, 0, info->exit_sockets) == -1) { in wifi_initialize()
863 if (info->exit_sockets[0] >= 0) { in internal_cleaned_up_handler()
864 close(info->exit_sockets[0]); in internal_cleaned_up_handler()
865 info->exit_sockets[0] = -1; in internal_cleaned_up_handler()
868 if (info->exit_sockets[1] >= 0) { in internal_cleaned_up_handler()
869 close(info->exit_sockets[1]); in internal_cleaned_up_handler()
870 info->exit_sockets[1] = -1; in internal_cleaned_up_handler()
900 TEMP_FAILURE_RETRY(write(info->exit_sockets[0], "E", 1)); in wifi_cleanup()
[all …]
Dcommon.h144 int exit_sockets[2]; member